- 1.59.0 (latest)
- 1.58.0
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
public static interface PolicyTagManagerSerializationGrpc.AsyncService
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.
Methods
exportTaxonomies(ExportTaxonomiesRequest request, StreamObserver<ExportTaxonomiesResponse> responseObserver)
public default 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 | |
---|---|
Name | Description |
request |
ExportTaxonomiesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ExportTaxonomiesResponse> |
importTaxonomies(ImportTaxonomiesRequest request, StreamObserver<ImportTaxonomiesResponse> responseObserver)
public default 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 | |
---|---|
Name | Description |
request |
ImportTaxonomiesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ImportTaxonomiesResponse> |
replaceTaxonomy(ReplaceTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)
public default 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 | |
---|---|
Name | Description |
request |
ReplaceTaxonomyRequest |
responseObserver |
io.grpc.stub.StreamObserver<Taxonomy> |