Class: Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse
- Inherits:
-
Object
- Object
- Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policyanalyzer_v1beta1/classes.rb,
lib/google/apis/policyanalyzer_v1beta1/representations.rb,
lib/google/apis/policyanalyzer_v1beta1/representations.rb
Overview
Response to the QueryActivity
method.
Instance Attribute Summary collapse
-
#activities ⇒ Array<Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1Activity>
The set of activities that match the filter included in the request.
-
#next_page_token ⇒ String
If there might be more results than those appearing in this response, then
nextPageToken
is included.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse
constructor
A new instance of GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse
Returns a new instance of GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse.
105 106 107 |
# File 'lib/google/apis/policyanalyzer_v1beta1/classes.rb', line 105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activities ⇒ Array<Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1Activity>
The set of activities that match the filter included in the request.
Corresponds to the JSON property activities
96 97 98 |
# File 'lib/google/apis/policyanalyzer_v1beta1/classes.rb', line 96 def activities @activities end |
#next_page_token ⇒ String
If there might be more results than those appearing in this response, then
nextPageToken
is included. To get the next set of results, call this method
again using the value of nextPageToken
as pageToken
.
Corresponds to the JSON property nextPageToken
103 104 105 |
# File 'lib/google/apis/policyanalyzer_v1beta1/classes.rb', line 103 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
110 111 112 113 |
# File 'lib/google/apis/policyanalyzer_v1beta1/classes.rb', line 110 def update!(**args) @activities = args[:activities] if args.key?(:activities) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |