mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
update all APIs
Like documented in the README ``` rm -f .api.deps .cli.deps && FETCH_APIS=1 make update-json -j8 ```
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
"profiles": {
|
||||
"methods": {
|
||||
"create": {
|
||||
"description": "CreateProfile creates a new profile resource in the online mode. The server ensures that the new profiles are created at a constant rate per deployment, so the creation request may hang for some time until the next profile session is available. The request may fail with ABORTED error if the creation is not available within ~1m, the response will indicate the duration of the backoff the client should take before attempting creating a profile again. The backoff duration is returned in google.rpc.RetryInfo extension on the response status. To a gRPC client, the extension will be return as a binary-serialized proto in the trailing metadata item named \"google.rpc.retryinfo-bin\". ",
|
||||
"description": "CreateProfile creates a new profile resource in the online mode. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._ The server ensures that the new profiles are created at a constant rate per deployment, so the creation request may hang for some time until the next profile session is available. The request may fail with ABORTED error if the creation is not available within ~1m, the response will indicate the duration of the backoff the client should take before attempting creating a profile again. The backoff duration is returned in google.rpc.RetryInfo extension on the response status. To a gRPC client, the extension will be return as a binary-serialized proto in the trailing metadata item named \"google.rpc.retryinfo-bin\". ",
|
||||
"flatPath": "v2/projects/{projectsId}/profiles",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudprofiler.projects.profiles.create",
|
||||
@@ -146,7 +146,7 @@
|
||||
]
|
||||
},
|
||||
"createOffline": {
|
||||
"description": "CreateOfflineProfile creates a new profile resource in the offline mode. The client provides the profile to create along with the profile bytes, the server records it.",
|
||||
"description": "CreateOfflineProfile creates a new profile resource in the offline mode. The client provides the profile to create along with the profile bytes, the server records it. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._",
|
||||
"flatPath": "v2/projects/{projectsId}/profiles:createOffline",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudprofiler.projects.profiles.createOffline",
|
||||
@@ -175,8 +175,46 @@
|
||||
"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 1000.",
|
||||
"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.",
|
||||
"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. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._",
|
||||
"flatPath": "v2/projects/{projectsId}/profiles/{profilesId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "cloudprofiler.projects.profiles.patch",
|
||||
@@ -216,7 +254,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20230123",
|
||||
"revision": "20240219",
|
||||
"rootUrl": "https://cloudprofiler.googleapis.com/",
|
||||
"schemas": {
|
||||
"CreateProfileRequest": {
|
||||
@@ -225,10 +263,10 @@
|
||||
"properties": {
|
||||
"deployment": {
|
||||
"$ref": "Deployment",
|
||||
"description": "Required. Deployment details."
|
||||
"description": "Deployment details."
|
||||
},
|
||||
"profileType": {
|
||||
"description": "Required. One or more profile types that the agent is capable of providing.",
|
||||
"description": "One or more profile types that the agent is capable of providing.",
|
||||
"items": {
|
||||
"enum": [
|
||||
"PROFILE_TYPE_UNSPECIFIED",
|
||||
@@ -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",
|
||||
@@ -332,13 +393,19 @@
|
||||
"Heap allocation profile. It represents the aggregation of all allocations made over the duration of the profile. All allocations are included, including those that might have been freed by the end of the profiling interval. The profile is in particular useful for garbage collecting languages to understand which parts of the code create most of the garbage collection pressure to see if those can be optimized."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"startTime": {
|
||||
"description": "Output only. Start time for the profile. This output is only present in response from the ListProfiles method.",
|
||||
"format": "google-datetime",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"servicePath": "",
|
||||
"title": "Stackdriver Profiler API",
|
||||
"title": "Cloud Profiler API",
|
||||
"version": "v2",
|
||||
"version_module": true
|
||||
}
|
||||
Reference in New Issue
Block a user