Class ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ControlsResource
The "controls" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ControlsResource
Constructors
ControlsResource(IClientService)
Constructs a new resource.
Declaration
public ControlsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDiscoveryengineV1Control, 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.DataStoresResource.ControlsResource.CreateRequest Create(GoogleCloudDiscoveryengineV1Control body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1Control | body | The body of the request. |
string | parent | Required. Full resource name of parent data store. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.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.DataStoresResource.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.DataStoresResource.ControlsResource.DeleteRequest |
Get(string)
Gets a Control.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.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.DataStoresResource.ControlsResource.GetRequest |
List(string)
Lists all Controls by their parent DataStore.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ControlsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The data store resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ControlsResource.ListRequest |
Patch(GoogleCloudDiscoveryengineV1Control, 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.DataStoresResource.ControlsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1Control body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1Control | body | The body of the request. |
string | name | Immutable. Fully qualified name |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ControlsResource.PatchRequest |