Class: Google::Apis::SasportalV1alpha1::SasPortalCustomer
- Inherits:
-
Object
- Object
- Google::Apis::SasportalV1alpha1::SasPortalCustomer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sasportal_v1alpha1/classes.rb,
lib/google/apis/sasportal_v1alpha1/representations.rb,
lib/google/apis/sasportal_v1alpha1/representations.rb
Overview
Entity representing a SAS customer.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#sas_user_ids ⇒ Array<String>
User IDs used by the devices belonging to this customer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalCustomer
constructor
A new instance of SasPortalCustomer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalCustomer
Returns a new instance of SasPortalCustomer.
100 101 102 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 100 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Required. Name of the organization that the customer entity represents.
Corresponds to the JSON property displayName
88 89 90 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 88 def display_name @display_name end |
#name ⇒ String
Output only. Resource name of the customer.
Corresponds to the JSON property name
93 94 95 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 93 def name @name end |
#sas_user_ids ⇒ Array<String>
User IDs used by the devices belonging to this customer.
Corresponds to the JSON property sasUserIds
98 99 100 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 98 def sas_user_ids @sas_user_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
105 106 107 108 109 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 105 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 |