Class ProjectsResource.LocationsResource.ProductSetsResource.DeleteRequest
Permanently deletes a ProductSet. Products and ReferenceImages in the ProductSet are not deleted. The actual image files are not deleted from Google Cloud Storage.
Inheritance
System.Object
ProjectsResource.LocationsResource.ProductSetsResource.DeleteRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Vision.v1
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class DeleteRequest : VisionBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, String)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Vision.v1.Data.Empty>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Vision.v1.Data.Empty>.MethodName
Name
Required. Resource name of the ProductSet to delete. Format is:
projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Vision.v1.Data.Empty>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Vision.v1.VisionBaseServiceRequest<Google.Apis.Vision.v1.Data.Empty>.InitParameters()