Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1TransferEntitlementsResponse

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.TransferEntitlements. This will be put into the response field of google.longrunning.Operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1alpha1TransferEntitlementsResponse

Returns a new instance of GoogleCloudChannelV1alpha1TransferEntitlementsResponse.



2829
2830
2831
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2829

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

Instance Attribute Details

#entitlementsArray<Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Entitlement>

The entitlements that have been transferred. Corresponds to the JSON property entitlements



2827
2828
2829
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2827

def entitlements
  @entitlements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2834
2835
2836
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2834

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