Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1Resource

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb

Overview

A Google Cloud resource under analysis.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssetV1Resource

Returns a new instance of GoogleCloudAssetV1Resource.



2086
2087
2088
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 2086

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#analysis_stateGoogle::Apis::CloudassetV1::IamPolicyAnalysisState

Represents the detailed state of an entity under analysis, such as a resource, an identity or an access. Corresponds to the JSON property analysisState



2078
2079
2080
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 2078

def analysis_state
  @analysis_state
end

#full_resource_nameString

The full resource name Corresponds to the JSON property fullResourceName

Returns:

  • (String)


2084
2085
2086
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 2084

def full_resource_name
  @full_resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2091
2092
2093
2094
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 2091

def update!(**args)
  @analysis_state = args[:analysis_state] if args.key?(:analysis_state)
  @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
end