Skip to content

Protobuf

cbws/projects/v1alpha1/project.proto

Project

Field Type Label Description
name string The name of the project in the format: projects/test-project
display_name string
organization string @OutputOnly The id of the project that owns the service account.
unique_id string @OutputOnly The UUID of the project

Top

cbws/projects/v1alpha1/projects.proto

CreateProjectRequest

Field Type Label Description
parent string
name string Required. The name of the project, It is globally unique across CBWS, must be 6-30 characters long, and match the regular expression [a-z]([-a-z0-9]*[a-z0-9]) to comply with RFC1035.
project Project The [Project][cbws.projects.v1alpha1.Project] resource to create. Currently, only the following values are user assignable: display_name.

GetProjectRequest

Field Type Label Description
name string

ListProjectsRequest

The service account list request.

Field Type Label Description
page_size int32 Optional limit on the number of service accounts to include in the response. Further accounts can subsequently be obtained by including the [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token] in a subsequent request.
page_token string Optional pagination token returned in an earlier [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token].

ListProjectsResponse

Field Type Label Description
projects Project repeated
next_page_token string To retrieve the next page of results, set [ListServiceAccountsRequest.page_token][google.iam.admin.v1.ListServiceAccountsRequest.page_token] to this value.

ProjectsService

Method Name Request Type Response Type Description
CreateProject CreateProjectRequest Project Create a project, requires the projects.cbws.xyz/Project/create permission on the organization. The principal creating a project will get the owner role on the project.
ListProjects ListProjectsRequest ListProjectsResponse List all projects you have access to Requires the projects.cbws.xyz/Project/get permission on the project
GetProject GetProjectRequest Project
GetPolicy .cbws.iam.policy.v1alpha1.GetPolicyRequest .cbws.iam.policy.v1alpha1.Policy Returns the IAM access control policy for a Project.
SetPolicy .cbws.iam.policy.v1alpha1.SetPolicyRequest .cbws.iam.policy.v1alpha1.Policy Sets the IAM access control policy for a Project.
TestPermissions .cbws.iam.policy.v1alpha1.TestPermissionsRequest .cbws.iam.policy.v1alpha1.TestPermissionsResponse Tests the specified permissions against the IAM access control policy for a Project.