Class: Google::Apis::CloudcontrolspartnerV1::Customer
- Inherits:
-
Object
- Object
- Google::Apis::CloudcontrolspartnerV1::Customer
- 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
-
#customer_onboarding_state ⇒ Google::Apis::CloudcontrolspartnerV1::CustomerOnboardingState
Container for customer onboarding steps Corresponds to the JSON property
customerOnboardingState
. -
#display_name ⇒ String
Required.
-
#is_onboarded ⇒ Boolean
(also: #is_onboarded?)
Output only.
-
#name ⇒ String
Identifier.
-
#organization_domain ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Customer
constructor
A new instance of Customer.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_state ⇒ Google::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_name ⇒ String
Required. Display name for the customer
Corresponds to the JSON property displayName
159 160 161 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 159 def display_name @display_name end |
#is_onboarded ⇒ Boolean Also known as: is_onboarded?
Output only. Indicates whether a customer is fully onboarded
Corresponds to the JSON property isOnboarded
164 165 166 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 164 def is_onboarded @is_onboarded end |
#name ⇒ String
Identifier. Format: organizations/
organization/locations/
location/
customers/
customer`
Corresponds to the JSON property
name`
171 172 173 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 171 def name @name end |
#organization_domain ⇒ String
Output only. The customer organization domain, extracted from CRM Organization’
s display_name field. e.g. "google.com"
Corresponds to the JSON property organizationDomain
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 |