Class ProjectsResource.LocationsResource.TaxonomiesResource.ReplaceRequest
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.
Inheritance
ProjectsResource.LocationsResource.TaxonomiesResource.ReplaceRequest
Inherited Members
Namespace: Google.Apis.DataCatalog.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class ProjectsResource.LocationsResource.TaxonomiesResource.ReplaceRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1Taxonomy>, IClientServiceRequest<GoogleCloudDatacatalogV1Taxonomy>, IClientServiceRequest
Constructors
ReplaceRequest(IClientService, GoogleCloudDatacatalogV1ReplaceTaxonomyRequest, string)
Constructs a new Replace request.
Declaration
public ReplaceRequest(IClientService service, GoogleCloudDatacatalogV1ReplaceTaxonomyRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatacatalogV1ReplaceTaxonomyRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. Resource name of the taxonomy to update.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Replace parameter list.
Declaration
protected override void InitParameters()