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
-
#bulk_customer_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse
Creates a device under a node or customer.
-
#bulk_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse
Creates a device under a node or customer.
-
#bulk_node_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse
Creates a device under a node or customer.
-
#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_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_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_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_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 method.
-
#get_customer(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalCustomer
Returns a requested customer.
-
#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_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_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_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_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, 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, 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_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_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, 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, 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_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_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
#bulk_customer_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse
Creates a device under a node or customer. Returned devices are unordered.
315 316 317 318 319 320 321 322 323 324 325 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 315 def bulk_customer_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:bulk', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceRequest::Representation command.request_object = sas_portal_bulk_create_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse
Creates a device under a node or customer. Returned devices are unordered.
1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1457 def bulk_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:bulk', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceRequest::Representation command.request_object = sas_portal_bulk_create_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_node_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse
Creates a device under a node or customer. Returned devices are unordered.
1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1993 def bulk_node_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:bulk', ) command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceRequest::Representation command.request_object = sas_portal_bulk_create_device_request_object command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_customer_deployment_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Creates a device under a node or customer.
206 207 208 209 210 211 212 213 214 215 216 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 206 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.
239 240 241 242 243 244 245 246 247 248 249 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 239 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.
348 349 350 351 352 353 354 355 356 357 358 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 348 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.
381 382 383 384 385 386 387 388 389 390 391 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 381 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.
652 653 654 655 656 657 658 659 660 661 662 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 652 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_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.
851 852 853 854 855 856 857 858 859 860 861 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 851 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.
884 885 886 887 888 889 890 891 892 893 894 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 884 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.
960 961 962 963 964 965 966 967 968 969 970 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 960 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.
1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1348 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.
1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1381 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.
1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1490 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.
1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1523 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.
1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1794 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_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.
2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2026 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.
2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2059 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.
2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2135 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_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a device.
413 414 415 416 417 418 419 420 421 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 413 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.
684 685 686 687 688 689 690 691 692 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 684 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.
1029 1030 1031 1032 1033 1034 1035 1036 1037 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1029 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_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalEmpty
Deletes a device.
1555 1556 1557 1558 1559 1560 1561 1562 1563 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1555 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.
1826 1827 1828 1829 1830 1831 1832 1833 1834 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1826 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 method
1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1223 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_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Gets details about a device.
443 444 445 446 447 448 449 450 451 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 443 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.
714 715 716 717 718 719 720 721 722 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 714 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_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Gets details about a device.
1059 1060 1061 1062 1063 1064 1065 1066 1067 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1059 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.
1284 1285 1286 1287 1288 1289 1290 1291 1292 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1284 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_device(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Gets details about a device.
1585 1586 1587 1588 1589 1590 1591 1592 1593 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1585 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.
1856 1857 1858 1859 1860 1861 1862 1863 1864 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1856 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.
2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2204 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.
281 282 283 284 285 286 287 288 289 290 291 292 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 281 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_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.
483 484 485 486 487 488 489 490 491 492 493 494 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 483 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_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.
926 927 928 929 930 931 932 933 934 935 936 937 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 926 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, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 997 def list_customer_node_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_customer_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
749 750 751 752 753 754 755 756 757 758 759 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 749 def list_customer_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_customers(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::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.
1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1423 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_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.
1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1625 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_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.
2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2101 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, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2172 def list_node_node_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_node_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse
Lists nodes.
1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1891 def list_node_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', ) command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse::Representation command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListNodesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#move_customer_deployment(name, sas_portal_move_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SasportalV1alpha1::SasPortalOperation
Moves a deployment under another node or customer.
173 174 175 176 177 178 179 180 181 182 183 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 173 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.
517 518 519 520 521 522 523 524 525 526 527 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 517 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.
782 783 784 785 786 787 788 789 790 791 792 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 782 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.
1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1090 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.
1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1315 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.
1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1659 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.
1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1924 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_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.
552 553 554 555 556 557 558 559 560 561 562 563 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 552 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.
817 818 819 820 821 822 823 824 825 826 827 828 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 817 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.
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1125 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_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.
1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1694 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.
1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1959 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.
2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2235 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.
586 587 588 589 590 591 592 593 594 595 596 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 586 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.
1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1159 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.
1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1728 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.
2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 2265 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.
619 620 621 622 623 624 625 626 627 628 629 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 619 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.
1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1192 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.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1761 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).
1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 |
# File 'lib/google/apis/sasportal_v1alpha1/service.rb', line 1253 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 |