Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::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::V1beta::EndpointControlPolicy::EnforcementScope
Returns
- (::Google::Cloud::Ces::V1beta::EndpointControlPolicy::EnforcementScope) — Optional. The scope in which this policy's allowed_origins list is enforced.
#enforcement_scope=
def enforcement_scope=(value) -> ::Google::Cloud::Ces::V1beta::EndpointControlPolicy::EnforcementScope
Parameter
- value (::Google::Cloud::Ces::V1beta::EndpointControlPolicy::EnforcementScope) — Optional. The scope in which this policy's allowed_origins list is enforced.
Returns
- (::Google::Cloud::Ces::V1beta::EndpointControlPolicy::EnforcementScope) — Optional. The scope in which this policy's allowed_origins list is enforced.