Class ProjectsResource.LocationsResource.InspectTemplatesResource.PatchRequest
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Inheritance
ProjectsResource.LocationsResource.InspectTemplatesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.LocationsResource.InspectTemplatesResource.PatchRequest : DLPBaseServiceRequest<GooglePrivacyDlpV2InspectTemplate>, IClientServiceRequest<GooglePrivacyDlpV2InspectTemplate>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GooglePrivacyDlpV2UpdateInspectTemplateRequest, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GooglePrivacyDlpV2UpdateInspectTemplateRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GooglePrivacyDlpV2UpdateInspectTemplateRequest | 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 organization and inspectTemplate to be updated, for example
organizations/433245324/inspectTemplates/432452342
or
projects/project-id/inspectTemplates/432452342.
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 Patch parameter list.
Declaration
protected override void InitParameters()