Skip to content

Commit ca98051

Browse files
yoshi-automationfeywind
authored andcommitted
feat(observability)!: update the API
BREAKING CHANGE: This release has breaking changes. #### observability:v1 The following keys were deleted: - resources.folders.resources.locations.methods.getSettings.description - resources.folders.resources.locations.methods.getSettings.flatPath - resources.folders.resources.locations.methods.getSettings.httpMethod - resources.folders.resources.locations.methods.getSettings.id - resources.folders.resources.locations.methods.getSettings.parameterOrder - resources.folders.resources.locations.methods.getSettings.parameters.name.description - resources.folders.resources.locations.methods.getSettings.parameters.name.location - resources.folders.resources.locations.methods.getSettings.parameters.name.pattern - resources.folders.resources.locations.methods.getSettings.parameters.name.required - resources.folders.resources.locations.methods.getSettings.parameters.name.type - resources.folders.resources.locations.methods.getSettings.path - resources.folders.resources.locations.methods.getSettings.response.$ref - resources.folders.resources.locations.methods.getSettings.scopes - resources.folders.resources.locations.methods.updateSettings.description - resources.folders.resources.locations.methods.updateSettings.flatPath - resources.folders.resources.locations.methods.updateSettings.httpMethod - resources.folders.resources.locations.methods.updateSettings.id - resources.folders.resources.locations.methods.updateSettings.parameterOrder - resources.folders.resources.locations.methods.updateSettings.parameters.name.description - resources.folders.resources.locations.methods.updateSettings.parameters.name.location - resources.folders.resources.locations.methods.updateSettings.parameters.name.pattern - resources.folders.resources.locations.methods.updateSettings.parameters.name.required - resources.folders.resources.locations.methods.updateSettings.parameters.name.type - resources.folders.resources.locations.methods.updateSettings.parameters.updateMask.description - resources.folders.resources.locations.methods.updateSettings.parameters.updateMask.format - resources.folders.resources.locations.methods.updateSettings.parameters.updateMask.location - resources.folders.resources.locations.methods.updateSettings.parameters.updateMask.type - resources.folders.resources.locations.methods.updateSettings.path - resources.folders.resources.locations.methods.updateSettings.request.$ref - resources.folders.resources.locations.methods.updateSettings.response.$ref - resources.folders.resources.locations.methods.updateSettings.scopes - resources.organizations.resources.locations.methods.getSettings.description - resources.organizations.resources.locations.methods.getSettings.flatPath - resources.organizations.resources.locations.methods.getSettings.httpMethod - resources.organizations.resources.locations.methods.getSettings.id - resources.organizations.resources.locations.methods.getSettings.parameterOrder - resources.organizations.resources.locations.methods.getSettings.parameters.name.description - resources.organizations.resources.locations.methods.getSettings.parameters.name.location - resources.organizations.resources.locations.methods.getSettings.parameters.name.pattern - resources.organizations.resources.locations.methods.getSettings.parameters.name.required - resources.organizations.resources.locations.methods.getSettings.parameters.name.type - resources.organizations.resources.locations.methods.getSettings.path - resources.organizations.resources.locations.methods.getSettings.response.$ref - resources.organizations.resources.locations.methods.getSettings.scopes - resources.organizations.resources.locations.methods.updateSettings.description - resources.organizations.resources.locations.methods.updateSettings.flatPath - resources.organizations.resources.locations.methods.updateSettings.httpMethod - resources.organizations.resources.locations.methods.updateSettings.id - resources.organizations.resources.locations.methods.updateSettings.parameterOrder - resources.organizations.resources.locations.methods.updateSettings.parameters.name.description - resources.organizations.resources.locations.methods.updateSettings.parameters.name.location - resources.organizations.resources.locations.methods.updateSettings.parameters.name.pattern - resources.organizations.resources.locations.methods.updateSettings.parameters.name.required - resources.organizations.resources.locations.methods.updateSettings.parameters.name.type - resources.organizations.resources.locations.methods.updateSettings.parameters.updateMask.description - resources.organizations.resources.locations.methods.updateSettings.parameters.updateMask.format - resources.organizations.resources.locations.methods.updateSettings.parameters.updateMask.location - resources.organizations.resources.locations.methods.updateSettings.parameters.updateMask.type - resources.organizations.resources.locations.methods.updateSettings.path - resources.organizations.resources.locations.methods.updateSettings.request.$ref - resources.organizations.resources.locations.methods.updateSettings.response.$ref - resources.organizations.resources.locations.methods.updateSettings.scopes - resources.projects.resources.locations.methods.getSettings.description - resources.projects.resources.locations.methods.getSettings.flatPath - resources.projects.resources.locations.methods.getSettings.httpMethod - resources.projects.resources.locations.methods.getSettings.id - resources.projects.resources.locations.methods.getSettings.parameterOrder - resources.projects.resources.locations.methods.getSettings.parameters.name.description - resources.projects.resources.locations.methods.getSettings.parameters.name.location - resources.projects.resources.locations.methods.getSettings.parameters.name.pattern - resources.projects.resources.locations.methods.getSettings.parameters.name.required - resources.projects.resources.locations.methods.getSettings.parameters.name.type - resources.projects.resources.locations.methods.getSettings.path - resources.projects.resources.locations.methods.getSettings.response.$ref - resources.projects.resources.locations.methods.getSettings.scopes - resources.projects.resources.locations.methods.updateSettings.description - resources.projects.resources.locations.methods.updateSettings.flatPath - resources.projects.resources.locations.methods.updateSettings.httpMethod - resources.projects.resources.locations.methods.updateSettings.id - resources.projects.resources.locations.methods.updateSettings.parameterOrder - resources.projects.resources.locations.methods.updateSettings.parameters.name.description - resources.projects.resources.locations.methods.updateSettings.parameters.name.location - resources.projects.resources.locations.methods.updateSettings.parameters.name.pattern - resources.projects.resources.locations.methods.updateSettings.parameters.name.required - resources.projects.resources.locations.methods.updateSettings.parameters.name.type - resources.projects.resources.locations.methods.updateSettings.parameters.updateMask.description - resources.projects.resources.locations.methods.updateSettings.parameters.updateMask.format - resources.projects.resources.locations.methods.updateSettings.parameters.updateMask.location - resources.projects.resources.locations.methods.updateSettings.parameters.updateMask.type - resources.projects.resources.locations.methods.updateSettings.path - resources.projects.resources.locations.methods.updateSettings.request.$ref - resources.projects.resources.locations.methods.updateSettings.response.$ref - resources.projects.resources.locations.methods.updateSettings.scopes - schemas.Settings.description - schemas.Settings.id - schemas.Settings.properties.defaultStorageLocation.description - schemas.Settings.properties.defaultStorageLocation.type - schemas.Settings.properties.kmsKeyName.description - schemas.Settings.properties.kmsKeyName.type - schemas.Settings.properties.name.description - schemas.Settings.properties.name.type - schemas.Settings.properties.serviceAccountId.description - schemas.Settings.properties.serviceAccountId.readOnly - schemas.Settings.properties.serviceAccountId.type - schemas.Settings.type The following keys were changed: - description
1 parent e063dee commit ca98051

File tree

2 files changed

+107
-1316
lines changed

2 files changed

+107
-1316
lines changed

discovery/observability-v1.json

Lines changed: 2 additions & 219 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"baseUrl": "https://observability.googleapis.com/",
1313
"batchPath": "batch",
1414
"canonicalName": "Cloud Observability",
15-
"description": "",
15+
"description": "Provides functionality for configuring the observability scope, which controls the log, metric, and trace data that you can view.",
1616
"discoveryVersion": "v1",
1717
"documentationLink": "https://cloud.google.com/stackdriver/docs/",
1818
"fullyEncodeReservedExpansion": true,
@@ -105,140 +105,6 @@
105105
},
106106
"protocol": "rest",
107107
"resources": {
108-
"folders": {
109-
"resources": {
110-
"locations": {
111-
"methods": {
112-
"getSettings": {
113-
"description": "Get Settings",
114-
"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/settings",
115-
"httpMethod": "GET",
116-
"id": "observability.folders.locations.getSettings",
117-
"parameterOrder": [
118-
"name"
119-
],
120-
"parameters": {
121-
"name": {
122-
"description": "Required. Name of the settings to retrieve. Name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/settings\" \"folders/[FOLDER_ID]/locations/[LOCATION]/settings\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings\"",
123-
"location": "path",
124-
"pattern": "^folders/[^/]+/locations/[^/]+/settings$",
125-
"required": true,
126-
"type": "string"
127-
}
128-
},
129-
"path": "v1/{+name}",
130-
"response": {
131-
"$ref": "Settings"
132-
},
133-
"scopes": [
134-
"https://www.googleapis.com/auth/cloud-platform"
135-
]
136-
},
137-
"updateSettings": {
138-
"description": "Update Settings",
139-
"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/settings",
140-
"httpMethod": "PATCH",
141-
"id": "observability.folders.locations.updateSettings",
142-
"parameterOrder": [
143-
"name"
144-
],
145-
"parameters": {
146-
"name": {
147-
"description": "Identifier. The resource name of the settings.",
148-
"location": "path",
149-
"pattern": "^folders/[^/]+/locations/[^/]+/settings$",
150-
"required": true,
151-
"type": "string"
152-
},
153-
"updateMask": {
154-
"description": "Optional. The field mask specifying which fields of the settings are to be updated.",
155-
"format": "google-fieldmask",
156-
"location": "query",
157-
"type": "string"
158-
}
159-
},
160-
"path": "v1/{+name}",
161-
"request": {
162-
"$ref": "Settings"
163-
},
164-
"response": {
165-
"$ref": "Operation"
166-
},
167-
"scopes": [
168-
"https://www.googleapis.com/auth/cloud-platform"
169-
]
170-
}
171-
}
172-
}
173-
}
174-
},
175-
"organizations": {
176-
"resources": {
177-
"locations": {
178-
"methods": {
179-
"getSettings": {
180-
"description": "Get Settings",
181-
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings",
182-
"httpMethod": "GET",
183-
"id": "observability.organizations.locations.getSettings",
184-
"parameterOrder": [
185-
"name"
186-
],
187-
"parameters": {
188-
"name": {
189-
"description": "Required. Name of the settings to retrieve. Name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/settings\" \"folders/[FOLDER_ID]/locations/[LOCATION]/settings\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings\"",
190-
"location": "path",
191-
"pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
192-
"required": true,
193-
"type": "string"
194-
}
195-
},
196-
"path": "v1/{+name}",
197-
"response": {
198-
"$ref": "Settings"
199-
},
200-
"scopes": [
201-
"https://www.googleapis.com/auth/cloud-platform"
202-
]
203-
},
204-
"updateSettings": {
205-
"description": "Update Settings",
206-
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings",
207-
"httpMethod": "PATCH",
208-
"id": "observability.organizations.locations.updateSettings",
209-
"parameterOrder": [
210-
"name"
211-
],
212-
"parameters": {
213-
"name": {
214-
"description": "Identifier. The resource name of the settings.",
215-
"location": "path",
216-
"pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
217-
"required": true,
218-
"type": "string"
219-
},
220-
"updateMask": {
221-
"description": "Optional. The field mask specifying which fields of the settings are to be updated.",
222-
"format": "google-fieldmask",
223-
"location": "query",
224-
"type": "string"
225-
}
226-
},
227-
"path": "v1/{+name}",
228-
"request": {
229-
"$ref": "Settings"
230-
},
231-
"response": {
232-
"$ref": "Operation"
233-
},
234-
"scopes": [
235-
"https://www.googleapis.com/auth/cloud-platform"
236-
]
237-
}
238-
}
239-
}
240-
}
241-
},
242108
"projects": {
243109
"resources": {
244110
"locations": {
@@ -268,31 +134,6 @@
268134
"https://www.googleapis.com/auth/cloud-platform"
269135
]
270136
},
271-
"getSettings": {
272-
"description": "Get Settings",
273-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings",
274-
"httpMethod": "GET",
275-
"id": "observability.projects.locations.getSettings",
276-
"parameterOrder": [
277-
"name"
278-
],
279-
"parameters": {
280-
"name": {
281-
"description": "Required. Name of the settings to retrieve. Name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/settings\" \"folders/[FOLDER_ID]/locations/[LOCATION]/settings\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings\"",
282-
"location": "path",
283-
"pattern": "^projects/[^/]+/locations/[^/]+/settings$",
284-
"required": true,
285-
"type": "string"
286-
}
287-
},
288-
"path": "v1/{+name}",
289-
"response": {
290-
"$ref": "Settings"
291-
},
292-
"scopes": [
293-
"https://www.googleapis.com/auth/cloud-platform"
294-
]
295-
},
296137
"list": {
297138
"description": "Lists information about the supported locations for this service.",
298139
"flatPath": "v1/projects/{projectsId}/locations",
@@ -339,40 +180,6 @@
339180
"scopes": [
340181
"https://www.googleapis.com/auth/cloud-platform"
341182
]
342-
},
343-
"updateSettings": {
344-
"description": "Update Settings",
345-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings",
346-
"httpMethod": "PATCH",
347-
"id": "observability.projects.locations.updateSettings",
348-
"parameterOrder": [
349-
"name"
350-
],
351-
"parameters": {
352-
"name": {
353-
"description": "Identifier. The resource name of the settings.",
354-
"location": "path",
355-
"pattern": "^projects/[^/]+/locations/[^/]+/settings$",
356-
"required": true,
357-
"type": "string"
358-
},
359-
"updateMask": {
360-
"description": "Optional. The field mask specifying which fields of the settings are to be updated.",
361-
"format": "google-fieldmask",
362-
"location": "query",
363-
"type": "string"
364-
}
365-
},
366-
"path": "v1/{+name}",
367-
"request": {
368-
"$ref": "Settings"
369-
},
370-
"response": {
371-
"$ref": "Operation"
372-
},
373-
"scopes": [
374-
"https://www.googleapis.com/auth/cloud-platform"
375-
]
376183
}
377184
},
378185
"resources": {
@@ -729,7 +536,7 @@
729536
}
730537
}
731538
},
732-
"revision": "20251204",
539+
"revision": "20251211",
733540
"rootUrl": "https://observability.googleapis.com/",
734541
"schemas": {
735542
"CancelOperationRequest": {
@@ -943,30 +750,6 @@
943750
},
944751
"type": "object"
945752
},
946-
"Settings": {
947-
"description": "Describes the settings associated with a project, organization, or folder.",
948-
"id": "Settings",
949-
"properties": {
950-
"defaultStorageLocation": {
951-
"description": "Optional. The location which should be used when any regional resources are provisioned by GCP.",
952-
"type": "string"
953-
},
954-
"kmsKeyName": {
955-
"description": "Optional. The resource name for the configured Cloud KMS key. KMS key name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]\" For example: `\"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key\"`",
956-
"type": "string"
957-
},
958-
"name": {
959-
"description": "Identifier. The resource name of the settings.",
960-
"type": "string"
961-
},
962-
"serviceAccountId": {
963-
"description": "Output only. The service account for the given resource container, such as project or folder. This will be used by Cloud Observability to perform actions in the container's project like access KMS keys or create Links. Always the same service account per resource container regardless of region.",
964-
"readOnly": true,
965-
"type": "string"
966-
}
967-
},
968-
"type": "object"
969-
},
970753
"Status": {
971754
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
972755
"id": "Status",

0 commit comments

Comments
 (0)