Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1CloudIdentityCustomerAccount

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

Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1CloudIdentityCustomerAccount

Returns a new instance of GoogleCloudChannelV1CloudIdentityCustomerAccount.



373
374
375
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 373

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

Instance Attribute Details

#customer_cloud_identity_idString

If existing = true, the Cloud Identity ID of the customer. Corresponds to the JSON property customerCloudIdentityId

Returns:

  • (String)


352
353
354
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 352

def customer_cloud_identity_id
  @customer_cloud_identity_id
end

#customer_nameString

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

Returns:

  • (String)


358
359
360
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 358

def customer_name
  @customer_name
end

#existingBoolean Also known as: existing?

Returns true if a Cloud Identity account exists for a specific domain. Corresponds to the JSON property existing

Returns:

  • (Boolean)


363
364
365
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 363

def existing
  @existing
end

#ownedBoolean Also known as: owned?

Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner. Corresponds to the JSON property owned

Returns:

  • (Boolean)


370
371
372
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 370

def owned
  @owned
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



378
379
380
381
382
383
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 378

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