Returns the locations Resource.
Returns the zones Resource.
Close httplib2 connections.
Deletes a POSIX account.
provisionPosixAccount(name, body=None, x__xgafv=None)
Create a POSIX account if it doesn't exist.
close()
Close httplib2 connections.
delete(name, x__xgafv=None)
Deletes a POSIX account.
Args:
name: string, Required. A reference to the POSIX account to update. POSIX accounts are identified by the project ID they are associated with. A reference to the POSIX account is in format `users/{user}/projects/{project}`. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
}
provisionPosixAccount(name, body=None, x__xgafv=None)
Create a POSIX account if it doesn't exist.
Args:
name: string, Required. The unique ID for the user in format `users/{user}/projects/{project}`. (required)
body: object, The request body.
The object takes the form of:
{ # A request message for creating a POSIX account entry.
"regions": [ # Optional. The regions to wait for a POSIX account to be written to before returning a response. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.
"A String",
],
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The POSIX account information associated with a Google account.
"accountId": "A String", # Output only. A POSIX account identifier.
"gecos": "A String", # The GECOS (user information) entry for this account.
"gid": "A String", # The default group ID.
"homeDirectory": "A String", # The path to the home directory for this account.
"name": "A String", # Output only. The canonical resource name.
"operatingSystemType": "A String", # The operating system type where this account applies.
"primary": True or False, # Only one POSIX account can be marked as primary.
"shell": "A String", # The path to the logic shell for this account.
"systemId": "A String", # System identifier for which account the username or uid applies to. By default, the empty value is used.
"uid": "A String", # The user ID.
"username": "A String", # The username of the POSIX account.
}