Skip to content

Commit 52b7e88

Browse files
yoshi-automationsofisl
authored andcommitted
fix(logging): update the API
#### logging:v2 The following keys were changed: - resources.folders.resources.locations.resources.logScopes.methods.patch.parameters.name.description - resources.organizations.resources.locations.resources.logScopes.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.logScopes.methods.patch.parameters.name.description - schemas.CopyLogEntriesRequest.properties.destination.description - schemas.LogScope.properties.name.description - schemas.LogScope.properties.resourceNames.description
1 parent 744f5e0 commit 52b7e88

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

‎discovery/logging-v2.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3166,7 +3166,7 @@
31663166
],
31673167
"parameters": {
31683168
"name": {
3169-
"description": "Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope",
3169+
"description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope",
31703170
"location": "path",
31713171
"pattern": "^folders/[^/]+/locations/[^/]+/logScopes/[^/]+$",
31723172
"required": true,
@@ -5984,7 +5984,7 @@
59845984
],
59855985
"parameters": {
59865986
"name": {
5987-
"description": "Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope",
5987+
"description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope",
59885988
"location": "path",
59895989
"pattern": "^organizations/[^/]+/locations/[^/]+/logScopes/[^/]+$",
59905990
"required": true,
@@ -7786,7 +7786,7 @@
77867786
],
77877787
"parameters": {
77887788
"name": {
7789-
"description": "Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope",
7789+
"description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope",
77907790
"location": "path",
77917791
"pattern": "^projects/[^/]+/locations/[^/]+/logScopes/[^/]+$",
77927792
"required": true,
@@ -8922,7 +8922,7 @@
89228922
}
89238923
}
89248924
},
8925-
"revision": "20240913",
8925+
"revision": "20250110",
89268926
"rootUrl": "https://logging.googleapis.com/",
89278927
"schemas": {
89288928
"AuditConfig": {
@@ -9201,7 +9201,7 @@
92019201
"id": "CopyLogEntriesRequest",
92029202
"properties": {
92039203
"destination": {
9204-
"description": "Required. Destination to which to copy log entries.",
9204+
"description": "Required. Destination to which to copy log entries. For example: \"storage.googleapis.com/GCS_BUCKET\"",
92059205
"type": "string"
92069206
},
92079207
"filter": {
@@ -10430,12 +10430,12 @@
1043010430
"type": "string"
1043110431
},
1043210432
"name": {
10433-
"description": "Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope",
10433+
"description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope",
1043410434
"readOnly": true,
1043510435
"type": "string"
1043610436
},
1043710437
"resourceNames": {
10438-
"description": "Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 50 projects and a maximum of 100 resources in total.",
10438+
"description": "Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 5 projects and a maximum of 100 resources in total.",
1043910439
"items": {
1044010440
"type": "string"
1044110441
},

‎src/apis/logging/v2.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export namespace logging_v2 {
327327
*/
328328
export interface Schema$CopyLogEntriesRequest {
329329
/**
330-
* Required. Destination to which to copy log entries.
330+
* Required. Destination to which to copy log entries. For example: "storage.googleapis.com/GCS_BUCKET"
331331
*/
332332
destination?: string | null;
333333
/**
@@ -1214,11 +1214,11 @@ export namespace logging_v2 {
12141214
*/
12151215
description?: string | null;
12161216
/**
1217-
* Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope
1217+
* Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope
12181218
*/
12191219
name?: string | null;
12201220
/**
1221-
* Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 50 projects and a maximum of 100 resources in total.
1221+
* Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 5 projects and a maximum of 100 resources in total.
12221222
*/
12231223
resourceNames?: string[] | null;
12241224
/**
@@ -11047,7 +11047,7 @@ export namespace logging_v2 {
1104711047
export interface Params$Resource$Folders$Locations$Logscopes$Patch
1104811048
extends StandardParameters {
1104911049
/**
11050-
* Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope
11050+
* Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope
1105111051
*/
1105211052
name?: string;
1105311053
/**
@@ -19498,7 +19498,7 @@ export namespace logging_v2 {
1949819498
export interface Params$Resource$Organizations$Locations$Logscopes$Patch
1949919499
extends StandardParameters {
1950019500
/**
19501-
* Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope
19501+
* Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope
1950219502
*/
1950319503
name?: string;
1950419504
/**
@@ -24865,7 +24865,7 @@ export namespace logging_v2 {
2486524865
export interface Params$Resource$Projects$Locations$Logscopes$Patch
2486624866
extends StandardParameters {
2486724867
/**
24868-
* Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope
24868+
* Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope
2486924869
*/
2487024870
name?: string;
2487124871
/**

0 commit comments

Comments
 (0)