API hub V1 API - Class Google::Cloud::ApiHub::V1::DeleteApiRequest (v0.1.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::DeleteApiRequest.

The DeleteApi method's request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#force

def force() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set to true, any versions from this API will also be deleted. Otherwise, the request will only work if the API has no versions.

#force=

def force=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set to true, any versions from this API will also be deleted. Otherwise, the request will only work if the API has no versions.
Returns
  • (::Boolean) — Optional. If set to true, any versions from this API will also be deleted. Otherwise, the request will only work if the API has no versions.

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the API resource to delete. Format: projects/{project}/locations/{location}/apis/{api}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the API resource to delete. Format: projects/{project}/locations/{location}/apis/{api}
Returns
  • (::String) — Required. The name of the API resource to delete. Format: projects/{project}/locations/{location}/apis/{api}