Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.RuleSetsResource

The "ruleSets" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.RuleSetsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Contentwarehouse.v1
Assembly: Google.Apis.Contentwarehouse.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RuleSetsResource

Constructors

RuleSetsResource(IClientService)

Constructs a new resource.

Declaration
public RuleSetsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(GoogleCloudContentwarehouseV1RuleSet, string)

Creates a ruleset.

Declaration
public virtual ProjectsResource.LocationsResource.RuleSetsResource.CreateRequest Create(GoogleCloudContentwarehouseV1RuleSet body, string parent)
Parameters
Type Name Description
GoogleCloudContentwarehouseV1RuleSet body

The body of the request.

string parent

Required. The parent name. Format: projects/{project_number}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.RuleSetsResource.CreateRequest

Delete(string)

Deletes a ruleset. Returns NOT_FOUND if the document does not exist.

Declaration
public virtual ProjectsResource.LocationsResource.RuleSetsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the rule set to delete. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.

Returns
Type Description
ProjectsResource.LocationsResource.RuleSetsResource.DeleteRequest

Get(string)

Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist.

Declaration
public virtual ProjectsResource.LocationsResource.RuleSetsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the rule set to retrieve. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.

Returns
Type Description
ProjectsResource.LocationsResource.RuleSetsResource.GetRequest

List(string)

Lists rulesets.

Declaration
public virtual ProjectsResource.LocationsResource.RuleSetsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of document. Format: projects/{project_number}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.RuleSetsResource.ListRequest

Patch(GoogleCloudContentwarehouseV1UpdateRuleSetRequest, string)

Updates a ruleset. Returns INVALID_ARGUMENT if the name of the ruleset is non-empty and does not equal the existing name.

Declaration
public virtual ProjectsResource.LocationsResource.RuleSetsResource.PatchRequest Patch(GoogleCloudContentwarehouseV1UpdateRuleSetRequest body, string name)
Parameters
Type Name Description
GoogleCloudContentwarehouseV1UpdateRuleSetRequest body

The body of the request.

string name

Required. The name of the rule set to update. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.

Returns
Type Description
ProjectsResource.LocationsResource.RuleSetsResource.PatchRequest
In this article
Back to top Generated by DocFX