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 which may or may not be associated with a Channel Services API partner.
Instance Attribute Summary collapse
-
#customer_cloud_identity_id ⇒ String
Cloud Identity ID of the customer.
-
#customer_name ⇒ String
Name of the customer that owns the Cloud Identity account.
-
#existing ⇒ Boolean
(also: #existing?)
True if a Cloud Identity account exists for a specific domain.
-
#owned ⇒ Boolean
(also: #owned?)
True if the Cloud Identity account is associated with a customer belonging to the Channel Services partner making the API call.
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.
380 381 382 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 380 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_cloud_identity_id ⇒ String
Cloud Identity ID of the customer. This field is populated ONLY if existing =
true.
Corresponds to the JSON property customerCloudIdentityId
358 359 360 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 358 def customer_cloud_identity_id @customer_cloud_identity_id end |
#customer_name ⇒ String
Name of the customer that owns the Cloud Identity account. This field is
populated ONLY if owned = true. The customer_name takes the format: accounts/
account_id
/customers/customer_id
Corresponds to the JSON property customerName
365 366 367 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 365 def customer_name @customer_name end |
#existing ⇒ Boolean Also known as: existing?
True if a Cloud Identity account exists for a specific domain.
Corresponds to the JSON property existing
370 371 372 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 370 def existing @existing end |
#owned ⇒ Boolean Also known as: owned?
True if the Cloud Identity account is associated with a customer belonging to
the Channel Services partner making the API call.
Corresponds to the JSON property owned
377 378 379 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 377 def owned @owned end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
385 386 387 388 389 390 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 385 def update!(**args) @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) @existing = args[:existing] if args.key?(:existing) @owned = args[:owned] if args.key?(:owned) end |