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.



4596
4597
4598
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4596

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

Instance Attribute Details

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

The transferred entitlements. Corresponds to the JSON property entitlements



4594
4595
4596
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4594

def entitlements
  @entitlements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4601
4602
4603
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4601

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