diff --git a/artifactregistry/v1/artifactregistry-api.json b/artifactregistry/v1/artifactregistry-api.json index 9febf96e0b3..f1eee7689cf 100644 --- a/artifactregistry/v1/artifactregistry-api.json +++ b/artifactregistry/v1/artifactregistry-api.json @@ -19,6 +19,216 @@ "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/artifacts/docs/", "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east7.rep.googleapis.com/", + "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west8.rep.googleapis.com/", + "location": "us-west8" + }, { "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-central2.rep.googleapis.com/", @@ -704,7 +914,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of artifacts to return.", + "description": "The maximum number of artifacts to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -809,7 +1019,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of files to return.", + "description": "The maximum number of files to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -841,7 +1051,7 @@ "genericArtifacts": { "methods": { "upload": { - "description": "Directly uploads a Generic artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the uploaded artifact. Uploaded artifacts that conflict with existing resources will raise an ALREADY_EXISTS error.", + "description": "Directly uploads a Generic artifact. The returned operation will complete once the resources are uploaded. Package, version, and file resources are created based on the uploaded artifact. Uploaded artifacts that conflict with existing resources will raise an `ALREADY_EXISTS` error.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/genericArtifacts:create", "httpMethod": "POST", "id": "artifactregistry.projects.locations.repositories.genericArtifacts.upload", @@ -1084,7 +1294,7 @@ ], "parameters": { "pageSize": { - "description": "The maximum number of artifacts to return.", + "description": "The maximum number of artifacts to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -1151,7 +1361,7 @@ ], "parameters": { "pageSize": { - "description": "The maximum number of artifacts to return.", + "description": "The maximum number of artifacts to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -1407,7 +1617,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of tags to return. Maximum page size is 10,000.", + "description": "The maximum number of tags to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -1670,7 +1880,7 @@ ], "parameters": { "pageSize": { - "description": "The maximum number of artifacts to return.", + "description": "The maximum number of artifacts to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -1778,7 +1988,7 @@ } } }, - "revision": "20240501", + "revision": "20240513", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -3303,14 +3513,16 @@ "STANDARD_REPOSITORY", "VIRTUAL_REPOSITORY", "REMOTE_REPOSITORY", - "AOSS_REPOSITORY" + "AOSS_REPOSITORY", + "ASSURED_OSS_REPOSITORY" ], "enumDescriptions": [ "Unspecified mode.", "A standard repository storing artifacts.", "A virtual repository to serve artifacts from one or more sources.", "A remote repository to serve artifacts from a remote source.", - "An AOSS repository provides artifacts from AOSS upstreams." + "An AOSS repository provides artifacts from AOSS upstreams.", + "Replacement of AOSS_REPOSITORY." ], "type": "string" }, @@ -3491,20 +3703,15 @@ "id": "UploadGenericArtifactRequest", "properties": { "filename": { - "description": "The name of the file of the generic artifact to be uploaded. E.g. \"example-file.zip\" The filename should only include letters, numbers, and url safe characters, i.e. [a-zA-Z0-9-_.~@].", - "type": "string" - }, - "name": { - "deprecated": true, - "description": "Deprecated. Use package_id, version_id and filename instead. The resource name of the generic artifact. E.g. \"projects/math/locations/us/repositories/operations/genericArtifacts/addition/1.0.0/add.py\"", + "description": "The name of the file of the generic artifact to be uploaded. E.g. `example-file.zip` The filename is limited to letters, numbers, and url safe characters, i.e. [a-zA-Z0-9-_.~@].", "type": "string" }, "packageId": { - "description": "The ID of the package of the generic artifact. If the package does not exist, a new package will be created. E.g. \"pkg-1\" The package_id must start with a letter, end with a letter or number, only contain letters, numbers, hyphens and periods i.e. [a-z0-9-.], and cannot exceed 256 characters.", + "description": "The ID of the package of the generic artifact. If the package does not exist, a new package will be created. The `package_id` must start with a letter, end with a letter or number, only contain letters, numbers, hyphens and periods i.e. [a-z0-9-.], and cannot exceed 256 characters.", "type": "string" }, "versionId": { - "description": "The ID of the version of the generic artifact. If the version does not exist, a new version will be created. E.g.\"1.0.0\" The version_id must start and end with a letter or number, can only contain lowercase letters, numbers, hyphens and periods, i.e. [a-z0-9-.] and cannot exceed a total of 128 characters. While \"latest\" is a well-known name for the latest version of a package, it is not yet supported and is reserved for future use. Creating a version called \"latest\" is not allowed.", + "description": "The ID of the version of the generic artifact. If the version does not exist, a new version will be created. The version_id must start and end with a letter or number, can only contain lowercase letters, numbers, hyphens and periods, i.e. [a-z0-9-.] and cannot exceed a total of 128 characters. Creating a version called `latest` is not allowed.", "type": "string" } }, @@ -3755,7 +3962,7 @@ "type": "object" }, "VirtualRepositoryConfig": { - "description": "LINT.IfChange Virtual repository configuration.", + "description": "Virtual repository configuration.", "id": "VirtualRepositoryConfig", "properties": { "upstreamPolicies": { diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index cc4ca588645..fb24f890dd2 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -2462,6 +2462,7 @@ type Repository struct { // source. // "AOSS_REPOSITORY" - An AOSS repository provides artifacts from AOSS // upstreams. + // "ASSURED_OSS_REPOSITORY" - Replacement of AOSS_REPOSITORY. Mode string `json:"mode,omitempty"` // Name: The name of the repository, for example: // `projects/p1/locations/us-central1/repositories/repo1`. For each location in @@ -2744,27 +2745,19 @@ type UploadGenericArtifactMetadata struct { // the resource name {parent}/files/package_id:version_id:filename. type UploadGenericArtifactRequest struct { // Filename: The name of the file of the generic artifact to be uploaded. E.g. - // "example-file.zip" The filename should only include letters, numbers, and - // url safe characters, i.e. [a-zA-Z0-9-_.~@]. + // `example-file.zip` The filename is limited to letters, numbers, and url safe + // characters, i.e. [a-zA-Z0-9-_.~@]. Filename string `json:"filename,omitempty"` - // Name: Deprecated. Use package_id, version_id and filename instead. The - // resource name of the generic artifact. E.g. - // "projects/math/locations/us/repositories/operations/genericArtifacts/addition - // /1.0.0/add.py" - Name string `json:"name,omitempty"` // PackageId: The ID of the package of the generic artifact. If the package - // does not exist, a new package will be created. E.g. "pkg-1" The package_id - // must start with a letter, end with a letter or number, only contain letters, - // numbers, hyphens and periods i.e. [a-z0-9-.], and cannot exceed 256 - // characters. + // does not exist, a new package will be created. The `package_id` must start + // with a letter, end with a letter or number, only contain letters, numbers, + // hyphens and periods i.e. [a-z0-9-.], and cannot exceed 256 characters. PackageId string `json:"packageId,omitempty"` // VersionId: The ID of the version of the generic artifact. If the version - // does not exist, a new version will be created. E.g."1.0.0" The version_id - // must start and end with a letter or number, can only contain lowercase - // letters, numbers, hyphens and periods, i.e. [a-z0-9-.] and cannot exceed a - // total of 128 characters. While "latest" is a well-known name for the latest - // version of a package, it is not yet supported and is reserved for future - // use. Creating a version called "latest" is not allowed. + // does not exist, a new version will be created. The version_id must start and + // end with a letter or number, can only contain lowercase letters, numbers, + // hyphens and periods, i.e. [a-z0-9-.] and cannot exceed a total of 128 + // characters. Creating a version called `latest` is not allowed. VersionId string `json:"versionId,omitempty"` // ForceSendFields is a list of field names (e.g. "Filename") to // unconditionally include in API requests. By default, fields with empty or @@ -3147,7 +3140,7 @@ func (s *Version) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// VirtualRepositoryConfig: LINT.IfChange Virtual repository configuration. +// VirtualRepositoryConfig: Virtual repository configuration. type VirtualRepositoryConfig struct { // UpstreamPolicies: Policies that configure the upstream artifacts distributed // by the Virtual Repository. Upstream policies cannot be set on a standard @@ -5349,7 +5342,7 @@ func (c *ProjectsLocationsRepositoriesDockerImagesListCall) OrderBy(orderBy stri } // PageSize sets the optional parameter "pageSize": The maximum number of -// artifacts to return. +// artifacts to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesDockerImagesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesDockerImagesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -5744,7 +5737,7 @@ func (c *ProjectsLocationsRepositoriesFilesListCall) OrderBy(orderBy string) *Pr } // PageSize sets the optional parameter "pageSize": The maximum number of files -// to return. +// to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesFilesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesFilesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -5878,10 +5871,10 @@ type ProjectsLocationsRepositoriesGenericArtifactsUploadCall struct { header_ http.Header } -// Upload: Directly uploads a Generic artifact. The returned Operation will -// complete once the resources are uploaded. Package, Version, and File +// Upload: Directly uploads a Generic artifact. The returned operation will +// complete once the resources are uploaded. Package, version, and file // resources are created based on the uploaded artifact. Uploaded artifacts -// that conflict with existing resources will raise an ALREADY_EXISTS error. +// that conflict with existing resources will raise an `ALREADY_EXISTS` error. // // - parent: The resource name of the repository where the generic artifact // will be uploaded. @@ -6791,7 +6784,7 @@ func (r *ProjectsLocationsRepositoriesMavenArtifactsService) List(parent string) } // PageSize sets the optional parameter "pageSize": The maximum number of -// artifacts to return. +// artifacts to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesMavenArtifactsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesMavenArtifactsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -7041,7 +7034,7 @@ func (r *ProjectsLocationsRepositoriesNpmPackagesService) List(parent string) *P } // PageSize sets the optional parameter "pageSize": The maximum number of -// artifacts to return. +// artifacts to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesNpmPackagesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesNpmPackagesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -7964,7 +7957,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) Filter(filter string } // PageSize sets the optional parameter "pageSize": The maximum number of tags -// to return. Maximum page size is 10,000. +// to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesPackagesTagsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -8829,7 +8822,7 @@ func (r *ProjectsLocationsRepositoriesPythonPackagesService) List(parent string) } // PageSize sets the optional parameter "pageSize": The maximum number of -// artifacts to return. +// artifacts to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesPythonPackagesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesPythonPackagesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c diff --git a/artifactregistry/v1beta1/artifactregistry-api.json b/artifactregistry/v1beta1/artifactregistry-api.json index 304020b49e5..2d7938e9164 100644 --- a/artifactregistry/v1beta1/artifactregistry-api.json +++ b/artifactregistry/v1beta1/artifactregistry-api.json @@ -19,6 +19,216 @@ "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/artifacts/docs/", "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east7.rep.googleapis.com/", + "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west8.rep.googleapis.com/", + "location": "us-west8" + }, { "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-central2.rep.googleapis.com/", @@ -510,7 +720,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of files to return.", + "description": "The maximum number of files to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -732,7 +942,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of tags to return. Maximum page size is 10,000.", + "description": "The maximum number of tags to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -936,7 +1146,7 @@ } } }, - "revision": "20240501", + "revision": "20240513", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "Binding": { diff --git a/artifactregistry/v1beta1/artifactregistry-gen.go b/artifactregistry/v1beta1/artifactregistry-gen.go index 0d360e2f89a..6c42759bf46 100644 --- a/artifactregistry/v1beta1/artifactregistry-gen.go +++ b/artifactregistry/v1beta1/artifactregistry-gen.go @@ -2519,7 +2519,7 @@ func (c *ProjectsLocationsRepositoriesFilesListCall) Filter(filter string) *Proj } // PageSize sets the optional parameter "pageSize": The maximum number of files -// to return. +// to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesFilesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesFilesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -3331,7 +3331,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) Filter(filter string } // PageSize sets the optional parameter "pageSize": The maximum number of tags -// to return. Maximum page size is 10,000. +// to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesPackagesTagsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c diff --git a/artifactregistry/v1beta2/artifactregistry-api.json b/artifactregistry/v1beta2/artifactregistry-api.json index 7fc65f37550..e941986cb7f 100644 --- a/artifactregistry/v1beta2/artifactregistry-api.json +++ b/artifactregistry/v1beta2/artifactregistry-api.json @@ -19,6 +19,216 @@ "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/artifacts/docs/", "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east7.rep.googleapis.com/", + "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west8.rep.googleapis.com/", + "location": "us-west8" + }, { "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-central2.rep.googleapis.com/", @@ -672,7 +882,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of files to return.", + "description": "The maximum number of files to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -928,7 +1138,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of tags to return. Maximum page size is 10,000.", + "description": "The maximum number of tags to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -1204,7 +1414,7 @@ } } }, - "revision": "20240501", + "revision": "20240513", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { diff --git a/artifactregistry/v1beta2/artifactregistry-gen.go b/artifactregistry/v1beta2/artifactregistry-gen.go index bbd7fbd71fc..a5673d50e13 100644 --- a/artifactregistry/v1beta2/artifactregistry-gen.go +++ b/artifactregistry/v1beta2/artifactregistry-gen.go @@ -3650,7 +3650,7 @@ func (c *ProjectsLocationsRepositoriesFilesListCall) Filter(filter string) *Proj } // PageSize sets the optional parameter "pageSize": The maximum number of files -// to return. +// to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesFilesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesFilesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -4573,7 +4573,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) Filter(filter string } // PageSize sets the optional parameter "pageSize": The maximum number of tags -// to return. Maximum page size is 10,000. +// to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesPackagesTagsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c diff --git a/bigquerydatatransfer/v1/bigquerydatatransfer-api.json b/bigquerydatatransfer/v1/bigquerydatatransfer-api.json index 55c7d6eb750..39aafdef634 100644 --- a/bigquerydatatransfer/v1/bigquerydatatransfer-api.json +++ b/bigquerydatatransfer/v1/bigquerydatatransfer-api.json @@ -513,7 +513,7 @@ ], "parameters": { "authorizationCode": { - "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=authorization_code\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", + "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=authorization_code\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", "location": "query", "type": "string" }, @@ -530,7 +530,7 @@ "type": "string" }, "versionInfo": { - "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=version_info\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", + "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=version_info\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", "location": "query", "type": "string" } @@ -653,7 +653,7 @@ ], "parameters": { "authorizationCode": { - "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=authorization_code\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", + "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=authorization_code\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", "location": "query", "type": "string" }, @@ -676,7 +676,7 @@ "type": "string" }, "versionInfo": { - "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=version_info\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", + "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=version_info\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", "location": "query", "type": "string" } @@ -961,7 +961,7 @@ ], "parameters": { "authorizationCode": { - "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=authorization_code\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", + "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=authorization_code\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", "location": "query", "type": "string" }, @@ -978,7 +978,7 @@ "type": "string" }, "versionInfo": { - "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=version_info\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", + "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=version_info\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", "location": "query", "type": "string" } @@ -1101,7 +1101,7 @@ ], "parameters": { "authorizationCode": { - "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=authorization_code\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", + "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=authorization_code\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", "location": "query", "type": "string" }, @@ -1124,7 +1124,7 @@ "type": "string" }, "versionInfo": { - "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=version_info\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", + "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob\u0026response_type=version_info\u0026client_id=client_id\u0026scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", "location": "query", "type": "string" } @@ -1398,7 +1398,7 @@ } } }, - "revision": "20240323", + "revision": "20240512", "rootUrl": "https://bigquerydatatransfer.googleapis.com/", "schemas": { "CheckValidCredsRequest": { diff --git a/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go b/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go index 92cbcc20f9c..3ddce459773 100644 --- a/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go +++ b/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go @@ -2586,7 +2586,7 @@ func (r *ProjectsLocationsTransferConfigsService) Create(parent string, transfer // required only if `transferConfig.dataSourceId` is 'youtube_channel' and new // credentials are needed, as indicated by `CheckValidCreds`. In order to // obtain authorization_code, make a request to the following URL: -// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes +// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes // * The client_id is the OAuth client_id of the a data source as returned by // ListDataSources method. * data_source_scopes are the scopes returned by // ListDataSources method. Note that this should not be set when @@ -2614,7 +2614,7 @@ func (c *ProjectsLocationsTransferConfigsCreateCall) ServiceAccountName(serviceA // 'youtube_channel' and new credentials are needed, as indicated by // `CheckValidCreds`. In order to obtain version info, make a request to the // following URL: -// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes +// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes // * The client_id is the OAuth client_id of the a data source as returned by // ListDataSources method. * data_source_scopes are the scopes returned by // ListDataSources method. Note that this should not be set when @@ -3099,7 +3099,7 @@ func (r *ProjectsLocationsTransferConfigsService) Patch(name string, transfercon // required only if `transferConfig.dataSourceId` is 'youtube_channel' and new // credentials are needed, as indicated by `CheckValidCreds`. In order to // obtain authorization_code, make a request to the following URL: -// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes +// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes // * The client_id is the OAuth client_id of the a data source as returned by // ListDataSources method. * data_source_scopes are the scopes returned by // ListDataSources method. Note that this should not be set when @@ -3134,7 +3134,7 @@ func (c *ProjectsLocationsTransferConfigsPatchCall) UpdateMask(updateMask string // 'youtube_channel' and new credentials are needed, as indicated by // `CheckValidCreds`. In order to obtain version info, make a request to the // following URL: -// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes +// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes // * The client_id is the OAuth client_id of the a data source as returned by // ListDataSources method. * data_source_scopes are the scopes returned by // ListDataSources method. Note that this should not be set when @@ -4022,7 +4022,7 @@ func (r *ProjectsTransferConfigsService) Create(parent string, transferconfig *T // required only if `transferConfig.dataSourceId` is 'youtube_channel' and new // credentials are needed, as indicated by `CheckValidCreds`. In order to // obtain authorization_code, make a request to the following URL: -// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes +// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes // * The client_id is the OAuth client_id of the a data source as returned by // ListDataSources method. * data_source_scopes are the scopes returned by // ListDataSources method. Note that this should not be set when @@ -4050,7 +4050,7 @@ func (c *ProjectsTransferConfigsCreateCall) ServiceAccountName(serviceAccountNam // 'youtube_channel' and new credentials are needed, as indicated by // `CheckValidCreds`. In order to obtain version info, make a request to the // following URL: -// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes +// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes // * The client_id is the OAuth client_id of the a data source as returned by // ListDataSources method. * data_source_scopes are the scopes returned by // ListDataSources method. Note that this should not be set when @@ -4535,7 +4535,7 @@ func (r *ProjectsTransferConfigsService) Patch(name string, transferconfig *Tran // required only if `transferConfig.dataSourceId` is 'youtube_channel' and new // credentials are needed, as indicated by `CheckValidCreds`. In order to // obtain authorization_code, make a request to the following URL: -// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes +// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes // * The client_id is the OAuth client_id of the a data source as returned by // ListDataSources method. * data_source_scopes are the scopes returned by // ListDataSources method. Note that this should not be set when @@ -4570,7 +4570,7 @@ func (c *ProjectsTransferConfigsPatchCall) UpdateMask(updateMask string) *Projec // 'youtube_channel' and new credentials are needed, as indicated by // `CheckValidCreds`. In order to obtain version info, make a request to the // following URL: -// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes +// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes // * The client_id is the OAuth client_id of the a data source as returned by // ListDataSources method. * data_source_scopes are the scopes returned by // ListDataSources method. Note that this should not be set when diff --git a/containeranalysis/v1/containeranalysis-api.json b/containeranalysis/v1/containeranalysis-api.json index cd78b9662f2..5ac62bafbf2 100644 --- a/containeranalysis/v1/containeranalysis-api.json +++ b/containeranalysis/v1/containeranalysis-api.json @@ -1065,7 +1065,7 @@ } } }, - "revision": "20240503", + "revision": "20240514", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2961,6 +2961,26 @@ }, "type": "object" }, + "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation": { + "description": "Represents a storage location in Cloud Storage", + "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", + "properties": { + "bucket": { + "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", + "type": "string" + }, + "generation": { + "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "format": "int64", + "type": "string" + }, + "object": { + "description": "Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames", + "type": "string" + } + }, + "type": "object" + }, "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", @@ -2979,6 +2999,10 @@ "proxySecretVersionName": { "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", "type": "string" + }, + "proxySslCaInfo": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", + "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" diff --git a/containeranalysis/v1/containeranalysis-gen.go b/containeranalysis/v1/containeranalysis-gen.go index 7b43c5ea01d..b5f5092c779 100644 --- a/containeranalysis/v1/containeranalysis-gen.go +++ b/containeranalysis/v1/containeranalysis-gen.go @@ -2308,6 +2308,36 @@ func (s *ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes) MarshalJSON() ([ return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation: Represents a storage +// location in Cloud Storage +type ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation struct { + // Bucket: Cloud Storage bucket. See + // https://cloud.google.com/storage/docs/naming#requirements + Bucket string `json:"bucket,omitempty"` + // Generation: Cloud Storage generation for the object. If the generation is + // omitted, the latest generation will be used. + Generation int64 `json:"generation,omitempty,string"` + // Object: Cloud Storage object. See + // https://cloud.google.com/storage/docs/naming#objectnames + Object string `json:"object,omitempty"` + // ForceSendFields is a list of field names (e.g. "Bucket") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Bucket") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s *ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation) MarshalJSON() ([]byte, error) { + type NoMethod ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig: GitConfig is a // configuration for git operations. type ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig struct { @@ -2337,6 +2367,9 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig struct { // ProxySecretVersionName: SecretVersion resource of the HTTP proxy URL. The // proxy URL should be in format protocol://@]proxyhost[:port]. ProxySecretVersionName string `json:"proxySecretVersionName,omitempty"` + // ProxySslCaInfo: Optional. Cloud Storage object storing the certificate to + // use with the HTTP proxy. + ProxySslCaInfo *ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation `json:"proxySslCaInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "ProxySecretVersionName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/containeranalysis/v1alpha1/containeranalysis-api.json b/containeranalysis/v1alpha1/containeranalysis-api.json index 69e240af2f2..d1e140a9713 100644 --- a/containeranalysis/v1alpha1/containeranalysis-api.json +++ b/containeranalysis/v1alpha1/containeranalysis-api.json @@ -1233,7 +1233,7 @@ } } }, - "revision": "20240503", + "revision": "20240514", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AnalysisCompleted": { @@ -2060,6 +2060,10 @@ "$ref": "NonCompliantFile" }, "type": "array" + }, + "version": { + "$ref": "ComplianceVersion", + "description": "The OS and config version the benchmark was run on." } }, "type": "object" @@ -2931,6 +2935,26 @@ }, "type": "object" }, + "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation": { + "description": "Represents a storage location in Cloud Storage", + "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", + "properties": { + "bucket": { + "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", + "type": "string" + }, + "generation": { + "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "format": "int64", + "type": "string" + }, + "object": { + "description": "Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames", + "type": "string" + } + }, + "type": "object" + }, "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", @@ -2949,6 +2973,10 @@ "proxySecretVersionName": { "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", "type": "string" + }, + "proxySslCaInfo": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", + "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" diff --git a/containeranalysis/v1alpha1/containeranalysis-gen.go b/containeranalysis/v1alpha1/containeranalysis-gen.go index 035335a9447..9613c11b73e 100644 --- a/containeranalysis/v1alpha1/containeranalysis-gen.go +++ b/containeranalysis/v1alpha1/containeranalysis-gen.go @@ -1215,6 +1215,8 @@ type ComplianceOccurrence struct { NonComplianceReason string `json:"nonComplianceReason,omitempty"` // NonCompliantFiles: A list of files which are violating compliance checks. NonCompliantFiles []*NonCompliantFile `json:"nonCompliantFiles,omitempty"` + // Version: The OS and config version the benchmark was run on. + Version *ComplianceVersion `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "NonComplianceReason") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -2143,6 +2145,36 @@ func (s *ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes) MarshalJSON() ([ return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation: Represents a storage +// location in Cloud Storage +type ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation struct { + // Bucket: Cloud Storage bucket. See + // https://cloud.google.com/storage/docs/naming#requirements + Bucket string `json:"bucket,omitempty"` + // Generation: Cloud Storage generation for the object. If the generation is + // omitted, the latest generation will be used. + Generation int64 `json:"generation,omitempty,string"` + // Object: Cloud Storage object. See + // https://cloud.google.com/storage/docs/naming#objectnames + Object string `json:"object,omitempty"` + // ForceSendFields is a list of field names (e.g. "Bucket") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Bucket") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s *ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation) MarshalJSON() ([]byte, error) { + type NoMethod ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig: GitConfig is a // configuration for git operations. type ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig struct { @@ -2172,6 +2204,9 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig struct { // ProxySecretVersionName: SecretVersion resource of the HTTP proxy URL. The // proxy URL should be in format protocol://@]proxyhost[:port]. ProxySecretVersionName string `json:"proxySecretVersionName,omitempty"` + // ProxySslCaInfo: Optional. Cloud Storage object storing the certificate to + // use with the HTTP proxy. + ProxySslCaInfo *ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation `json:"proxySslCaInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "ProxySecretVersionName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/containeranalysis/v1beta1/containeranalysis-api.json b/containeranalysis/v1beta1/containeranalysis-api.json index 26c1618a411..09738dae9cf 100644 --- a/containeranalysis/v1beta1/containeranalysis-api.json +++ b/containeranalysis/v1beta1/containeranalysis-api.json @@ -1121,7 +1121,7 @@ } } }, - "revision": "20240503", + "revision": "20240514", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2917,6 +2917,26 @@ }, "type": "object" }, + "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation": { + "description": "Represents a storage location in Cloud Storage", + "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", + "properties": { + "bucket": { + "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", + "type": "string" + }, + "generation": { + "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "format": "int64", + "type": "string" + }, + "object": { + "description": "Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames", + "type": "string" + } + }, + "type": "object" + }, "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", @@ -2935,6 +2955,10 @@ "proxySecretVersionName": { "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", "type": "string" + }, + "proxySslCaInfo": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", + "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" diff --git a/containeranalysis/v1beta1/containeranalysis-gen.go b/containeranalysis/v1beta1/containeranalysis-gen.go index 14adac47058..e101c4d3575 100644 --- a/containeranalysis/v1beta1/containeranalysis-gen.go +++ b/containeranalysis/v1beta1/containeranalysis-gen.go @@ -2211,6 +2211,36 @@ func (s *ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes) MarshalJSON() ([ return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation: Represents a storage +// location in Cloud Storage +type ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation struct { + // Bucket: Cloud Storage bucket. See + // https://cloud.google.com/storage/docs/naming#requirements + Bucket string `json:"bucket,omitempty"` + // Generation: Cloud Storage generation for the object. If the generation is + // omitted, the latest generation will be used. + Generation int64 `json:"generation,omitempty,string"` + // Object: Cloud Storage object. See + // https://cloud.google.com/storage/docs/naming#objectnames + Object string `json:"object,omitempty"` + // ForceSendFields is a list of field names (e.g. "Bucket") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Bucket") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s *ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation) MarshalJSON() ([]byte, error) { + type NoMethod ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig: GitConfig is a // configuration for git operations. type ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig struct { @@ -2240,6 +2270,9 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig struct { // ProxySecretVersionName: SecretVersion resource of the HTTP proxy URL. The // proxy URL should be in format protocol://@]proxyhost[:port]. ProxySecretVersionName string `json:"proxySecretVersionName,omitempty"` + // ProxySslCaInfo: Optional. Cloud Storage object storing the certificate to + // use with the HTTP proxy. + ProxySslCaInfo *ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation `json:"proxySslCaInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "ProxySecretVersionName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/drive/v3/drive-api.json b/drive/v3/drive-api.json index a2e7f7c8b76..3c9fd349c30 100644 --- a/drive/v3/drive-api.json +++ b/drive/v3/drive-api.json @@ -2503,7 +2503,7 @@ } } }, - "revision": "20240327", + "revision": "20240509", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -2590,15 +2590,15 @@ "type": "string" }, "storageQuota": { - "description": "The user's storage quota limits and usage. All fields are measured in bytes.", + "description": "The user's storage quota limits and usage. For users that are part of an organization with pooled storage, information about the limit and usage across all services is for the organization, rather than the individual user. All fields are measured in bytes.", "properties": { "limit": { - "description": "The usage limit, if applicable. This will not be present if the user has unlimited storage.", + "description": "The usage limit, if applicable. This will not be present if the user has unlimited storage. For users that are part of an organization with pooled storage, this is the limit for the organization, rather than the individual user.", "format": "int64", "type": "string" }, "usage": { - "description": "The total usage across all services.", + "description": "The total usage across all services. For users that are part of an organization with pooled storage, this is the usage across all services for the organization, rather than the individual user.", "format": "int64", "type": "string" }, diff --git a/drive/v3/drive-gen.go b/drive/v3/drive-gen.go index ea7ad3fefc7..294d7196543 100644 --- a/drive/v3/drive-gen.go +++ b/drive/v3/drive-gen.go @@ -347,8 +347,10 @@ type About struct { MaxImportSizes map[string]string `json:"maxImportSizes,omitempty"` // MaxUploadSize: The maximum upload size in bytes. MaxUploadSize int64 `json:"maxUploadSize,omitempty,string"` - // StorageQuota: The user's storage quota limits and usage. All fields are - // measured in bytes. + // StorageQuota: The user's storage quota limits and usage. For users that are + // part of an organization with pooled storage, information about the limit and + // usage across all services is for the organization, rather than the + // individual user. All fields are measured in bytes. StorageQuota *AboutStorageQuota `json:"storageQuota,omitempty"` // TeamDriveThemes: Deprecated: Use `driveThemes` instead. TeamDriveThemes []*AboutTeamDriveThemes `json:"teamDriveThemes,omitempty"` @@ -400,13 +402,19 @@ func (s *AboutDriveThemes) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// AboutStorageQuota: The user's storage quota limits and usage. All fields are -// measured in bytes. +// AboutStorageQuota: The user's storage quota limits and usage. For users that +// are part of an organization with pooled storage, information about the limit +// and usage across all services is for the organization, rather than the +// individual user. All fields are measured in bytes. type AboutStorageQuota struct { // Limit: The usage limit, if applicable. This will not be present if the user - // has unlimited storage. + // has unlimited storage. For users that are part of an organization with + // pooled storage, this is the limit for the organization, rather than the + // individual user. Limit int64 `json:"limit,omitempty,string"` - // Usage: The total usage across all services. + // Usage: The total usage across all services. For users that are part of an + // organization with pooled storage, this is the usage across all services for + // the organization, rather than the individual user. Usage int64 `json:"usage,omitempty,string"` // UsageInDrive: The usage by all files in Google Drive. UsageInDrive int64 `json:"usageInDrive,omitempty,string"`