Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1624)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jul 19, 2022
1 parent 136bec3 commit 9e8aeec
Show file tree
Hide file tree
Showing 33 changed files with 2,851 additions and 471 deletions.
8 changes: 4 additions & 4 deletions api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -5578,13 +5578,13 @@
"name": "vmmigration",
"version": "v1alpha1",
"title": "VM Migration API",
"description": "Use the Migrate for Compute Engine API to programmatically migrate workloads.",
"description": "Use the Migrate to Virtual Machines API to programmatically migrate workloads.",
"discoveryRestUrl": "https://vmmigration.googleapis.com/$discovery/rest?version=v1alpha1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/migrate/compute-engine",
"documentationLink": "https://cloud.google.com/migrate/virtual-machines",
"preferred": false
},
{
Expand All @@ -5593,13 +5593,13 @@
"name": "vmmigration",
"version": "v1",
"title": "VM Migration API",
"description": "Use the Migrate for Compute Engine API to programmatically migrate workloads.",
"description": "Use the Migrate to Virtual Machines API to programmatically migrate workloads.",
"discoveryRestUrl": "https://vmmigration.googleapis.com/$discovery/rest?version=v1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/migrate/compute-engine",
"documentationLink": "https://cloud.google.com/migrate/virtual-machines",
"preferred": true
},
{
Expand Down
4 changes: 2 additions & 2 deletions bigquerydatatransfer/v1/bigquerydatatransfer-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@
}
}
},
"revision": "20220409",
"revision": "20220709",
"rootUrl": "https://bigquerydatatransfer.googleapis.com/",
"schemas": {
"CheckValidCredsRequest": {
Expand Down Expand Up @@ -1876,7 +1876,7 @@
"type": "integer"
},
"dataSourceId": {
"description": "Data source id. Cannot be changed once data transfer is created.",
"description": "Data source id. Cannot be changed once data transfer is created. The full list of available data source ids can be returned through API call: https://cloud.google.com/bigquery-transfer/docs/reference/datatransfer/rest/v1/projects.locations.dataSources/list The individual data source id can also be found in the bq tab in the 'Setting up a data transfer' section for each data source. For example, the data source id for Cloud Storage transfers is listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq",
"type": "string"
},
"datasetRegion": {
Expand Down
9 changes: 8 additions & 1 deletion bigquerydatatransfer/v1/bigquerydatatransfer-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 1 addition & 22 deletions certificatemanager/v1/certificatemanager-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@
}
}
},
"revision": "20220602",
"revision": "20220707",
"rootUrl": "https://certificatemanager.googleapis.com/",
"schemas": {
"AuthorizationAttemptInfo": {
Expand Down Expand Up @@ -1648,27 +1648,6 @@
},
"type": "object"
},
"ResourcesCount": {
"description": "ResourcesCount represents the resource that stores aggregated project's info in the given location, e.g.: total number of certificates assigned to the project.",
"id": "ResourcesCount",
"properties": {
"certificates": {
"description": "The count of certificates.",
"format": "uint64",
"type": "string"
},
"computeTime": {
"description": "Required. Input only. The time of the computation. The field is input only, used in Create and Update calls. For Update call, new values of selected resources are set if their compute_time is younger than the persisted ones, e.g.: If you support 3 types of resources: A, B and C, and you have: 'A' resource count computed at timestamp = 3 'B' resource count computed at timestamp = 10 'C' resource count computed at timestamp = 5 And you're going to update all of them with compute_time = 8, only 'A' and 'C' will be updated, as 'B' already has fresher data. For Get call a ResourcesCount instance contains the freshest values for every type.",
"format": "google-datetime",
"type": "string"
},
"name": {
"description": "The singleton resource of the resources count. Must be in the format `projects/*/locations/*/resourcesCounts/single`.",
"type": "string"
}
},
"type": "object"
},
"SelfManagedCertificate": {
"description": "Certificate data for a SelfManaged Certificate. SelfManaged Certificates are uploaded by the user. Updating such certificates before they expire remains the user's responsibility.",
"id": "SelfManagedCertificate",
Expand Down
46 changes: 0 additions & 46 deletions certificatemanager/v1/certificatemanager-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 67 additions & 1 deletion chromepolicy/v1/chromepolicy-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,53 @@
}
}
}
},
"media": {
"methods": {
"upload": {
"description": "Creates an enterprise file from the content provided by user. Returns a public download url for end user.",
"flatPath": "v1/customers/{customersId}/policies/files:uploadPolicyFile",
"httpMethod": "POST",
"id": "chromepolicy.media.upload",
"mediaUpload": {
"accept": [
"*/*"
],
"protocols": {
"simple": {
"multipart": true,
"path": "/upload/v1/{+customer}/policies/files:uploadPolicyFile"
}
}
},
"parameterOrder": [
"customer"
],
"parameters": {
"customer": {
"description": "Required. The customer for which the file upload will apply.",
"location": "path",
"pattern": "^customers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+customer}/policies/files:uploadPolicyFile",
"request": {
"$ref": "GoogleChromePolicyV1UploadPolicyFileRequest"
},
"response": {
"$ref": "GoogleChromePolicyV1UploadPolicyFileResponse"
},
"scopes": [
"https://www.googleapis.com/auth/chrome.management.policy"
],
"supportsMediaUpload": true
}
}
}
},
"revision": "20220706",
"revision": "20220718",
"rootUrl": "https://chromepolicy.googleapis.com/",
"schemas": {
"ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle": {
Expand Down Expand Up @@ -736,6 +780,28 @@
},
"type": "object"
},
"GoogleChromePolicyV1UploadPolicyFileRequest": {
"description": "Request message for uploading a file for a policy. Next ID: 5",
"id": "GoogleChromePolicyV1UploadPolicyFileRequest",
"properties": {
"policyField": {
"description": "Required. The fully qualified policy schema and field name this file is uploaded for. This information will be used to validate the content type of the file.",
"type": "string"
}
},
"type": "object"
},
"GoogleChromePolicyV1UploadPolicyFileResponse": {
"description": "Response message for downloading an uploaded file. Next ID: 2",
"id": "GoogleChromePolicyV1UploadPolicyFileResponse",
"properties": {
"downloadUri": {
"description": "The uri for end user to download the file.",
"type": "string"
}
},
"type": "object"
},
"GoogleProtobufEmpty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
"id": "GoogleProtobufEmpty",
Expand Down
Loading

0 comments on commit 9e8aeec

Please sign in to comment.