Class ProjectsStub (1.13.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 1.13.0keyboard_arrow_down
public abstract class ProjectsStub implements BackgroundResource
Base stub class for the Projects service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
ProjectsStub()
Methods
close()
public abstract void close ()
createProjectCallable()
public UnaryCallable<CreateProjectRequest , Operation > createProjectCallable ()
Returns
createProjectOperationCallable()
public OperationCallable<CreateProjectRequest , Project , CreateProjectMetadata > createProjectOperationCallable ()
Returns
deleteProjectCallable()
public UnaryCallable<DeleteProjectRequest , Operation > deleteProjectCallable ()
Returns
deleteProjectOperationCallable()
public OperationCallable<DeleteProjectRequest , Project , DeleteProjectMetadata > deleteProjectOperationCallable ()
Returns
getHttpJsonOperationsStub()
public OperationsStub getHttpJsonOperationsStub ()
Returns
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest , Policy > getIamPolicyCallable ()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
getOperationsStub()
public OperationsStub getOperationsStub ()
Returns
getProjectCallable()
public UnaryCallable<GetProjectRequest , Project > getProjectCallable ()
Returns
listProjectsCallable()
public UnaryCallable<ListProjectsRequest , ListProjectsResponse > listProjectsCallable ()
Returns
listProjectsPagedCallable()
public UnaryCallable<ListProjectsRequest , ProjectsClient . ListProjectsPagedResponse > listProjectsPagedCallable ()
Returns
moveProjectCallable()
public UnaryCallable<MoveProjectRequest , Operation > moveProjectCallable ()
Returns
moveProjectOperationCallable()
public OperationCallable<MoveProjectRequest , Project , MoveProjectMetadata > moveProjectOperationCallable ()
Returns
searchProjectsCallable()
public UnaryCallable<SearchProjectsRequest , SearchProjectsResponse > searchProjectsCallable ()
Returns
searchProjectsPagedCallable()
public UnaryCallable<SearchProjectsRequest , ProjectsClient . SearchProjectsPagedResponse > searchProjectsPagedCallable ()
Returns
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest , Policy > setIamPolicyCallable ()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest , TestIamPermissionsResponse > testIamPermissionsCallable ()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
undeleteProjectCallable()
public UnaryCallable<UndeleteProjectRequest , Operation > undeleteProjectCallable ()
Returns
undeleteProjectOperationCallable()
public OperationCallable<UndeleteProjectRequest , Project , UndeleteProjectMetadata > undeleteProjectOperationCallable ()
Returns
updateProjectCallable()
public UnaryCallable<UpdateProjectRequest , Operation > updateProjectCallable ()
Returns
updateProjectOperationCallable()
public OperationCallable<UpdateProjectRequest , Project , UpdateProjectMetadata > updateProjectOperationCallable ()
Returns
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[]]