Class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ListConstraintsResponse
- Inherits:
-
Object
- Object
- Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ListConstraintsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/orgpolicy_v2/classes.rb,
lib/google/apis/orgpolicy_v2/representations.rb,
lib/google/apis/orgpolicy_v2/representations.rb
Overview
The response returned from the ListConstraints method.
Instance Attribute Summary collapse
-
#constraints ⇒ Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Constraint>
The collection of constraints that are available on the targeted resource.
-
#next_page_token ⇒ String
Page token used to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudOrgpolicyV2ListConstraintsResponse
constructor
A new instance of GoogleCloudOrgpolicyV2ListConstraintsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudOrgpolicyV2ListConstraintsResponse
Returns a new instance of GoogleCloudOrgpolicyV2ListConstraintsResponse.
385 386 387 |
# File 'lib/google/apis/orgpolicy_v2/classes.rb', line 385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#constraints ⇒ Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Constraint>
The collection of constraints that are available on the targeted resource.
Corresponds to the JSON property constraints
378 379 380 |
# File 'lib/google/apis/orgpolicy_v2/classes.rb', line 378 def constraints @constraints end |
#next_page_token ⇒ String
Page token used to retrieve the next page. This is currently not used.
Corresponds to the JSON property nextPageToken
383 384 385 |
# File 'lib/google/apis/orgpolicy_v2/classes.rb', line 383 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
390 391 392 393 |
# File 'lib/google/apis/orgpolicy_v2/classes.rb', line 390 def update!(**args) @constraints = args[:constraints] if args.key?(:constraints) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |