Class ProjectsResource.StoredInfoTypesResource.PatchRequest
Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Inheritance
ProjectsResource.StoredInfoTypesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.StoredInfoTypesResource.PatchRequest : DLPBaseServiceRequest<GooglePrivacyDlpV2StoredInfoType>, IClientServiceRequest<GooglePrivacyDlpV2StoredInfoType>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GooglePrivacyDlpV2UpdateStoredInfoTypeRequest, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GooglePrivacyDlpV2UpdateStoredInfoTypeRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GooglePrivacyDlpV2UpdateStoredInfoTypeRequest | 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 storedInfoType to be updated, for example
organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/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()