Class: Google::Apis::CloudassetV1p1beta1::SearchAllResourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p1beta1::SearchAllResourcesResponse
- 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
-
#next_page_token ⇒ String
If there are more results than those appearing in this response, then
next_page_tokenis included. -
#results ⇒ Array<Google::Apis::CloudassetV1p1beta1::StandardResourceMetadata>
A list of resource that match the search query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchAllResourcesResponse
constructor
A new instance of SearchAllResourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SearchAllResourcesResponse
Returns a new instance of SearchAllResourcesResponse.
2107 2108 2109 |
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 2107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
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
2100 2101 2102 |
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 2100 def next_page_token @next_page_token end |
#results ⇒ Array<Google::Apis::CloudassetV1p1beta1::StandardResourceMetadata>
A list of resource that match the search query.
Corresponds to the JSON property results
2105 2106 2107 |
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 2105 def results @results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2112 2113 2114 2115 |
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 2112 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @results = args[:results] if args.key?(:results) end |