Class: Google::Apis::CloudassetV1::SearchAllResourcesResponse

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 resources 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) ⇒ SearchAllResourcesResponse

Returns a new instance of SearchAllResourcesResponse.


1964
1965
1966
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1964

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

Instance Attribute Details

#next_page_tokenString

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

1956
1957
1958
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1956

def next_page_token
  @next_page_token
end

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

A list of Resources that match the search query. It contains the resource standard metadata information. Corresponds to the JSON property results


1962
1963
1964
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1962

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1969
1970
1971
1972
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1969

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