Cloud Asset V1 API - Class Google::Cloud::Asset::V1::RelatedResource (v0.29.2)

Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::RelatedResource.

The detailed related resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#asset_type

def asset_type() -> ::String
Returns
  • (::String) — The type of the asset. Example: compute.googleapis.com/Instance

#asset_type=

def asset_type=(value) -> ::String
Parameter
  • value (::String) — The type of the asset. Example: compute.googleapis.com/Instance
Returns
  • (::String) — The type of the asset. Example: compute.googleapis.com/Instance

#full_resource_name

def full_resource_name() -> ::String
Returns
  • (::String) — The full resource name of the related resource. Example: //compute.googleapis.com/projects/my_proj_123/zones/instance/instance123

#full_resource_name=

def full_resource_name=(value) -> ::String
Parameter
  • value (::String) — The full resource name of the related resource. Example: //compute.googleapis.com/projects/my_proj_123/zones/instance/instance123
Returns
  • (::String) — The full resource name of the related resource. Example: //compute.googleapis.com/projects/my_proj_123/zones/instance/instance123