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.



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

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)


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

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



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

def transferable_offers
  @transferable_offers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1208
1209
1210
1211
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1208

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