class Google::Apis::CloudassetV1p1beta1::StandardResourceMetadata
The standard metadata of a cloud resource.
Attributes
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc. Corresponds to the JSON property `additionalAttributes` @return [Array<String>]
The type of this resource. For example: “compute.googleapis.com/Disk”. Corresponds to the JSON property `assetType` @return [String]
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes. Corresponds to the JSON property `description` @return [String]
The display name of this resource. Corresponds to the JSON property `displayName` @return [String]
Labels associated with this resource. See [Labelling and grouping GCP resources](cloud.google.com/blog/products/gcp/labelling-and-grouping- your-google-cloud-platform-resources) for more information. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Location can be “global”, regional like “us-east1”, or zonal like “us-west1-b”. Corresponds to the JSON property `location` @return [String]
The full resource name. For example: `//compute.googleapis.com/projects/ my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https:// cloud.google.com/apis/design/resource_names#full_resource_name) for more information. Corresponds to the JSON property `name` @return [String]
The project that this resource belongs to, in the form of `projects/` project_number“. Corresponds to the JSON property `project` @return [String]
Public Class Methods
# File lib/google/apis/cloudasset_v1p1beta1/classes.rb, line 1994 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudasset_v1p1beta1/classes.rb, line 1999 def update!(**args) @additional_attributes = args[:additional_attributes] if args.key?(:additional_attributes) @asset_type = args[:asset_type] if args.key?(:asset_type) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @network_tags = args[:network_tags] if args.key?(:network_tags) @project = args[:project] if args.key?(:project) end