public static final class OrganizationsGrpc.OrganizationsFutureStub extends AbstractFutureStub<OrganizationsGrpc.OrganizationsFutureStub>
Allows users to manage their organization resources.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected OrganizationsGrpc.OrganizationsFutureStub |
build(Channel channel,
CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> |
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the access control policy for an organization resource.
|
com.google.common.util.concurrent.ListenableFuture<Organization> |
getOrganization(GetOrganizationRequest request)
Fetches an organization resource identified by the specified resource name.
|
com.google.common.util.concurrent.ListenableFuture<SearchOrganizationsResponse> |
searchOrganizations(SearchOrganizationsRequest request)
Searches organization resources that are visible to the user and satisfy
the specified filter.
|
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> |
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the access control policy on an organization resource.
|
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns the permissions that a caller has on the specified organization.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected OrganizationsGrpc.OrganizationsFutureStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<OrganizationsGrpc.OrganizationsFutureStub>
public com.google.common.util.concurrent.ListenableFuture<Organization> getOrganization(GetOrganizationRequest request)
Fetches an organization resource identified by the specified resource name.
public com.google.common.util.concurrent.ListenableFuture<SearchOrganizationsResponse> searchOrganizations(SearchOrganizationsRequest request)
Searches organization resources that are visible to the user and satisfy the specified filter. This method returns organizations in an unspecified order. New organizations do not necessarily appear at the end of the results, and may take a small amount of time to appear. Search will only return organizations on which the user has the permission `resourcemanager.organizations.get`
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the access control policy for an organization resource. The policy may be empty if no such policy or resource exists. The `resource` field should be the organization's resource name, for example: "organizations/123". Authorization requires the IAM permission `resourcemanager.organizations.getIamPolicy` on the specified organization.
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the access control policy on an organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, for example: "organizations/123". Authorization requires the IAM permission `resourcemanager.organizations.setIamPolicy` on the specified organization.
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns the permissions that a caller has on the specified organization. The `resource` field should be the organization's resource name, for example: "organizations/123". There are no permissions required for making this API call.
Copyright © 2022 Google LLC. All rights reserved.