Class CatalogsResource.DeleteRequest
Soft deletes an existing Catalog and all resources under it. The catalog can only be deleted if there is no associations under it or DeleteCatalogRequest.force is true. The delete operation can be recovered by the PrivateCatalogProducer.UndeleteCatalog method.
Inheritance
System.Object
CatalogsResource.DeleteRequest
Implements
Inherited Members
CloudPrivateCatalogProducerBaseServiceRequest<GoogleCloudPrivatecatalogproducerV1beta1Catalog>.Xgafv
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.CloudPrivateCatalogProducer.v1beta1
Assembly: Google.Apis.CloudPrivateCatalogProducer.v1beta1.dll
Syntax
public class DeleteRequest : CloudPrivateCatalogProducerBaseServiceRequest<GoogleCloudPrivatecatalogproducerV1beta1Catalog>, IClientServiceRequest<GoogleCloudPrivatecatalogproducerV1beta1Catalog>, 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
Force
Forces deletion of the Catalog
and its Association
resources. If the Catalog
is still
associated with other resources and force is not set to true, then the operation fails.
Declaration
[RequestParameter("force", RequestParameterType.Query)]
public virtual bool? Force { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleCloudPrivatecatalogproducerV1beta1Catalog>.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.CloudPrivateCatalogProducer.v1beta1.Data.GoogleCloudPrivatecatalogproducerV1beta1Catalog>.MethodName
Name
The resource name of the catalog.
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.CloudPrivateCatalogProducer.v1beta1.Data.GoogleCloudPrivatecatalogproducerV1beta1Catalog>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudPrivateCatalogProducer.v1beta1.CloudPrivateCatalogProducerBaseServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleCloudPrivatecatalogproducerV1beta1Catalog>.InitParameters()