# Identity and Access Management (IAM) V3BETA API - Class Google::Iam::V3beta::UpdateAccessPolicyRequest (v0.7.0)

0.7.0 (latest) 0.6.0 0.4.1 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Identity and Access Management (IAM) V3BETA API class Google::Iam::V3beta::UpdateAccessPolicyRequest.

Request message for UpdateAccessPolicy method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #access_policy

    def access_policy() -> ::Google::Iam::V3beta::AccessPolicy

**Returns**

- ([::Google::Iam::V3beta::AccessPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v3beta/latest/Google-Iam-V3beta-AccessPolicy)) --- Required. The access policy to update.


  The access policy's `name` field is used to identify the
  policy to update.

### #access_policy=

    def access_policy=(value) -> ::Google::Iam::V3beta::AccessPolicy

**Parameter**

- **value** ([::Google::Iam::V3beta::AccessPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v3beta/latest/Google-Iam-V3beta-AccessPolicy)) --- Required. The access policy to update.


  The access policy's `name` field is used to identify the
  policy to update.
**Returns**

- ([::Google::Iam::V3beta::AccessPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v3beta/latest/Google-Iam-V3beta-AccessPolicy)) --- Required. The access policy to update.


  The access policy's `name` field is used to identify the
  policy to update.

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If set, validate the request and preview the update, 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 update, but do not actually post it.
**Returns**

- (::Boolean) --- Optional. If set, validate the request and preview the update, but do not actually post it.