Skip to content

Commit 4449b80

Browse files
yoshi-automationsofisl
authored andcommitted
fix(firebaserules): update the API
#### firebaserules:v1 The following keys were changed: - resources.projects.resources.releases.methods.getExecutable.parameters.executableVersion.description - resources.projects.resources.releases.methods.list.parameters.filter.description - resources.projects.resources.releases.methods.list.parameters.pageSize.description - resources.projects.resources.releases.methods.list.parameters.pageToken.description - resources.projects.resources.rulesets.methods.list.parameters.filter.description - resources.projects.resources.rulesets.methods.list.parameters.pageSize.description - resources.projects.resources.rulesets.methods.list.parameters.pageToken.description - schemas.TestRulesetRequest.properties.source.description - schemas.TestRulesetRequest.properties.testSuite.description - schemas.UpdateReleaseRequest.properties.updateMask.description
1 parent 91b6958 commit 4449b80

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

‎discovery/firebaserules-v1.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
],
240240
"parameters": {
241241
"executableVersion": {
242-
"description": "The requested runtime executable version. Defaults to FIREBASE_RULES_EXECUTABLE_V1.",
242+
"description": "Optional. The requested runtime executable version. Defaults to FIREBASE_RULES_EXECUTABLE_V1.",
243243
"enum": [
244244
"RELEASE_EXECUTABLE_VERSION_UNSPECIFIED",
245245
"FIREBASE_RULES_EXECUTABLE_V1",
@@ -281,7 +281,7 @@
281281
],
282282
"parameters": {
283283
"filter": {
284-
"description": "`Release` filter. The list method supports filters with restrictions on the `Release.name`, and `Release.ruleset_name`. Example 1: A filter of 'name=prod*' might return `Release`s with names within 'projects/foo' prefixed with 'prod': Name -> Ruleset Name: * projects/foo/releases/prod -> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v1 -> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v2 -> projects/foo/rulesets/uuid8888 Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only `Release` instances for 'projects/foo' with names prefixed with 'prod' referring to the same `Ruleset` name of 'uuid1234': Name -> Ruleset Name: * projects/foo/releases/prod -> projects/foo/rulesets/1234 * projects/foo/releases/prod/v1 -> projects/foo/rulesets/1234 In the examples, the filter parameters refer to the search filters are relative to the project. Fully qualified prefixed may also be used.",
284+
"description": "Optional. `Release` filter. The list method supports filters with restrictions on the `Release.name`, and `Release.ruleset_name`. Example 1: A filter of 'name=prod*' might return `Release`s with names within 'projects/foo' prefixed with 'prod': Name -> Ruleset Name: * projects/foo/releases/prod -> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v1 -> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v2 -> projects/foo/rulesets/uuid8888 Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only `Release` instances for 'projects/foo' with names prefixed with 'prod' referring to the same `Ruleset` name of 'uuid1234': Name -> Ruleset Name: * projects/foo/releases/prod -> projects/foo/rulesets/1234 * projects/foo/releases/prod/v1 -> projects/foo/rulesets/1234 In the examples, the filter parameters refer to the search filters are relative to the project. Fully qualified prefixed may also be used.",
285285
"location": "query",
286286
"type": "string"
287287
},
@@ -293,13 +293,13 @@
293293
"type": "string"
294294
},
295295
"pageSize": {
296-
"description": "Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the service may choose to load fewer than `page_size` results due to the size of the output. To traverse all of the releases, the caller should iterate until the `page_token` on the response is empty.",
296+
"description": "Optional. Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the service may choose to load fewer than `page_size` results due to the size of the output. To traverse all of the releases, the caller should iterate until the `page_token` on the response is empty.",
297297
"format": "int32",
298298
"location": "query",
299299
"type": "integer"
300300
},
301301
"pageToken": {
302-
"description": "Next page token for the next batch of `Release` instances.",
302+
"description": "Optional. Next page token for the next batch of `Release` instances.",
303303
"location": "query",
304304
"type": "string"
305305
}
@@ -439,7 +439,7 @@
439439
],
440440
"parameters": {
441441
"filter": {
442-
"description": "`Ruleset` filter. The list method supports filters with restrictions on `Ruleset.name`. Filters on `Ruleset.create_time` should use the `date` function which parses strings that conform to the RFC 3339 date/time specifications. Example: `create_time > date(\"2017-01-01T00:00:00Z\") AND name=UUID-*`",
442+
"description": "Optional. `Ruleset` filter. The list method supports filters with restrictions on `Ruleset.name`. Filters on `Ruleset.create_time` should use the `date` function which parses strings that conform to the RFC 3339 date/time specifications. Example: `create_time > date(\"2017-01-01T00:00:00Z\") AND name=UUID-*`",
443443
"location": "query",
444444
"type": "string"
445445
},
@@ -451,13 +451,13 @@
451451
"type": "string"
452452
},
453453
"pageSize": {
454-
"description": "Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the service may choose to load less than `page_size` due to the size of the output. To traverse all of the releases, caller should iterate until the `page_token` is empty.",
454+
"description": "Optional. Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the service may choose to load less than `page_size` due to the size of the output. To traverse all of the releases, caller should iterate until the `page_token` is empty.",
455455
"format": "int32",
456456
"location": "query",
457457
"type": "integer"
458458
},
459459
"pageToken": {
460-
"description": "Next page token for loading the next batch of `Ruleset` instances.",
460+
"description": "Optional. Next page token for loading the next batch of `Ruleset` instances.",
461461
"location": "query",
462462
"type": "string"
463463
}
@@ -477,7 +477,7 @@
477477
}
478478
}
479479
},
480-
"revision": "20231120",
480+
"revision": "20241125",
481481
"rootUrl": "https://firebaserules.googleapis.com/",
482482
"schemas": {
483483
"Arg": {
@@ -964,11 +964,11 @@
964964
"properties": {
965965
"source": {
966966
"$ref": "Source",
967-
"description": "Optional `Source` to be checked for correctness. This field must not be set when the resource name refers to a `Ruleset`."
967+
"description": "Optional. Optional `Source` to be checked for correctness. This field must not be set when the resource name refers to a `Ruleset`."
968968
},
969969
"testSuite": {
970970
"$ref": "TestSuite",
971-
"description": "The tests to execute against the `Source`. When `Source` is provided inline, the test cases will only be run if the `Source` is syntactically and semantically valid. Inline `TestSuite` to run."
971+
"description": "Required. The tests to execute against the `Source`. When `Source` is provided inline, the test cases will only be run if the `Source` is syntactically and semantically valid. Inline `TestSuite` to run."
972972
}
973973
},
974974
"type": "object"
@@ -1017,7 +1017,7 @@
10171017
"description": "Required. `Release` to update."
10181018
},
10191019
"updateMask": {
1020-
"description": "Specifies which fields to update.",
1020+
"description": "Optional. Specifies which fields to update.",
10211021
"format": "google-fieldmask",
10221022
"type": "string"
10231023
}

‎src/apis/firebaserules/v1.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -442,11 +442,11 @@ export namespace firebaserules_v1 {
442442
*/
443443
export interface Schema$TestRulesetRequest {
444444
/**
445-
* Optional `Source` to be checked for correctness. This field must not be set when the resource name refers to a `Ruleset`.
445+
* Optional. Optional `Source` to be checked for correctness. This field must not be set when the resource name refers to a `Ruleset`.
446446
*/
447447
source?: Schema$Source;
448448
/**
449-
* The tests to execute against the `Source`. When `Source` is provided inline, the test cases will only be run if the `Source` is syntactically and semantically valid. Inline `TestSuite` to run.
449+
* Required. The tests to execute against the `Source`. When `Source` is provided inline, the test cases will only be run if the `Source` is syntactically and semantically valid. Inline `TestSuite` to run.
450450
*/
451451
testSuite?: Schema$TestSuite;
452452
}
@@ -481,7 +481,7 @@ export namespace firebaserules_v1 {
481481
*/
482482
release?: Schema$Release;
483483
/**
484-
* Specifies which fields to update.
484+
* Optional. Specifies which fields to update.
485485
*/
486486
updateMask?: string | null;
487487
}
@@ -1198,7 +1198,7 @@ export namespace firebaserules_v1 {
11981198
export interface Params$Resource$Projects$Releases$Getexecutable
11991199
extends StandardParameters {
12001200
/**
1201-
* The requested runtime executable version. Defaults to FIREBASE_RULES_EXECUTABLE_V1.
1201+
* Optional. The requested runtime executable version. Defaults to FIREBASE_RULES_EXECUTABLE_V1.
12021202
*/
12031203
executableVersion?: string;
12041204
/**
@@ -1209,19 +1209,19 @@ export namespace firebaserules_v1 {
12091209
export interface Params$Resource$Projects$Releases$List
12101210
extends StandardParameters {
12111211
/**
1212-
* `Release` filter. The list method supports filters with restrictions on the `Release.name`, and `Release.ruleset_name`. Example 1: A filter of 'name=prod*' might return `Release`s with names within 'projects/foo' prefixed with 'prod': Name -\> Ruleset Name: * projects/foo/releases/prod -\> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v1 -\> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v2 -\> projects/foo/rulesets/uuid8888 Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only `Release` instances for 'projects/foo' with names prefixed with 'prod' referring to the same `Ruleset` name of 'uuid1234': Name -\> Ruleset Name: * projects/foo/releases/prod -\> projects/foo/rulesets/1234 * projects/foo/releases/prod/v1 -\> projects/foo/rulesets/1234 In the examples, the filter parameters refer to the search filters are relative to the project. Fully qualified prefixed may also be used.
1212+
* Optional. `Release` filter. The list method supports filters with restrictions on the `Release.name`, and `Release.ruleset_name`. Example 1: A filter of 'name=prod*' might return `Release`s with names within 'projects/foo' prefixed with 'prod': Name -\> Ruleset Name: * projects/foo/releases/prod -\> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v1 -\> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v2 -\> projects/foo/rulesets/uuid8888 Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only `Release` instances for 'projects/foo' with names prefixed with 'prod' referring to the same `Ruleset` name of 'uuid1234': Name -\> Ruleset Name: * projects/foo/releases/prod -\> projects/foo/rulesets/1234 * projects/foo/releases/prod/v1 -\> projects/foo/rulesets/1234 In the examples, the filter parameters refer to the search filters are relative to the project. Fully qualified prefixed may also be used.
12131213
*/
12141214
filter?: string;
12151215
/**
12161216
* Required. Resource name for the project. Format: `projects/{project_id\}`
12171217
*/
12181218
name?: string;
12191219
/**
1220-
* Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the service may choose to load fewer than `page_size` results due to the size of the output. To traverse all of the releases, the caller should iterate until the `page_token` on the response is empty.
1220+
* Optional. Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the service may choose to load fewer than `page_size` results due to the size of the output. To traverse all of the releases, the caller should iterate until the `page_token` on the response is empty.
12211221
*/
12221222
pageSize?: number;
12231223
/**
1224-
* Next page token for the next batch of `Release` instances.
1224+
* Optional. Next page token for the next batch of `Release` instances.
12251225
*/
12261226
pageToken?: string;
12271227
}
@@ -1629,19 +1629,19 @@ export namespace firebaserules_v1 {
16291629
export interface Params$Resource$Projects$Rulesets$List
16301630
extends StandardParameters {
16311631
/**
1632-
* `Ruleset` filter. The list method supports filters with restrictions on `Ruleset.name`. Filters on `Ruleset.create_time` should use the `date` function which parses strings that conform to the RFC 3339 date/time specifications. Example: `create_time \> date("2017-01-01T00:00:00Z") AND name=UUID-*`
1632+
* Optional. `Ruleset` filter. The list method supports filters with restrictions on `Ruleset.name`. Filters on `Ruleset.create_time` should use the `date` function which parses strings that conform to the RFC 3339 date/time specifications. Example: `create_time \> date("2017-01-01T00:00:00Z") AND name=UUID-*`
16331633
*/
16341634
filter?: string;
16351635
/**
16361636
* Required. Resource name for the project. Format: `projects/{project_id\}`
16371637
*/
16381638
name?: string;
16391639
/**
1640-
* Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the service may choose to load less than `page_size` due to the size of the output. To traverse all of the releases, caller should iterate until the `page_token` is empty.
1640+
* Optional. Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the service may choose to load less than `page_size` due to the size of the output. To traverse all of the releases, caller should iterate until the `page_token` is empty.
16411641
*/
16421642
pageSize?: number;
16431643
/**
1644-
* Next page token for loading the next batch of `Ruleset` instances.
1644+
* Optional. Next page token for loading the next batch of `Ruleset` instances.
16451645
*/
16461646
pageToken?: string;
16471647
}

0 commit comments

Comments
 (0)