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 thetypefield 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()
- Alphabetic
- By Inheritance
- MonitoredResourceDescriptor
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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 thetypefield 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllLabels(__vs: Iterable[LabelDescriptor]): MonitoredResourceDescriptor
- def addLabels(__vs: LabelDescriptor*): MonitoredResourceDescriptor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearLabels: MonitoredResourceDescriptor
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: MonitoredResourceDescriptor.type
- Definition Classes
- MonitoredResourceDescriptor → GeneratedMessage
- val description: String
- def discardUnknownFields: MonitoredResourceDescriptor
- val displayName: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- MonitoredResourceDescriptor → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- MonitoredResourceDescriptor → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val labels: Seq[LabelDescriptor]
- val launchStage: LaunchStage
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
serializedSize: Int
- Definition Classes
- MonitoredResourceDescriptor → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- MonitoredResourceDescriptor → GeneratedMessage
- val type: String
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[MonitoredResourceDescriptor, MonitoredResourceDescriptor]) ⇒ Mutation[MonitoredResourceDescriptor]*): MonitoredResourceDescriptor
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withDescription(__v: String): MonitoredResourceDescriptor
- def withDisplayName(__v: String): MonitoredResourceDescriptor
- def withLabels(__v: Seq[LabelDescriptor]): MonitoredResourceDescriptor
- def withLaunchStage(__v: LaunchStage): MonitoredResourceDescriptor
- def withName(__v: String): MonitoredResourceDescriptor
- def withType(__v: String): MonitoredResourceDescriptor
- def withUnknownFields(__v: UnknownFieldSet): MonitoredResourceDescriptor
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- MonitoredResourceDescriptor → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage