Class OrganizationsResource.StoredInfoTypesResource
The "storedInfoTypes" collection of methods.
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class OrganizationsResource.StoredInfoTypesResource
Constructors
StoredInfoTypesResource(IClientService)
Constructs a new resource.
Declaration
public StoredInfoTypesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GooglePrivacyDlpV2CreateStoredInfoTypeRequest, string)
Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Declaration
public virtual OrganizationsResource.StoredInfoTypesResource.CreateRequest Create(GooglePrivacyDlpV2CreateStoredInfoTypeRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GooglePrivacyDlpV2CreateStoredInfoTypeRequest | body | The body of the request. |
string | parent | Required. Parent resource name. The format of this value varies depending on the scope of the request
(project or organization) and whether you have specified a processing
location: + Projects
scope, location specified: |
Returns
Type | Description |
---|---|
OrganizationsResource.StoredInfoTypesResource.CreateRequest |
Delete(string)
Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Declaration
public virtual OrganizationsResource.StoredInfoTypesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the organization and storedInfoType to be deleted, for example
|
Returns
Type | Description |
---|---|
OrganizationsResource.StoredInfoTypesResource.DeleteRequest |
Get(string)
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Declaration
public virtual OrganizationsResource.StoredInfoTypesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the organization and storedInfoType to be read, for example
|
Returns
Type | Description |
---|---|
OrganizationsResource.StoredInfoTypesResource.GetRequest |
List(string)
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Declaration
public virtual OrganizationsResource.StoredInfoTypesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent resource name. The format of this value varies depending on the scope of the request
(project or organization) and whether you have specified a processing
location: + Projects
scope, location specified: |
Returns
Type | Description |
---|---|
OrganizationsResource.StoredInfoTypesResource.ListRequest |
Patch(GooglePrivacyDlpV2UpdateStoredInfoTypeRequest, string)
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.
Declaration
public virtual OrganizationsResource.StoredInfoTypesResource.PatchRequest Patch(GooglePrivacyDlpV2UpdateStoredInfoTypeRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GooglePrivacyDlpV2UpdateStoredInfoTypeRequest | body | The body of the request. |
string | name | Required. Resource name of organization and storedInfoType to be updated, for example
|
Returns
Type | Description |
---|---|
OrganizationsResource.StoredInfoTypesResource.PatchRequest |