Class: Google::Apis::CloudproductregistryV1::ListLogicalProductsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListLogicalProductsResponse

Returns a new instance of ListLogicalProductsResponse.



66
67
68
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 66

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

Instance Attribute Details

#logical_productsArray<Google::Apis::CloudproductregistryV1::LogicalProduct>

Matched LogicalProducts Corresponds to the JSON property logicalProducts



58
59
60
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 58

def logical_products
  @logical_products
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)


64
65
66
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 64

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



71
72
73
74
# File 'lib/google/apis/cloudproductregistry_v1/classes.rb', line 71

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