Class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policysimulator_v1alpha/classes.rb,
lib/google/apis/policysimulator_v1alpha/representations.rb,
lib/google/apis/policysimulator_v1alpha/representations.rb
Overview
ListOrgPolicyViolationsResponse is the response message for OrgPolicyViolationsPreviewService.ListOrgPolicyViolations
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that you can use to retrieve the next page of results.
-
#org_policy_violations ⇒ Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyViolation>
The list of OrgPolicyViolations Corresponds to the JSON property
orgPolicyViolations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse
constructor
A new instance of GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse
Returns a new instance of GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse.
603 604 605 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 603 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token that you can use to retrieve the next page of results. If this field
is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
596 597 598 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 596 def next_page_token @next_page_token end |
#org_policy_violations ⇒ Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyViolation>
The list of OrgPolicyViolations
Corresponds to the JSON property orgPolicyViolations
601 602 603 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 601 def org_policy_violations @org_policy_violations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
608 609 610 611 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 608 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @org_policy_violations = args[:org_policy_violations] if args.key?(:org_policy_violations) end |