Class: Google::Apis::CloudcontrolspartnerV1::Customer

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudcontrolspartner_v1/classes.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb

Overview

Contains metadata around a Cloud Controls Partner Customer

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Customer

Returns a new instance of Customer.



179
180
181
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 179

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

Instance Attribute Details

#customer_onboarding_stateGoogle::Apis::CloudcontrolspartnerV1::CustomerOnboardingState

Container for customer onboarding steps Corresponds to the JSON property customerOnboardingState



154
155
156
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 154

def customer_onboarding_state
  @customer_onboarding_state
end

#display_nameString

Required. Display name for the customer Corresponds to the JSON property displayName

Returns:

  • (String)


159
160
161
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 159

def display_name
  @display_name
end

#is_onboardedBoolean Also known as: is_onboarded?

Output only. Indicates whether a customer is fully onboarded Corresponds to the JSON property isOnboarded

Returns:

  • (Boolean)


164
165
166
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 164

def is_onboarded
  @is_onboarded
end

#nameString

Identifier. Format: organizations/organization/locations/location/ customers/customer` Corresponds to the JSON propertyname`

Returns:

  • (String)


171
172
173
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 171

def name
  @name
end

#organization_domainString

Output only. The customer organization domain, extracted from CRM Organization’ s display_name field. e.g. "google.com" Corresponds to the JSON property organizationDomain

Returns:

  • (String)


177
178
179
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 177

def organization_domain
  @organization_domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



184
185
186
187
188
189
190
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 184

def update!(**args)
  @customer_onboarding_state = args[:customer_onboarding_state] if args.key?(:customer_onboarding_state)
  @display_name = args[:display_name] if args.key?(:display_name)
  @is_onboarded = args[:is_onboarded] if args.key?(:is_onboarded)
  @name = args[:name] if args.key?(:name)
  @organization_domain = args[:organization_domain] if args.key?(:organization_domain)
end