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.



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

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)


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

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



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

def transferable_offers
  @transferable_offers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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