Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object. [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message.
Generated from protobuf message google.api.MonitoredResourceMetadata
Methods |
public __construct( $data = NULL) Constructor.
|
public clearSystemLabels() |
public getSystemLabels() Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including "machine_image", "vpc", "subnet_id", "security_group", "name", etc. System label values can be only strings, Boolean values, or a list of strings. For example: { "name": "my-test-instance", "security_group": ["a", "b", "c"], "spot_instance": false } Generated from protobuf field .google.protobuf.Struct system_labels = 1;
|
public getUserLabels() Output only. A map of user-defined metadata labels. Generated from protobuf field map<string, string> user_labels = 2;
|
public hasSystemLabels() |
public setSystemLabels( $var) Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including "machine_image", "vpc", "subnet_id", "security_group", "name", etc. System label values can be only strings, Boolean values, or a list of strings. For example: { "name": "my-test-instance", "security_group": ["a", "b", "c"], "spot_instance": false } Generated from protobuf field .google.protobuf.Struct system_labels = 1;
|
public setUserLabels( $var) Output only. A map of user-defined metadata labels. Generated from protobuf field map<string, string> user_labels = 2;
|
Properties |
protected $system_labels = NULL Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including "machine_image", "vpc", "subnet_id", "security_group", "name", etc. System label values can be only strings, Boolean values, or a list of strings. For example: { "name": "my-test-instance", "security_group": ["a", "b", "c"], "spot_instance": false } Generated from protobuf field .google.protobuf.Struct system_labels = 1; |
Methods |
Properties |
private $user_labels = NULL Output only. A map of user-defined metadata labels. Generated from protobuf field map<string, string> user_labels = 2; |