class Google::Apis::DiscoveryengineV1::GoogleApiMonitoredResource
“my-project”, “instance_id”: “12345678901234”, “zone”: “us-central1-a” “
instance_id“‘ and `”zone“`: ` ”type“: ”gce_instance“, ”labels“: ` ”project_id“:
MonitoredResourceDescriptor for `”gce_instance“` has labels `”project_id“`, `”
VM instance could be represented by the following object, because the
attributes according to the schema. For example, a particular Compute Engine
Information in the `labels` field identifies the actual resource and its
MonitoredResourceDescriptor object that describes the resource’s schema.
databases, and storage devices such as disks. The ‘type` field identifies a
billing, or other purposes. Examples include virtual machine instances,
An object representing a resource that can be used for monitoring, logging,
def initialize(**args)
def initialize(**args) update!(**args) end
def update!(**args)
def update!(**args) @labels = args[:labels] if args.key?(:labels) @type = args[:type] if args.key?(:type) end