Reference documentation and code samples for the Privileged Access Manager V1 API class Google::Cloud::PrivilegedAccessManager::V1::UpdateEntitlementRequest.
Message for updating an entitlement.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#entitlement
def entitlement() -> ::Google::Cloud::PrivilegedAccessManager::V1::Entitlement
Returns
- (::Google::Cloud::PrivilegedAccessManager::V1::Entitlement) — Required. The entitlement resource that is updated.
#entitlement=
def entitlement=(value) -> ::Google::Cloud::PrivilegedAccessManager::V1::Entitlement
Parameter
- value (::Google::Cloud::PrivilegedAccessManager::V1::Entitlement) — Required. The entitlement resource that is updated.
Returns
- (::Google::Cloud::PrivilegedAccessManager::V1::Entitlement) — Required. The entitlement resource that is updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::Google::Protobuf::FieldMask) — Required. The list of fields to update. A field is overwritten if, and only
if, it is in the mask. Any immutable fields set in the mask are ignored by
the server. Repeated fields and map fields are only allowed in the last
position of a
paths
string and overwrite the existing values. Hence an update to a repeated field or a map should contain the entire list of values. The fields specified in the update_mask are relative to the resource and not to the request. (e.g.MaxRequestDuration
; notentitlement.MaxRequestDuration
) A value of '*' for this field refers to full replacement of the resource.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::Google::Protobuf::FieldMask) — Required. The list of fields to update. A field is overwritten if, and only
if, it is in the mask. Any immutable fields set in the mask are ignored by
the server. Repeated fields and map fields are only allowed in the last
position of a
paths
string and overwrite the existing values. Hence an update to a repeated field or a map should contain the entire list of values. The fields specified in the update_mask are relative to the resource and not to the request. (e.g.MaxRequestDuration
; notentitlement.MaxRequestDuration
) A value of '*' for this field refers to full replacement of the resource.
Returns
-
(::Google::Protobuf::FieldMask) — Required. The list of fields to update. A field is overwritten if, and only
if, it is in the mask. Any immutable fields set in the mask are ignored by
the server. Repeated fields and map fields are only allowed in the last
position of a
paths
string and overwrite the existing values. Hence an update to a repeated field or a map should contain the entire list of values. The fields specified in the update_mask are relative to the resource and not to the request. (e.g.MaxRequestDuration
; notentitlement.MaxRequestDuration
) A value of '*' for this field refers to full replacement of the resource.