Class: Google::Apis::CloudassetV1::AnalyzeOrgPolicyGovernedContainersResponse

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.AnalyzeOrgPolicyGovernedContainers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnalyzeOrgPolicyGovernedContainersResponse

Returns a new instance of AnalyzeOrgPolicyGovernedContainersResponse.



267
268
269
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 267

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

Instance Attribute Details

#constraintGoogle::Apis::CloudassetV1::AnalyzerOrgPolicyConstraint

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



254
255
256
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 254

def constraint
  @constraint
end

#governed_containersArray<Google::Apis::CloudassetV1::GoogleCloudAssetV1GovernedContainer>

The list of the analyzed governed containers. Corresponds to the JSON property governedContainers



259
260
261
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 259

def governed_containers
  @governed_containers
end

#next_page_tokenString

The page token to fetch the next page for AnalyzeOrgPolicyGovernedContainersResponse.governed_containers. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


265
266
267
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 265

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



272
273
274
275
276
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 272

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