Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: run the generator #3487

Merged
merged 7 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9,289 changes: 1,528 additions & 7,761 deletions discovery/aiplatform-v1.json

Large diffs are not rendered by default.

8,441 changes: 1,104 additions & 7,337 deletions discovery/aiplatform-v1beta1.json

Large diffs are not rendered by default.

28 changes: 27 additions & 1 deletion discovery/container-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2540,7 +2540,7 @@
}
}
},
"revision": "20240409",
"revision": "20240422",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -3369,6 +3369,16 @@
"$ref": "ResourceUsageExportConfig",
"description": "Configuration for exporting resource usages. Resource usage export is disabled when this config is unspecified."
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"securityPostureConfig": {
"$ref": "SecurityPostureConfig",
"description": "Enable/Disable Security Posture API features for the cluster."
Expand Down Expand Up @@ -3661,6 +3671,14 @@
"$ref": "ClusterNetworkPerformanceConfig",
"description": "The desired network performance config."
},
"desiredNodeKubeletConfig": {
"$ref": "NodeKubeletConfig",
"description": "The desired node kubelet config for the cluster."
},
"desiredNodePoolAutoConfigKubeletConfig": {
"$ref": "NodeKubeletConfig",
"description": "The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters."
},
"desiredNodePoolAutoConfigNetworkTags": {
"$ref": "NetworkTags",
"description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters."
Expand Down Expand Up @@ -5463,6 +5481,10 @@
"loggingConfig": {
"$ref": "NodePoolLoggingConfig",
"description": "Logging configuration for node pools."
},
"nodeKubeletConfig": {
"$ref": "NodeKubeletConfig",
"description": "NodeKubeletConfig controls the defaults for new node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here."
}
},
"type": "object"
Expand Down Expand Up @@ -5709,6 +5731,10 @@
"$ref": "NetworkTags",
"description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035."
},
"nodeKubeletConfig": {
"$ref": "NodeKubeletConfig",
"description": "NodeKubeletConfig controls the defaults for autoprovisioned node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here."
},
"resourceManagerTags": {
"$ref": "ResourceManagerTags",
"description": "Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies."
Expand Down
7 changes: 6 additions & 1 deletion discovery/logging-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -8132,7 +8132,7 @@
}
}
},
"revision": "20240426",
"revision": "20240503",
"rootUrl": "https://logging.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -9576,6 +9576,11 @@
"description": "Required. The client-assigned metric identifier. Examples: \"error_count\", \"nginx/requests\".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.This field is the [METRIC_ID] part of a metric resource name in the format \"projects/PROJECT_ID/metrics/METRIC_ID\". Example: If the resource name of a metric is \"projects/my-project/metrics/nginx%2Frequests\", this field's value is \"nginx/requests\".",
"type": "string"
},
"resourceName": {
"description": "Output only. The resource name of the metric: \"projects/[PROJECT_ID]/metrics/[METRIC_ID]\" ",
"readOnly": true,
"type": "string"
},
"updateTime": {
"description": "Output only. The last update timestamp of the metric.This field may not be present for older metrics.",
"format": "google-datetime",
Expand Down
101 changes: 100 additions & 1 deletion discovery/monitoring-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@
}
}
},
"revision": "20240427",
"revision": "20240505",
"rootUrl": "https://monitoring.googleapis.com/",
"schemas": {
"Aggregation": {
Expand Down Expand Up @@ -1037,6 +1037,10 @@
"description": "A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.",
"id": "Dashboard",
"properties": {
"annotations": {
"$ref": "DashboardAnnotations",
"description": "Configuration for event annotations to display on this dashboard."
},
"columnLayout": {
"$ref": "ColumnLayout",
"description": "The content is divided into equally spaced columns and the widgets are arranged vertically."
Expand Down Expand Up @@ -1082,6 +1086,27 @@
},
"type": "object"
},
"DashboardAnnotations": {
"description": "Dashboard-level configuration for annotations",
"id": "DashboardAnnotations",
"properties": {
"defaultResourceNames": {
"description": "Dashboard level defaults for names of logging resources to search for events. Currently only projects are supported. Each individual EventAnnotation may have its own overrides. If both this field and the per annotation field is empty, then the scoping project is used. Limit: 50 projects. For example: “projects/some-project-id” ",
"items": {
"type": "string"
},
"type": "array"
},
"eventAnnotations": {
"description": "List of annotation configurations for this dashboard. Each entry specifies one event type.",
"items": {
"$ref": "EventAnnotation"
},
"type": "array"
}
},
"type": "object"
},
"DashboardFilter": {
"description": "A filter to reduce the amount of data charted in relevant widgets.",
"id": "DashboardFilter",
Expand Down Expand Up @@ -1301,6 +1326,80 @@
},
"type": "object"
},
"EventAnnotation": {
"description": "Annotation configuration for one event type on a dashboard",
"id": "EventAnnotation",
"properties": {
"displayName": {
"description": "Solely for UI display. Should not be used programmatically.",
"type": "string"
},
"enabled": {
"description": "Whether or not to show the events on the dashboard by default",
"type": "boolean"
},
"eventType": {
"description": "The type of event to display.",
"enum": [
"EVENT_TYPE_UNSPECIFIED",
"GKE_WORKLOAD_DEPLOYMENT",
"GKE_POD_CRASH",
"GKE_POD_UNSCHEDULABLE",
"GKE_CONTAINER_CREATION_FAILED",
"GKE_CLUSTER_CREATE_DELETE",
"GKE_CLUSTER_UPDATE",
"GKE_NODE_POOL_UPDATE",
"GKE_CLUSTER_AUTOSCALER",
"GKE_POD_AUTOSCALER",
"VM_TERMINATION",
"VM_GUEST_OS_ERROR",
"VM_START_FAILED",
"MIG_UPDATE",
"MIG_AUTOSCALER",
"CLOUD_RUN_DEPLOYMENT",
"CLOUD_SQL_FAILOVER",
"CLOUD_SQL_START_STOP",
"CLOUD_SQL_STORAGE",
"UPTIME_CHECK_FAILURE"
],
"enumDescriptions": [
"No event type specified.",
"Patch/update of GKE workload.",
"Crash events for a GKE Pod.",
"Scheduling failures for GKE Pods.",
"Failure to create a GKE container.",
"Create/delete of a GKE cluster.",
"Update of a GKE cluster.",
"Update of a GKE node pool.",
"GKE cluster autoscaler event.",
"GKE pod autoscaler event.",
"Termination of a virtual machine.",
"Guest OS error on a virtual machine.",
"Start failure on a virtual machine.",
"Update of a managed instance group.",
"Autoscaler event for a managed instance group.",
"New deployment of a Cloud Run service.",
"Failover of a Cloud SQL instance.",
"Start/stop of a Cloud SQL instance.",
"Storage event for a Cloud SQL instance.",
"Failure of a Cloud Monitoring uptime check."
],
"type": "string"
},
"filter": {
"description": "string filtering the events - event dependant. Example values: \"resource.labels.pod_name = 'pod-1'\" \"protoPayload.authenticationInfo.principalEmail='[email protected]'\" ",
"type": "string"
},
"resourceNames": {
"description": "Per annotation level override for the names of logging resources to search for events. Currently only projects are supported. If both this field and the per annotation field is empty, it will default to the host project. Limit: 50 projects. For example: “projects/another-project-id” ",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Field": {
"description": "A single field of a message type.",
"id": "Field",
Expand Down
6 changes: 3 additions & 3 deletions discovery/networksecurity-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3162,7 +3162,7 @@
}
}
},
"revision": "20240306",
"revision": "20240505",
"rootUrl": "https://networksecurity.googleapis.com/",
"schemas": {
"AddAddressGroupItemsRequest": {
Expand Down Expand Up @@ -4408,7 +4408,7 @@
"type": "object"
},
"SecurityProfile": {
"description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 9",
"description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10",
"id": "SecurityProfile",
"properties": {
"createTime": {
Expand Down Expand Up @@ -4463,7 +4463,7 @@
"type": "object"
},
"SecurityProfileGroup": {
"description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 8",
"description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9",
"id": "SecurityProfileGroup",
"properties": {
"createTime": {
Expand Down
23 changes: 3 additions & 20 deletions discovery/networksecurity-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3162,7 +3162,7 @@
}
}
},
"revision": "20240505",
"revision": "20240320",
"rootUrl": "https://networksecurity.googleapis.com/",
"schemas": {
"AddAddressGroupItemsRequest": {
Expand Down Expand Up @@ -3220,23 +3220,6 @@
"description": "Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.",
"type": "string"
},
"purpose": {
"description": "Optional. List of supported purposes of the Address Group.",
"items": {
"enum": [
"PURPOSE_UNSPECIFIED",
"DEFAULT",
"CLOUD_ARMOR"
],
"enumDescriptions": [
"Default value. Should never happen.",
"Address Group is distributed to VMC, and is usable in Firewall Policies and other systems that rely on VMC.",
"Address Group is usable in Cloud Armor."
],
"type": "string"
},
"type": "array"
},
"selfLink": {
"description": "Output only. Server-defined fully-qualified URL for this resource.",
"readOnly": true,
Expand Down Expand Up @@ -4425,7 +4408,7 @@
"type": "object"
},
"SecurityProfile": {
"description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10",
"description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 9",
"id": "SecurityProfile",
"properties": {
"createTime": {
Expand Down Expand Up @@ -4480,7 +4463,7 @@
"type": "object"
},
"SecurityProfileGroup": {
"description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9",
"description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 8",
"id": "SecurityProfileGroup",
"properties": {
"createTime": {
Expand Down
4 changes: 2 additions & 2 deletions discovery/networkservices-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2756,7 +2756,7 @@
}
}
},
"revision": "20240502",
"revision": "20240415",
"rootUrl": "https://networkservices.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -3080,7 +3080,7 @@
"type": "object"
},
"Gateway": {
"description": "Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway. Next id: 33",
"description": "Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway. Next id: 32",
"id": "Gateway",
"properties": {
"addresses": {
Expand Down
4 changes: 2 additions & 2 deletions discovery/networkservices-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2483,7 +2483,7 @@
}
}
},
"revision": "20240415",
"revision": "20240506",
"rootUrl": "https://networkservices.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -2764,7 +2764,7 @@
"type": "object"
},
"Gateway": {
"description": "Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway. Next id: 32",
"description": "Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway. Next id: 33",
"id": "Gateway",
"properties": {
"addresses": {
Expand Down
8 changes: 5 additions & 3 deletions discovery/pubsub-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@
}
}
},
"revision": "20240416",
"revision": "20240430",
"rootUrl": "https://pubsub.googleapis.com/",
"schemas": {
"AcknowledgeRequest": {
Expand Down Expand Up @@ -1774,14 +1774,16 @@
"ACTIVE",
"PERMISSION_DENIED",
"NOT_FOUND",
"IN_TRANSIT_LOCATION_RESTRICTION"
"IN_TRANSIT_LOCATION_RESTRICTION",
"SCHEMA_MISMATCH"
],
"enumDescriptions": [
"Default value. This value is unused.",
"The subscription can actively send messages to Cloud Storage.",
"Cannot write to the Cloud Storage bucket because of permission denied errors.",
"Cannot write to the Cloud Storage bucket because it does not exist.",
"Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions."
"Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions.",
"Cannot write to the Cloud Storage bucket due to an incompatibility between the topic schema and subscription settings."
],
"readOnly": true,
"type": "string"
Expand Down
4 changes: 2 additions & 2 deletions discovery/run-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@
}
}
},
"revision": "20240426",
"revision": "20240503",
"rootUrl": "https://run.googleapis.com/",
"schemas": {
"GoogleCloudRunV2BinaryAuthorization": {
Expand Down Expand Up @@ -4681,7 +4681,7 @@
"type": "array"
},
"buildStepOutputs": {
"description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.",
"description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't be substituted.",
"items": {
"format": "byte",
"type": "string"
Expand Down
Loading
Loading