Class: Google::Apis::CloudproductregistryV1::ListProductSuitesResponse

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

Overview

Response message for ListProductSuites.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListProductSuitesResponse

Returns a new instance of ListProductSuitesResponse.



92
93
94
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 92

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


85
86
87
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 85

def next_page_token
  @next_page_token
end

#product_suitesArray<Google::Apis::CloudproductregistryV1::ProductSuite>

Matched ProductSuites Corresponds to the JSON property productSuites



90
91
92
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 90

def product_suites
  @product_suites
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



97
98
99
100
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 97

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