Class: Google::Apis::SasportalV1alpha1::SasPortalCustomer

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

Overview

Entity representing a SAS customer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalCustomer

Returns a new instance of SasPortalCustomer.



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

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)


127
128
129
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 127

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


132
133
134
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 132

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


137
138
139
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 137

def sas_user_ids
  @sas_user_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



144
145
146
147
148
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 144

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