public static final class PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationFutureStub extends io.grpc.stub.AbstractFutureStub<PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationFutureStub>
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.
| Modifier and Type | Method and Description |
|---|---|
protected PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<ExportTaxonomiesResponse> |
exportTaxonomies(ExportTaxonomiesRequest request)
Exports taxonomies in the requested type and returns them,
including their policy tags.
|
com.google.common.util.concurrent.ListenableFuture<ImportTaxonomiesResponse> |
importTaxonomies(ImportTaxonomiesRequest request)
Creates new taxonomies (including their policy tags) in a given project
by importing from inlined or cross-regional sources.
|
com.google.common.util.concurrent.ListenableFuture<Taxonomy> |
replaceTaxonomy(ReplaceTaxonomyRequest request)
Replaces (updates) a taxonomy and all its policy tags.
|
protected PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<PolicyTagManagerSerializationGrpc.PolicyTagManagerSerializationFutureStub>public com.google.common.util.concurrent.ListenableFuture<Taxonomy> replaceTaxonomy(ReplaceTaxonomyRequest request)
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.
public com.google.common.util.concurrent.ListenableFuture<ImportTaxonomiesResponse> importTaxonomies(ImportTaxonomiesRequest request)
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.
public com.google.common.util.concurrent.ListenableFuture<ExportTaxonomiesResponse> exportTaxonomies(ExportTaxonomiesRequest request)
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.
Copyright © 2022 Google LLC. All rights reserved.