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.
Constructor Details
#initialize(**args) ⇒ SasPortalCustomer
Returns a new instance of SasPortalCustomer.
139 140 141 |
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 139 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
127 128 129 |
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 127 def display_name @display_name end |
#name ⇒ String
Output only. Resource name of the customer.
Corresponds to the JSON property name
132 133 134 |
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 132 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
137 138 139 |
# File 'generated/google/apis/prod_tt_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/prod_tt_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 |