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 is put in 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.



3188
3189
3190
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3188

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

Instance Attribute Details

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

The transferred entitlements. Corresponds to the JSON property entitlements



3186
3187
3188
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3186

def entitlements
  @entitlements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3193
3194
3195
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3193

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