Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ProvisionedService

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

Returns a new instance of GoogleCloudChannelV1ProvisionedService.



1898
1899
1900
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1898

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)


1883
1884
1885
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1883

def product_id
  @product_id
end

#provisioning_idString

Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud Platform, this is the Billing Account ID of the billing subaccount." Corresponds to the JSON property provisioningId

Returns:

  • (String)


1890
1891
1892
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1890

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)


1896
1897
1898
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1896

def sku_id
  @sku_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1903
1904
1905
1906
1907
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1903

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