Skip to main content

locations

Creates, updates, deletes, gets or lists a locations resource.

Overview

Namelocations
TypeResource
Idgoogle.oslogin.locations

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
sign_ssh_public_keyexecprojectsId, locationsIdSigns an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring

Lifecycle Methods

Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.

EXEC google.oslogin.locations.sign_ssh_public_key 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"computeInstance": "{{ computeInstance }}",
"appEngineInstance": "{{ appEngineInstance }}",
"sshPublicKey": "{{ sshPublicKey }}",
"serviceAccount": "{{ serviceAccount }}"
}'
;