gogol-useraccounts-0.0.1: Google Cloud User Accounts SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.UserAccounts.Types

Contents

Description

 

Synopsis

Service Configuration

userAccountsService :: Service Source

Default request referring to version beta of the Cloud User Accounts API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudPlatformReadOnlyScope :: OAuthScope Source

View your data across Google Cloud Platform services

cloudPlatformScope :: OAuthScope Source

View and manage your data across Google Cloud Platform services

cloudUseraccountsScope :: OAuthScope Source

Manage your Google Cloud User Accounts

cloudUseraccountsReadonlyScope :: OAuthScope Source

View your Google Cloud User Accounts

OperationWarningsItemDataItem

operationWarningsItemDataItem :: OperationWarningsItemDataItem Source

Creates a value of OperationWarningsItemDataItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

owidiValue :: Lens' OperationWarningsItemDataItem (Maybe Text) Source

Output Only
A warning data value corresponding to the key.

owidiKey :: Lens' OperationWarningsItemDataItem (Maybe Text) Source

Output Only
A key for the warning data.

OperationWarningsItemCode

OperationList

operationList :: OperationList Source

Creates a value of OperationList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

olNextPageToken :: Lens' OperationList (Maybe Text) Source

Output Only
A token used to continue a truncate.

olKind :: Lens' OperationList Text Source

Output Only
Type of resource. Always compute#operations for Operations resource.

olItems :: Lens' OperationList [Operation] Source

Output Only
The Operation resources.

olSelfLink :: Lens' OperationList (Maybe Text) Source

Output Only
Server-defined URL for this resource.

olId :: Lens' OperationList (Maybe Text) Source

Output Only
Unique identifier for the resource; defined by the server.

Group

data Group Source

A Group resource.

See: group' smart constructor.

group' :: Group Source

Creates a value of Group with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gKind :: Lens' Group Text Source

Output Only
Type of the resource. Always clouduseraccounts#group for groups.

gMembers :: Lens' Group [Text] Source

Output Only
A list of URLs to User resources who belong to the group. Users may only be members of groups in the same project.

gSelfLink :: Lens' Group (Maybe Text) Source

Output Only
Server defined URL for the resource.

gName :: Lens' Group (Maybe Text) Source

Name of the resource; provided by the client when the resource is created.

gCreationTimestamp :: Lens' Group (Maybe Text) Source

Output Only
Creation timestamp in RFC3339 text format.

gId :: Lens' Group (Maybe Word64) Source

Output Only
Unique identifier for the resource; defined by the server.

gDescription :: Lens' Group (Maybe Text) Source

An optional textual description of the resource; provided by the client when the resource is created.

GroupList

groupList :: GroupList Source

Creates a value of GroupList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

glNextPageToken :: Lens' GroupList (Maybe Text) Source

Output Only
A token used to continue a truncated list request.

glKind :: Lens' GroupList Text Source

Output Only
Type of resource. Always clouduseraccounts#groupList for lists of groups.

glItems :: Lens' GroupList [Group] Source

Output Only
A list of Group resources.

glSelfLink :: Lens' GroupList (Maybe Text) Source

Output Only
Server defined URL for this resource.

glId :: Lens' GroupList (Maybe Text) Source

Output Only
Unique identifier for the resource; defined by the server.

Operation

data Operation Source

An Operation resource, used to manage asynchronous API requests.

See: operation smart constructor.

oTargetId :: Lens' Operation (Maybe Word64) Source

Output Only
Unique target ID which identifies a particular incarnation of the target.

oStatus :: Lens' Operation (Maybe OperationStatus) Source

Output Only
Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.

oInsertTime :: Lens' Operation (Maybe Text) Source

Output Only
The time that this operation was requested. This is in RFC3339 text format.

oProgress :: Lens' Operation (Maybe Int32) Source

Output Only
An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.

oStartTime :: Lens' Operation (Maybe Text) Source

Output Only
The time that this operation was started by the server. This is in RFC3339 text format.

oKind :: Lens' Operation Text Source

Output Only
Type of the resource. Always compute#operation for Operation resources.

oError :: Lens' Operation (Maybe OperationError) Source

Output Only
If errors are generated during processing of the operation, this field will be populated.

oHTTPErrorMessage :: Lens' Operation (Maybe Text) Source

Output Only
If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.

oZone :: Lens' Operation (Maybe Text) Source

Output Only
URL of the zone where the operation resides.

oWarnings :: Lens' Operation [OperationWarningsItem] Source

Output Only
If warning messages are generated during processing of the operation, this field will be populated.

oHTTPErrorStatusCode :: Lens' Operation (Maybe Int32) Source

Output Only
If the operation fails, this field contains the HTTP error message that was returned, such as 404.

oUser :: Lens' Operation (Maybe Text) Source

Output Only
User who requested the operation, for example: user'example.com.

oSelfLink :: Lens' Operation (Maybe Text) Source

Output Only
Server-defined URL for the resource.

oName :: Lens' Operation (Maybe Text) Source

Output Only
Name of the resource.

oStatusMessage :: Lens' Operation (Maybe Text) Source

Output Only
An optional textual description of the current status of the operation.

oCreationTimestamp :: Lens' Operation (Maybe Text) Source

Output Only
Creation timestamp in RFC3339 text format.

oEndTime :: Lens' Operation (Maybe Text) Source

Output Only
The time that this operation was completed. This is in RFC3339 text format.

oId :: Lens' Operation (Maybe Word64) Source

Output Only
Unique identifier for the resource; defined by the server.

oOperationType :: Lens' Operation (Maybe Text) Source

Output Only
Type of the operation, such as insert, compute.instanceGroups.update, or compute.instanceGroups.delete.

oRegion :: Lens' Operation (Maybe Text) Source

Output Only
URL of the region where the operation resides. Only applicable for regional resources.

oTargetLink :: Lens' Operation (Maybe Text) Source

Output Only
URL of the resource the operation is mutating.

oClientOperationId :: Lens' Operation (Maybe Text) Source

Output Only
An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.

UserList

userList :: UserList Source

Creates a value of UserList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ulNextPageToken :: Lens' UserList (Maybe Text) Source

Output Only
A token used to continue a truncated list request.

ulKind :: Lens' UserList Text Source

Output Only
Type of resource. Always clouduseraccounts#userList for lists of users.

ulItems :: Lens' UserList [User] Source

Output Only
A list of User resources.

ulSelfLink :: Lens' UserList (Maybe Text) Source

Output Only
Server defined URL for this resource.

ulId :: Lens' UserList (Maybe Text) Source

Output Only
Unique identifier for the resource; defined by the server.

PublicKey

data PublicKey Source

A public key for authenticating to guests.

See: publicKey smart constructor.

publicKey :: PublicKey Source

Creates a value of PublicKey with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pkFingerprint :: Lens' PublicKey (Maybe Text) Source

Output Only
The fingerprint of the key is defined by RFC4716 to be the MD5 digest of the public key.

pkKey :: Lens' PublicKey (Maybe Text) Source

Public key text in SSH format, defined by RFC4253 section 6.6.

pkCreationTimestamp :: Lens' PublicKey (Maybe Text) Source

Output Only
Creation timestamp in RFC3339 text format.

pkExpirationTimestamp :: Lens' PublicKey (Maybe Text) Source

Optional expiration timestamp. If provided, the timestamp must be in RFC3339 text format. If not provided, the public key never expires.

pkDescription :: Lens' PublicKey (Maybe Text) Source

An optional textual description of the resource; provided by the client when the resource is created.

OperationStatus

LinuxAccountViews

data LinuxAccountViews Source

A list of all Linux accounts for this project. This API is only used by Compute Engine virtual machines to get information about user accounts for a project or instance. Linux resources are read-only views into users and groups managed by the Compute Engine Accounts API.

See: linuxAccountViews smart constructor.

linuxAccountViews :: LinuxAccountViews Source

Creates a value of LinuxAccountViews with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lavUserViews :: Lens' LinuxAccountViews [LinuxUserView] Source

Output Only
A list of all users within a project.

lavKind :: Lens' LinuxAccountViews Text Source

Output Only
Type of the resource. Always clouduseraccounts#linuxAccountViews for Linux resources.

lavGroupViews :: Lens' LinuxAccountViews [LinuxGroupView] Source

Output Only
A list of all groups within a project.

User

data User Source

A User resource.

See: user smart constructor.

user :: User Source

Creates a value of User with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

uGroups :: Lens' User [Text] Source

Output Only
A list of URLs to Group resources who contain the user. Users are only members of groups in the same project.

uPublicKeys :: Lens' User [PublicKey] Source

Output Only
Public keys that this user may use to login.

uKind :: Lens' User Text Source

Output Only
Type of the resource. Always clouduseraccounts#user for users.

uOwner :: Lens' User (Maybe Text) Source

Email address of account's owner. This account will be validated to make sure it exists. The email can belong to any domain, but it must be tied to a Google account.

uSelfLink :: Lens' User (Maybe Text) Source

Output Only
Server defined URL for the resource.

uName :: Lens' User (Maybe Text) Source

Name of the resource; provided by the client when the resource is created.

uCreationTimestamp :: Lens' User (Maybe Text) Source

Output Only
Creation timestamp in RFC3339 text format.

uId :: Lens' User (Maybe Word64) Source

Output Only
Unique identifier for the resource; defined by the server.

uDescription :: Lens' User (Maybe Text) Source

An optional textual description of the resource; provided by the client when the resource is created.

GroupsAddMemberRequest

groupsAddMemberRequest :: GroupsAddMemberRequest Source

Creates a value of GroupsAddMemberRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gamrUsers :: Lens' GroupsAddMemberRequest [Text] Source

Fully-qualified URLs of the User resources to add.

LinuxGroupView

linuxGroupView :: LinuxGroupView Source

Creates a value of LinuxGroupView with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lgvMembers :: Lens' LinuxGroupView [Text] Source

Output Only
List of user accounts that belong to the group.

lgvGid :: Lens' LinuxGroupView (Maybe Word32) Source

Output Only
The Group ID.

lgvGroupName :: Lens' LinuxGroupView (Maybe Text) Source

Output Only
Group name.

LinuxUserView

linuxUserView :: LinuxUserView Source

Creates a value of LinuxUserView with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

luvGecos :: Lens' LinuxUserView (Maybe Text) Source

Output Only
The GECOS (user information) entry for this account.

luvUid :: Lens' LinuxUserView (Maybe Word32) Source

Output Only
User ID.

luvUsername :: Lens' LinuxUserView (Maybe Text) Source

Output Only
The username of the account.

luvShell :: Lens' LinuxUserView (Maybe Text) Source

Output Only
The path to the login shell for this account.

luvGid :: Lens' LinuxUserView (Maybe Word32) Source

Output Only
User's default group ID.

luvHomeDirectory :: Lens' LinuxUserView (Maybe Text) Source

Output Only
The path to the home directory for this account.

LinuxGetLinuxAccountViewsResponse

linuxGetLinuxAccountViewsResponse :: LinuxGetLinuxAccountViewsResponse Source

Creates a value of LinuxGetLinuxAccountViewsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lglavrResource :: Lens' LinuxGetLinuxAccountViewsResponse (Maybe LinuxAccountViews) Source

Output Only
A list of authorized user accounts and groups.

OperationError

data OperationError Source

Output Only
If errors are generated during processing of the operation, this field will be populated.

See: operationError smart constructor.

operationError :: OperationError Source

Creates a value of OperationError with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oeErrors :: Lens' OperationError [OperationErrorErrorsItem] Source

Output Only
The array of errors encountered while processing this operation.

LinuxGetAuthorizedKeysViewResponse

linuxGetAuthorizedKeysViewResponse :: LinuxGetAuthorizedKeysViewResponse Source

Creates a value of LinuxGetAuthorizedKeysViewResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lgakvrResource :: Lens' LinuxGetAuthorizedKeysViewResponse (Maybe AuthorizedKeysView) Source

Output Only
A list of authorized public keys for a user.

OperationErrorErrorsItem

operationErrorErrorsItem :: OperationErrorErrorsItem Source

Creates a value of OperationErrorErrorsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oeeiLocation :: Lens' OperationErrorErrorsItem (Maybe Text) Source

Output Only
Indicates the field in the request which caused the error. This property is optional.

oeeiCode :: Lens' OperationErrorErrorsItem (Maybe Text) Source

Output Only
The error type identifier for this error.

oeeiMessage :: Lens' OperationErrorErrorsItem (Maybe Text) Source

Output Only
An optional, human-readable error message.

GroupsRemoveMemberRequest

groupsRemoveMemberRequest :: GroupsRemoveMemberRequest Source

Creates a value of GroupsRemoveMemberRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

grmrUsers :: Lens' GroupsRemoveMemberRequest [Text] Source

Fully-qualified URLs of the User resources to remove.

AuthorizedKeysView

authorizedKeysView :: AuthorizedKeysView Source

Creates a value of AuthorizedKeysView with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

akvSudoer :: Lens' AuthorizedKeysView (Maybe Bool) Source

Output Only
Whether the user has the ability to elevate on the instance that requested the authorized keys.

akvKeys :: Lens' AuthorizedKeysView [Text] Source

Output Only
The list of authorized public keys in SSH format.

OperationWarningsItem

operationWarningsItem :: OperationWarningsItem Source

Creates a value of OperationWarningsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

owiData :: Lens' OperationWarningsItem [OperationWarningsItemDataItem] Source

Output Only
Metadata for this warning in key: value format.

owiCode :: Lens' OperationWarningsItem (Maybe OperationWarningsItemCode) Source

Output Only
The warning type identifier for this warning.

owiMessage :: Lens' OperationWarningsItem (Maybe Text) Source

Output Only
Optional human-readable details for this warning.