Types for Google Cloud Oslogin v1 API¶
- class google.cloud.oslogin_v1.types.CreateSshPublicKeyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A request message for creating an SSH public key.
- ssh_public_key¶
Required. The SSH public key and expiration time.
- Type
google.cloud.oslogin_v1.common.types.SshPublicKey
- class google.cloud.oslogin_v1.types.DeletePosixAccountRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A request message for deleting a POSIX account entry.
- class google.cloud.oslogin_v1.types.DeleteSshPublicKeyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A request message for deleting an SSH public key.
- class google.cloud.oslogin_v1.types.GetLoginProfileRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A request message for retrieving the login profile information for a user.
- class google.cloud.oslogin_v1.types.GetSshPublicKeyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A request message for retrieving an SSH public key.
- class google.cloud.oslogin_v1.types.ImportSshPublicKeyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A request message for importing an SSH public key.
- ssh_public_key¶
Optional. The SSH public key and expiration time.
- Type
google.cloud.oslogin_v1.common.types.SshPublicKey
- regions¶
Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.
- Type
MutableSequence[str]
- class google.cloud.oslogin_v1.types.ImportSshPublicKeyResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A response message for importing an SSH public key.
- login_profile¶
The login profile information for the user.
- class google.cloud.oslogin_v1.types.LoginProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The user profile information used for logging in to a virtual machine on Google Compute Engine.
- posix_accounts¶
The list of POSIX accounts associated with the user.
- Type
MutableSequence[google.cloud.oslogin_v1.common.types.PosixAccount]
- ssh_public_keys¶
A map from SSH public key fingerprint to the associated key object.
- Type
MutableMapping[str, google.cloud.oslogin_v1.common.types.SshPublicKey]
- class SshPublicKeysEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class google.cloud.oslogin_v1.types.UpdateSshPublicKeyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A request message for updating an SSH public key.
- name¶
Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format
users/{user}/sshPublicKeys/{fingerprint}
.- Type
- ssh_public_key¶
Required. The SSH public key and expiration time.
- Type
google.cloud.oslogin_v1.common.types.SshPublicKey
- update_mask¶
Mask to control which fields get updated. Updates all if not present.