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

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

The DeleteVersion 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 specs from this version will also be deleted. Otherwise, the request will only work if the version has no specs.

#force=

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

#name

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

#name=

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