Class: Google::Apis::SasportalV1alpha1::SasPortalDeployment
- Inherits:
-
Object
- Object
- Google::Apis::SasportalV1alpha1::SasPortalDeployment
- 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
The Deployment.
Instance Attribute Summary collapse
-
#allowed_billing_modes ⇒ Array<String>
The allowed billing modes under this deployment.
-
#default_billing_mode ⇒ String
Default billing mode for the deployment and devices under it.
-
#display_name ⇒ String
The deployment's display name.
-
#name ⇒ String
Output only.
-
#sas_user_ids ⇒ Array<String>
User ID used by the devices belonging to this deployment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalDeployment
constructor
A new instance of SasPortalDeployment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalDeployment
Returns a new instance of SasPortalDeployment.
167 168 169 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 167 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_billing_modes ⇒ Array<String>
The allowed billing modes under this deployment.
Corresponds to the JSON property allowedBillingModes
144 145 146 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 144 def allowed_billing_modes @allowed_billing_modes end |
#default_billing_mode ⇒ String
Default billing mode for the deployment and devices under it.
Corresponds to the JSON property defaultBillingMode
149 150 151 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 149 def default_billing_mode @default_billing_mode end |
#display_name ⇒ String
The deployment's display name.
Corresponds to the JSON property displayName
154 155 156 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 154 def display_name @display_name end |
#name ⇒ String
Output only. Resource name.
Corresponds to the JSON property name
159 160 161 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 159 def name @name end |
#sas_user_ids ⇒ Array<String>
User ID used by the devices belonging to this deployment. Each deployment
should be associated with one unique user ID.
Corresponds to the JSON property sasUserIds
165 166 167 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 165 def sas_user_ids @sas_user_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
172 173 174 175 176 177 178 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 172 def update!(**args) @allowed_billing_modes = args[:allowed_billing_modes] if args.key?(:allowed_billing_modes) @default_billing_mode = args[:default_billing_mode] if args.key?(:default_billing_mode) @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 |