Class: Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1QueryActivityResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/policyanalyzer_v1/classes.rb,
lib/google/apis/policyanalyzer_v1/representations.rb,
lib/google/apis/policyanalyzer_v1/representations.rb

Overview

Response to the QueryActivity method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPolicyanalyzerV1QueryActivityResponse

Returns a new instance of GoogleCloudPolicyanalyzerV1QueryActivityResponse.



105
106
107
# File 'lib/google/apis/policyanalyzer_v1/classes.rb', line 105

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#activitiesArray<Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1Activity>

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_v1/classes.rb', line 96

def activities
  @activities
end

#next_page_tokenString

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

Returns:

  • (String)


103
104
105
# File 'lib/google/apis/policyanalyzer_v1/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_v1/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