Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1TransferEntitlementsResponse

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) ⇒ GoogleCloudChannelV1TransferEntitlementsResponse

Returns a new instance of GoogleCloudChannelV1TransferEntitlementsResponse.



2173
2174
2175
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2173

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

Instance Attribute Details

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

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



2171
2172
2173
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2171

def entitlements
  @entitlements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2178
2179
2180
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2178

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