final case class MonitoredResourceDescriptor(name: String = "", type: String = "", displayName: String = "", description: String = "", labels: Seq[LabelDescriptor] = _root_.scala.Seq.empty, launchStage: LaunchStage = ..., unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[MonitoredResourceDescriptor] with Product with Serializable

An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of "gce_instance" and specifies the use of the labels "instance_id" and "zone" to identify particular VM instances.

Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.

name

Optional. The resource name of the monitored resource descriptor: "projects/{project_id}/monitoredResourceDescriptors/{type}" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format "monitoredResourceDescriptors/{type}".

type

Required. The monitored resource type. For example, the type "cloudsql_database" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.

displayName

Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, "Google Cloud SQL Database".

description

Optional. A detailed description of the monitored resource type that might be used in documentation.

labels

Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels "database_id" and "zone".

launchStage

Optional. The launch stage of the monitored resource definition.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[MonitoredResourceDescriptor], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MonitoredResourceDescriptor
  2. Product
  3. Equals
  4. Updatable
  5. GeneratedMessage
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MonitoredResourceDescriptor(name: String = "", type: String = "", displayName: String = "", description: String = "", labels: Seq[LabelDescriptor] = _root_.scala.Seq.empty, launchStage: LaunchStage = ..., unknownFields: UnknownFieldSet = ...)

    name

    Optional. The resource name of the monitored resource descriptor: "projects/{project_id}/monitoredResourceDescriptors/{type}" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format "monitoredResourceDescriptors/{type}".

    type

    Required. The monitored resource type. For example, the type "cloudsql_database" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.

    displayName

    Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, "Google Cloud SQL Database".

    description

    Optional. A detailed description of the monitored resource type that might be used in documentation.

    labels

    Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels "database_id" and "zone".

    launchStage

    Optional. The launch stage of the monitored resource definition.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllLabels(__vs: Iterable[LabelDescriptor]): MonitoredResourceDescriptor
  5. def addLabels(__vs: LabelDescriptor*): MonitoredResourceDescriptor
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearLabels: MonitoredResourceDescriptor
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def companion: MonitoredResourceDescriptor.type
    Definition Classes
    MonitoredResourceDescriptor → GeneratedMessage
  10. val description: String
  11. def discardUnknownFields: MonitoredResourceDescriptor
  12. val displayName: String
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    MonitoredResourceDescriptor → GeneratedMessage
  17. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    MonitoredResourceDescriptor → GeneratedMessage
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val labels: Seq[LabelDescriptor]
  20. val launchStage: LaunchStage
  21. val name: String
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def serializedSize: Int
    Definition Classes
    MonitoredResourceDescriptor → GeneratedMessage
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  28. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  29. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  30. def toProtoString: String
    Definition Classes
    MonitoredResourceDescriptor → GeneratedMessage
  31. val type: String
  32. val unknownFields: UnknownFieldSet
  33. def update(ms: (Lens[MonitoredResourceDescriptor, MonitoredResourceDescriptor]) ⇒ Mutation[MonitoredResourceDescriptor]*): MonitoredResourceDescriptor
    Definition Classes
    Updatable
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. def withDescription(__v: String): MonitoredResourceDescriptor
  38. def withDisplayName(__v: String): MonitoredResourceDescriptor
  39. def withLabels(__v: Seq[LabelDescriptor]): MonitoredResourceDescriptor
  40. def withLaunchStage(__v: LaunchStage): MonitoredResourceDescriptor
  41. def withName(__v: String): MonitoredResourceDescriptor
  42. def withType(__v: String): MonitoredResourceDescriptor
  43. def withUnknownFields(__v: UnknownFieldSet): MonitoredResourceDescriptor
  44. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  45. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    MonitoredResourceDescriptor → GeneratedMessage
  46. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Product

Inherited from Equals

Inherited from Updatable[MonitoredResourceDescriptor]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped