forked from TrueCloudLab/restic
1854 lines
68 KiB
JSON
1854 lines
68 KiB
JSON
|
{
|
||
|
"kind": "discovery#restDescription",
|
||
|
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/lOQeocShB0dxGwrtxzB56jZ95Xk\"",
|
||
|
"discoveryVersion": "v1",
|
||
|
"id": "clouduseraccounts:alpha",
|
||
|
"name": "clouduseraccounts",
|
||
|
"canonicalName": "Cloud User Accounts",
|
||
|
"version": "alpha",
|
||
|
"revision": "20160316",
|
||
|
"title": "Cloud User Accounts API",
|
||
|
"description": "Creates and manages users and groups for accessing Google Compute Engine virtual machines.",
|
||
|
"ownerDomain": "google.com",
|
||
|
"ownerName": "Google",
|
||
|
"icons": {
|
||
|
"x16": "https://www.google.com/images/icons/product/compute_engine-16.png",
|
||
|
"x32": "https://www.google.com/images/icons/product/compute_engine-32.png"
|
||
|
},
|
||
|
"documentationLink": "https://cloud.google.com/compute/docs/access/user-accounts/api/latest/",
|
||
|
"protocol": "rest",
|
||
|
"baseUrl": "https://www.googleapis.com/clouduseraccounts/alpha/projects/",
|
||
|
"basePath": "/clouduseraccounts/alpha/projects/",
|
||
|
"rootUrl": "https://www.googleapis.com/",
|
||
|
"servicePath": "clouduseraccounts/alpha/projects/",
|
||
|
"batchPath": "batch",
|
||
|
"parameters": {
|
||
|
"alt": {
|
||
|
"type": "string",
|
||
|
"description": "Data format for the response.",
|
||
|
"default": "json",
|
||
|
"enum": [
|
||
|
"json"
|
||
|
],
|
||
|
"enumDescriptions": [
|
||
|
"Responses with Content-Type of application/json"
|
||
|
],
|
||
|
"location": "query"
|
||
|
},
|
||
|
"fields": {
|
||
|
"type": "string",
|
||
|
"description": "Selector specifying which fields to include in a partial response.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"key": {
|
||
|
"type": "string",
|
||
|
"description": "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.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"oauth_token": {
|
||
|
"type": "string",
|
||
|
"description": "OAuth 2.0 token for the current user.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"prettyPrint": {
|
||
|
"type": "boolean",
|
||
|
"description": "Returns response with indentations and line breaks.",
|
||
|
"default": "true",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"quotaUser": {
|
||
|
"type": "string",
|
||
|
"description": "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. Overrides userIp if both are provided.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"userIp": {
|
||
|
"type": "string",
|
||
|
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
|
||
|
"location": "query"
|
||
|
}
|
||
|
},
|
||
|
"auth": {
|
||
|
"oauth2": {
|
||
|
"scopes": {
|
||
|
"https://www.googleapis.com/auth/cloud-platform": {
|
||
|
"description": "View and manage your data across Google Cloud Platform services"
|
||
|
},
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only": {
|
||
|
"description": "View your data across Google Cloud Platform services"
|
||
|
},
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts": {
|
||
|
"description": "Manage your Google Cloud User Accounts"
|
||
|
},
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly": {
|
||
|
"description": "View your Google Cloud User Accounts"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"schemas": {
|
||
|
"AuditConfig": {
|
||
|
"id": "AuditConfig",
|
||
|
"type": "object",
|
||
|
"description": "Enables \"data access\" audit logging for a service and specifies a list of members that are log-exempted.",
|
||
|
"properties": {
|
||
|
"exemptedMembers": {
|
||
|
"type": "array",
|
||
|
"description": "Specifies the identities that are exempted from \"data access\" audit logging for the `service` specified above. Follows the same format of Binding.members.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"service": {
|
||
|
"type": "string",
|
||
|
"description": "Specifies a service that will be enabled for \"data access\" audit logging. For example, `resourcemanager`, `storage`, `compute`. `allServices` is a special value that covers all services."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"AuthorizedKeysView": {
|
||
|
"id": "AuthorizedKeysView",
|
||
|
"type": "object",
|
||
|
"description": "A list of authorized public keys for a user account.",
|
||
|
"properties": {
|
||
|
"keys": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] The list of authorized public keys in SSH format.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"sudoer": {
|
||
|
"type": "boolean",
|
||
|
"description": "[Output Only] Whether the user has the ability to elevate on the instance that requested the authorized keys."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"Binding": {
|
||
|
"id": "Binding",
|
||
|
"type": "object",
|
||
|
"description": "Associates `members` with a `role`.",
|
||
|
"properties": {
|
||
|
"members": {
|
||
|
"type": "array",
|
||
|
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"role": {
|
||
|
"type": "string",
|
||
|
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"Condition": {
|
||
|
"id": "Condition",
|
||
|
"type": "object",
|
||
|
"description": "A condition to be met.",
|
||
|
"properties": {
|
||
|
"iam": {
|
||
|
"type": "string",
|
||
|
"description": "Trusted attributes supplied by the IAM system.",
|
||
|
"enum": [
|
||
|
"ATTRIBUTION",
|
||
|
"AUTHORITY",
|
||
|
"NO_ATTR"
|
||
|
],
|
||
|
"enumDescriptions": [
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
]
|
||
|
},
|
||
|
"op": {
|
||
|
"type": "string",
|
||
|
"description": "An operator to apply the subject with.",
|
||
|
"enum": [
|
||
|
"DISCHARGED",
|
||
|
"EQUALS",
|
||
|
"IN",
|
||
|
"NOT_EQUALS",
|
||
|
"NOT_IN",
|
||
|
"NO_OP"
|
||
|
],
|
||
|
"enumDescriptions": [
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
]
|
||
|
},
|
||
|
"svc": {
|
||
|
"type": "string",
|
||
|
"description": "Trusted attributes discharged by the service."
|
||
|
},
|
||
|
"sys": {
|
||
|
"type": "string",
|
||
|
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.",
|
||
|
"enum": [
|
||
|
"IP",
|
||
|
"NAME",
|
||
|
"NO_ATTR",
|
||
|
"REGION",
|
||
|
"SERVICE"
|
||
|
],
|
||
|
"enumDescriptions": [
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
]
|
||
|
},
|
||
|
"value": {
|
||
|
"type": "string",
|
||
|
"description": "The object of the condition. Exactly one of these must be set."
|
||
|
},
|
||
|
"values": {
|
||
|
"type": "array",
|
||
|
"description": "The objects of the condition. This is mutually exclusive with 'value'.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"Group": {
|
||
|
"id": "Group",
|
||
|
"type": "object",
|
||
|
"description": "A Group resource.",
|
||
|
"properties": {
|
||
|
"creationTimestamp": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Creation timestamp in RFC3339 text format."
|
||
|
},
|
||
|
"description": {
|
||
|
"type": "string",
|
||
|
"description": "An optional textual description of the resource; provided by the client when the resource is created."
|
||
|
},
|
||
|
"id": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
||
|
"format": "uint64"
|
||
|
},
|
||
|
"kind": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Type of the resource. Always clouduseraccounts#group for groups.",
|
||
|
"default": "clouduseraccounts#group"
|
||
|
},
|
||
|
"members": {
|
||
|
"type": "array",
|
||
|
"description": "[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.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"name": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the resource; provided by the client when the resource is created.",
|
||
|
"pattern": "[a-z][-a-z0-9_]{0,31}",
|
||
|
"annotations": {
|
||
|
"required": [
|
||
|
"clouduseraccounts.groups.insert"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"selfLink": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Server defined URL for the resource."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GroupList": {
|
||
|
"id": "GroupList",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Unique identifier for the resource; defined by the server."
|
||
|
},
|
||
|
"items": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] A list of Group resources.",
|
||
|
"items": {
|
||
|
"$ref": "Group"
|
||
|
}
|
||
|
},
|
||
|
"kind": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Type of resource. Always clouduseraccounts#groupList for lists of groups.",
|
||
|
"default": "clouduseraccounts#groupList"
|
||
|
},
|
||
|
"nextPageToken": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] A token used to continue a truncated list request."
|
||
|
},
|
||
|
"selfLink": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Server defined URL for this resource."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GroupsAddMemberRequest": {
|
||
|
"id": "GroupsAddMemberRequest",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"users": {
|
||
|
"type": "array",
|
||
|
"description": "Fully-qualified URLs of the User resources to add.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GroupsRemoveMemberRequest": {
|
||
|
"id": "GroupsRemoveMemberRequest",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"users": {
|
||
|
"type": "array",
|
||
|
"description": "Fully-qualified URLs of the User resources to remove.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"LinuxAccountViews": {
|
||
|
"id": "LinuxAccountViews",
|
||
|
"type": "object",
|
||
|
"description": "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.",
|
||
|
"properties": {
|
||
|
"groupViews": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] A list of all groups within a project.",
|
||
|
"items": {
|
||
|
"$ref": "LinuxGroupView"
|
||
|
}
|
||
|
},
|
||
|
"kind": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Type of the resource. Always clouduseraccounts#linuxAccountViews for Linux resources.",
|
||
|
"default": "clouduseraccounts#linuxAccountViews"
|
||
|
},
|
||
|
"userViews": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] A list of all users within a project.",
|
||
|
"items": {
|
||
|
"$ref": "LinuxUserView"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"LinuxGetAuthorizedKeysViewResponse": {
|
||
|
"id": "LinuxGetAuthorizedKeysViewResponse",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"resource": {
|
||
|
"$ref": "AuthorizedKeysView",
|
||
|
"description": "[Output Only] A list of authorized public keys for a user."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"LinuxGetLinuxAccountViewsResponse": {
|
||
|
"id": "LinuxGetLinuxAccountViewsResponse",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"resource": {
|
||
|
"$ref": "LinuxAccountViews",
|
||
|
"description": "[Output Only] A list of authorized user accounts and groups."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"LinuxGroupView": {
|
||
|
"id": "LinuxGroupView",
|
||
|
"type": "object",
|
||
|
"description": "A detailed view of a Linux group.",
|
||
|
"properties": {
|
||
|
"gid": {
|
||
|
"type": "integer",
|
||
|
"description": "[Output Only] The Group ID.",
|
||
|
"format": "uint32"
|
||
|
},
|
||
|
"groupName": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Group name."
|
||
|
},
|
||
|
"members": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] List of user accounts that belong to the group.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"LinuxUserView": {
|
||
|
"id": "LinuxUserView",
|
||
|
"type": "object",
|
||
|
"description": "A detailed view of a Linux user account.",
|
||
|
"properties": {
|
||
|
"gecos": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The GECOS (user information) entry for this account."
|
||
|
},
|
||
|
"gid": {
|
||
|
"type": "integer",
|
||
|
"description": "[Output Only] User's default group ID.",
|
||
|
"format": "uint32"
|
||
|
},
|
||
|
"homeDirectory": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The path to the home directory for this account."
|
||
|
},
|
||
|
"shell": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The path to the login shell for this account."
|
||
|
},
|
||
|
"uid": {
|
||
|
"type": "integer",
|
||
|
"description": "[Output Only] User ID.",
|
||
|
"format": "uint32"
|
||
|
},
|
||
|
"username": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The username of the account."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"LogConfig": {
|
||
|
"id": "LogConfig",
|
||
|
"type": "object",
|
||
|
"description": "Specifies what kind of log the caller must write",
|
||
|
"properties": {
|
||
|
"counter": {
|
||
|
"$ref": "LogConfigCounterOptions",
|
||
|
"description": "Counter options."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"LogConfigCounterOptions": {
|
||
|
"id": "LogConfigCounterOptions",
|
||
|
"type": "object",
|
||
|
"description": "Options for counters",
|
||
|
"properties": {
|
||
|
"field": {
|
||
|
"type": "string",
|
||
|
"description": "The field value to attribute."
|
||
|
},
|
||
|
"metric": {
|
||
|
"type": "string",
|
||
|
"description": "The metric to update."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"Operation": {
|
||
|
"id": "Operation",
|
||
|
"type": "object",
|
||
|
"description": "An Operation resource, used to manage asynchronous API requests.",
|
||
|
"properties": {
|
||
|
"clientOperationId": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Reserved for future use."
|
||
|
},
|
||
|
"creationTimestamp": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Creation timestamp in RFC3339 text format."
|
||
|
},
|
||
|
"description": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] A textual description of the operation, which is set when the operation is created."
|
||
|
},
|
||
|
"endTime": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The time that this operation was completed. This value is in RFC3339 text format."
|
||
|
},
|
||
|
"error": {
|
||
|
"type": "object",
|
||
|
"description": "[Output Only] If errors are generated during processing of the operation, this field will be populated.",
|
||
|
"properties": {
|
||
|
"errors": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] The array of errors encountered while processing this operation.",
|
||
|
"items": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"code": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The error type identifier for this error."
|
||
|
},
|
||
|
"location": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Indicates the field in the request that caused the error. This property is optional."
|
||
|
},
|
||
|
"message": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] An optional, human-readable error message."
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"httpErrorMessage": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND."
|
||
|
},
|
||
|
"httpErrorStatusCode": {
|
||
|
"type": "integer",
|
||
|
"description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.",
|
||
|
"format": "int32"
|
||
|
},
|
||
|
"id": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
||
|
"format": "uint64"
|
||
|
},
|
||
|
"insertTime": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The time that this operation was requested. This value is in RFC3339 text format."
|
||
|
},
|
||
|
"kind": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Type of the resource. Always compute#operation for Operation resources.",
|
||
|
"default": "clouduseraccounts#operation"
|
||
|
},
|
||
|
"name": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Name of the resource."
|
||
|
},
|
||
|
"operationType": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The type of operation, such as insert, update, or delete, and so on."
|
||
|
},
|
||
|
"progress": {
|
||
|
"type": "integer",
|
||
|
"description": "[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 when the operation will be complete. This number should monotonically increase as the operation progresses.",
|
||
|
"format": "int32"
|
||
|
},
|
||
|
"region": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The URL of the region where the operation resides. Only available when performing regional operations."
|
||
|
},
|
||
|
"selfLink": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Server-defined URL for the resource."
|
||
|
},
|
||
|
"startTime": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format."
|
||
|
},
|
||
|
"status": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.",
|
||
|
"enum": [
|
||
|
"DONE",
|
||
|
"PENDING",
|
||
|
"RUNNING"
|
||
|
],
|
||
|
"enumDescriptions": [
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
]
|
||
|
},
|
||
|
"statusMessage": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] An optional textual description of the current status of the operation."
|
||
|
},
|
||
|
"targetId": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.",
|
||
|
"format": "uint64"
|
||
|
},
|
||
|
"targetLink": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The URL of the resource that the operation modifies."
|
||
|
},
|
||
|
"user": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] User who requested the operation, for example: user@example.com."
|
||
|
},
|
||
|
"warnings": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] If warning messages are generated during processing of the operation, this field will be populated.",
|
||
|
"items": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"code": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.",
|
||
|
"enum": [
|
||
|
"CLEANUP_FAILED",
|
||
|
"DEPRECATED_RESOURCE_USED",
|
||
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
||
|
"INJECTED_KERNELS_DEPRECATED",
|
||
|
"NEXT_HOP_ADDRESS_NOT_ASSIGNED",
|
||
|
"NEXT_HOP_CANNOT_IP_FORWARD",
|
||
|
"NEXT_HOP_INSTANCE_NOT_FOUND",
|
||
|
"NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
|
||
|
"NEXT_HOP_NOT_RUNNING",
|
||
|
"NOT_CRITICAL_ERROR",
|
||
|
"NO_RESULTS_ON_PAGE",
|
||
|
"REQUIRED_TOS_AGREEMENT",
|
||
|
"RESOURCE_NOT_DELETED",
|
||
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
||
|
"UNREACHABLE"
|
||
|
],
|
||
|
"enumDescriptions": [
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
]
|
||
|
},
|
||
|
"data": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] Metadata about this warning in key: value format. For example:\n\"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" }",
|
||
|
"items": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"key": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)."
|
||
|
},
|
||
|
"value": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] A warning data value corresponding to the key."
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"message": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] A human-readable description of the warning code."
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"zone": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"OperationList": {
|
||
|
"id": "OperationList",
|
||
|
"type": "object",
|
||
|
"description": "Contains a list of Operation resources.",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server."
|
||
|
},
|
||
|
"items": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] A list of Operation resources.",
|
||
|
"items": {
|
||
|
"$ref": "Operation"
|
||
|
}
|
||
|
},
|
||
|
"kind": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Type of resource. Always compute#operations for Operations resource.",
|
||
|
"default": "clouduseraccounts#operationList"
|
||
|
},
|
||
|
"nextPageToken": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results."
|
||
|
},
|
||
|
"selfLink": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Server-defined URL for this resource."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"Policy": {
|
||
|
"id": "Policy",
|
||
|
"type": "object",
|
||
|
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
|
||
|
"properties": {
|
||
|
"auditConfigs": {
|
||
|
"type": "array",
|
||
|
"description": "Specifies audit logging configs for \"data access\". \"data access\": generally refers to data reads/writes and admin reads. \"admin activity\": generally refers to admin writes.\n\nNote: `AuditConfig` doesn't apply to \"admin activity\", which always enables audit logging.",
|
||
|
"items": {
|
||
|
"$ref": "AuditConfig"
|
||
|
}
|
||
|
},
|
||
|
"bindings": {
|
||
|
"type": "array",
|
||
|
"description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.",
|
||
|
"items": {
|
||
|
"$ref": "Binding"
|
||
|
}
|
||
|
},
|
||
|
"etag": {
|
||
|
"type": "string",
|
||
|
"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
|
||
|
"format": "byte"
|
||
|
},
|
||
|
"iamOwned": {
|
||
|
"type": "boolean",
|
||
|
"description": ""
|
||
|
},
|
||
|
"rules": {
|
||
|
"type": "array",
|
||
|
"description": "If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.",
|
||
|
"items": {
|
||
|
"$ref": "Rule"
|
||
|
}
|
||
|
},
|
||
|
"version": {
|
||
|
"type": "integer",
|
||
|
"description": "Version of the `Policy`. The default version is 0.",
|
||
|
"format": "int32"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"PublicKey": {
|
||
|
"id": "PublicKey",
|
||
|
"type": "object",
|
||
|
"description": "A public key for authenticating to guests.",
|
||
|
"properties": {
|
||
|
"creationTimestamp": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Creation timestamp in RFC3339 text format."
|
||
|
},
|
||
|
"description": {
|
||
|
"type": "string",
|
||
|
"description": "An optional textual description of the resource; provided by the client when the resource is created."
|
||
|
},
|
||
|
"expirationTimestamp": {
|
||
|
"type": "string",
|
||
|
"description": "Optional expiration timestamp. If provided, the timestamp must be in RFC3339 text format. If not provided, the public key never expires."
|
||
|
},
|
||
|
"fingerprint": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] The fingerprint of the key is defined by RFC4716 to be the MD5 digest of the public key."
|
||
|
},
|
||
|
"key": {
|
||
|
"type": "string",
|
||
|
"description": "Public key text in SSH format, defined by RFC4253 section 6.6."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"Rule": {
|
||
|
"id": "Rule",
|
||
|
"type": "object",
|
||
|
"description": "A rule to be applied in a Policy.",
|
||
|
"properties": {
|
||
|
"action": {
|
||
|
"type": "string",
|
||
|
"description": "Required",
|
||
|
"enum": [
|
||
|
"ALLOW",
|
||
|
"ALLOW_WITH_LOG",
|
||
|
"DENY",
|
||
|
"DENY_WITH_LOG",
|
||
|
"LOG",
|
||
|
"NO_ACTION"
|
||
|
],
|
||
|
"enumDescriptions": [
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
]
|
||
|
},
|
||
|
"conditions": {
|
||
|
"type": "array",
|
||
|
"description": "Additional restrictions that must be met",
|
||
|
"items": {
|
||
|
"$ref": "Condition"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"type": "string",
|
||
|
"description": "Human-readable description of the rule."
|
||
|
},
|
||
|
"ins": {
|
||
|
"type": "array",
|
||
|
"description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"logConfigs": {
|
||
|
"type": "array",
|
||
|
"description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.",
|
||
|
"items": {
|
||
|
"$ref": "LogConfig"
|
||
|
}
|
||
|
},
|
||
|
"notIns": {
|
||
|
"type": "array",
|
||
|
"description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"permissions": {
|
||
|
"type": "array",
|
||
|
"description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"TestPermissionsRequest": {
|
||
|
"id": "TestPermissionsRequest",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"permissions": {
|
||
|
"type": "array",
|
||
|
"description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"TestPermissionsResponse": {
|
||
|
"id": "TestPermissionsResponse",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"permissions": {
|
||
|
"type": "array",
|
||
|
"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"User": {
|
||
|
"id": "User",
|
||
|
"type": "object",
|
||
|
"description": "A User resource.",
|
||
|
"properties": {
|
||
|
"creationTimestamp": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Creation timestamp in RFC3339 text format."
|
||
|
},
|
||
|
"description": {
|
||
|
"type": "string",
|
||
|
"description": "An optional textual description of the resource; provided by the client when the resource is created."
|
||
|
},
|
||
|
"groups": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] A list of URLs to Group resources who contain the user. Users are only members of groups in the same project.",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"id": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
||
|
"format": "uint64"
|
||
|
},
|
||
|
"kind": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Type of the resource. Always clouduseraccounts#user for users.",
|
||
|
"default": "clouduseraccounts#user"
|
||
|
},
|
||
|
"name": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the resource; provided by the client when the resource is created.",
|
||
|
"pattern": "[a-z][-a-z0-9_]{0,31}",
|
||
|
"annotations": {
|
||
|
"required": [
|
||
|
"clouduseraccounts.users.insert"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"owner": {
|
||
|
"type": "string",
|
||
|
"description": "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.",
|
||
|
"annotations": {
|
||
|
"required": [
|
||
|
"clouduseraccounts.users.insert"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"publicKeys": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] Public keys that this user may use to login.",
|
||
|
"items": {
|
||
|
"$ref": "PublicKey"
|
||
|
}
|
||
|
},
|
||
|
"selfLink": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Server defined URL for the resource."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"UserList": {
|
||
|
"id": "UserList",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Unique identifier for the resource; defined by the server."
|
||
|
},
|
||
|
"items": {
|
||
|
"type": "array",
|
||
|
"description": "[Output Only] A list of User resources.",
|
||
|
"items": {
|
||
|
"$ref": "User"
|
||
|
}
|
||
|
},
|
||
|
"kind": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Type of resource. Always clouduseraccounts#userList for lists of users.",
|
||
|
"default": "clouduseraccounts#userList"
|
||
|
},
|
||
|
"nextPageToken": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] A token used to continue a truncated list request."
|
||
|
},
|
||
|
"selfLink": {
|
||
|
"type": "string",
|
||
|
"description": "[Output Only] Server defined URL for this resource."
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"resources": {
|
||
|
"globalAccountsOperations": {
|
||
|
"methods": {
|
||
|
"delete": {
|
||
|
"id": "clouduseraccounts.globalAccountsOperations.delete",
|
||
|
"path": "{project}/global/operations/{operation}",
|
||
|
"httpMethod": "DELETE",
|
||
|
"description": "Deletes the specified operation resource.",
|
||
|
"parameters": {
|
||
|
"operation": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the Operations resource to delete.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"operation"
|
||
|
],
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts"
|
||
|
]
|
||
|
},
|
||
|
"get": {
|
||
|
"id": "clouduseraccounts.globalAccountsOperations.get",
|
||
|
"path": "{project}/global/operations/{operation}",
|
||
|
"httpMethod": "GET",
|
||
|
"description": "Retrieves the specified operation resource.",
|
||
|
"parameters": {
|
||
|
"operation": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the Operations resource to return.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"operation"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "Operation"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
},
|
||
|
"list": {
|
||
|
"id": "clouduseraccounts.globalAccountsOperations.list",
|
||
|
"path": "{project}/global/operations",
|
||
|
"httpMethod": "GET",
|
||
|
"description": "Retrieves the list of operation resources contained within the specified project.",
|
||
|
"parameters": {
|
||
|
"filter": {
|
||
|
"type": "string",
|
||
|
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.\n\nCompute Engine Beta API Only: If you use filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. In particular, use filtering on nested fields to take advantage of instance labels to organize and filter results based on label values.\n\nThe Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"type": "integer",
|
||
|
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
|
||
|
"default": "500",
|
||
|
"format": "uint32",
|
||
|
"minimum": "0",
|
||
|
"maximum": "500",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"orderBy": {
|
||
|
"type": "string",
|
||
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"pageToken": {
|
||
|
"type": "string",
|
||
|
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "OperationList"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"groups": {
|
||
|
"methods": {
|
||
|
"addMember": {
|
||
|
"id": "clouduseraccounts.groups.addMember",
|
||
|
"path": "{project}/global/groups/{groupName}/addMember",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Adds users to the specified group.",
|
||
|
"parameters": {
|
||
|
"groupName": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the group for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z][-a-z0-9_]{0,31}",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"groupName"
|
||
|
],
|
||
|
"request": {
|
||
|
"$ref": "GroupsAddMemberRequest"
|
||
|
},
|
||
|
"response": {
|
||
|
"$ref": "Operation"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts"
|
||
|
]
|
||
|
},
|
||
|
"delete": {
|
||
|
"id": "clouduseraccounts.groups.delete",
|
||
|
"path": "{project}/global/groups/{groupName}",
|
||
|
"httpMethod": "DELETE",
|
||
|
"description": "Deletes the specified Group resource.",
|
||
|
"parameters": {
|
||
|
"groupName": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the Group resource to delete.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z][-a-z0-9_]{0,31}",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"groupName"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "Operation"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts"
|
||
|
]
|
||
|
},
|
||
|
"get": {
|
||
|
"id": "clouduseraccounts.groups.get",
|
||
|
"path": "{project}/global/groups/{groupName}",
|
||
|
"httpMethod": "GET",
|
||
|
"description": "Returns the specified Group resource.",
|
||
|
"parameters": {
|
||
|
"groupName": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the Group resource to return.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z][-a-z0-9_]{0,31}",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"groupName"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "Group"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
},
|
||
|
"getIamPolicy": {
|
||
|
"id": "clouduseraccounts.groups.getIamPolicy",
|
||
|
"path": "{project}/global/groups/{resource}/getIamPolicy",
|
||
|
"httpMethod": "GET",
|
||
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
||
|
"parameters": {
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"resource": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the resource for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"resource"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "Policy"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
},
|
||
|
"insert": {
|
||
|
"id": "clouduseraccounts.groups.insert",
|
||
|
"path": "{project}/global/groups",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Creates a Group resource in the specified project using the data included in the request.",
|
||
|
"parameters": {
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project"
|
||
|
],
|
||
|
"request": {
|
||
|
"$ref": "Group"
|
||
|
},
|
||
|
"response": {
|
||
|
"$ref": "Operation"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts"
|
||
|
]
|
||
|
},
|
||
|
"list": {
|
||
|
"id": "clouduseraccounts.groups.list",
|
||
|
"path": "{project}/global/groups",
|
||
|
"httpMethod": "GET",
|
||
|
"description": "Retrieves the list of groups contained within the specified project.",
|
||
|
"parameters": {
|
||
|
"filter": {
|
||
|
"type": "string",
|
||
|
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.\n\nCompute Engine Beta API Only: If you use filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. In particular, use filtering on nested fields to take advantage of instance labels to organize and filter results based on label values.\n\nThe Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"type": "integer",
|
||
|
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
|
||
|
"default": "500",
|
||
|
"format": "uint32",
|
||
|
"minimum": "0",
|
||
|
"maximum": "500",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"orderBy": {
|
||
|
"type": "string",
|
||
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"pageToken": {
|
||
|
"type": "string",
|
||
|
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "GroupList"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
},
|
||
|
"removeMember": {
|
||
|
"id": "clouduseraccounts.groups.removeMember",
|
||
|
"path": "{project}/global/groups/{groupName}/removeMember",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Removes users from the specified group.",
|
||
|
"parameters": {
|
||
|
"groupName": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the group for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z][-a-z0-9_]{0,31}",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"groupName"
|
||
|
],
|
||
|
"request": {
|
||
|
"$ref": "GroupsRemoveMemberRequest"
|
||
|
},
|
||
|
"response": {
|
||
|
"$ref": "Operation"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts"
|
||
|
]
|
||
|
},
|
||
|
"setIamPolicy": {
|
||
|
"id": "clouduseraccounts.groups.setIamPolicy",
|
||
|
"path": "{project}/global/groups/{resource}/setIamPolicy",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
||
|
"parameters": {
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"resource": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the resource for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"resource"
|
||
|
],
|
||
|
"request": {
|
||
|
"$ref": "Policy"
|
||
|
},
|
||
|
"response": {
|
||
|
"$ref": "Policy"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
},
|
||
|
"testIamPermissions": {
|
||
|
"id": "clouduseraccounts.groups.testIamPermissions",
|
||
|
"path": "{project}/global/groups/{resource}/testIamPermissions",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Returns permissions that a caller has on the specified resource.",
|
||
|
"parameters": {
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"resource": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the resource for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"resource"
|
||
|
],
|
||
|
"request": {
|
||
|
"$ref": "TestPermissionsRequest"
|
||
|
},
|
||
|
"response": {
|
||
|
"$ref": "TestPermissionsResponse"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"linux": {
|
||
|
"methods": {
|
||
|
"getAuthorizedKeysView": {
|
||
|
"id": "clouduseraccounts.linux.getAuthorizedKeysView",
|
||
|
"path": "{project}/zones/{zone}/authorizedKeysView/{user}",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Returns a list of authorized public keys for a specific user account.",
|
||
|
"parameters": {
|
||
|
"instance": {
|
||
|
"type": "string",
|
||
|
"description": "The fully-qualified URL of the virtual machine requesting the view.",
|
||
|
"required": true,
|
||
|
"location": "query"
|
||
|
},
|
||
|
"login": {
|
||
|
"type": "boolean",
|
||
|
"description": "Whether the view was requested as part of a user-initiated login.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"user": {
|
||
|
"type": "string",
|
||
|
"description": "The user account for which you want to get a list of authorized public keys.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z][-a-z0-9_]{0,31}",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"zone": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the zone for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"zone",
|
||
|
"user",
|
||
|
"instance"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "LinuxGetAuthorizedKeysViewResponse"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
},
|
||
|
"getLinuxAccountViews": {
|
||
|
"id": "clouduseraccounts.linux.getLinuxAccountViews",
|
||
|
"path": "{project}/zones/{zone}/linuxAccountViews",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Retrieves a list of user accounts for an instance within a specific project.",
|
||
|
"parameters": {
|
||
|
"filter": {
|
||
|
"type": "string",
|
||
|
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.\n\nCompute Engine Beta API Only: If you use filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. In particular, use filtering on nested fields to take advantage of instance labels to organize and filter results based on label values.\n\nThe Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"instance": {
|
||
|
"type": "string",
|
||
|
"description": "The fully-qualified URL of the virtual machine requesting the views.",
|
||
|
"required": true,
|
||
|
"location": "query"
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"type": "integer",
|
||
|
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
|
||
|
"default": "500",
|
||
|
"format": "uint32",
|
||
|
"minimum": "0",
|
||
|
"maximum": "500",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"orderBy": {
|
||
|
"type": "string",
|
||
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"pageToken": {
|
||
|
"type": "string",
|
||
|
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"zone": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the zone for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"zone",
|
||
|
"instance"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "LinuxGetLinuxAccountViewsResponse"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"users": {
|
||
|
"methods": {
|
||
|
"addPublicKey": {
|
||
|
"id": "clouduseraccounts.users.addPublicKey",
|
||
|
"path": "{project}/global/users/{user}/addPublicKey",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Adds a public key to the specified User resource with the data included in the request.",
|
||
|
"parameters": {
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"user": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the user for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z][-a-z0-9_]{0,31}",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"user"
|
||
|
],
|
||
|
"request": {
|
||
|
"$ref": "PublicKey"
|
||
|
},
|
||
|
"response": {
|
||
|
"$ref": "Operation"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts"
|
||
|
]
|
||
|
},
|
||
|
"delete": {
|
||
|
"id": "clouduseraccounts.users.delete",
|
||
|
"path": "{project}/global/users/{user}",
|
||
|
"httpMethod": "DELETE",
|
||
|
"description": "Deletes the specified User resource.",
|
||
|
"parameters": {
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"user": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the user resource to delete.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z][-a-z0-9_]{0,31}",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"user"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "Operation"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts"
|
||
|
]
|
||
|
},
|
||
|
"get": {
|
||
|
"id": "clouduseraccounts.users.get",
|
||
|
"path": "{project}/global/users/{user}",
|
||
|
"httpMethod": "GET",
|
||
|
"description": "Returns the specified User resource.",
|
||
|
"parameters": {
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"user": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the user resource to return.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z][-a-z0-9_]{0,31}",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"user"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "User"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
},
|
||
|
"getIamPolicy": {
|
||
|
"id": "clouduseraccounts.users.getIamPolicy",
|
||
|
"path": "{project}/global/users/{resource}/getIamPolicy",
|
||
|
"httpMethod": "GET",
|
||
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
||
|
"parameters": {
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"resource": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the resource for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"resource"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "Policy"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
},
|
||
|
"insert": {
|
||
|
"id": "clouduseraccounts.users.insert",
|
||
|
"path": "{project}/global/users",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Creates a User resource in the specified project using the data included in the request.",
|
||
|
"parameters": {
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project"
|
||
|
],
|
||
|
"request": {
|
||
|
"$ref": "User"
|
||
|
},
|
||
|
"response": {
|
||
|
"$ref": "Operation"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts"
|
||
|
]
|
||
|
},
|
||
|
"list": {
|
||
|
"id": "clouduseraccounts.users.list",
|
||
|
"path": "{project}/global/users",
|
||
|
"httpMethod": "GET",
|
||
|
"description": "Retrieves a list of users contained within the specified project.",
|
||
|
"parameters": {
|
||
|
"filter": {
|
||
|
"type": "string",
|
||
|
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.\n\nCompute Engine Beta API Only: If you use filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. In particular, use filtering on nested fields to take advantage of instance labels to organize and filter results based on label values.\n\nThe Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"type": "integer",
|
||
|
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
|
||
|
"default": "500",
|
||
|
"format": "uint32",
|
||
|
"minimum": "0",
|
||
|
"maximum": "500",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"orderBy": {
|
||
|
"type": "string",
|
||
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"pageToken": {
|
||
|
"type": "string",
|
||
|
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "UserList"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
},
|
||
|
"removePublicKey": {
|
||
|
"id": "clouduseraccounts.users.removePublicKey",
|
||
|
"path": "{project}/global/users/{user}/removePublicKey",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Removes the specified public key from the user.",
|
||
|
"parameters": {
|
||
|
"fingerprint": {
|
||
|
"type": "string",
|
||
|
"description": "The fingerprint of the public key to delete. Public keys are identified by their fingerprint, which is defined by RFC4716 to be the MD5 digest of the public key.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-f0-9]{32}",
|
||
|
"location": "query"
|
||
|
},
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"user": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the user for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z][-a-z0-9_]{0,31}",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"user",
|
||
|
"fingerprint"
|
||
|
],
|
||
|
"response": {
|
||
|
"$ref": "Operation"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts"
|
||
|
]
|
||
|
},
|
||
|
"setIamPolicy": {
|
||
|
"id": "clouduseraccounts.users.setIamPolicy",
|
||
|
"path": "{project}/global/users/{resource}/setIamPolicy",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
||
|
"parameters": {
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"resource": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the resource for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"resource"
|
||
|
],
|
||
|
"request": {
|
||
|
"$ref": "Policy"
|
||
|
},
|
||
|
"response": {
|
||
|
"$ref": "Policy"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
},
|
||
|
"testIamPermissions": {
|
||
|
"id": "clouduseraccounts.users.testIamPermissions",
|
||
|
"path": "{project}/global/users/{resource}/testIamPermissions",
|
||
|
"httpMethod": "POST",
|
||
|
"description": "Returns permissions that a caller has on the specified resource.",
|
||
|
"parameters": {
|
||
|
"project": {
|
||
|
"type": "string",
|
||
|
"description": "Project ID for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||
|
"location": "path"
|
||
|
},
|
||
|
"resource": {
|
||
|
"type": "string",
|
||
|
"description": "Name of the resource for this request.",
|
||
|
"required": true,
|
||
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
||
|
"location": "path"
|
||
|
}
|
||
|
},
|
||
|
"parameterOrder": [
|
||
|
"project",
|
||
|
"resource"
|
||
|
],
|
||
|
"request": {
|
||
|
"$ref": "TestPermissionsRequest"
|
||
|
},
|
||
|
"response": {
|
||
|
"$ref": "TestPermissionsResponse"
|
||
|
},
|
||
|
"scopes": [
|
||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||
|
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts",
|
||
|
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|