class Google::Apis::CloudassetV1::RelatedResource

The detailed related resource.

Attributes

asset_type[RW]

The type of the asset. Example: `compute.googleapis.com/Instance` Corresponds to the JSON property `assetType` @return [String]

full_resource_name[RW]

The full resource name of the related resource. Example: `//compute.googleapis. com/projects/my_proj_123/zones/instance/instance123` Corresponds to the JSON property `fullResourceName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1/classes.rb, line 3749
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1/classes.rb, line 3754
def update!(**args)
  @asset_type = args[:asset_type] if args.key?(:asset_type)
  @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
end