Gemini Enterprise for Customer Experience v1beta API - Class EndpointControlPolicy (1.0.0-beta03)

public sealed class EndpointControlPolicy : IMessage<EndpointControlPolicy>, IEquatable<EndpointControlPolicy>, IDeepCloneable<EndpointControlPolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class EndpointControlPolicy.

Defines project/location level endpoint control policy.

Inheritance

object > EndpointControlPolicy

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

EndpointControlPolicy()

public EndpointControlPolicy()

EndpointControlPolicy(EndpointControlPolicy)

public EndpointControlPolicy(EndpointControlPolicy other)
Parameter
Name Description
other EndpointControlPolicy

Properties

AllowedOrigins

public RepeatedField<string> AllowedOrigins { get; }

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".

Property Value
Type Description
RepeatedFieldstring

EnforcementScope

public EndpointControlPolicy.Types.EnforcementScope EnforcementScope { get; set; }

Optional. The scope in which this policy's allowed_origins list is enforced.

Property Value
Type Description
EndpointControlPolicyTypesEnforcementScope