Organization Policy V2 API - Class Google::Cloud::OrgPolicy::V2::DeletePolicyRequest (v1.0.1)

Reference documentation and code samples for the Organization Policy V2 API class Google::Cloud::OrgPolicy::V2::DeletePolicyRequest.

The request sent to the [DeletePolicy] [google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy] method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.
Returns
  • (::String) — Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the policy to delete. See the policy entry for naming rules.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the policy to delete. See the policy entry for naming rules.
Returns
  • (::String) — Required. Name of the policy to delete. See the policy entry for naming rules.