Class ProjectsResource.LocationsResource.CatalogsResource.ControlsResource
The "controls" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.ControlsResource
Constructors
ControlsResource(IClientService)
Constructs a new resource.
Declaration
public ControlsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudRetailV2alphaControl, string)
Creates a Control. If the Control to create already exists, an ALREADY_EXISTS error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ControlsResource.CreateRequest Create(GoogleCloudRetailV2alphaControl body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2alphaControl | body | The body of the request. |
string | parent | Required. Full resource name of parent catalog. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ControlsResource.CreateRequest |
Delete(string)
Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ControlsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Control to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ControlsResource.DeleteRequest |
Get(string)
Gets a Control.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ControlsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Control to get. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ControlsResource.GetRequest |
List(string)
Lists all Controls by their parent Catalog.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ControlsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The catalog resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ControlsResource.ListRequest |
Patch(GoogleCloudRetailV2alphaControl, string)
Updates a Control. Control cannot be set to a different oneof field, if so an INVALID_ARGUMENT is returned. If the Control to update does not exist, a NOT_FOUND error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ControlsResource.PatchRequest Patch(GoogleCloudRetailV2alphaControl body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2alphaControl | body | The body of the request. |
string | name | Immutable. Fully qualified name |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ControlsResource.PatchRequest |