Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2307)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Dec 15, 2023
1 parent 101074c commit 96c0dea
Show file tree
Hide file tree
Showing 28 changed files with 902 additions and 329 deletions.
8 changes: 1 addition & 7 deletions artifactregistry/v1/artifactregistry-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@
}
}
},
"revision": "20231108",
"revision": "20231208",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down Expand Up @@ -1906,12 +1906,6 @@
],
"type": "string"
},
"versionAge": {
"deprecated": true,
"description": "DEPRECATED: Use older_than.",
"format": "google-duration",
"type": "string"
},
"versionNamePrefixes": {
"description": "Match versions by version name prefix. Applied on any prefix match.",
"items": {
Expand Down
3 changes: 0 additions & 3 deletions artifactregistry/v1/artifactregistry-gen.go

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

18 changes: 17 additions & 1 deletion checks/v1alpha/checks-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
}
}
},
"revision": "20230912",
"revision": "20231213",
"rootUrl": "https://checks.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
Expand Down Expand Up @@ -466,6 +466,22 @@
"description": "The request message for ReportService.AnalyzeUpload.",
"id": "GoogleChecksReportV1alphaAnalyzeUploadRequest",
"properties": {
"appBinaryFileType": {
"description": "Optional. The type of the uploaded app binary. If not provided, the server assumes APK file for Android and IPA file for iOS.",
"enum": [
"APP_BINARY_FILE_TYPE_UNSPECIFIED",
"ANDROID_APK",
"ANDROID_AAB",
"IOS_IPA"
],
"enumDescriptions": [
"Not specified.",
".apk file type.",
".aab (app bundle) file type.",
".ipa file type."
],
"type": "string"
},
"codeReferenceId": {
"description": "Optional. Git commit hash or changelist number associated with the upload.",
"type": "string"
Expand Down
17 changes: 14 additions & 3 deletions checks/v1alpha/checks-gen.go

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

63 changes: 62 additions & 1 deletion cloudprofiler/v2/cloudprofiler-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,44 @@
"https://www.googleapis.com/auth/monitoring.write"
]
},
"list": {
"description": "Lists profiles which have been collected so far and for which the caller has permission to view.",
"flatPath": "v2/projects/{projectsId}/profiles",
"httpMethod": "GET",
"id": "cloudprofiler.projects.profiles.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "The maximum number of items to return. Default page_size is 1000. Max limit is 10000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided to `ListProfiles` must match the call that provided the page token.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent, which owns this collection of profiles. Format: projects/{user_project_id}",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+parent}/profiles",
"response": {
"$ref": "ListProfilesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/monitoring",
"https://www.googleapis.com/auth/monitoring.write"
]
},
"patch": {
"description": "UpdateProfile updates the profile bytes and labels on the profile resource created in the online mode. Updating the bytes for profiles created in the offline mode is currently not supported: the profile content must be provided at the time of the profile creation.",
"flatPath": "v2/projects/{projectsId}/profiles/{profilesId}",
Expand Down Expand Up @@ -216,7 +254,7 @@
}
}
},
"revision": "20230327",
"revision": "20231213",
"rootUrl": "https://cloudprofiler.googleapis.com/",
"schemas": {
"CreateProfileRequest": {
Expand Down Expand Up @@ -279,6 +317,29 @@
},
"type": "object"
},
"ListProfilesResponse": {
"description": "ListProfileResponse contains the list of collected profiles for deployments in projects which the user has permissions to view.",
"id": "ListProfilesResponse",
"properties": {
"nextPageToken": {
"description": "Token to receive the next page of results. This field maybe empty if there are no more profiles to fetch.",
"type": "string"
},
"profiles": {
"description": "List of profiles fetched.",
"items": {
"$ref": "Profile"
},
"type": "array"
},
"skippedProfiles": {
"description": "Number of profiles that were skipped in the current page since they were not able to be fetched successfully. This should typically be zero. A non-zero value may indicate a transient failure, in which case if the number is too high for your use case, the call may be retried.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"Profile": {
"description": "Profile resource.",
"id": "Profile",
Expand Down
Loading

0 comments on commit 96c0dea

Please sign in to comment.