public sealed class EndpointControlPolicy : IMessage<EndpointControlPolicy>, IEquatable<EndpointControlPolicy>, IDeepCloneable<EndpointControlPolicy>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class EndpointControlPolicy.
Defines project/location level endpoint control policy.
Implements
IMessageEndpointControlPolicy, IEquatableEndpointControlPolicy, IDeepCloneableEndpointControlPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.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 |
|