Package | Description |
---|---|
com.google.cloud.orgpolicy.v2 |
The interfaces provided are listed below, along with usage samples.
|
com.google.cloud.orgpolicy.v2.stub |
Modifier and Type | Method and Description |
---|---|
Policy |
Policy.Builder.build() |
Policy |
Policy.Builder.buildPartial() |
Policy |
OrgPolicyGrpc.OrgPolicyBlockingStub.createPolicy(CreatePolicyRequest request)
Creates a Policy.
|
Policy |
OrgPolicyClient.createPolicy(CreatePolicyRequest request)
Creates a Policy.
|
Policy |
OrgPolicyClient.createPolicy(FolderName parent,
Policy policy)
Creates a Policy.
|
Policy |
OrgPolicyClient.createPolicy(OrganizationName parent,
Policy policy)
Creates a Policy.
|
Policy |
OrgPolicyClient.createPolicy(ProjectName parent,
Policy policy)
Creates a Policy.
|
Policy |
OrgPolicyClient.createPolicy(String parent,
Policy policy)
Creates a Policy.
|
static Policy |
Policy.getDefaultInstance() |
Policy |
Policy.getDefaultInstanceForType() |
Policy |
Policy.Builder.getDefaultInstanceForType() |
Policy |
OrgPolicyGrpc.OrgPolicyBlockingStub.getEffectivePolicy(GetEffectivePolicyRequest request)
Gets the effective `Policy` on a resource.
|
Policy |
OrgPolicyClient.getEffectivePolicy(GetEffectivePolicyRequest request)
Gets the effective `Policy` on a resource.
|
Policy |
OrgPolicyClient.getEffectivePolicy(PolicyName name)
Gets the effective `Policy` on a resource.
|
Policy |
OrgPolicyClient.getEffectivePolicy(String name)
Gets the effective `Policy` on a resource.
|
Policy |
ListPoliciesResponse.getPolicies(int index)
All `Policies` that exist on the resource.
|
Policy |
ListPoliciesResponse.Builder.getPolicies(int index)
All `Policies` that exist on the resource.
|
Policy |
ListPoliciesResponseOrBuilder.getPolicies(int index)
All `Policies` that exist on the resource.
|
Policy |
CreatePolicyRequest.getPolicy()
Required.
|
Policy |
CreatePolicyRequest.Builder.getPolicy()
Required.
|
Policy |
UpdatePolicyRequest.getPolicy()
Required.
|
Policy |
UpdatePolicyRequest.Builder.getPolicy()
Required.
|
Policy |
UpdatePolicyRequestOrBuilder.getPolicy()
Required.
|
Policy |
CreatePolicyRequestOrBuilder.getPolicy()
Required.
|
Policy |
OrgPolicyGrpc.OrgPolicyBlockingStub.getPolicy(GetPolicyRequest request)
Gets a `Policy` on a resource.
|
Policy |
OrgPolicyClient.getPolicy(GetPolicyRequest request)
Gets a `Policy` on a resource.
|
Policy |
OrgPolicyClient.getPolicy(PolicyName name)
Gets a `Policy` on a resource.
|
Policy |
OrgPolicyClient.getPolicy(String name)
Gets a `Policy` on a resource.
|
static Policy |
Policy.parseDelimitedFrom(InputStream input) |
static Policy |
Policy.parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Policy |
Policy.parseFrom(byte[] data) |
static Policy |
Policy.parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Policy |
Policy.parseFrom(ByteBuffer data) |
static Policy |
Policy.parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Policy |
Policy.parseFrom(ByteString data) |
static Policy |
Policy.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Policy |
Policy.parseFrom(CodedInputStream input) |
static Policy |
Policy.parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Policy |
Policy.parseFrom(InputStream input) |
static Policy |
Policy.parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
Policy |
OrgPolicyClient.updatePolicy(Policy policy)
Updates a Policy.
|
Policy |
OrgPolicyGrpc.OrgPolicyBlockingStub.updatePolicy(UpdatePolicyRequest request)
Updates a Policy.
|
Policy |
OrgPolicyClient.updatePolicy(UpdatePolicyRequest request)
Updates a Policy.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Policy> |
OrgPolicyGrpc.OrgPolicyFutureStub.createPolicy(CreatePolicyRequest request)
Creates a Policy.
|
UnaryCallable<CreatePolicyRequest,Policy> |
OrgPolicyClient.createPolicyCallable()
Creates a Policy.
|
UnaryCallSettings<CreatePolicyRequest,Policy> |
OrgPolicySettings.createPolicySettings()
Returns the object with the settings used for calls to createPolicy.
|
UnaryCallSettings.Builder<CreatePolicyRequest,Policy> |
OrgPolicySettings.Builder.createPolicySettings()
Returns the builder for the settings used for calls to createPolicy.
|
static MethodDescriptor<CreatePolicyRequest,Policy> |
OrgPolicyGrpc.getCreatePolicyMethod() |
com.google.common.util.concurrent.ListenableFuture<Policy> |
OrgPolicyGrpc.OrgPolicyFutureStub.getEffectivePolicy(GetEffectivePolicyRequest request)
Gets the effective `Policy` on a resource.
|
UnaryCallable<GetEffectivePolicyRequest,Policy> |
OrgPolicyClient.getEffectivePolicyCallable()
Gets the effective `Policy` on a resource.
|
UnaryCallSettings<GetEffectivePolicyRequest,Policy> |
OrgPolicySettings.getEffectivePolicySettings()
Returns the object with the settings used for calls to getEffectivePolicy.
|
UnaryCallSettings.Builder<GetEffectivePolicyRequest,Policy> |
OrgPolicySettings.Builder.getEffectivePolicySettings()
Returns the builder for the settings used for calls to getEffectivePolicy.
|
static MethodDescriptor<GetEffectivePolicyRequest,Policy> |
OrgPolicyGrpc.getGetEffectivePolicyMethod() |
static MethodDescriptor<GetPolicyRequest,Policy> |
OrgPolicyGrpc.getGetPolicyMethod() |
Parser<Policy> |
Policy.getParserForType() |
List<Policy> |
ListPoliciesResponse.getPoliciesList()
All `Policies` that exist on the resource.
|
List<Policy> |
ListPoliciesResponse.Builder.getPoliciesList()
All `Policies` that exist on the resource.
|
List<Policy> |
ListPoliciesResponseOrBuilder.getPoliciesList()
All `Policies` that exist on the resource.
|
com.google.common.util.concurrent.ListenableFuture<Policy> |
OrgPolicyGrpc.OrgPolicyFutureStub.getPolicy(GetPolicyRequest request)
Gets a `Policy` on a resource.
|
UnaryCallable<GetPolicyRequest,Policy> |
OrgPolicyClient.getPolicyCallable()
Gets a `Policy` on a resource.
|
UnaryCallSettings<GetPolicyRequest,Policy> |
OrgPolicySettings.getPolicySettings()
Returns the object with the settings used for calls to getPolicy.
|
UnaryCallSettings.Builder<GetPolicyRequest,Policy> |
OrgPolicySettings.Builder.getPolicySettings()
Returns the builder for the settings used for calls to getPolicy.
|
static MethodDescriptor<UpdatePolicyRequest,Policy> |
OrgPolicyGrpc.getUpdatePolicyMethod() |
static Parser<Policy> |
Policy.parser() |
com.google.common.util.concurrent.ListenableFuture<Policy> |
OrgPolicyGrpc.OrgPolicyFutureStub.updatePolicy(UpdatePolicyRequest request)
Updates a Policy.
|
UnaryCallable<UpdatePolicyRequest,Policy> |
OrgPolicyClient.updatePolicyCallable()
Updates a Policy.
|
UnaryCallSettings<UpdatePolicyRequest,Policy> |
OrgPolicySettings.updatePolicySettings()
Returns the object with the settings used for calls to updatePolicy.
|
UnaryCallSettings.Builder<UpdatePolicyRequest,Policy> |
OrgPolicySettings.Builder.updatePolicySettings()
Returns the builder for the settings used for calls to updatePolicy.
|
Modifier and Type | Method and Description |
---|---|
ListPoliciesResponse.Builder |
ListPoliciesResponse.Builder.addPolicies(int index,
Policy value)
All `Policies` that exist on the resource.
|
ListPoliciesResponse.Builder |
ListPoliciesResponse.Builder.addPolicies(Policy value)
All `Policies` that exist on the resource.
|
Policy |
OrgPolicyClient.createPolicy(FolderName parent,
Policy policy)
Creates a Policy.
|
Policy |
OrgPolicyClient.createPolicy(OrganizationName parent,
Policy policy)
Creates a Policy.
|
Policy |
OrgPolicyClient.createPolicy(ProjectName parent,
Policy policy)
Creates a Policy.
|
Policy |
OrgPolicyClient.createPolicy(String parent,
Policy policy)
Creates a Policy.
|
Policy.Builder |
Policy.Builder.mergeFrom(Policy other) |
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.mergePolicy(Policy value)
Required.
|
UpdatePolicyRequest.Builder |
UpdatePolicyRequest.Builder.mergePolicy(Policy value)
Required.
|
static Policy.Builder |
Policy.newBuilder(Policy prototype) |
ListPoliciesResponse.Builder |
ListPoliciesResponse.Builder.setPolicies(int index,
Policy value)
All `Policies` that exist on the resource.
|
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.setPolicy(Policy value)
Required.
|
UpdatePolicyRequest.Builder |
UpdatePolicyRequest.Builder.setPolicy(Policy value)
Required.
|
Policy |
OrgPolicyClient.updatePolicy(Policy policy)
Updates a Policy.
|
Modifier and Type | Method and Description |
---|---|
ListPoliciesResponse.Builder |
ListPoliciesResponse.Builder.addAllPolicies(Iterable<? extends Policy> values)
All `Policies` that exist on the resource.
|
static com.google.api.core.ApiFuture<OrgPolicyClient.ListPoliciesPagedResponse> |
OrgPolicyClient.ListPoliciesPagedResponse.createAsync(PageContext<ListPoliciesRequest,ListPoliciesResponse,Policy> context,
com.google.api.core.ApiFuture<ListPoliciesResponse> futureResponse) |
protected OrgPolicyClient.ListPoliciesPage |
OrgPolicyClient.ListPoliciesPage.createPage(PageContext<ListPoliciesRequest,ListPoliciesResponse,Policy> context,
ListPoliciesResponse response) |
com.google.api.core.ApiFuture<OrgPolicyClient.ListPoliciesPage> |
OrgPolicyClient.ListPoliciesPage.createPageAsync(PageContext<ListPoliciesRequest,ListPoliciesResponse,Policy> context,
com.google.api.core.ApiFuture<ListPoliciesResponse> futureResponse) |
void |
OrgPolicyGrpc.OrgPolicyImplBase.createPolicy(CreatePolicyRequest request,
StreamObserver<Policy> responseObserver)
Creates a Policy.
|
void |
OrgPolicyGrpc.OrgPolicyStub.createPolicy(CreatePolicyRequest request,
StreamObserver<Policy> responseObserver)
Creates a Policy.
|
void |
OrgPolicyGrpc.OrgPolicyImplBase.getEffectivePolicy(GetEffectivePolicyRequest request,
StreamObserver<Policy> responseObserver)
Gets the effective `Policy` on a resource.
|
void |
OrgPolicyGrpc.OrgPolicyStub.getEffectivePolicy(GetEffectivePolicyRequest request,
StreamObserver<Policy> responseObserver)
Gets the effective `Policy` on a resource.
|
void |
OrgPolicyGrpc.OrgPolicyImplBase.getPolicy(GetPolicyRequest request,
StreamObserver<Policy> responseObserver)
Gets a `Policy` on a resource.
|
void |
OrgPolicyGrpc.OrgPolicyStub.getPolicy(GetPolicyRequest request,
StreamObserver<Policy> responseObserver)
Gets a `Policy` on a resource.
|
void |
OrgPolicyGrpc.OrgPolicyImplBase.updatePolicy(UpdatePolicyRequest request,
StreamObserver<Policy> responseObserver)
Updates a Policy.
|
void |
OrgPolicyGrpc.OrgPolicyStub.updatePolicy(UpdatePolicyRequest request,
StreamObserver<Policy> responseObserver)
Updates a Policy.
|
Modifier and Type | Method and Description |
---|---|
UnaryCallable<CreatePolicyRequest,Policy> |
GrpcOrgPolicyStub.createPolicyCallable() |
UnaryCallable<CreatePolicyRequest,Policy> |
OrgPolicyStub.createPolicyCallable() |
UnaryCallSettings<CreatePolicyRequest,Policy> |
OrgPolicyStubSettings.createPolicySettings()
Returns the object with the settings used for calls to createPolicy.
|
UnaryCallSettings.Builder<CreatePolicyRequest,Policy> |
OrgPolicyStubSettings.Builder.createPolicySettings()
Returns the builder for the settings used for calls to createPolicy.
|
UnaryCallable<GetEffectivePolicyRequest,Policy> |
GrpcOrgPolicyStub.getEffectivePolicyCallable() |
UnaryCallable<GetEffectivePolicyRequest,Policy> |
OrgPolicyStub.getEffectivePolicyCallable() |
UnaryCallSettings<GetEffectivePolicyRequest,Policy> |
OrgPolicyStubSettings.getEffectivePolicySettings()
Returns the object with the settings used for calls to getEffectivePolicy.
|
UnaryCallSettings.Builder<GetEffectivePolicyRequest,Policy> |
OrgPolicyStubSettings.Builder.getEffectivePolicySettings()
Returns the builder for the settings used for calls to getEffectivePolicy.
|
UnaryCallable<GetPolicyRequest,Policy> |
GrpcOrgPolicyStub.getPolicyCallable() |
UnaryCallable<GetPolicyRequest,Policy> |
OrgPolicyStub.getPolicyCallable() |
UnaryCallSettings<GetPolicyRequest,Policy> |
OrgPolicyStubSettings.getPolicySettings()
Returns the object with the settings used for calls to getPolicy.
|
UnaryCallSettings.Builder<GetPolicyRequest,Policy> |
OrgPolicyStubSettings.Builder.getPolicySettings()
Returns the builder for the settings used for calls to getPolicy.
|
UnaryCallable<UpdatePolicyRequest,Policy> |
GrpcOrgPolicyStub.updatePolicyCallable() |
UnaryCallable<UpdatePolicyRequest,Policy> |
OrgPolicyStub.updatePolicyCallable() |
UnaryCallSettings<UpdatePolicyRequest,Policy> |
OrgPolicyStubSettings.updatePolicySettings()
Returns the object with the settings used for calls to updatePolicy.
|
UnaryCallSettings.Builder<UpdatePolicyRequest,Policy> |
OrgPolicyStubSettings.Builder.updatePolicySettings()
Returns the builder for the settings used for calls to updatePolicy.
|
Copyright © 2021 Google LLC. All rights reserved.