Gemini Enterprise for Customer Experience V1 API - Class Google::Cloud::Ces::V1::EndpointControlPolicy (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::EndpointControlPolicy.

Defines project/location level endpoint control policy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed_origins

def allowed_origins() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The allowed HTTP(s) origins that tools in the App are able to directly call. The enforcement depends on the value of enforcement_scope and the VPC-SC status of the project. If a port number is not provided, all ports will be allowed. Otherwise, the port number must match exactly. For example, "https://example.com" will match "https://example.com:443" and any other port. "https://example.com:443" will only match "https://example.com:443".

#allowed_origins=

def allowed_origins=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. The allowed HTTP(s) origins that tools in the App are able to directly call. The enforcement depends on the value of enforcement_scope and the VPC-SC status of the project. If a port number is not provided, all ports will be allowed. Otherwise, the port number must match exactly. For example, "https://example.com" will match "https://example.com:443" and any other port. "https://example.com:443" will only match "https://example.com:443".
Returns
  • (::Array<::String>) — Optional. The allowed HTTP(s) origins that tools in the App are able to directly call. The enforcement depends on the value of enforcement_scope and the VPC-SC status of the project. If a port number is not provided, all ports will be allowed. Otherwise, the port number must match exactly. For example, "https://example.com" will match "https://example.com:443" and any other port. "https://example.com:443" will only match "https://example.com:443".

#enforcement_scope

def enforcement_scope() -> ::Google::Cloud::Ces::V1::EndpointControlPolicy::EnforcementScope
Returns

#enforcement_scope=

def enforcement_scope=(value) -> ::Google::Cloud::Ces::V1::EndpointControlPolicy::EnforcementScope
Parameter
Returns