Skip to content

Commit

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

The following keys were added:
- schemas.NetworkInterface.properties.igmpQuery.description
- schemas.NetworkInterface.properties.igmpQuery.enum
- schemas.NetworkInterface.properties.igmpQuery.enumDescriptions
- schemas.NetworkInterface.properties.igmpQuery.type
- schemas.Snapshot.properties.resourceStatus.$ref
- schemas.Snapshot.properties.resourceStatus.description
- schemas.SnapshotResourceStatus.id
- schemas.SnapshotResourceStatus.properties.scheduledDeletionTime.description
- schemas.SnapshotResourceStatus.properties.scheduledDeletionTime.format
- schemas.SnapshotResourceStatus.properties.scheduledDeletionTime.type
- schemas.SnapshotResourceStatus.type

The following keys were changed:
- schemas.NetworkEndpointGroup.properties.appEngine.description
- schemas.NetworkEndpointGroup.properties.clientPortMappingMode.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:beta

The following keys were added:
- resources.acceleratorTypes.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.addresses.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.autoscalers.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.backendServices.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.diskTypes.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.disks.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.forwardingRules.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.futureReservations.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.globalOperations.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.healthChecks.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.instanceGroupManagers.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.instanceGroups.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.instanceTemplates.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.instances.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.instantSnapshots.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.interconnectAttachments.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.machineTypes.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.networkAttachments.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.networkEdgeSecurityServices.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.networkEndpointGroups.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.nodeGroups.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.nodeTemplates.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.nodeTypes.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.packetMirrorings.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.publicDelegatedPrefixes.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.regionCommitments.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.reservations.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.resourcePolicies.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.routers.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.securityPolicies.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.serviceAttachments.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.sslCertificates.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.sslPolicies.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.subnetworks.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.targetHttpProxies.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.targetHttpsProxies.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.targetInstances.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.targetPools.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.targetTcpProxies.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.targetVpnGateways.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.urlMaps.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.vpnGateways.methods.aggregatedList.parameters.serviceProjectNumber.description
- resources.vpnTunnels.methods.aggregatedList.parameters.serviceProjectNumber.description
- schemas.InstanceGroupManagerResizeRequestStatus.properties.lastAttempt.$ref
- schemas.InstanceGroupManagerResizeRequestStatus.properties.lastAttempt.description
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.id
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.description
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.description
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.code.description
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.code.type
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.errorDetails.description
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.errorDetails.items.properties.errorInfo.$ref
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.errorDetails.items.properties.help.$ref
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.errorDetails.items.properties.localizedMessage.$ref
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.errorDetails.items.properties.quotaInfo.$ref
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.errorDetails.items.type
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.errorDetails.type
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.location.description
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.location.type
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.message.description
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.properties.message.type
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.items.type
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.properties.errors.type
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.properties.error.type
- schemas.InstanceGroupManagerResizeRequestStatusLastAttempt.type

The following keys were changed:
- schemas.Binding.properties.role.description
- schemas.Commitment.properties.type.enum
- schemas.Commitment.properties.type.enumDescriptions
- schemas.InstanceGroupManagerResizeRequestStatus.properties.error.description
- schemas.NetworkEndpoint.properties.instance.description
- schemas.NetworkEndpoint.properties.ipAddress.description
- schemas.NetworkEndpoint.properties.port.description
- schemas.Quota.properties.metric.enum
- schemas.Quota.properties.metric.enumDescriptions
- schemas.Reservation.properties.deleteAfterDuration.description
- schemas.Reservation.properties.deleteAtTime.description
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 7, 2024
1 parent 60e6665 commit e40a7e7
Show file tree
Hide file tree
Showing 4 changed files with 261 additions and 93 deletions.
63 changes: 45 additions & 18 deletions discovery/compute-alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -43863,7 +43863,7 @@
}
}
},
"revision": "20240129",
"revision": "20240130",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AWSV4Signature": {
Expand Down Expand Up @@ -68587,10 +68587,10 @@
},
"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."
},
"clientPortMappingMode": {
"description": "Only valid when networkEndpointType is \"GCE_VM_IP_PORT\" and the NEG is regional.",
"description": "Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional.",
"enum": [
"CLIENT_PORT_PER_ENDPOINT",
"PORT_MAPPING_DISABLED"
Expand All @@ -68603,18 +68603,18 @@
},
"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 @@ -68642,7 +68642,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 @@ -68671,7 +68671,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 @@ -68688,7 +68688,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 @@ -68880,15 +68880,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 @@ -68899,11 +68899,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 @@ -68922,7 +68922,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 @@ -68934,13 +68934,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 @@ -69156,7 +69156,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 Expand Up @@ -69547,6 +69547,18 @@
"format": "byte",
"type": "string"
},
"igmpQuery": {
"description": "Indicate whether igmp query is enabled on the network interface or not. If enabled, also indicates the version of IGMP supported.",
"enum": [
"IGMP_QUERY_DISABLED",
"IGMP_QUERY_V2"
],
"enumDescriptions": [
"The network interface has disabled IGMP query.",
"The network interface has enabled IGMP query - v2."
],
"type": "string"
},
"internalIpv6PrefixLength": {
"description": "The prefix length of the primary internal IPv6 range.",
"format": "int32",
Expand Down Expand Up @@ -86137,6 +86149,10 @@
"description": "[Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots.",
"type": "string"
},
"resourceStatus": {
"$ref": "SnapshotResourceStatus",
"description": "[Output only] ResourceStatus of the Snapshot resource"
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
Expand Down Expand Up @@ -86572,6 +86588,17 @@
},
"type": "object"
},
"SnapshotResourceStatus": {
"id": "SnapshotResourceStatus",
"properties": {
"scheduledDeletionTime": {
"description": "[Output only] Scheduled deletion time of the snapshot. The snapshot will be deleted by the at any point within one hour after the deletion time.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"SnapshotSettings": {
"id": "SnapshotSettings",
"properties": {
Expand Down
Loading

0 comments on commit e40a7e7

Please sign in to comment.