Class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policysimulator_v1beta/classes.rb,
lib/google/apis/policysimulator_v1beta/representations.rb,
lib/google/apis/policysimulator_v1beta/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::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyViolation>
The list of OrgPolicyViolations Corresponds to the JSON property
orgPolicyViolations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsResponse
constructor
A new instance of GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsResponse
Returns a new instance of GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsResponse.
1189 1190 1191 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1189 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
1182 1183 1184 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1182 def next_page_token @next_page_token end |
#org_policy_violations ⇒ Array<Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyViolation>
The list of OrgPolicyViolations
Corresponds to the JSON property orgPolicyViolations
1187 1188 1189 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1187 def org_policy_violations @org_policy_violations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1194 1195 1196 1197 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1194 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 |