Class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse

Returns a new instance of GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse.



210
211
212
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 210

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

Instance Attribute Details

#associationsArray<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association>

The returned Association resources from the list call. Corresponds to the JSON property associations



201
202
203
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 201

def associations
  @associations
end

#next_page_tokenString

A pagination token returned from a previous call to ListAssociations that indicates where the listing should continue from. This field is optional. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


208
209
210
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 208

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



215
216
217
218
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 215

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