Class: Google::Apis::CloudassetV1::SearchAllIamPoliciesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudasset_v1/classes.rb,
generated/google/apis/cloudasset_v1/representations.rb,
generated/google/apis/cloudasset_v1/representations.rb

Overview

Search all IAM policies response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SearchAllIamPoliciesResponse

Returns a new instance of SearchAllIamPoliciesResponse.


1936
1937
1938
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1936

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

Instance Attribute Details

#next_page_tokenString

Set if there are more results than those appearing in this response; to get the next set of results, call this method again, using this value as the page_token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

1928
1929
1930
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1928

def next_page_token
  @next_page_token
end

#resultsArray<Google::Apis::CloudassetV1::IamPolicySearchResult>

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy. Corresponds to the JSON property results


1934
1935
1936
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1934

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1941
1942
1943
1944
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1941

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @results = args[:results] if args.key?(:results)
end