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.



2902
2903
2904
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2902

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

Instance Attribute Details

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

The transferred entitlements. Corresponds to the JSON property entitlements



2900
2901
2902
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2900

def entitlements
  @entitlements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2907
2908
2909
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2907

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