class Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ListConstraintsResponse

The response returned from the ListConstraints method.

Attributes

constraints[RW]

The collection of constraints that are available on the targeted resource. Corresponds to the JSON property `constraints` @return [Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Constraint>]

next_page_token[RW]

Page token used to retrieve the next page. This is currently not used. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/orgpolicy_v2/classes.rb, line 154
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/orgpolicy_v2/classes.rb, line 159
def update!(**args)
  @constraints = args[:constraints] if args.key?(:constraints)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end