Skip to content

Commit 0f172af

Browse files
feat(logging): update the API
#### logging:v2 The following keys were added: - resources.billingAccounts.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.billingAccounts.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.billingAccounts.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.billingAccounts.resources.locations.methods.list.parameters.extraLocationTypes.type - resources.folders.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.folders.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.folders.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.folders.resources.locations.methods.list.parameters.extraLocationTypes.type - resources.locations.methods.list.parameters.extraLocationTypes.description - resources.locations.methods.list.parameters.extraLocationTypes.location - resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.locations.methods.list.parameters.extraLocationTypes.type - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.type - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type The following keys were changed: - resources.billingAccounts.resources.locations.resources.buckets.resources.links.methods.create.parameters.parent.description - resources.folders.resources.locations.resources.buckets.resources.links.methods.create.parameters.parent.description - resources.locations.resources.buckets.resources.links.methods.create.parameters.parent.description - resources.organizations.resources.locations.resources.buckets.resources.links.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.buckets.resources.links.methods.create.parameters.parent.description - schemas.CreateLinkRequest.properties.parent.description
1 parent 5a03630 commit 0f172af

File tree

2 files changed

+63
-13
lines changed

2 files changed

+63
-13
lines changed

‎discovery/logging-v2.json

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,12 @@
459459
"name"
460460
],
461461
"parameters": {
462+
"extraLocationTypes": {
463+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
464+
"location": "query",
465+
"repeated": true,
466+
"type": "string"
467+
},
462468
"filter": {
463469
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).",
464470
"location": "query",
@@ -777,7 +783,7 @@
777783
"type": "string"
778784
},
779785
"parent": {
780-
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
786+
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
781787
"location": "path",
782788
"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$",
783789
"required": true,
@@ -2285,6 +2291,12 @@
22852291
"name"
22862292
],
22872293
"parameters": {
2294+
"extraLocationTypes": {
2295+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
2296+
"location": "query",
2297+
"repeated": true,
2298+
"type": "string"
2299+
},
22882300
"filter": {
22892301
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).",
22902302
"location": "query",
@@ -2603,7 +2615,7 @@
26032615
"type": "string"
26042616
},
26052617
"parent": {
2606-
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
2618+
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
26072619
"location": "path",
26082620
"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$",
26092621
"required": true,
@@ -3866,6 +3878,12 @@
38663878
"name"
38673879
],
38683880
"parameters": {
3881+
"extraLocationTypes": {
3882+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
3883+
"location": "query",
3884+
"repeated": true,
3885+
"type": "string"
3886+
},
38693887
"filter": {
38703888
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).",
38713889
"location": "query",
@@ -4184,7 +4202,7 @@
41844202
"type": "string"
41854203
},
41864204
"parent": {
4187-
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
4205+
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
41884206
"location": "path",
41894207
"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$",
41904208
"required": true,
@@ -5103,6 +5121,12 @@
51035121
"name"
51045122
],
51055123
"parameters": {
5124+
"extraLocationTypes": {
5125+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
5126+
"location": "query",
5127+
"repeated": true,
5128+
"type": "string"
5129+
},
51065130
"filter": {
51075131
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).",
51085132
"location": "query",
@@ -5421,7 +5445,7 @@
54215445
"type": "string"
54225446
},
54235447
"parent": {
5424-
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
5448+
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
54255449
"location": "path",
54265450
"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$",
54275451
"required": true,
@@ -6905,6 +6929,12 @@
69056929
"name"
69066930
],
69076931
"parameters": {
6932+
"extraLocationTypes": {
6933+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
6934+
"location": "query",
6935+
"repeated": true,
6936+
"type": "string"
6937+
},
69086938
"filter": {
69096939
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).",
69106940
"location": "query",
@@ -7223,7 +7253,7 @@
72237253
"type": "string"
72247254
},
72257255
"parent": {
7226-
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
7256+
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
72277257
"location": "path",
72287258
"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$",
72297259
"required": true,
@@ -8922,7 +8952,7 @@
89228952
}
89238953
}
89248954
},
8925-
"revision": "20250307",
8955+
"revision": "20250411",
89268956
"rootUrl": "https://logging.googleapis.com/",
89278957
"schemas": {
89288958
"AppHub": {
@@ -9287,7 +9317,7 @@
92879317
"type": "string"
92889318
},
92899319
"parent": {
9290-
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
9320+
"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
92919321
"type": "string"
92929322
}
92939323
},

‎src/apis/logging/v2.ts

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ export namespace logging_v2 {
420420
*/
421421
linkId?: string | null;
422422
/**
423-
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
423+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
424424
*/
425425
parent?: string | null;
426426
}
@@ -2885,6 +2885,10 @@ export namespace logging_v2 {
28852885
}
28862886
export interface Params$Resource$Billingaccounts$Locations$List
28872887
extends StandardParameters {
2888+
/**
2889+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2890+
*/
2891+
extraLocationTypes?: string[];
28882892
/**
28892893
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
28902894
*/
@@ -4092,7 +4096,7 @@ export namespace logging_v2 {
40924096
*/
40934097
linkId?: string;
40944098
/**
4095-
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
4099+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
40964100
*/
40974101
parent?: string;
40984102

@@ -8433,6 +8437,10 @@ export namespace logging_v2 {
84338437
}
84348438
export interface Params$Resource$Folders$Locations$List
84358439
extends StandardParameters {
8440+
/**
8441+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
8442+
*/
8443+
extraLocationTypes?: string[];
84368444
/**
84378445
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
84388446
*/
@@ -9629,7 +9637,7 @@ export namespace logging_v2 {
96299637
*/
96309638
linkId?: string;
96319639
/**
9632-
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
9640+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
96339641
*/
96349642
parent?: string;
96359643

@@ -13069,6 +13077,10 @@ export namespace logging_v2 {
1306913077
name?: string;
1307013078
}
1307113079
export interface Params$Resource$Locations$List extends StandardParameters {
13080+
/**
13081+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
13082+
*/
13083+
extraLocationTypes?: string[];
1307213084
/**
1307313085
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
1307413086
*/
@@ -14265,7 +14277,7 @@ export namespace logging_v2 {
1426514277
*/
1426614278
linkId?: string;
1426714279
/**
14268-
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
14280+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1426914281
*/
1427014282
parent?: string;
1427114283

@@ -16869,6 +16881,10 @@ export namespace logging_v2 {
1686916881
}
1687016882
export interface Params$Resource$Organizations$Locations$List
1687116883
extends StandardParameters {
16884+
/**
16885+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
16886+
*/
16887+
extraLocationTypes?: string[];
1687216888
/**
1687316889
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
1687416890
*/
@@ -18075,7 +18091,7 @@ export namespace logging_v2 {
1807518091
*/
1807618092
linkId?: string;
1807718093
/**
18078-
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
18094+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1807918095
*/
1808018096
parent?: string;
1808118097

@@ -22251,6 +22267,10 @@ export namespace logging_v2 {
2225122267
}
2225222268
export interface Params$Resource$Projects$Locations$List
2225322269
extends StandardParameters {
22270+
/**
22271+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
22272+
*/
22273+
extraLocationTypes?: string[];
2225422274
/**
2225522275
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
2225622276
*/
@@ -23447,7 +23467,7 @@ export namespace logging_v2 {
2344723467
*/
2344823468
linkId?: string;
2344923469
/**
23450-
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
23470+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
2345123471
*/
2345223472
parent?: string;
2345323473

0 commit comments

Comments
 (0)