public class MonitoredResourceDescriptor extends Object implements Serializable
gce_instance and specifies the use of
the labels instance_id and zone to identify particular VM instances.| Modifier and Type | Class and Description |
|---|---|
static class |
MonitoredResourceDescriptor.LabelDescriptor
This class describes a label for a monitored resource.
|
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<com.google.api.MonitoredResourceDescriptor,MonitoredResourceDescriptor> |
FROM_PB_FUNCTION |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Returns an optional detailed description of the monitored resource type.
|
String |
displayName()
Returns an optional concise name for the monitored resource type.
|
boolean |
equals(Object obj) |
static MonitoredResourceDescriptor |
fromPb(com.google.api.MonitoredResourceDescriptor descriptorPb) |
int |
hashCode() |
List<MonitoredResourceDescriptor.LabelDescriptor> |
labels()
Returns a list of labels used to describe instances of this monitored resource type.
|
String |
name()
Returns an optional name for the monitored resource descriptor.
|
com.google.api.MonitoredResourceDescriptor |
toPb() |
String |
toString() |
String |
type()
Returns the monitored resource type.
|
public static final com.google.common.base.Function<com.google.api.MonitoredResourceDescriptor,MonitoredResourceDescriptor> FROM_PB_FUNCTION
public String type()
cloudsql_database represents
databases in Google Cloud SQL.public String name()
null.public String displayName()
Google Cloud SQL Database. If not set, this method
returns null.public String description()
null.public List<MonitoredResourceDescriptor.LabelDescriptor> labels()
database_id and region.public com.google.api.MonitoredResourceDescriptor toPb()
public static MonitoredResourceDescriptor fromPb(com.google.api.MonitoredResourceDescriptor descriptorPb)
Copyright © 2016 Google. All rights reserved.