Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::UpdateGuardrailRequest.
Request message for AgentService.UpdateGuardrail.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#guardrail
def guardrail() -> ::Google::Cloud::Ces::V1::Guardrail
Returns
- (::Google::Cloud::Ces::V1::Guardrail) — Required. The guardrail to update.
#guardrail=
def guardrail=(value) -> ::Google::Cloud::Ces::V1::Guardrail
Parameter
- value (::Google::Cloud::Ces::V1::Guardrail) — Required. The guardrail to update.
Returns
- (::Google::Cloud::Ces::V1::Guardrail) — Required. The guardrail to update.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
Returns
- (::Google::Protobuf::FieldMask) — Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.