Class: Google::Apis::SasportalV1alpha1::SasPortalDeployment

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_modesArray<String>

The allowed billing modes under this deployment. Corresponds to the JSON property allowedBillingModes

Returns:

  • (Array<String>)


144
145
146
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 144

def allowed_billing_modes
  @allowed_billing_modes
end

#default_billing_modeString

Default billing mode for the deployment and devices under it. Corresponds to the JSON property defaultBillingMode

Returns:

  • (String)


149
150
151
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 149

def default_billing_mode
  @default_billing_mode
end

#display_nameString

The deployment's display name. Corresponds to the JSON property displayName

Returns:

  • (String)


154
155
156
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 154

def display_name
  @display_name
end

#nameString

Output only. Resource name. Corresponds to the JSON property name

Returns:

  • (String)


159
160
161
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 159

def name
  @name
end

#sas_user_idsArray<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

Returns:

  • (Array<String>)


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