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.



1625
1626
1627
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1625

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)


1618
1619
1620
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1618

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



1623
1624
1625
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1623

def transferable_offers
  @transferable_offers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1630
1631
1632
1633
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1630

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