Class: Google::Apis::ProdTtSasportalV1alpha1::SASPortalTestingService

Inherits:
Core::BaseService
  • Object
show all
Defined in:
lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb

Overview

SAS Portal API (Testing)

Examples:

require 'google/apis/prod_tt_sasportal_v1alpha1'

ProdTtSasportal = Google::Apis::ProdTtSasportalV1alpha1 # Alias the module
service = ProdTtSasportal::SASPortalTestingService.new

See Also:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSASPortalTestingService

Returns a new instance of SASPortalTestingService.



45
46
47
48
49
50
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 45

def initialize
  super('https://prod-tt-sasportal.googleapis.com/', '',
        client_name: 'google-apis-prod_tt_sasportal_v1alpha1',
        client_version: Google::Apis::ProdTtSasportalV1alpha1::GEM_VERSION)
  @batch_path = 'batch'
end

Instance Attribute Details

#keyString

Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

Returns:

  • (String)

    API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.



38
39
40
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 38

def key
  @key
end

#quota_userString

Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

Returns:

  • (String)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.



43
44
45
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 43

def quota_user
  @quota_user
end

Instance Method Details

#check_customer_has_provisioned_deployment(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse

Checks whether a SAS deployment for the authentication context exists.

Parameters:

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



70
71
72
73
74
75
76
77
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 70

def check_customer_has_provisioned_deployment(fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/customers:checkHasProvisionedDeployment', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment

Creates a new deployment.

Parameters:

  • parent (String)

    Required. The parent resource name where the deployment is to be created.

  • sas_portal_deployment_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



263
264
265
266
267
268
269
270
271
272
273
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 263

def create_customer_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.request_object = sas_portal_deployment_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_deployment_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_device_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



467
468
469
470
471
472
473
474
475
476
477
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 467

def create_customer_deployment_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.request_object = sas_portal_device_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_deployment_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a signed device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_create_signed_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



500
501
502
503
504
505
506
507
508
509
510
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 500

def create_customer_deployment_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:createSigned', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation
  command.request_object = sas_portal_create_signed_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_device_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



576
577
578
579
580
581
582
583
584
585
586
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 576

def create_customer_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.request_object = sas_portal_device_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a signed device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_create_signed_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



609
610
611
612
613
614
615
616
617
618
619
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 609

def create_customer_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:createSigned', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation
  command.request_object = sas_portal_create_signed_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode

Creates a new node.

Parameters:

  • parent (String)

    Required. The parent resource name where the node is to be created.

  • sas_portal_node_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



880
881
882
883
884
885
886
887
888
889
890
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 880

def create_customer_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/nodes', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.request_object = sas_portal_node_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment

Creates a new deployment.

Parameters:

  • parent (String)

    Required. The parent resource name where the deployment is to be created.

  • sas_portal_deployment_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1084

def create_customer_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.request_object = sas_portal_deployment_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_device_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1159

def create_customer_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.request_object = sas_portal_device_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_node_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a signed device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_create_signed_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1192

def create_customer_node_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:createSigned', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation
  command.request_object = sas_portal_create_signed_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_node_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode

Creates a new node.

Parameters:

  • parent (String)

    Required. The parent resource name where the node is to be created.

  • sas_portal_node_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1268

def create_customer_node_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/nodes', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.request_object = sas_portal_node_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_node_deployment_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_device_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1829

def create_node_deployment_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.request_object = sas_portal_device_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_node_deployment_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a signed device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_create_signed_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1862

def create_node_deployment_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:createSigned', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation
  command.request_object = sas_portal_create_signed_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_device_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1938

def create_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.request_object = sas_portal_device_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_node_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a signed device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_create_signed_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1971

def create_node_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:createSigned', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation
  command.request_object = sas_portal_create_signed_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_node_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode

Creates a new node.

Parameters:

  • parent (String)

    Required. The parent resource name where the node is to be created.

  • sas_portal_node_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2242

def create_node_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/nodes', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.request_object = sas_portal_node_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_node_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment

Creates a new deployment.

Parameters:

  • parent (String)

    Required. The parent resource name where the deployment is to be created.

  • sas_portal_deployment_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2446

def create_node_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.request_object = sas_portal_deployment_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_node_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_device_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2521

def create_node_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.request_object = sas_portal_device_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_node_node_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Creates a signed device under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_create_signed_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2554

def create_node_node_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:createSigned', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation
  command.request_object = sas_portal_create_signed_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_node_node_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode

Creates a new node.

Parameters:

  • parent (String)

    Required. The parent resource name where the node is to be created.

  • sas_portal_node_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2630

def create_node_node_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/nodes', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.request_object = sas_portal_node_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_customer_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty

Deletes a deployment.

Parameters:

  • name (String)

    Required. The name of the deployment.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



295
296
297
298
299
300
301
302
303
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 295

def delete_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_customer_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty

Deletes a device.

Parameters:

  • name (String)

    Required. The name of the device.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



641
642
643
644
645
646
647
648
649
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 641

def delete_customer_device(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_customer_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty

Deletes a node.

Parameters:

  • name (String)

    Required. The name of the node.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



912
913
914
915
916
917
918
919
920
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 912

def delete_customer_node(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_deployment_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty

Deletes a device.

Parameters:

  • name (String)

    Required. The name of the device.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1372

def delete_deployment_device(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_node_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty

Deletes a deployment.

Parameters:

  • name (String)

    Required. The name of the deployment.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1657
1658
1659
1660
1661
1662
1663
1664
1665
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1657

def delete_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_node_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty

Deletes a device.

Parameters:

  • name (String)

    Required. The name of the device.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2003
2004
2005
2006
2007
2008
2009
2010
2011
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2003

def delete_node_device(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_node_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty

Deletes a node.

Parameters:

  • name (String)

    Required. The name of the node.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2274
2275
2276
2277
2278
2279
2280
2281
2282
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2274

def delete_node_node(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_installer_secret(sas_portal_generate_secret_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalGenerateSecretResponse

Generates a secret to be used with the ValidateInstaller.

Parameters:

  • sas_portal_generate_secret_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalGenerateSecretRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1566

def generate_installer_secret(sas_portal_generate_secret_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/installer:generateSecret', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalGenerateSecretRequest::Representation
  command.request_object = sas_portal_generate_secret_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalGenerateSecretResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalGenerateSecretResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_customer(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer

Returns a requested customer.

Parameters:

  • name (String)

    Required. The name of the customer.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



99
100
101
102
103
104
105
106
107
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 99

def get_customer(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_customer_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment

Returns a requested deployment.

Parameters:

  • name (String)

    Required. The name of the deployment.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



325
326
327
328
329
330
331
332
333
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 325

def get_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_customer_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Gets details about a device.

Parameters:

  • name (String)

    Required. The name of the device.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



671
672
673
674
675
676
677
678
679
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 671

def get_customer_device(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_customer_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode

Returns a requested node.

Parameters:

  • name (String)

    Required. The name of the node.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



942
943
944
945
946
947
948
949
950
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 942

def get_customer_node(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment

Returns a requested deployment.

Parameters:

  • name (String)

    Required. The name of the deployment.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1342
1343
1344
1345
1346
1347
1348
1349
1350
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1342

def get_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_deployment_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Gets details about a device.

Parameters:

  • name (String)

    Required. The name of the device.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1402
1403
1404
1405
1406
1407
1408
1409
1410
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1402

def get_deployment_device(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode

Returns a requested node.

Parameters:

  • name (String)

    Required. The name of the node.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1627
1628
1629
1630
1631
1632
1633
1634
1635
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1627

def get_node(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_node_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment

Returns a requested deployment.

Parameters:

  • name (String)

    Required. The name of the deployment.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1687
1688
1689
1690
1691
1692
1693
1694
1695
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1687

def get_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_node_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Gets details about a device.

Parameters:

  • name (String)

    Required. The name of the device.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2033
2034
2035
2036
2037
2038
2039
2040
2041
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2033

def get_node_device(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_node_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode

Returns a requested node.

Parameters:

  • name (String)

    Required. The name of the node.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2304
2305
2306
2307
2308
2309
2310
2311
2312
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2304

def get_node_node(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_policy(sas_portal_get_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalPolicy

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Parameters:

  • sas_portal_get_policy_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalGetPolicyRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2704

def get_policy(sas_portal_get_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/policies:get', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalGetPolicyRequest::Representation
  command.request_object = sas_portal_get_policy_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalPolicy::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalPolicy
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_deployment_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse

Lists devices under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have one of the following formats: " sn=123454" or "display_name=MyDevice". sn corresponds to serial number of the device. The filter is case insensitive.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



542
543
544
545
546
547
548
549
550
551
552
553
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 542

def list_customer_deployment_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/devices', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse

Lists deployments.

Parameters:

  • parent (String)

    Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2.

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have the following format: " DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of deployments to return in the response.

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 364

def list_customer_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse

Lists devices under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have one of the following formats: " sn=123454" or "display_name=MyDevice". sn corresponds to serial number of the device. The filter is case insensitive.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



711
712
713
714
715
716
717
718
719
720
721
722
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 711

def list_customer_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/devices', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse

Lists deployments.

Parameters:

  • parent (String)

    Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2.

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have the following format: " DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of deployments to return in the response.

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1125

def list_customer_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse

Lists devices under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have one of the following formats: " sn=123454" or "display_name=MyDevice". sn corresponds to serial number of the device. The filter is case insensitive.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1234

def list_customer_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/devices', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse

Lists nodes.

Parameters:

  • parent (String)

    Required. The parent resource name, for example, "nodes/1".

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have the following format: " DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no nodes are filtered.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of nodes to return in the response.

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1309

def list_customer_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse

Lists nodes.

Parameters:

  • parent (String)

    Required. The parent resource name, for example, "nodes/1".

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have the following format: " DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no nodes are filtered.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of nodes to return in the response.

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



981
982
983
984
985
986
987
988
989
990
991
992
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 981

def list_customer_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customers(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListCustomersResponse

Returns a list of requested customers.

Parameters:

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of customers to return in the response.

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListCustomers that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



132
133
134
135
136
137
138
139
140
141
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 132

def list_customers(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/customers', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListCustomersResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListCustomersResponse
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_node_deployment_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse

Lists devices under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have one of the following formats: " sn=123454" or "display_name=MyDevice". sn corresponds to serial number of the device. The filter is case insensitive.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1904

def list_node_deployment_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/devices', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse

Lists deployments.

Parameters:

  • parent (String)

    Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2.

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have the following format: " DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of deployments to return in the response.

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1726

def list_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse

Lists devices under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have one of the following formats: " sn=123454" or "display_name=MyDevice". sn corresponds to serial number of the device. The filter is case insensitive.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2073

def list_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/devices', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_node_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse

Lists deployments.

Parameters:

  • parent (String)

    Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2.

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have the following format: " DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of deployments to return in the response.

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2487

def list_node_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_node_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse

Lists devices under a node or customer.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have one of the following formats: " sn=123454" or "display_name=MyDevice". sn corresponds to serial number of the device. The filter is case insensitive.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2596

def list_node_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/devices', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_node_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse

Lists nodes.

Parameters:

  • parent (String)

    Required. The parent resource name, for example, "nodes/1".

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have the following format: " DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no nodes are filtered.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of nodes to return in the response.

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2671

def list_node_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse

Lists nodes.

Parameters:

  • parent (String)

    Required. The parent resource name, for example, "nodes/1".

  • filter (String) (defaults to: nil)

    The filter expression. The filter should have the following format: " DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no nodes are filtered.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of nodes to return in the response.

  • page_token (String) (defaults to: nil)

    A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2343

def list_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListNodesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#migrate_customer_organization(sas_portal_migrate_organization_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation

Migrates a SAS organization to the cloud. This will create GCP projects for each deployment and associate them. The SAS Organization is linked to the gcp project that called the command. go/sas-legacy-customer-migration

Parameters:

  • sas_portal_migrate_organization_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalMigrateOrganizationRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



164
165
166
167
168
169
170
171
172
173
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 164

def migrate_customer_organization(sas_portal_migrate_organization_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/customers:migrateOrganization', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalMigrateOrganizationRequest::Representation
  command.request_object = sas_portal_migrate_organization_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#move_customer_deployment(name, sas_portal_move_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation

Moves a deployment under another node or customer.

Parameters:

  • name (String)

    Required. The name of the deployment to move.

  • sas_portal_move_deployment_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveDeploymentRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



398
399
400
401
402
403
404
405
406
407
408
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 398

def move_customer_deployment(name, sas_portal_move_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:move', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveDeploymentRequest::Representation
  command.request_object = sas_portal_move_deployment_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#move_customer_device(name, sas_portal_move_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation

Moves a device under another node or customer.

Parameters:

  • name (String)

    Required. The name of the device to move.

  • sas_portal_move_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



745
746
747
748
749
750
751
752
753
754
755
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 745

def move_customer_device(name, sas_portal_move_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:move', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveDeviceRequest::Representation
  command.request_object = sas_portal_move_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#move_customer_node(name, sas_portal_move_node_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation

Moves a node under another node or customer.

Parameters:

  • name (String)

    Required. The name of the node to move.

  • sas_portal_move_node_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveNodeRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1015

def move_customer_node(name, sas_portal_move_node_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:move', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveNodeRequest::Representation
  command.request_object = sas_portal_move_node_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#move_deployment_device(name, sas_portal_move_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation

Moves a device under another node or customer.

Parameters:

  • name (String)

    Required. The name of the device to move.

  • sas_portal_move_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1433

def move_deployment_device(name, sas_portal_move_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:move', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveDeviceRequest::Representation
  command.request_object = sas_portal_move_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#move_node_deployment(name, sas_portal_move_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation

Moves a deployment under another node or customer.

Parameters:

  • name (String)

    Required. The name of the deployment to move.

  • sas_portal_move_deployment_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveDeploymentRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1760

def move_node_deployment(name, sas_portal_move_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:move', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveDeploymentRequest::Representation
  command.request_object = sas_portal_move_deployment_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#move_node_device(name, sas_portal_move_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation

Moves a device under another node or customer.

Parameters:

  • name (String)

    Required. The name of the device to move.

  • sas_portal_move_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2107

def move_node_device(name, sas_portal_move_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:move', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveDeviceRequest::Representation
  command.request_object = sas_portal_move_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#move_node_node(name, sas_portal_move_node_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation

Moves a node under another node or customer.

Parameters:

  • name (String)

    Required. The name of the node to move.

  • sas_portal_move_node_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveNodeRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2377

def move_node_node(name, sas_portal_move_node_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:move', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveNodeRequest::Representation
  command.request_object = sas_portal_move_node_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalOperation
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_customer(name, sas_portal_customer_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer

Updates an existing customer.

Parameters:

  • name (String)

    Output only. Resource name of the customer.

  • sas_portal_customer_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Fields to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



198
199
200
201
202
203
204
205
206
207
208
209
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 198

def patch_customer(name, sas_portal_customer_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer::Representation
  command.request_object = sas_portal_customer_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_customer_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment

Updates an existing deployment.

Parameters:

  • name (String)

    Output only. Resource name.

  • sas_portal_deployment_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Fields to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



433
434
435
436
437
438
439
440
441
442
443
444
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 433

def patch_customer_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.request_object = sas_portal_deployment_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_customer_device(name, sas_portal_device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Updates a device.

Parameters:

  • name (String)

    Output only. The resource path name.

  • sas_portal_device_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Fields to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



780
781
782
783
784
785
786
787
788
789
790
791
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 780

def patch_customer_device(name, sas_portal_device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.request_object = sas_portal_device_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_customer_node(name, sas_portal_node_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode

Updates an existing node.

Parameters:

  • name (String)

    Output only. Resource name.

  • sas_portal_node_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Fields to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1050

def patch_customer_node(name, sas_portal_node_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.request_object = sas_portal_node_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_deployment_device(name, sas_portal_device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Updates a device.

Parameters:

  • name (String)

    Output only. The resource path name.

  • sas_portal_device_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Fields to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1468

def patch_deployment_device(name, sas_portal_device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.request_object = sas_portal_device_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_node_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment

Updates an existing deployment.

Parameters:

  • name (String)

    Output only. Resource name.

  • sas_portal_deployment_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Fields to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1795

def patch_node_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.request_object = sas_portal_deployment_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_node_device(name, sas_portal_device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Updates a device.

Parameters:

  • name (String)

    Output only. The resource path name.

  • sas_portal_device_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Fields to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2142

def patch_node_device(name, sas_portal_device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.request_object = sas_portal_device_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_node_node(name, sas_portal_node_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode

Updates an existing node.

Parameters:

  • name (String)

    Output only. Resource name.

  • sas_portal_node_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Fields to be updated.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2412

def patch_node_node(name, sas_portal_node_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.request_object = sas_portal_node_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#provision_customer_deployment(sas_portal_provision_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalProvisionDeploymentResponse

Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found.

Parameters:

  • sas_portal_provision_deployment_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalProvisionDeploymentRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



231
232
233
234
235
236
237
238
239
240
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 231

def provision_customer_deployment(sas_portal_provision_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/customers:provisionDeployment', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalProvisionDeploymentRequest::Representation
  command.request_object = sas_portal_provision_deployment_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalProvisionDeploymentResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalProvisionDeploymentResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#set_policy(sas_portal_set_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalPolicy

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters:

  • sas_portal_set_policy_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalSetPolicyRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2735

def set_policy(sas_portal_set_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/policies:set', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalSetPolicyRequest::Representation
  command.request_object = sas_portal_set_policy_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalPolicy::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalPolicy
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#sign_customer_device_device(name, sas_portal_sign_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty

Signs a device.

Parameters:

  • name (String)

    Output only. The resource path name.

  • sas_portal_sign_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalSignDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



814
815
816
817
818
819
820
821
822
823
824
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 814

def sign_customer_device_device(name, sas_portal_sign_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:signDevice', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalSignDeviceRequest::Representation
  command.request_object = sas_portal_sign_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#sign_deployment_device_device(name, sas_portal_sign_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty

Signs a device.

Parameters:

  • name (String)

    Output only. The resource path name.

  • sas_portal_sign_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalSignDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1502

def sign_deployment_device_device(name, sas_portal_sign_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:signDevice', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalSignDeviceRequest::Representation
  command.request_object = sas_portal_sign_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#sign_node_device_device(name, sas_portal_sign_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty

Signs a device.

Parameters:

  • name (String)

    Output only. The resource path name.

  • sas_portal_sign_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalSignDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2176

def sign_node_device_device(name, sas_portal_sign_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:signDevice', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalSignDeviceRequest::Representation
  command.request_object = sas_portal_sign_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#test_policy(sas_portal_test_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalTestPermissionsResponse

Returns permissions that a caller has on the specified resource.

Parameters:

  • sas_portal_test_permissions_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalTestPermissionsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2765

def test_policy(sas_portal_test_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/policies:test', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalTestPermissionsRequest::Representation
  command.request_object = sas_portal_test_permissions_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalTestPermissionsResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalTestPermissionsResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#update_customer_device_signed(name, sas_portal_update_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Updates a signed device.

Parameters:

  • name (String)

    Required. The name of the device to update.

  • sas_portal_update_signed_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalUpdateSignedDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



847
848
849
850
851
852
853
854
855
856
857
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 847

def update_customer_device_signed(name, sas_portal_update_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha1/{+name}:updateSigned', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalUpdateSignedDeviceRequest::Representation
  command.request_object = sas_portal_update_signed_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#update_deployment_device_signed(name, sas_portal_update_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Updates a signed device.

Parameters:

  • name (String)

    Required. The name of the device to update.

  • sas_portal_update_signed_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalUpdateSignedDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1535

def update_deployment_device_signed(name, sas_portal_update_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha1/{+name}:updateSigned', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalUpdateSignedDeviceRequest::Representation
  command.request_object = sas_portal_update_signed_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#update_node_device_signed(name, sas_portal_update_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice

Updates a signed device.

Parameters:

  • name (String)

    Required. The name of the device to update.

  • sas_portal_update_signed_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalUpdateSignedDeviceRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2209

def update_node_device_signed(name, sas_portal_update_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1alpha1/{+name}:updateSigned', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalUpdateSignedDeviceRequest::Representation
  command.request_object = sas_portal_update_signed_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#validate_installer(sas_portal_validate_installer_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalValidateInstallerResponse

Validates the identity of a Certified Professional Installer (CPI).

Parameters:

  • sas_portal_validate_installer_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalValidateInstallerRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1596

def validate_installer(sas_portal_validate_installer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/installer:validate', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalValidateInstallerRequest::Representation
  command.request_object = sas_portal_validate_installer_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalValidateInstallerResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalValidateInstallerResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end