Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer
- Inherits:
-
Object
- Object
- Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer
- 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
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_name ⇒ String
Required. Name of the organization that the customer entity represents.
Corresponds to the JSON property displayName
129 130 131 |
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 129 def display_name @display_name end |
#name ⇒ String
Output only. Resource name of the customer.
Corresponds to the JSON property name
134 135 136 |
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 134 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
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 |