Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalProvisionDeploymentRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb

Overview

Request for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning. ProvisionDeployment]. GCP Project, Organization Info, and caller’s GAIA ID should be retrieved from the RPC handler, and used as inputs to create a new SAS organization (if not exists) and a new SAS deployment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalProvisionDeploymentRequest

Returns a new instance of SasPortalProvisionDeploymentRequest.



1307
1308
1309
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1307

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#new_deployment_display_nameString

Optional. If this field is set, and a new SAS Portal Deployment needs to be created, its display name will be set to the value of this field. Corresponds to the JSON property newDeploymentDisplayName

Returns:

  • (String)


1293
1294
1295
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1293

def new_deployment_display_name
  @new_deployment_display_name
end

#new_organization_display_nameString

Optional. If this field is set, and a new SAS Portal Organization needs to be created, its display name will be set to the value of this field. Corresponds to the JSON property newOrganizationDisplayName

Returns:

  • (String)


1299
1300
1301
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1299

def new_organization_display_name
  @new_organization_display_name
end

#organization_idFixnum

Optional. If this field is set then a new deployment will be created under the organization specified by this id. Corresponds to the JSON property organizationId

Returns:

  • (Fixnum)


1305
1306
1307
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1305

def organization_id
  @organization_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1312
1313
1314
1315
1316
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1312

def update!(**args)
  @new_deployment_display_name = args[:new_deployment_display_name] if args.key?(:new_deployment_display_name)
  @new_organization_display_name = args[:new_organization_display_name] if args.key?(:new_organization_display_name)
  @organization_id = args[:organization_id] if args.key?(:organization_id)
end