Skip to content

Commit

Permalink
feat(compute): update the API
Browse files Browse the repository at this point in the history
#### compute:beta

The following keys were changed:
- schemas.NetworkEndpointGroup.properties.appEngine.description
- schemas.NetworkEndpointGroup.properties.cloudFunction.description
- schemas.NetworkEndpointGroup.properties.cloudRun.description
- schemas.NetworkEndpointGroup.properties.defaultPort.description
- schemas.NetworkEndpointGroup.properties.network.description
- schemas.NetworkEndpointGroup.properties.pscTargetService.description
- schemas.NetworkEndpointGroup.properties.serverlessDeployment.description
- schemas.NetworkEndpointGroupAppEngine.properties.service.description
- schemas.NetworkEndpointGroupAppEngine.properties.urlMask.description
- schemas.NetworkEndpointGroupAppEngine.properties.version.description
- schemas.NetworkEndpointGroupCloudFunction.properties.function.description
- schemas.NetworkEndpointGroupCloudFunction.properties.urlMask.description
- schemas.NetworkEndpointGroupCloudRun.properties.urlMask.description
- schemas.NetworkEndpointGroupLbNetworkEndpointGroup.properties.defaultPort.description
- schemas.NetworkEndpointGroupLbNetworkEndpointGroup.properties.network.description
- schemas.NetworkEndpointGroupServerlessDeployment.properties.urlMask.description

#### compute:v1

The following keys were added:
- schemas.InstanceGroupManager.properties.allInstancesConfig.$ref
- schemas.InstanceGroupManager.properties.allInstancesConfig.description
- schemas.InstanceGroupManagerAllInstancesConfig.id
- schemas.InstanceGroupManagerAllInstancesConfig.properties.properties.$ref
- schemas.InstanceGroupManagerAllInstancesConfig.properties.properties.description
- schemas.InstanceGroupManagerAllInstancesConfig.type
- schemas.InstanceGroupManagerStatus.properties.allInstancesConfig.$ref
- schemas.InstanceGroupManagerStatus.properties.allInstancesConfig.description
- schemas.InstanceGroupManagerStatusAllInstancesConfig.id
- schemas.InstanceGroupManagerStatusAllInstancesConfig.properties.currentRevision.description
- schemas.InstanceGroupManagerStatusAllInstancesConfig.properties.currentRevision.type
- schemas.InstanceGroupManagerStatusAllInstancesConfig.properties.effective.description
- schemas.InstanceGroupManagerStatusAllInstancesConfig.properties.effective.type
- schemas.InstanceGroupManagerStatusAllInstancesConfig.type
- schemas.InstancePropertiesPatch.description
- schemas.InstancePropertiesPatch.id
- schemas.InstancePropertiesPatch.properties.labels.additionalProperties.type
- schemas.InstancePropertiesPatch.properties.labels.description
- schemas.InstancePropertiesPatch.properties.labels.type
- schemas.InstancePropertiesPatch.properties.metadata.additionalProperties.type
- schemas.InstancePropertiesPatch.properties.metadata.description
- schemas.InstancePropertiesPatch.properties.metadata.type
- schemas.InstancePropertiesPatch.type

The following keys were changed:
- schemas.NetworkEndpointGroup.properties.appEngine.description
- schemas.NetworkEndpointGroup.properties.cloudFunction.description
- schemas.NetworkEndpointGroup.properties.cloudRun.description
- schemas.NetworkEndpointGroup.properties.defaultPort.description
- schemas.NetworkEndpointGroup.properties.network.description
- schemas.NetworkEndpointGroup.properties.pscTargetService.description
- schemas.NetworkEndpointGroupAppEngine.properties.service.description
- schemas.NetworkEndpointGroupAppEngine.properties.urlMask.description
- schemas.NetworkEndpointGroupAppEngine.properties.version.description
- schemas.NetworkEndpointGroupCloudFunction.properties.function.description
- schemas.NetworkEndpointGroupCloudFunction.properties.urlMask.description
- schemas.NetworkEndpointGroupCloudRun.properties.urlMask.description
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 8, 2024
1 parent 079615e commit 38e7737
Show file tree
Hide file tree
Showing 4 changed files with 148 additions and 58 deletions.
34 changes: 17 additions & 17 deletions discovery/compute-beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -40310,7 +40310,7 @@
}
}
},
"revision": "20240129",
"revision": "20240130",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AWSV4Signature": {
Expand Down Expand Up @@ -63225,22 +63225,22 @@
},
"appEngine": {
"$ref": "NetworkEndpointGroupAppEngine",
"description": "Only valid when networkEndpointType is \"SERVERLESS\". Only one of cloudRun, appEngine or cloudFunction may be set."
"description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set."
},
"cloudFunction": {
"$ref": "NetworkEndpointGroupCloudFunction",
"description": "Only valid when networkEndpointType is \"SERVERLESS\". Only one of cloudRun, appEngine or cloudFunction may be set."
"description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set."
},
"cloudRun": {
"$ref": "NetworkEndpointGroupCloudRun",
"description": "Only valid when networkEndpointType is \"SERVERLESS\". Only one of cloudRun, appEngine or cloudFunction may be set."
"description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set."
},
"creationTimestamp": {
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
"type": "string"
},
"defaultPort": {
"description": "The default port used if the port number is not specified in the network endpoint.",
"description": "The default port used if the port number is not specified in the network endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified.",
"format": "int32",
"type": "integer"
},
Expand Down Expand Up @@ -63268,7 +63268,7 @@
"type": "string"
},
"network": {
"description": "The URL of the network to which all network endpoints in the NEG belong. Uses \"default\" project network if unspecified.",
"description": "The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified.",
"type": "string"
},
"networkEndpointType": {
Expand Down Expand Up @@ -63297,7 +63297,7 @@
"$ref": "NetworkEndpointGroupPscData"
},
"pscTargetService": {
"description": "The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: \"asia-northeast3-cloudkms.googleapis.com\"",
"description": "The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com",
"type": "string"
},
"region": {
Expand All @@ -63310,7 +63310,7 @@
},
"serverlessDeployment": {
"$ref": "NetworkEndpointGroupServerlessDeployment",
"description": "Only valid when networkEndpointType is \"SERVERLESS\". Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set."
"description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set."
},
"size": {
"description": "[Output only] Number of network endpoints in the network endpoint group.",
Expand Down Expand Up @@ -63492,15 +63492,15 @@
"id": "NetworkEndpointGroupAppEngine",
"properties": {
"service": {
"description": "Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: \"default\", \"my-service\".",
"description": "Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: default, my-service.",
"type": "string"
},
"urlMask": {
"description": "A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs \"foo1-dot-appname.appspot.com/v1\" and \"foo1-dot-appname.appspot.com/v2\" can be backed by the same Serverless NEG with URL mask \"<service>-dot-appname.appspot.com/<version>\". The URL mask will parse them to { service = \"foo1\", version = \"v1\" } and { service = \"foo1\", version = \"v2\" } respectively.",
"description": "An URL mask is one of the main components of the Cloud Function. A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs foo1-dot-appname.appspot.com/v1 and foo1-dot-appname.appspot.com/v2 can be backed by the same Serverless NEG with URL mask <service>-dot-appname.appspot.com/<version>. The URL mask will parse them to { service = \"foo1\", version = \"v1\" } and { service = \"foo1\", version = \"v2\" } respectively.",
"type": "string"
},
"version": {
"description": "Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: \"v1\", \"v2\".",
"description": "Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: v1, v2.",
"type": "string"
}
},
Expand All @@ -63511,11 +63511,11 @@
"id": "NetworkEndpointGroupCloudFunction",
"properties": {
"function": {
"description": "A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: \"func1\".",
"description": "A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: func1.",
"type": "string"
},
"urlMask": {
"description": "A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs \" mydomain.com/function1\" and \"mydomain.com/function2\" can be backed by the same Serverless NEG with URL mask \"/<function>\". The URL mask will parse them to { function = \"function1\" } and { function = \"function2\" } respectively.",
"description": "An URL mask is one of the main components of the Cloud Function. A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs mydomain.com/function1 and mydomain.com/function2 can be backed by the same Serverless NEG with URL mask /<function>. The URL mask will parse them to { function = \"function1\" } and { function = \"function2\" } respectively.",
"type": "string"
}
},
Expand All @@ -63534,7 +63534,7 @@
"type": "string"
},
"urlMask": {
"description": "A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs \"foo1.domain.com/bar1\" and \"foo1.domain.com/bar2\" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask \"<tag>.domain.com/<service>\". The URL mask will parse them to { service=\"bar1\", tag=\"foo1\" } and { service=\"bar2\", tag=\"foo2\" } respectively.",
"description": "An URL mask is one of the main components of the Cloud Function. A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs foo1.domain.com/bar1 and foo1.domain.com/bar2 can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask <tag>.domain.com/<service>. The URL mask will parse them to { service=\"bar1\", tag=\"foo1\" } and { service=\"bar2\", tag=\"foo2\" } respectively.",
"type": "string"
}
},
Expand All @@ -63546,13 +63546,13 @@
"properties": {
"defaultPort": {
"deprecated": true,
"description": "The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated.",
"description": "The default port used if the port number is not specified in the network endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified. [Deprecated] This field is deprecated.",
"format": "int32",
"type": "integer"
},
"network": {
"deprecated": true,
"description": "The URL of the network to which all network endpoints in the NEG belong. Uses \"default\" project network if unspecified. [Deprecated] This field is deprecated.",
"description": "The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified. [Deprecated] This field is deprecated.",
"type": "string"
},
"subnetwork": {
Expand Down Expand Up @@ -63768,7 +63768,7 @@
"type": "string"
},
"urlMask": {
"description": "A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: 1. API Gateway: The gateway ID 2. App Engine: The service and version 3. Cloud Functions: The function name 4. Cloud Run: The service and tag ",
"description": "An URL mask is one of the main components of the Cloud Function. A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: 1. API Gateway: The gateway ID 2. App Engine: The service and version 3. Cloud Functions: The function name 4. Cloud Run: The service and tag ",
"type": "string"
},
"version": {
Expand Down
Loading

0 comments on commit 38e7737

Please sign in to comment.