Class: Google::Apis::SasportalV1alpha1::SasportalService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::SasportalV1alpha1::SasportalService
- Defined in:
- lib/google/apis/sasportal_v1alpha1/service.rb
Overview
SAS Portal API
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#create_customer_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Creates a new deployment.
-
#create_customer_deployment_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
-
#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::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
-
#create_customer_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
-
#create_customer_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
-
#create_customer_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalNode
Creates a new node.
-
#create_customer_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Creates a new deployment.
-
#create_customer_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
-
#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::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
-
#create_customer_node_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalNode
Creates a new node.
-
#create_node_deployment_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
-
#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::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
-
#create_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
-
#create_node_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
-
#create_node_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalNode
Creates a new node.
-
#create_node_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Creates a new deployment.
-
#create_node_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
-
#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::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
-
#create_node_node_node(parent, sas_portal_node_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalNode
Creates a new node.
-
#delete_customer_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a deployment.
-
#delete_customer_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a device.
-
#delete_customer_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a node.
-
#delete_deployment_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a device.
-
#delete_node_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a deployment.
-
#delete_node_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a device.
-
#delete_node_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a node.
-
#generate_installer_secret(sas_portal_generate_secret_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalGenerateSecretResponse
Generates a secret to be used with the ValidateInstaller.
-
#get_customer(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalCustomer
Returns a requested customer.
-
#get_customer_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Returns a requested deployment.
-
#get_customer_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Gets details about a device.
-
#get_customer_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalNode
Returns a requested node.
-
#get_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Returns a requested deployment.
-
#get_deployment_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Gets details about a device.
-
#get_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalNode
Returns a requested node.
-
#get_node_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Returns a requested deployment.
-
#get_node_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Gets details about a device.
-
#get_node_node(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalNode
Returns a requested node.
-
#get_policy(sas_portal_get_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalPolicy
Gets the access control policy for a resource.
-
#initialize ⇒ SasportalService
constructor
A new instance of SasportalService.
-
#list_customer_deployment_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
-
#list_customer_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
Lists deployments.
-
#list_customer_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
-
#list_customer_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
Lists deployments.
-
#list_customer_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
-
#list_customer_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
-
#list_customer_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
-
#list_customers(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListCustomersResponse
Returns a list of requested customers.
-
#list_node_deployment_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
-
#list_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
Lists deployments.
-
#list_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
-
#list_node_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
Lists deployments.
-
#list_node_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
-
#list_node_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
-
#list_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
-
#move_customer_deployment(name, sas_portal_move_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalOperation
Moves a deployment under another node or customer.
-
#move_customer_device(name, sas_portal_move_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalOperation
Moves a device under another node or customer.
-
#move_customer_node(name, sas_portal_move_node_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalOperation
Moves a node under another node or customer.
-
#move_deployment_device(name, sas_portal_move_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalOperation
Moves a device under another node or customer.
-
#move_node_deployment(name, sas_portal_move_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalOperation
Moves a deployment under another node or customer.
-
#move_node_device(name, sas_portal_move_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalOperation
Moves a device under another node or customer.
-
#move_node_node(name, sas_portal_move_node_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalOperation
Moves a node under another node or customer.
-
#patch_customer(name, sas_portal_customer_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalCustomer
Updates an existing customer.
-
#patch_customer_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Updates an existing deployment.
-
#patch_customer_device(name, sas_portal_device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Updates a device.
-
#patch_customer_node(name, sas_portal_node_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalNode
Updates an existing node.
-
#patch_deployment_device(name, sas_portal_device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Updates a device.
-
#patch_node_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Updates an existing deployment.
-
#patch_node_device(name, sas_portal_device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Updates a device.
-
#patch_node_node(name, sas_portal_node_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalNode
Updates an existing node.
-
#set_policy(sas_portal_set_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalPolicy
Sets the access control policy on the specified resource.
-
#sign_customer_device_device(name, sas_portal_sign_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Signs a device.
-
#sign_deployment_device_device(name, sas_portal_sign_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Signs a device.
-
#sign_node_device_device(name, sas_portal_sign_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Signs a device.
-
#test_policy(sas_portal_test_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalTestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#update_customer_device_signed(name, sas_portal_update_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Updates a signed device.
-
#update_deployment_device_signed(name, sas_portal_update_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Updates a signed device.
-
#update_node_device_signed(name, sas_portal_update_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Updates a signed device.
-
#validate_installer(sas_portal_validate_installer_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalValidateInstallerResponse
Validates the identity of a Certified Professional Installer (CPI).
Constructor Details
#initialize ⇒ SasportalService
Returns a new instance of SasportalService.
45 46 47 48 49 50 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 45 def initialize super('https://sasportal.googleapis.com/', '', client_name: 'google-apis-sasportal_v1alpha1', client_version: Google::Apis::SasportalV1alpha1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
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.
38 39 40 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 38 def key @key end |
#quota_user ⇒ String
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.
43 44 45 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 43 def quota_user @quota_user end |
Instance Method Details
#create_customer_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Creates a new deployment.
173 174 175 176 177 178 179 180 181 182 183 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 173 def create_customer_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.request_object = sas_portal_deployment_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_customer_deployment_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
377 378 379 380 381 382 383 384 385 386 387 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 377 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.request_object = sas_portal_device_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
410 411 412 413 414 415 416 417 418 419 420 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 410 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation command.request_object = sas_portal_create_signed_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
486 487 488 489 490 491 492 493 494 495 496 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 486 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.request_object = sas_portal_device_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
519 520 521 522 523 524 525 526 527 528 529 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 519 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation command.request_object = sas_portal_create_signed_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalNode
Creates a new node.
790 791 792 793 794 795 796 797 798 799 800 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 790 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.request_object = sas_portal_node_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalNode command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_customer_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Creates a new deployment.
994 995 996 997 998 999 1000 1001 1002 1003 1004 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 994 def create_customer_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.request_object = sas_portal_deployment_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_customer_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1069 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.request_object = sas_portal_device_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1102 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation command.request_object = sas_portal_create_signed_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalNode
Creates a new node.
1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1178 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.request_object = sas_portal_node_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1739 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.request_object = sas_portal_device_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1772 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation command.request_object = sas_portal_create_signed_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1848 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.request_object = sas_portal_device_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1881 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation command.request_object = sas_portal_create_signed_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalNode
Creates a new node.
2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2152 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.request_object = sas_portal_node_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalNode command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_node_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Creates a new deployment.
2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2356 def create_node_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.request_object = sas_portal_deployment_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_node_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2431 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.request_object = sas_portal_device_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Creates a signed device under a node or customer.
2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2464 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation command.request_object = sas_portal_create_signed_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalNode
Creates a new node.
2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2540 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.request_object = sas_portal_node_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalNode command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_customer_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a deployment.
205 206 207 208 209 210 211 212 213 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 205 def delete_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_customer_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a device.
551 552 553 554 555 556 557 558 559 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 551 def delete_customer_device(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalEmpty
Deletes a node.
822 823 824 825 826 827 828 829 830 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 822 def delete_customer_node(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalEmpty
Deletes a device.
1282 1283 1284 1285 1286 1287 1288 1289 1290 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1282 def delete_deployment_device(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_node_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a deployment.
1567 1568 1569 1570 1571 1572 1573 1574 1575 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1567 def delete_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalEmpty
Deletes a device.
1913 1914 1915 1916 1917 1918 1919 1920 1921 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1913 def delete_node_device(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalEmpty
Deletes a node.
2184 2185 2186 2187 2188 2189 2190 2191 2192 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2184 def delete_node_node(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalGenerateSecretResponse
Generates a secret to be used with the ValidateInstaller.
1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1476 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalGenerateSecretRequest::Representation command.request_object = sas_portal_generate_secret_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalGenerateSecretResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalCustomer
Returns a requested customer.
72 73 74 75 76 77 78 79 80 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 72 def get_customer(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalCustomer::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalCustomer command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_customer_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Returns a requested deployment.
235 236 237 238 239 240 241 242 243 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 235 def get_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_customer_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Gets details about a device.
581 582 583 584 585 586 587 588 589 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 581 def get_customer_device(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalNode
Returns a requested node.
852 853 854 855 856 857 858 859 860 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 852 def get_customer_node(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalNode command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Returns a requested deployment.
1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1252 def get_deployment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_deployment_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Gets details about a device.
1312 1313 1314 1315 1316 1317 1318 1319 1320 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1312 def get_deployment_device(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalNode
Returns a requested node.
1537 1538 1539 1540 1541 1542 1543 1544 1545 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1537 def get_node(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalNode command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_node_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Returns a requested deployment.
1597 1598 1599 1600 1601 1602 1603 1604 1605 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1597 def get_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_node_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Gets details about a device.
1943 1944 1945 1946 1947 1948 1949 1950 1951 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1943 def get_node_device(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalNode
Returns a requested node.
2214 2215 2216 2217 2218 2219 2220 2221 2222 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2214 def get_node_node(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalPolicy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2614 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalGetPolicyRequest::Representation command.request_object = sas_portal_get_policy_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalPolicy::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
452 453 454 455 456 457 458 459 460 461 462 463 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 452 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', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_customer_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
Lists deployments.
274 275 276 277 278 279 280 281 282 283 284 285 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 274 def list_customer_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_customer_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
621 622 623 624 625 626 627 628 629 630 631 632 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 621 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', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_customer_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
Lists deployments.
1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1035 def list_customer_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_customer_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1144 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', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_customer_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1219 def list_customer_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_customer_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
891 892 893 894 895 896 897 898 899 900 901 902 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 891 def list_customer_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_customers(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListCustomersResponse
Returns a list of requested customers.
105 106 107 108 109 110 111 112 113 114 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 105 def list_customers(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/customers', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListCustomersResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1814 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', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
Lists deployments.
1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1636 def list_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1983 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', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_node_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
Lists deployments.
2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2397 def list_node_node_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_node_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse
Lists devices under a node or customer.
2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2506 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', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_node_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2581 def list_node_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2253 def list_node_nodes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#move_customer_deployment(name, sas_portal_move_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalOperation
Moves a deployment under another node or customer.
308 309 310 311 312 313 314 315 316 317 318 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 308 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalMoveDeploymentRequest::Representation command.request_object = sas_portal_move_deployment_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalOperation::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalOperation
Moves a device under another node or customer.
655 656 657 658 659 660 661 662 663 664 665 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 655 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalMoveDeviceRequest::Representation command.request_object = sas_portal_move_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalOperation::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalOperation
Moves a node under another node or customer.
925 926 927 928 929 930 931 932 933 934 935 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 925 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalMoveNodeRequest::Representation command.request_object = sas_portal_move_node_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalOperation::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalOperation
Moves a device under another node or customer.
1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1343 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalMoveDeviceRequest::Representation command.request_object = sas_portal_move_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalOperation::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalOperation
Moves a deployment under another node or customer.
1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1670 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalMoveDeploymentRequest::Representation command.request_object = sas_portal_move_deployment_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalOperation::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalOperation
Moves a device under another node or customer.
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2017 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalMoveDeviceRequest::Representation command.request_object = sas_portal_move_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalOperation::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalOperation
Moves a node under another node or customer.
2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2287 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalMoveNodeRequest::Representation command.request_object = sas_portal_move_node_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalOperation::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalCustomer
Updates an existing customer.
139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 139 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}', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalCustomer::Representation command.request_object = sas_portal_customer_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalCustomer::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalCustomer command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_customer_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Updates an existing deployment.
343 344 345 346 347 348 349 350 351 352 353 354 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 343 def patch_customer_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha1/{+name}', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.request_object = sas_portal_deployment_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_customer_device(name, sas_portal_device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Updates a device.
690 691 692 693 694 695 696 697 698 699 700 701 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 690 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}', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.request_object = sas_portal_device_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalNode
Updates an existing node.
960 961 962 963 964 965 966 967 968 969 970 971 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 960 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}', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.request_object = sas_portal_node_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Updates a device.
1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1378 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}', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.request_object = sas_portal_device_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDevice command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_node_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeployment
Updates an existing deployment.
1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1705 def patch_node_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha1/{+name}', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.request_object = sas_portal_deployment_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_node_device(name, sas_portal_device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Updates a device.
2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2052 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}', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.request_object = sas_portal_device_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalNode
Updates an existing node.
2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2322 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}', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.request_object = sas_portal_node_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalNode::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalPolicy
Sets the access control policy on the specified resource. Replaces any existing policy.
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2645 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalSetPolicyRequest::Representation command.request_object = sas_portal_set_policy_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalPolicy::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalEmpty
Signs a device.
724 725 726 727 728 729 730 731 732 733 734 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 724 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalSignDeviceRequest::Representation command.request_object = sas_portal_sign_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalEmpty
Signs a device.
1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1412 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalSignDeviceRequest::Representation command.request_object = sas_portal_sign_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalEmpty
Signs a device.
2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2086 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalSignDeviceRequest::Representation command.request_object = sas_portal_sign_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalTestPermissionsResponse
Returns permissions that a caller has on the specified resource.
2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2675 def test_policy( = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/policies:test', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalTestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalTestPermissionsResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Updates a signed device.
757 758 759 760 761 762 763 764 765 766 767 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 757 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalUpdateSignedDeviceRequest::Representation command.request_object = sas_portal_update_signed_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Updates a signed device.
1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1445 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalUpdateSignedDeviceRequest::Representation command.request_object = sas_portal_update_signed_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalDevice
Updates a signed device.
2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2119 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalUpdateSignedDeviceRequest::Representation command.request_object = sas_portal_update_signed_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation command.response_class = Google::Apis::SasportalV1alpha1::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::SasportalV1alpha1::SasPortalValidateInstallerResponse
Validates the identity of a Certified Professional Installer (CPI).
1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1506 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', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalValidateInstallerRequest::Representation command.request_object = sas_portal_validate_installer_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalValidateInstallerResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalValidateInstallerResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |