Skip to content

Commit

Permalink
Update discovery documents and generated code
Browse files Browse the repository at this point in the history
automatically_generated_update
  • Loading branch information
amanda-tarafa authored and jskeet committed May 23, 2024
1 parent 203c9be commit f670c8f
Show file tree
Hide file tree
Showing 98 changed files with 10,787 additions and 5,929 deletions.
2 changes: 1 addition & 1 deletion DiscoveryJson/admin_directory_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4671,7 +4671,7 @@
}
}
},
"revision": "20240509",
"revision": "20240521",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down
94 changes: 87 additions & 7 deletions DiscoveryJson/alloydb_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@
}
}
},
"revision": "20240424",
"revision": "20240517",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
Expand Down Expand Up @@ -3246,10 +3246,13 @@
],
"type": "string"
},
"recommendationSignalData": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData",
"observabilityMetricData": {
"$ref": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData",
"description": "More feed data would be added in subsequent CLs"
},
"recommendationSignalData": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData"
},
"resourceHealthSignalData": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData"
},
Expand Down Expand Up @@ -3423,7 +3426,11 @@
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES",
"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES",
"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS",
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"
],
"enumDeprecated": [
false,
Expand Down Expand Up @@ -3492,6 +3499,10 @@
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand Down Expand Up @@ -3561,7 +3572,11 @@
"Performance impact of connections settings",
"Performance impact of temporary tables settings",
"Performance impact of transaction logs settings",
"Performance impact of high joins without indexes"
"Performance impact of high joins without indexes",
"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.",
"Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.",
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible."
],
"type": "string"
},
Expand Down Expand Up @@ -3744,6 +3759,10 @@
"description": "The resource location. REQUIRED",
"type": "string"
},
"machineConfiguration": {
"$ref": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration",
"description": "Machine configuration for this resource."
},
"primaryResourceId": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId",
"description": "Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional."
Expand Down Expand Up @@ -3902,7 +3921,11 @@
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES",
"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES",
"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS",
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"
],
"enumDeprecated": [
false,
Expand Down Expand Up @@ -3971,6 +3994,10 @@
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand Down Expand Up @@ -4040,7 +4067,11 @@
"Performance impact of connections settings",
"Performance impact of temporary tables settings",
"Performance impact of transaction logs settings",
"Performance impact of high joins without indexes"
"Performance impact of high joins without indexes",
"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.",
"Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.",
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible."
],
"type": "string"
}
Expand Down Expand Up @@ -4080,6 +4111,55 @@
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainMachineConfiguration": {
"description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.",
"id": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration",
"properties": {
"cpuCount": {
"description": "The number of CPUs.",
"format": "int32",
"type": "integer"
},
"memorySizeInBytes": {
"description": "Memory size in bytes.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainObservabilityMetricData": {
"id": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData",
"properties": {
"metricTimestamp": {
"description": "Required. The timestamp of the metric value.",
"format": "google-datetime",
"type": "string"
},
"metricType": {
"description": "Required. Type of metric like CPU, Memory, etc.",
"enum": [
"METRIC_TYPE_UNSPECIFIED",
"INSTANCE_PEAK_CPU_UTILISATION"
],
"enumDescriptions": [
"",
"Peak CPU utilization for a DB instance as a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases) List will keep increasing, e.g. PEAK_MEMORY_UTILISATION, NUMBER_OF_CONNECTIONS, SUCCESS_RATIO_FOR_QUERIES, etc."
],
"type": "string"
},
"resourceName": {
"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel",
"type": "string"
},
"value": {
"description": "Required. Value of the metric type.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainOperationError": {
"description": "An error that occurred during a backup creation operation.",
"id": "StorageDatabasecenterPartnerapiV1mainOperationError",
Expand Down
12 changes: 7 additions & 5 deletions DiscoveryJson/analyticsadmin_v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -4617,7 +4617,7 @@
}
}
},
"revision": "20240402",
"revision": "20240521",
"rootUrl": "https://analyticsadmin.googleapis.com/",
"schemas": {
"GoogleAnalyticsAdminV1alphaAccessBetweenFilter": {
Expand Down Expand Up @@ -5230,6 +5230,12 @@
"readOnly": true,
"type": "boolean"
},
"createTime": {
"description": "Output only. Time when the Audience was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"description": {
"description": "Required. The description of the Audience.",
"type": "string"
Expand Down Expand Up @@ -6384,10 +6390,6 @@
"description": "Request message for CreateSubproperty RPC.",
"id": "GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest",
"properties": {
"parent": {
"description": "Required. The ordinary property for which to create a subproperty. Format: properties/property_id Example: properties/123",
"type": "string"
},
"subproperty": {
"$ref": "GoogleAnalyticsAdminV1alphaProperty",
"description": "Required. The subproperty to create."
Expand Down
29 changes: 19 additions & 10 deletions DiscoveryJson/androidmanagement_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,11 @@
"id": "androidmanagement.signupUrls.create",
"parameterOrder": [],
"parameters": {
"adminEmail": {
"description": "Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user.",
"location": "query",
"type": "string"
},
"callbackUrl": {
"description": "The callback URL that the admin will be redirected to after successfully creating an enterprise. Before redirecting there the system will add a query parameter to this URL named enterpriseToken which will contain an opaque token to be used for the create enterprise request. The URL will be parsed then reformatted in order to add the enterpriseToken parameter, so there may be some minor formatting changes.",
"location": "query",
Expand All @@ -1163,7 +1168,7 @@
}
}
},
"revision": "20240425",
"revision": "20240516",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -1936,7 +1941,7 @@
"id": "BatchUsageLogEvents",
"properties": {
"device": {
"description": "The name of the device in the form \u2018enterprises/{enterpriseId}/devices/{deviceId}\u2019",
"description": "If present, the name of the device in the form \u2018enterprises/{enterpriseId}/devices/{deviceId}\u2019",
"type": "string"
},
"retrievalTime": {
Expand All @@ -1952,7 +1957,7 @@
"type": "array"
},
"user": {
"description": "The resource name of the user that owns this device in the form \u2018enterprises/{enterpriseId}/users/{userId}\u2019.",
"description": "If present, the resource name of the user that owns this device in the form \u2018enterprises/{enterpriseId}/users/{userId}\u2019.",
"type": "string"
}
},
Expand Down Expand Up @@ -2470,7 +2475,8 @@
"DELETED",
"PROVISIONING",
"LOST",
"PREPARING_FOR_MIGRATION"
"PREPARING_FOR_MIGRATION",
"DEACTIVATED_BY_DEVICE_FINANCE"
],
"enumDescriptions": [
"This value is disallowed.",
Expand All @@ -2479,7 +2485,8 @@
"The device was deleted. This state is never returned by an API call, but is used in the final status report when the device acknowledges the deletion. If the device is deleted via the API call, this state is published to Pub/Sub. If the user deletes the work profile or resets the device, the device state will remain unknown to the server.",
"The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.",
"The device is lost. This state is only possible on organization-owned devices.",
"The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue."
"The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue.",
"This is a financed device that has been \"locked\" by the financing agent. This means certain policy settings have been applied which limit device functionality until the device has been \"unlocked\" by the financing agent. The device will continue to apply policy settings excluding those overridden by the financing agent. When the device is \"locked\", the state is reported in appliedState as DEACTIVATED_BY_DEVICE_FINANCE."
],
"type": "string"
},
Expand Down Expand Up @@ -2640,7 +2647,8 @@
"DELETED",
"PROVISIONING",
"LOST",
"PREPARING_FOR_MIGRATION"
"PREPARING_FOR_MIGRATION",
"DEACTIVATED_BY_DEVICE_FINANCE"
],
"enumDescriptions": [
"This value is disallowed.",
Expand All @@ -2649,7 +2657,8 @@
"The device was deleted. This state is never returned by an API call, but is used in the final status report when the device acknowledges the deletion. If the device is deleted via the API call, this state is published to Pub/Sub. If the user deletes the work profile or resets the device, the device state will remain unknown to the server.",
"The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.",
"The device is lost. This state is only possible on organization-owned devices.",
"The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue."
"The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue.",
"This is a financed device that has been \"locked\" by the financing agent. This means certain policy settings have been applied which limit device functionality until the device has been \"unlocked\" by the financing agent. The device will continue to apply policy settings excluding those overridden by the financing agent. When the device is \"locked\", the state is reported in appliedState as DEACTIVATED_BY_DEVICE_FINANCE."
],
"type": "string"
},
Expand Down Expand Up @@ -5456,7 +5465,7 @@
"type": "string"
},
"imei": {
"description": "IMEI number of the GSM device. For example, A1000031212.",
"description": "For corporate-owned devices, IMEI number of the GSM device. For example, A1000031212.",
"type": "string"
},
"managementMode": {
Expand All @@ -5474,7 +5483,7 @@
"type": "string"
},
"meid": {
"description": "MEID number of the CDMA device. For example, A00000292788E1.",
"description": "For corporate-owned devices, MEID number of the CDMA device. For example, A00000292788E1.",
"type": "string"
},
"model": {
Expand All @@ -5500,7 +5509,7 @@
"type": "string"
},
"serialNumber": {
"description": "The device serial number.",
"description": "For corporate-owned devices, The device serial number.",
"type": "string"
}
},
Expand Down
14 changes: 9 additions & 5 deletions DiscoveryJson/batch_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
}
}
},
"revision": "20240425",
"revision": "20240517",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -751,6 +751,10 @@
"description": "If the GCP instance has received preemption notice.",
"type": "boolean"
},
"machineType": {
"description": "Optional. machine type of the VM",
"type": "string"
},
"osRelease": {
"additionalProperties": {
"type": "string"
Expand Down Expand Up @@ -907,7 +911,7 @@
"description": "Environment variables to set before running the Task."
},
"maxRunDuration": {
"description": "Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999],",
"description": "Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`\u2014for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.",
"format": "google-duration",
"type": "string"
},
Expand Down Expand Up @@ -1253,7 +1257,7 @@
"id": "InstancePolicyOrTemplate",
"properties": {
"installGpuDrivers": {
"description": "Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.",
"description": "Set this field true if you want Batch to help fetch drivers from a third party location and install them for GPUs specified in `policy.accelerators` or `instance_template` on your behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.",
"type": "boolean"
},
"instanceTemplate": {
Expand Down Expand Up @@ -2067,7 +2071,7 @@
"id": "TaskExecution",
"properties": {
"exitCode": {
"description": "The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: - Batch known failures as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable execution failures: You can rely on Batch logs for further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error caught for now.",
"description": "The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: * Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error.",
"format": "int32",
"type": "integer"
}
Expand Down Expand Up @@ -2193,7 +2197,7 @@
"type": "integer"
},
"maxRunDuration": {
"description": "Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999],",
"description": "Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`\u2014for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.",
"format": "google-duration",
"type": "string"
},
Expand Down
4 changes: 2 additions & 2 deletions DiscoveryJson/bigquery_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1935,7 +1935,7 @@
}
}
},
"revision": "20240423",
"revision": "20240418",
"rootUrl": "https://bigquery.googleapis.com/",
"schemas": {
"AggregateClassificationMetrics": {
Expand Down Expand Up @@ -9006,7 +9006,7 @@
"readOnly": true
},
"replicationIntervalMs": {
"description": "Optional. Specifies the interval at which the source table is polled for updates. It's Optional. If not specified, default replication interval would be applied.",
"description": "Required. Specifies the interval at which the source table is polled for updates.",
"format": "int64",
"type": "string"
},
Expand Down
Loading

0 comments on commit f670c8f

Please sign in to comment.