Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ControlsResource
The "controls" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ControlsResource
Constructors
ControlsResource(IClientService)
Constructs a new resource.
Declaration
public ControlsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDiscoveryengineV1alphaControl, string)
Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ControlsResource.CreateRequest Create(GoogleCloudDiscoveryengineV1alphaControl body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaControl | body | The body of the request. |
string | parent | Required. Full resource name of parent data store. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.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.CollectionsResource.EnginesResource.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.CollectionsResource.EnginesResource.ControlsResource.DeleteRequest |
Get(string)
Gets a Control.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.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.CollectionsResource.EnginesResource.ControlsResource.GetRequest |
List(string)
Lists all Controls by their parent DataStore.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ControlsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The data store resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ControlsResource.ListRequest |
Patch(GoogleCloudDiscoveryengineV1alphaControl, string)
Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ControlsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1alphaControl body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaControl | body | The body of the request. |
string | name | Immutable. Fully qualified name |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ControlsResource.PatchRequest |