Google Cloud Network Security V1beta1 Client - Class UpdateAuthorizationPolicyRequest (0.3.7)

Reference documentation and code samples for the Google Cloud Network Security V1beta1 Client class UpdateAuthorizationPolicyRequest.

Request used by the UpdateAuthorizationPolicy method.

Generated from protobuf message google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask 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.

↳ authorization_policy Google\Cloud\NetworkSecurity\V1beta1\AuthorizationPolicy

Required. Updated AuthorizationPolicy resource.

getUpdateMask

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
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getAuthorizationPolicy

Required. Updated AuthorizationPolicy resource.

Returns
TypeDescription
Google\Cloud\NetworkSecurity\V1beta1\AuthorizationPolicy|null

hasAuthorizationPolicy

clearAuthorizationPolicy

setAuthorizationPolicy

Required. Updated AuthorizationPolicy resource.

Parameter
NameDescription
var Google\Cloud\NetworkSecurity\V1beta1\AuthorizationPolicy
Returns
TypeDescription
$this