# Network Security V1beta1 API - Class Google::Cloud::NetworkSecurity::V1beta1::UpdateAuthorizationPolicyRequest (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Network Security V1beta1 API class Google::Cloud::NetworkSecurity::V1beta1::UpdateAuthorizationPolicyRequest.

Request used by the UpdateAuthorizationPolicy method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #authorization_policy

    def authorization_policy() -> ::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy

**Returns**

- ([::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_security-v1beta1/latest/Google-Cloud-NetworkSecurity-V1beta1-AuthorizationPolicy)) --- Required. Updated AuthorizationPolicy resource.

### #authorization_policy=

    def authorization_policy=(value) -> ::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy

**Parameter**

- **value** ([::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_security-v1beta1/latest/Google-Cloud-NetworkSecurity-V1beta1-AuthorizationPolicy)) --- Required. Updated AuthorizationPolicy resource.
**Returns**

- ([::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_security-v1beta1/latest/Google-Cloud-NetworkSecurity-V1beta1-AuthorizationPolicy)) --- Required. Updated AuthorizationPolicy resource.

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_security-v1beta1/latest/Google-Protobuf-FieldMask)) --- Optional. Field mask is used to specify the fields to be overwritten in the AuthorizationPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_security-v1beta1/latest/Google-Protobuf-FieldMask)) --- Optional. Field mask is used to specify the fields to be overwritten in the AuthorizationPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_security-v1beta1/latest/Google-Protobuf-FieldMask)) --- Optional. Field mask is used to specify the fields to be overwritten in the AuthorizationPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.