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.



173
174
175
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 173

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

Output only. The customer organization's display name. E.g. "google.com". 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

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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)
end