Cloud Run V2 API - Class Google::Cloud::Run::V2::DeleteRevisionRequest (v0.8.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::DeleteRevisionRequest.

Request message for deleting a retired Revision. Revision lifecycle is usually managed by making changes to the parent Service. Only retired revisions can be deleted with this API.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

def etag() -> ::String
Returns
  • (::String) — A system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — A system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.
Returns
  • (::String) — A system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the Revision to delete. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the Revision to delete. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision}
Returns
  • (::String) — Required. The name of the Revision to delete. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision}

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Indicates that the request should be validated without actually deleting any resources.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates that the request should be validated without actually deleting any resources.
Returns
  • (::Boolean) — Indicates that the request should be validated without actually deleting any resources.