public static final class PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationStub extends AbstractAsyncStub<PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationStub>
Policy Tag Manager Serialization API service allows you to manipulate
your policy tags and taxonomies in a serialized format.
Taxonomy is a hierarchical group of policy tags.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
exportTaxonomies(ExportTaxonomiesRequest request, StreamObserver<ExportTaxonomiesResponse> responseObserver)
public void exportTaxonomies(ExportTaxonomiesRequest request, StreamObserver<ExportTaxonomiesResponse> responseObserver)
Exports taxonomies in the requested type and returns them,
including their policy tags. The requested taxonomies must belong to the
same project.
This method generates SerializedTaxonomy
protocol buffers with nested
policy tags that can be used as input for ImportTaxonomies
calls.
Parameters
importTaxonomies(ImportTaxonomiesRequest request, StreamObserver<ImportTaxonomiesResponse> responseObserver)
public void importTaxonomies(ImportTaxonomiesRequest request, StreamObserver<ImportTaxonomiesResponse> responseObserver)
Creates new taxonomies (including their policy tags) in a given project
by importing from inlined or cross-regional sources.
For a cross-regional source, new taxonomies are created by copying
from a source in another region.
For an inlined source, taxonomies and policy tags are created in bulk using
nested protocol buffer structures.
Parameters
replaceTaxonomy(ReplaceTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)
public void replaceTaxonomy(ReplaceTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)
Replaces (updates) a taxonomy and all its policy tags.
The taxonomy and its entire hierarchy of policy tags must be
represented literally by SerializedTaxonomy
and the nested
SerializedPolicyTag
messages.
This operation automatically does the following:
- Deletes the existing policy tags that are missing from the
SerializedPolicyTag
.
- Creates policy tags that don't have resource names. They are considered
new.
- Updates policy tags with valid resources names accordingly.
Parameters