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

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

Overview

SAS Portal API (Testing)

Examples:

require 'google/apis/prod_tt_sasportal_v1alpha1'

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

See Also:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSASPortalTestingService

Returns a new instance of SASPortalTestingService.



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

def initialize
  super('https://prod-tt-sasportal.googleapis.com/', '')
  @batch_path = 'batch'
end

Instance Attribute Details

#keyString

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

Returns:

  • (String)

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



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

def key
  @key
end

#quota_userString

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

Returns:

  • (String)

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



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

def quota_user
  @quota_user
end

Instance Method Details

#bulk_customer_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse

Creates a device under a node or customer. Returned devices are unordered.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_bulk_create_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest) (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



313
314
315
316
317
318
319
320
321
322
323
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 313

def bulk_customer_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:bulk', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest::Representation
  command.request_object = sas_portal_bulk_create_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse
  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

#bulk_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse

Creates a device under a node or customer. Returned devices are unordered.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_bulk_create_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest) (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



1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1455

def bulk_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:bulk', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest::Representation
  command.request_object = sas_portal_bulk_create_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse
  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

#bulk_node_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse

Creates a device under a node or customer. Returned devices are unordered.

Parameters:

  • parent (String)

    Required. The name of the parent resource.

  • sas_portal_bulk_create_device_request_object (Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest) (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



1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1991

def bulk_node_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:bulk', options)
  command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest::Representation
  command.request_object = sas_portal_bulk_create_device_request_object
  command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse::Representation
  command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse
  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



204
205
206
207
208
209
210
211
212
213
214
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 204

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



237
238
239
240
241
242
243
244
245
246
247
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 237

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



346
347
348
349
350
351
352
353
354
355
356
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 346

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



379
380
381
382
383
384
385
386
387
388
389
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 379

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



650
651
652
653
654
655
656
657
658
659
660
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 650

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



849
850
851
852
853
854
855
856
857
858
859
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 849

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



882
883
884
885
886
887
888
889
890
891
892
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 882

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



958
959
960
961
962
963
964
965
966
967
968
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 958

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



1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1346

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



1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1379

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



1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1488

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



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1521

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



1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1792

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



2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2024

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



2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2057

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



2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2133

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



411
412
413
414
415
416
417
418
419
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 411

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



682
683
684
685
686
687
688
689
690
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 682

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



1027
1028
1029
1030
1031
1032
1033
1034
1035
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1027

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



1553
1554
1555
1556
1557
1558
1559
1560
1561
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1553

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



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

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 method

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



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

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



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

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



441
442
443
444
445
446
447
448
449
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 441

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



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

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



1057
1058
1059
1060
1061
1062
1063
1064
1065
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1057

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



1282
1283
1284
1285
1286
1287
1288
1289
1290
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1282

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



1583
1584
1585
1586
1587
1588
1589
1590
1591
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1583

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



1854
1855
1856
1857
1858
1859
1860
1861
1862
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1854

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



2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2202

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



279
280
281
282
283
284
285
286
287
288
289
290
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 279

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



481
482
483
484
485
486
487
488
489
490
491
492
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 481

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

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



924
925
926
927
928
929
930
931
932
933
934
935
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 924

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, 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".

  • 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 method 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



995
996
997
998
999
1000
1001
1002
1003
1004
1005
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 995

def list_customer_node_nodes(parent, 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['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, 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".

  • 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 method 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



747
748
749
750
751
752
753
754
755
756
757
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 747

def list_customer_nodes(parent, 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['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 method 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



103
104
105
106
107
108
109
110
111
112
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 103

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



1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1421

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



1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1623

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



2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2099

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, 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".

  • 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 method 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



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

def list_node_node_nodes(parent, 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['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, 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".

  • 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 method 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



1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1889

def list_node_nodes(parent, 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['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

#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



171
172
173
174
175
176
177
178
179
180
181
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 171

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



515
516
517
518
519
520
521
522
523
524
525
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 515

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



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

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



1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1088

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



1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1313

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



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

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



1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1922

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



137
138
139
140
141
142
143
144
145
146
147
148
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 137

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



550
551
552
553
554
555
556
557
558
559
560
561
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 550

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



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

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



1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1123

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



1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1692

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



1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1957

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

#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



2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2233

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

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

Signs a device.

Parameters:

  • name (String)

    Output only. The resource path name.

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

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

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

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

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

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

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



584
585
586
587
588
589
590
591
592
593
594
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 584

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



1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1157

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



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

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



2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 2263

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



617
618
619
620
621
622
623
624
625
626
627
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 617

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



1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1190

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



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

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



1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb', line 1251

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