Class: Google::Cloud::OrgPolicy::V2::DeletePolicyRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#etag::String

Returns 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.



342
343
344
345
# File 'proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb', line 342

class DeletePolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns 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.



342
343
344
345
# File 'proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb', line 342

class DeletePolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end