Class PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationFutureStub (1.48.0)

public static final class PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationFutureStub extends AbstractFutureStub<PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

exportTaxonomies(ExportTaxonomiesRequest request)

public ListenableFuture<ExportTaxonomiesResponse> exportTaxonomies(ExportTaxonomiesRequest request)

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.

Parameter
Name Description
request ExportTaxonomiesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ExportTaxonomiesResponse>

importTaxonomies(ImportTaxonomiesRequest request)

public ListenableFuture<ImportTaxonomiesResponse> importTaxonomies(ImportTaxonomiesRequest request)

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.

Parameter
Name Description
request ImportTaxonomiesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ImportTaxonomiesResponse>