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.



1386
1387
1388
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1386

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)


1379
1380
1381
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1379

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



1384
1385
1386
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1384

def transferable_offers
  @transferable_offers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1391
1392
1393
1394
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1391

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