Class: Google::Apis::CloudproductregistryV1::ListLogicalProductVariantsResponse

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 ListLogicalProductVariants.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListLogicalProductVariantsResponse

Returns a new instance of ListLogicalProductVariantsResponse.



40
41
42
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 40

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

Instance Attribute Details

#logical_product_variantsArray<Google::Apis::CloudproductregistryV1::LogicalProductVariant>

Matched LogicalProductVariants Corresponds to the JSON property logicalProductVariants



32
33
34
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 32

def logical_product_variants
  @logical_product_variants
end

#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)


38
39
40
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 38

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45
46
47
48
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 45

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