diff --git a/eventarc/v1/eventarc-api.json b/eventarc/v1/eventarc-api.json index c17ffad8b6b..53c3346f5ad 100644 --- a/eventarc/v1/eventarc-api.json +++ b/eventarc/v1/eventarc-api.json @@ -1197,7 +1197,7 @@ } } }, - "revision": "20230811", + "revision": "20230918", "rootUrl": "https://eventarc.googleapis.com/", "schemas": { "AuditConfig": { @@ -1404,6 +1404,14 @@ "$ref": "GKE", "description": "A GKE service capable of receiving events. The service should be running in the same project as the trigger." }, + "httpEndpoint": { + "$ref": "HttpEndpoint", + "description": "An HTTP endpoint destination described by an URI." + }, + "networkConfig": { + "$ref": "NetworkConfig", + "description": "Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type." + }, "workflow": { "description": "The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`", "type": "string" @@ -1650,6 +1658,21 @@ }, "type": "object" }, + "HttpEndpoint": { + "description": "Represents a HTTP endpoint destination.", + "id": "HttpEndpoint", + "properties": { + "forwardDnsRequests": { + "description": "Optional. Forwards DNS requests to the VPC specified by network config to resolve the HTTP endpoint. Default to false. If set to true, Eventarc will create a peering zone to the consumer VPC and forward DNS requests. See: https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones Enable this if the URI uses an internal DNS name or a private Cloud DNS zone.", + "type": "boolean" + }, + "uri": { + "description": "Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.", + "type": "string" + } + }, + "type": "object" + }, "ListChannelConnectionsResponse": { "description": "The response message for the `ListChannelConnections` method.", "id": "ListChannelConnectionsResponse", @@ -1802,6 +1825,17 @@ }, "type": "object" }, + "NetworkConfig": { + "description": "Represents a network config to be used for destination resolution and connectivity.", + "id": "NetworkConfig", + "properties": { + "networkAttachment": { + "description": "Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`", + "type": "string" + } + }, + "type": "object" + }, "OperationMetadata": { "description": "Represents the metadata of the long-running operation.", "id": "OperationMetadata", diff --git a/eventarc/v1/eventarc-gen.go b/eventarc/v1/eventarc-gen.go index c349d823b32..b966bb0f327 100644 --- a/eventarc/v1/eventarc-gen.go +++ b/eventarc/v1/eventarc-gen.go @@ -616,6 +616,14 @@ type Destination struct { // running in the same project as the trigger. Gke *GKE `json:"gke,omitempty"` + // HttpEndpoint: An HTTP endpoint destination described by an URI. + HttpEndpoint *HttpEndpoint `json:"httpEndpoint,omitempty"` + + // NetworkConfig: Optional. Network config is used to configure how + // Eventarc resolves and connect to a destination. This should only be + // used with HttpEndpoint destination type. + NetworkConfig *NetworkConfig `json:"networkConfig,omitempty"` + // Workflow: The resource name of the Workflow whose Executions are // triggered by the events. The Workflow resource should be deployed in // the same project as the trigger. Format: @@ -1089,6 +1097,49 @@ func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// HttpEndpoint: Represents a HTTP endpoint destination. +type HttpEndpoint struct { + // ForwardDnsRequests: Optional. Forwards DNS requests to the VPC + // specified by network config to resolve the HTTP endpoint. Default to + // false. If set to true, Eventarc will create a peering zone to the + // consumer VPC and forward DNS requests. See: + // https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones + // Enable this if the URI uses an internal DNS name or a private Cloud + // DNS zone. + ForwardDnsRequests bool `json:"forwardDnsRequests,omitempty"` + + // Uri: Required. The URI of the HTTP enpdoint. The value must be a + // RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, + // `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols + // are supported. The host can be either a static IP addressable from + // the VPC specified by the network config, or an internal DNS hostname + // of the service resolvable via Cloud DNS. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ForwardDnsRequests") + // to unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ForwardDnsRequests") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *HttpEndpoint) MarshalJSON() ([]byte, error) { + type NoMethod HttpEndpoint + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ListChannelConnectionsResponse: The response message for the // `ListChannelConnections` method. type ListChannelConnectionsResponse struct { @@ -1345,6 +1396,39 @@ func (s *Location) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// NetworkConfig: Represents a network config to be used for destination +// resolution and connectivity. +type NetworkConfig struct { + // NetworkAttachment: Required. Name of the NetworkAttachment that + // allows access to the destination VPC. Format: + // `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_AT + // TACHMENT_NAME}` + NetworkAttachment string `json:"networkAttachment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "NetworkAttachment") + // to unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "NetworkAttachment") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *NetworkConfig) MarshalJSON() ([]byte, error) { + type NoMethod NetworkConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // OperationMetadata: Represents the metadata of the long-running // operation. type OperationMetadata struct { diff --git a/gkeonprem/v1/gkeonprem-api.json b/gkeonprem/v1/gkeonprem-api.json index 56b1458b6bf..25c48dcdf6f 100644 --- a/gkeonprem/v1/gkeonprem-api.json +++ b/gkeonprem/v1/gkeonprem-api.json @@ -2996,7 +2996,7 @@ } } }, - "revision": "20230906", + "revision": "20230918", "rootUrl": "https://gkeonprem.googleapis.com/", "schemas": { "Authorization": { @@ -6003,7 +6003,7 @@ }, "vcenter": { "$ref": "VmwareVCenterConfig", - "description": "VmwareVCenterConfig specifies vCenter config for the user cluster. Inherited from the admin cluster." + "description": "VmwareVCenterConfig specifies vCenter config for the user cluster. If unspecified, it is inherited from the admin cluster." }, "vmTrackingEnabled": { "description": "Enable VM tracking.", diff --git a/gkeonprem/v1/gkeonprem-gen.go b/gkeonprem/v1/gkeonprem-gen.go index 21a58d917d6..16cdea45e39 100644 --- a/gkeonprem/v1/gkeonprem-gen.go +++ b/gkeonprem/v1/gkeonprem-gen.go @@ -5538,7 +5538,7 @@ type VmwareCluster struct { ValidationCheck *ValidationCheck `json:"validationCheck,omitempty"` // Vcenter: VmwareVCenterConfig specifies vCenter config for the user - // cluster. Inherited from the admin cluster. + // cluster. If unspecified, it is inherited from the admin cluster. Vcenter *VmwareVCenterConfig `json:"vcenter,omitempty"` // VmTrackingEnabled: Enable VM tracking. diff --git a/networksecurity/v1beta1/networksecurity-api.json b/networksecurity/v1beta1/networksecurity-api.json index ea4284ef85b..f91556bba89 100644 --- a/networksecurity/v1beta1/networksecurity-api.json +++ b/networksecurity/v1beta1/networksecurity-api.json @@ -3162,7 +3162,7 @@ } } }, - "revision": "20230831", + "revision": "20230918", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AddAddressGroupItemsRequest": { @@ -3458,6 +3458,10 @@ "readOnly": true, "type": "array" }, + "billingProjectId": { + "description": "Optional. Project to bill on endpoint uptime usage.", + "type": "string" + }, "createTime": { "description": "Output only. Create time stamp", "format": "google-datetime", diff --git a/networksecurity/v1beta1/networksecurity-gen.go b/networksecurity/v1beta1/networksecurity-gen.go index 255461f5488..e738eb367b1 100644 --- a/networksecurity/v1beta1/networksecurity-gen.go +++ b/networksecurity/v1beta1/networksecurity-gen.go @@ -830,6 +830,9 @@ type FirewallEndpoint struct { // configured. Format: projects/{project}/global/networks/{name}. AssociatedNetworks []string `json:"associatedNetworks,omitempty"` + // BillingProjectId: Optional. Project to bill on endpoint uptime usage. + BillingProjectId string `json:"billingProjectId,omitempty"` + // CreateTime: Output only. Create time stamp CreateTime string `json:"createTime,omitempty"`