Identity and Access Management (IAM) V3BETA API - Class Google::Iam::V3beta::DeleteAccessPolicyRequest (v0.6.0)

Reference documentation and code samples for the Identity and Access Management (IAM) V3BETA API class Google::Iam::V3beta::DeleteAccessPolicyRequest.

Request message for DeleteAccessPolicy method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. The etag of the access policy. If this is provided, it must match the server's etag.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. The etag of the access policy. If this is provided, it must match the server's etag.
Returns
  • (::String) — Optional. The etag of the access policy. If this is provided, it must match the server's etag.

#force

def force() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set to true, the request will force the deletion of the Policy even if the Policy references PolicyBindings.

#force=

def force=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set to true, the request will force the deletion of the Policy even if the Policy references PolicyBindings.
Returns
  • (::Boolean) — Optional. If set to true, the request will force the deletion of the Policy even if the Policy references PolicyBindings.

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the access policy to delete.

    Format: projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id} projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id} folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id} organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the access policy to delete.

    Format: projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id} projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id} folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id} organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}

Returns
  • (::String) — Required. The name of the access policy to delete.

    Format: projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id} projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id} folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id} organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set, validate the request and preview the deletion, but do not actually post it.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set, validate the request and preview the deletion, but do not actually post it.
Returns
  • (::Boolean) — Optional. If set, validate the request and preview the deletion, but do not actually post it.