Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1CloudIdentityCustomerAccount
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1CloudIdentityCustomerAccount
- 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
Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.
Instance Attribute Summary collapse
-
#channel_partner_cloud_identity_id ⇒ String
If existing = true, and is 2-tier customer, the channel partner of the customer.
-
#customer_cloud_identity_id ⇒ String
If existing = true, the Cloud Identity ID of the customer.
-
#customer_name ⇒ String
If owned = true, the name of the customer that owns the Cloud Identity account.
-
#customer_type ⇒ String
If existing = true, the type of the customer.
-
#existing ⇒ Boolean
(also: #existing?)
Returns true if a Cloud Identity account exists for a specific domain.
-
#owned ⇒ Boolean
(also: #owned?)
Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1CloudIdentityCustomerAccount
constructor
A new instance of GoogleCloudChannelV1CloudIdentityCustomerAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1CloudIdentityCustomerAccount
Returns a new instance of GoogleCloudChannelV1CloudIdentityCustomerAccount.
551 552 553 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 551 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_partner_cloud_identity_id ⇒ String
If existing = true, and is 2-tier customer, the channel partner of the
customer.
Corresponds to the JSON property channelPartnerCloudIdentityId
520 521 522 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 520 def channel_partner_cloud_identity_id @channel_partner_cloud_identity_id end |
#customer_cloud_identity_id ⇒ String
If existing = true, the Cloud Identity ID of the customer.
Corresponds to the JSON property customerCloudIdentityId
525 526 527 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 525 def customer_cloud_identity_id @customer_cloud_identity_id end |
#customer_name ⇒ String
If owned = true, the name of the customer that owns the Cloud Identity account.
Customer_name uses the format: accounts/account_id/customers/customer_id
Corresponds to the JSON property customerName
531 532 533 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 531 def customer_name @customer_name end |
#customer_type ⇒ String
If existing = true, the type of the customer.
Corresponds to the JSON property customerType
536 537 538 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 536 def customer_type @customer_type end |
#existing ⇒ Boolean Also known as: existing?
Returns true if a Cloud Identity account exists for a specific domain.
Corresponds to the JSON property existing
541 542 543 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 541 def existing @existing end |
#owned ⇒ Boolean Also known as: owned?
Returns true if the Cloud Identity account is associated with a customer of
the Channel Services partner (with active subscriptions or purchase consents).
Corresponds to the JSON property owned
548 549 550 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 548 def owned @owned end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
556 557 558 559 560 561 562 563 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 556 def update!(**args) @channel_partner_cloud_identity_id = args[:channel_partner_cloud_identity_id] if args.key?(:channel_partner_cloud_identity_id) @customer_cloud_identity_id = args[:customer_cloud_identity_id] if args.key?(:customer_cloud_identity_id) @customer_name = args[:customer_name] if args.key?(:customer_name) @customer_type = args[:customer_type] if args.key?(:customer_type) @existing = args[:existing] if args.key?(:existing) @owned = args[:owned] if args.key?(:owned) end |