Class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse
- 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
ListOrgPolicyViolationsPreviewsResponse is the response message for OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that you can use to retrieve the next page of results.
-
#org_policy_violations_previews ⇒ Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview>
The list of OrgPolicyViolationsPreview Corresponds to the JSON property
orgPolicyViolationsPreviews
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse
constructor
A new instance of GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse
Returns a new instance of GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse.
951 952 953 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 951 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
944 945 946 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 944 def next_page_token @next_page_token end |
#org_policy_violations_previews ⇒ Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview>
The list of OrgPolicyViolationsPreview
Corresponds to the JSON property orgPolicyViolationsPreviews
949 950 951 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 949 def org_policy_violations_previews @org_policy_violations_previews end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
956 957 958 959 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 956 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @org_policy_violations_previews = args[:org_policy_violations_previews] if args.key?(:org_policy_violations_previews) end |