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:

Constant Summary collapse

DEFAULT_ENDPOINT_TEMPLATE =
"https://prod-tt-sasportal.$UNIVERSE_DOMAIN$/"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSASPortalTestingService

Returns a new instance of SASPortalTestingService.



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

def initialize
  super(DEFAULT_ENDPOINT_TEMPLATE, '',
        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.



40
41
42
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 40

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.



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

def quota_user
  @quota_user
end

Instance Method Details

#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



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

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



529
530
531
532
533
534
535
536
537
538
539
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 529

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



562
563
564
565
566
567
568
569
570
571
572
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 562

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



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

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



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

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



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

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



1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1146

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



1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1221

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



1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1254

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



1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1330

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



1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1891

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



1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1924

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



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

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



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

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



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

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



2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2508

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



2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2583

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



2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2616

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



2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2692

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



357
358
359
360
361
362
363
364
365
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 357

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



703
704
705
706
707
708
709
710
711
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 703

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



974
975
976
977
978
979
980
981
982
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 974

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



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

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



1719
1720
1721
1722
1723
1724
1725
1726
1727
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1719

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



2065
2066
2067
2068
2069
2070
2071
2072
2073
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2065

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



2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2336

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



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

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



74
75
76
77
78
79
80
81
82
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 74

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



387
388
389
390
391
392
393
394
395
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 387

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



733
734
735
736
737
738
739
740
741
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 733

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



1004
1005
1006
1007
1008
1009
1010
1011
1012
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1004

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



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

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



1464
1465
1466
1467
1468
1469
1470
1471
1472
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1464

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



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

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



1749
1750
1751
1752
1753
1754
1755
1756
1757
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1749

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



2095
2096
2097
2098
2099
2100
2101
2102
2103
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2095

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



2366
2367
2368
2369
2370
2371
2372
2373
2374
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2366

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



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

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



604
605
606
607
608
609
610
611
612
613
614
615
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 604

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



426
427
428
429
430
431
432
433
434
435
436
437
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 426

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



773
774
775
776
777
778
779
780
781
782
783
784
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 773

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_gcp_project_deployments(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListGcpProjectDeploymentsResponse

Returns a list of SAS deployments associated with current GCP project. Includes whether SAS analytics has been enabled or not.

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



137
138
139
140
141
142
143
144
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 137

def list_customer_gcp_project_deployments(fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/customers:listGcpProjectDeployments', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListGcpProjectDeploymentsResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListGcpProjectDeploymentsResponse
  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_legacy_organizations(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalListLegacyOrganizationsResponse

Returns a list of legacy organizations.

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



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

def list_customer_legacy_organizations(fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/customers:listLegacyOrganizations', options)
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListLegacyOrganizationsResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListLegacyOrganizationsResponse
  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



1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1187

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



1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1296

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



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

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



1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1043

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



107
108
109
110
111
112
113
114
115
116
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 107

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



1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1966

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



1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1788

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



2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2135

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



2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2549

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



2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2658

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



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

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



2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2405

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



194
195
196
197
198
199
200
201
202
203
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 194

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



460
461
462
463
464
465
466
467
468
469
470
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 460

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



807
808
809
810
811
812
813
814
815
816
817
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 807

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



1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1077

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



1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1495

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



1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1822

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



2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2169

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



2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2439

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



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

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



495
496
497
498
499
500
501
502
503
504
505
506
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 495

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



842
843
844
845
846
847
848
849
850
851
852
853
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 842

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



1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1112

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



1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1530

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



1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1857

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



2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2204

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



2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2474

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



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

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



2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2797

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

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

Setups the a GCP Project to receive SAS Analytics messages via GCP Pub/Sub with a subscription to BigQuery. All the Pub/Sub topics and BigQuery tables are created automatically as part of this service.

Parameters:

  • sas_portal_setup_sas_analytics_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalSetupSasAnalyticsRequest) (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



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

def setup_customer_sas_analytics(sas_portal_setup_sas_analytics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/customers:setupSasAnalytics', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalSetupSasAnalyticsRequest::Representation
  command.request_object = sas_portal_setup_sas_analytics_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

#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



876
877
878
879
880
881
882
883
884
885
886
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 876

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



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

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



2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2238

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



2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2827

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



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

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



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

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



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

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



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

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