Class: Google::Apis::CloudassetV1::AnalyzeOrgPolicyGovernedAssetsResponse

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

The response message for AssetService.AnalyzeOrgPolicyGovernedAssets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnalyzeOrgPolicyGovernedAssetsResponse

Returns a new instance of AnalyzeOrgPolicyGovernedAssetsResponse.



235
236
237
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 235

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

Instance Attribute Details

#constraintGoogle::Apis::CloudassetV1::AnalyzerOrgPolicyConstraint

The organization policy constraint definition. Corresponds to the JSON property constraint



222
223
224
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 222

def constraint
  @constraint
end

#governed_assetsArray<Google::Apis::CloudassetV1::GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset>

The list of the analyzed governed assets. Corresponds to the JSON property governedAssets



227
228
229
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 227

def governed_assets
  @governed_assets
end

#next_page_tokenString

The page token to fetch the next page for AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


233
234
235
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 233

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



240
241
242
243
244
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 240

def update!(**args)
  @constraint = args[:constraint] if args.key?(:constraint)
  @governed_assets = args[:governed_assets] if args.key?(:governed_assets)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end