Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListTransferableOffersResponse

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

Overview

Response message for CloudChannelService.ListTransferableOffers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1ListTransferableOffersResponse

Returns a new instance of GoogleCloudChannelV1ListTransferableOffersResponse.



1200
1201
1202
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1200

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

Instance Attribute Details

#next_page_tokenString

A token to retrieve the next page of results. Pass to ListTransferableOffersRequest.page_token to obtain that page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1193
1194
1195
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1193

def next_page_token
  @next_page_token
end

#transferable_offersArray<Google::Apis::CloudchannelV1::GoogleCloudChannelV1TransferableOffer>

Information about Offers for a customer that can be used for transfer. Corresponds to the JSON property transferableOffers



1198
1199
1200
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1198

def transferable_offers
  @transferable_offers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1205
1206
1207
1208
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1205

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