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.



142
143
144
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 142

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>)


119
120
121
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 119

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)


124
125
126
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 124

def default_billing_mode
  @default_billing_mode
end

#display_nameString

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

Returns:

  • (String)


129
130
131
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 129

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


134
135
136
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 134

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>)


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