Class: Google::Apis::CloudassetV1p1beta1::SearchAllResourcesResponse

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

Overview

Search all resources response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchAllResourcesResponse

Returns a new instance of SearchAllResourcesResponse.



2096
2097
2098
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 2096

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)


2089
2090
2091
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 2089

def next_page_token
  @next_page_token
end

#resultsArray<Google::Apis::CloudassetV1p1beta1::StandardResourceMetadata>

A list of resource that match the search query. Corresponds to the JSON property results



2094
2095
2096
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 2094

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2101
2102
2103
2104
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 2101

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