Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::CreateGuardrailRequest.
Request message for AgentService.CreateGuardrail.
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 create.
#guardrail=
def guardrail=(value) -> ::Google::Cloud::Ces::V1::Guardrail
Parameter
- value (::Google::Cloud::Ces::V1::Guardrail) — Required. The guardrail to create.
Returns
- (::Google::Cloud::Ces::V1::Guardrail) — Required. The guardrail to create.
#guardrail_id
def guardrail_id() -> ::String
Returns
- (::String) — Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.
#guardrail_id=
def guardrail_id=(value) -> ::String
Parameter
- value (::String) — Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.
Returns
- (::String) — Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.
#parent
def parent() -> ::String
Returns
- (::String) — Required. The resource name of the app to create a guardrail in.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The resource name of the app to create a guardrail in.
Returns
- (::String) — Required. The resource name of the app to create a guardrail in.