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.
142 143 144 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 142 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
119 120 121 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 119 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
124 125 126 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 124 def default_billing_mode @default_billing_mode end |
#display_name ⇒ String
The deployment's display name.
Corresponds to the JSON property displayName
129 130 131 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 129 def display_name @display_name end |
#name ⇒ String
Output only. Resource name.
Corresponds to the JSON property name
134 135 136 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 134 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
140 141 142 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 140 def sas_user_ids @sas_user_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
147 148 149 150 151 152 153 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 147 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 |