Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::Resource (v0.3.1)

Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::Resource.

Resource represents a Google Cloud Platform resource actuated by IM. Resources are child resources of Revisions.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cai_assets

def cai_assets() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::ConfigService::V1::ResourceCAIInfo}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::ConfigService::V1::ResourceCAIInfo}) — Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI ID). CAI type format follows https://cloud.google.com/asset-inventory/docs/supported-asset-types

#intent

def intent() -> ::Google::Cloud::ConfigService::V1::Resource::Intent
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. Resource name. Format: projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}

#state

def state() -> ::Google::Cloud::ConfigService::V1::Resource::State
Returns

#terraform_info

def terraform_info() -> ::Google::Cloud::ConfigService::V1::ResourceTerraformInfo
Returns