Define a singleton SemanticGovernancePolicyEngine resource under a project and location.
namestring
Identifier. The resource name of the SemanticGovernancePolicyEngine. Format: projects/{project}/locations/{location}/semanticGovernancePolicyEngine
Output only. timestamp when this SemanticGovernancePolicyEngine was created.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Output only. timestamp when this SemanticGovernancePolicyEngine was last updated.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
pscServiceAttachmentstring
Output only. URI of the PSC attachment resource provided by SGP. Format: projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}
ipAddressstring
Output only. The private IPv4 address of the PSC endpoint.
pscForwardingRulestring
Output only. The URI of the PSC endpoint resource created in customer project. Format: projects/{project}/regions/{region}/forwardingRules/{forwardingRule}
Output only. The state of the SemanticGovernancePolicyEngine.
Optional. Configurations for gateways. The keys are user-defined names for each gateway. At most 5 gateway configurations are allowed.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "pscServiceAttachment": string, "ipAddress": string, "pscForwardingRule": string, "state": enum ( |
State
state of the SemanticGovernancePolicyEngine.
The lifecycle is: INACTIVE -> PROVISIONING -> {ACTIVE, FAILED} and ACTIVE -> DEPROVISIONING -> INACTIVE. A FAILED engine may be either re-provisioned or deprovisioned.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Default value. This value is unused. |
PROVISIONING |
A provisioning operation is in progress. The engine will transition to ACTIVE on success or FAILED on failure. |
ACTIVE |
The engine and all of its gateway configurations are provisioned and ready to serve traffic. |
DEPROVISIONING |
A deprovisioning operation is in progress. The engine will transition to INACTIVE on success or FAILED on failure. |
INACTIVE |
The engine has no provisioned infrastructure: either never provisioned, or successfully deprovisioned. |
FAILED |
The most recent provisioning or deprovisioning operation failed. The engine may have partial infrastructure that needs explicit deprovision; the engine may be either re-provisioned or deprovisioned to recover. |
GatewayConfig
Configuration for a single gateway.
networkstring
Optional. The URI of the network resource where PSC-E will be provisioned. if not provided default network will be used. Format: projects/{project}/global/networks/{network}
subnetworkstring
Optional. The URI of the subnetwork resource where PSC-E will be provisioned. if not provided default subnet will be used from the same {location} Format: projects/{project}/regions/{region}/subnetworks/{subnetwork}
dnsZoneNamestring
Optional. name of the private Cloud DNS managed zone in which to create the gateway's A-record. This is the managed zone's own name, not its DNS name: for a zone serving example.internal., this field takes the zone name, such as my-private-zone.
The zone's DNS name is combined with a generated per-gateway label to form the record's fully qualified name, which must stay within the 255-octet DNS limit. If the full name is too long, gateway provisioning fails when it attempts to create the DNS record.
Output only. The state of the Gateway configuration.
ipAddressstring
Output only. The private IP address of the PSC endpoint.
pscEndpointstring
Output only. The self-link or name of the Private service Connect endpoint forwarding rule.
dnsRecordstring
Output only. The fully qualified record name of the created A-record in Cloud DNS.
allowedProjects[]string
Optional. Additional consumer projects permitted to attach their own PSC endpoint to this gateway's ServiceAttachment. This is the "decoupled" mode, where the customer creates the PSC endpoint in a project other than this gateway's network project. Each listed project is VPC-SC enforced: it must be within the caller's service perimeter. The owning SemanticGovernancePolicyEngine's own project is always permitted implicitly and need not be listed. Format: projects/{project} (id or number).
| JSON representation |
|---|
{
"network": string,
"subnetwork": string,
"dnsZoneName": string,
"state": enum ( |
State
state of the Gateway configuration.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
The default value. This value is used if the state is omitted. |
PROVISIONING |
The Gateway is being provisioned. |
ACTIVE |
The Gateway is active and ready to use. |
DEPROVISIONING |
The Gateway is being de-provisioned. |
INACTIVE |
The Gateway is inactive. |
FAILED |
The Gateway failed to be provisioned. |