openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 67.4 kB
JSON
{"openapi":"3.0.0","info":{"contact":{"name":"Google","url":"https://google.com"},"description":"Creates and manages users and groups for accessing Google Compute Engine virtual machines.","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Cloud User Accounts","version":"vm_alpha","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-logo":{"url":"https://cloud.google.com/_static/images/new-gcp-logo.png"},"x-origin":[{"converter":{"url":"https://github.com/lucybot/api-spec-converter","version":"2.6.0"},"format":"google","url":"https://www.googleapis.com/discovery/v1/apis/clouduseraccounts/vm_alpha/rest","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"clouduseraccounts"},"externalDocs":{"url":"https://cloud.google.com/compute/docs/access/user-accounts/api/latest/"},"tags":[{"name":"globalAccountsOperations"},{"name":"groups"},{"name":"linux"},{"name":"users"}],"paths":{"/{project}/global/groups":{"get":{"description":"Retrieves the list of groups contained within the specified project.","operationId":"clouduseraccounts.groups.list","parameters":[{"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.","in":"query","name":"filter","schema":{"type":"string"}},{"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.","in":"query","name":"maxResults","schema":{"type":"integer","minimum":0,"maximum":500,"default":500}},{"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.","in":"query","name":"orderBy","schema":{"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.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GroupList"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["groups"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Creates a Group resource in the specified project using the data included in the request.","operationId":"clouduseraccounts.groups.insert","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Group"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]}],"tags":["groups"]}},"/{project}/global/groups/{groupName}":{"delete":{"description":"Deletes the specified Group resource.","operationId":"clouduseraccounts.groups.delete","parameters":[{"description":"Name of the Group resource to delete.","in":"path","name":"groupName","required":true,"schema":{"type":"string"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]}],"tags":["groups"]},"get":{"description":"Returns the specified Group resource.","operationId":"clouduseraccounts.groups.get","parameters":[{"description":"Name of the Group resource to return.","in":"path","name":"groupName","required":true,"schema":{"type":"string"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Group"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["groups"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/groups/{groupName}/addMember":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Adds users to the specified group.","operationId":"clouduseraccounts.groups.addMember","parameters":[{"description":"Name of the group for this request.","in":"path","name":"groupName","required":true,"schema":{"type":"string"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupsAddMemberRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]}],"tags":["groups"]}},"/{project}/global/groups/{groupName}/removeMember":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Removes users from the specified group.","operationId":"clouduseraccounts.groups.removeMember","parameters":[{"description":"Name of the group for this request.","in":"path","name":"groupName","required":true,"schema":{"type":"string"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupsRemoveMemberRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]}],"tags":["groups"]}},"/{project}/global/groups/{resource}/getIamPolicy":{"get":{"description":"Gets the access control policy for a resource. May be empty if no such policy or resource exists.","operationId":"clouduseraccounts.groups.getIamPolicy","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Policy"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["groups"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/groups/{resource}/setIamPolicy":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Sets the access control policy on the specified resource. Replaces any existing policy.","operationId":"clouduseraccounts.groups.setIamPolicy","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/Policy"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Policy"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["groups"]}},"/{project}/global/groups/{resource}/testIamPermissions":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Returns permissions that a caller has on the specified resource.","operationId":"clouduseraccounts.groups.testIamPermissions","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/TestPermissionsRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TestPermissionsResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["groups"]}},"/{project}/global/operations":{"get":{"description":"Retrieves the list of operation resources contained within the specified project.","operationId":"clouduseraccounts.globalAccountsOperations.list","parameters":[{"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.","in":"query","name":"filter","schema":{"type":"string"}},{"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.","in":"query","name":"maxResults","schema":{"type":"integer","minimum":0,"maximum":500,"default":500}},{"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.","in":"query","name":"orderBy","schema":{"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.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/OperationList"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["globalAccountsOperations"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/operations/{operation}":{"delete":{"description":"Deletes the specified operation resource.","operationId":"clouduseraccounts.globalAccountsOperations.delete","parameters":[{"description":"Name of the Operations resource to delete.","in":"path","name":"operation","required":true,"schema":{"type":"string"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]}],"tags":["globalAccountsOperations"]},"get":{"description":"Retrieves the specified operation resource.","operationId":"clouduseraccounts.globalAccountsOperations.get","parameters":[{"description":"Name of the Operations resource to return.","in":"path","name":"operation","required":true,"schema":{"type":"string"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["globalAccountsOperations"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/users":{"get":{"description":"Retrieves a list of users contained within the specified project.","operationId":"clouduseraccounts.users.list","parameters":[{"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.","in":"query","name":"filter","schema":{"type":"string"}},{"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.","in":"query","name":"maxResults","schema":{"type":"integer","minimum":0,"maximum":500,"default":500}},{"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.","in":"query","name":"orderBy","schema":{"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.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserList"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["users"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Creates a User resource in the specified project using the data included in the request.","operationId":"clouduseraccounts.users.insert","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]}],"tags":["users"]}},"/{project}/global/users/{resource}/getIamPolicy":{"get":{"description":"Gets the access control policy for a resource. May be empty if no such policy or resource exists.","operationId":"clouduseraccounts.users.getIamPolicy","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Policy"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["users"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/users/{resource}/setIamPolicy":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Sets the access control policy on the specified resource. Replaces any existing policy.","operationId":"clouduseraccounts.users.setIamPolicy","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/Policy"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Policy"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["users"]}},"/{project}/global/users/{resource}/testIamPermissions":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Returns permissions that a caller has on the specified resource.","operationId":"clouduseraccounts.users.testIamPermissions","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/TestPermissionsRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TestPermissionsResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["users"]}},"/{project}/global/users/{user}":{"delete":{"description":"Deletes the specified User resource.","operationId":"clouduseraccounts.users.delete","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name of the user resource to delete.","in":"path","name":"user","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]}],"tags":["users"]},"get":{"description":"Returns the specified User resource.","operationId":"clouduseraccounts.users.get","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name of the user resource to return.","in":"path","name":"user","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["users"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/users/{user}/addPublicKey":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Adds a public key to the specified User resource with the data included in the request.","operationId":"clouduseraccounts.users.addPublicKey","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name of the user for this request.","in":"path","name":"user","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicKey"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]}],"tags":["users"]}},"/{project}/global/users/{user}/removePublicKey":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Removes the specified public key from the user.","operationId":"clouduseraccounts.users.removePublicKey","parameters":[{"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.","in":"query","name":"fingerprint","required":true,"schema":{"type":"string"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name of the user for this request.","in":"path","name":"user","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]}],"tags":["users"]}},"/{project}/zones/{zone}/authorizedKeysView/{user}":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Returns a list of authorized public keys for a specific user account.","operationId":"clouduseraccounts.linux.getAuthorizedKeysView","parameters":[{"description":"The fully-qualified URL of the virtual machine requesting the view.","in":"query","name":"instance","required":true,"schema":{"type":"string"}},{"description":"Whether the view was requested as part of a user-initiated login.","in":"query","name":"login","schema":{"type":"boolean"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"The user account for which you want to get a list of authorized public keys.","in":"path","name":"user","required":true,"schema":{"type":"string"}},{"description":"Name of the zone for this request.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LinuxGetAuthorizedKeysViewResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["linux"]}},"/{project}/zones/{zone}/linuxAccountViews":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Retrieves a list of user accounts for an instance within a specific project.","operationId":"clouduseraccounts.linux.getLinuxAccountViews","parameters":[{"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.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The fully-qualified URL of the virtual machine requesting the views.","in":"query","name":"instance","required":true,"schema":{"type":"string"}},{"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.","in":"query","name":"maxResults","schema":{"type":"integer","minimum":0,"maximum":500,"default":500}},{"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.","in":"query","name":"orderBy","schema":{"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.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name of the zone for this request.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LinuxGetLinuxAccountViewsResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts"]},{"Oauth2":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"],"Oauth2c":["https://www.googleapis.com/auth/cloud.useraccounts.readonly"]}],"tags":["linux"]}}},"servers":[{"url":"https://www.googleapis.com/clouduseraccounts/vm_alpha/projects"}],"components":{"parameters":{"alt":{"description":"Data format for the response.","in":"query","name":"alt","schema":{"type":"string","enum":["json"],"default":"json"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"key":{"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.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"type":"boolean","default":true}},"quotaUser":{"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.","in":"query","name":"quotaUser","schema":{"type":"string"}},"userIp":{"description":"IP address of the site where the request originates. Use this if you want to enforce per-user limits.","in":"query","name":"userIp","schema":{"type":"string"}}},"requestBodies":{"TestPermissionsRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestPermissionsRequest"}}}},"Policy":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"}}}}},"securitySchemes":{"Oauth2":{"description":"Oauth 2.0 implicit authentication","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://accounts.google.com/o/oauth2/auth","scopes":{"https://www.googleapis.com/auth/cloud-platform":"View and manage your data across Google Cloud Platform services","https://www.googleapis.com/auth/cloud-platform.read-only":"View your data across Google Cloud Platform services","https://www.googleapis.com/auth/cloud.useraccounts":"Manage your Google Cloud User Accounts","https://www.googleapis.com/auth/cloud.useraccounts.readonly":"View your Google Cloud User Accounts"}}}},"Oauth2c":{"description":"Oauth 2.0 accessCode authentication","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://accounts.google.com/o/oauth2/auth","tokenUrl":"https://accounts.google.com/o/oauth2/token","scopes":{"https://www.googleapis.com/auth/cloud-platform":"View and manage your data across Google Cloud Platform services","https://www.googleapis.com/auth/cloud-platform.read-only":"View your data across Google Cloud Platform services","https://www.googleapis.com/auth/cloud.useraccounts":"Manage your Google Cloud User Accounts","https://www.googleapis.com/auth/cloud.useraccounts.readonly":"View your Google Cloud User Accounts"}}}}},"schemas":{"AuditConfig":{"description":"Enables \"data access\" audit logging for a service and specifies a list of members that are log-exempted.","properties":{"exemptedMembers":{"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"},"type":"array"},"service":{"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.","type":"string"}},"type":"object"},"AuthorizedKeysView":{"description":"A list of authorized public keys for a user account.","properties":{"keys":{"description":"[Output Only] The list of authorized public keys in SSH format.","items":{"type":"string"},"type":"array"},"sudoer":{"description":"[Output Only] Whether the user has the ability to elevate on the instance that requested the authorized keys.","type":"boolean"}},"type":"object"},"Binding":{"description":"Associates `members` with a `role`.","properties":{"members":{"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"},"type":"array"},"role":{"description":"Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.","type":"string"}},"type":"object"},"Condition":{"description":"A condition to be met.","properties":{"iam":{"description":"Trusted attributes supplied by the IAM system.","enum":["ATTRIBUTION","AUTHORITY","NO_ATTR"],"type":"string"},"op":{"description":"An operator to apply the subject with.","enum":["DISCHARGED","EQUALS","IN","NOT_EQUALS","NOT_IN","NO_OP"],"type":"string"},"svc":{"description":"Trusted attributes discharged by the service.","type":"string"},"sys":{"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"],"type":"string"},"value":{"description":"The object of the condition. Exactly one of these must be set.","type":"string"},"values":{"description":"The objects of the condition. This is mutually exclusive with 'value'.","items":{"type":"string"},"type":"array"}},"type":"object"},"Group":{"description":"A Group resource.","properties":{"creationTimestamp":{"description":"[Output Only] Creation timestamp in RFC3339 text format.","type":"string"},"description":{"description":"An optional textual description of the resource; provided by the client when the resource is created.","type":"string"},"id":{"description":"[Output Only] Unique identifier for the resource; defined by the server.","format":"uint64","type":"string"},"kind":{"default":"clouduseraccounts#group","description":"[Output Only] Type of the resource. Always clouduseraccounts#group for groups.","type":"string"},"members":{"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"},"type":"array"},"name":{"description":"Name of the resource; provided by the client when the resource is created.","pattern":"[a-z][-a-z0-9_]{0,31}","type":"string"},"selfLink":{"description":"[Output Only] Server defined URL for the resource.","type":"string"}},"type":"object"},"GroupList":{"properties":{"id":{"description":"[Output Only] Unique identifier for the resource; defined by the server.","type":"string"},"items":{"description":"[Output Only] A list of Group resources.","items":{"$ref":"#/components/schemas/Group"},"type":"array"},"kind":{"default":"clouduseraccounts#groupList","description":"[Output Only] Type of resource. Always clouduseraccounts#groupList for lists of groups.",