Class PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationStub (1.53.0)

public static final class PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationStub extends AbstractAsyncStub<PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationStub>

A stub to allow clients to do asynchronous rpc calls to service PolicyTagManagerSerialization.

Policy tag manager serialization API service allows clients to manipulate their taxonomies and policy tags data with serialized format.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationStub

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
Type Description
PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationStub
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 all taxonomies and their policy tags in a project. This method generates SerializedTaxonomy protos with nested policy tags that can be used as an input for future ImportTaxonomies calls.

Parameters
Name Description
request ExportTaxonomiesRequest
responseObserver io.grpc.stub.StreamObserver<ExportTaxonomiesResponse>

importTaxonomies(ImportTaxonomiesRequest request, StreamObserver<ImportTaxonomiesResponse> responseObserver)

public void importTaxonomies(ImportTaxonomiesRequest request, StreamObserver<ImportTaxonomiesResponse> responseObserver)

Imports all taxonomies and their policy tags to a project as new taxonomies. This method provides a bulk taxonomy / policy tag creation using nested proto structure.

Parameters
Name Description
request ImportTaxonomiesRequest
responseObserver io.grpc.stub.StreamObserver<ImportTaxonomiesResponse>