Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ProvisionedService

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

Service provisioned for an entitlement.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1alpha1ProvisionedService

Returns a new instance of GoogleCloudChannelV1alpha1ProvisionedService.



2731
2732
2733
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2731

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

Instance Attribute Details

#product_idString

Output only. The product pertaining to the provisioning resource as specified in the Offer. Corresponds to the JSON property productId

Returns:

  • (String)


2717
2718
2719
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2717

def product_id
  @product_id
end

#provisioning_idString

Output only. Provisioning ID of the entitlement. For Google Workspace, this would be the underlying Subscription ID. Corresponds to the JSON property provisioningId

Returns:

  • (String)


2723
2724
2725
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2723

def provisioning_id
  @provisioning_id
end

#sku_idString

Output only. The SKU pertaining to the provisioning resource as specified in the Offer. Corresponds to the JSON property skuId

Returns:

  • (String)


2729
2730
2731
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2729

def sku_id
  @sku_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2736
2737
2738
2739
2740
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2736

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