Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb

Overview

Entity representing a SAS customer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SasPortalCustomer

Returns a new instance of SasPortalCustomer.



141
142
143
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 141

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

Instance Attribute Details

#display_nameString

Required. Name of the organization that the customer entity represents. Corresponds to the JSON property displayName

Returns:

  • (String)


129
130
131
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 129

def display_name
  @display_name
end

#nameString

Output only. Resource name of the customer. Corresponds to the JSON property name

Returns:

  • (String)


134
135
136
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 134

def name
  @name
end

#sas_user_idsArray<String>

User IDs used by the devices belonging to this customer. Corresponds to the JSON property sasUserIds

Returns:

  • (Array<String>)


139
140
141
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 139

def sas_user_ids
  @sas_user_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



146
147
148
149
150
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 146

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