Skip to content

Commit 181871c

Browse files
feat: [servicedirectory] update Nodejs generator to send API versions in headers for GAPICs (#5349)
* docs: add maximum page_size to ListNamespace API documentation docs: add maximum page_size to ListService API documentation docs: add maximum page_size to ListEndpoint API documentation PiperOrigin-RevId: 634102876 Source-Link: googleapis/googleapis@2862f6f Source-Link: googleapis/googleapis-gen@dfb4022 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlcnZpY2VkaXJlY3RvcnkvLk93bEJvdC55YW1sIiwiaCI6ImRmYjQwMjI3MWQ0YTc0MjJjN2RjZjc1OWE1ZmY4MDBmYzc5OTcxYzMifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: update Nodejs generator to send API versions in headers for GAPICs PiperOrigin-RevId: 634109303 Source-Link: googleapis/googleapis@998ade8 Source-Link: googleapis/googleapis-gen@000ca6f Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlcnZpY2VkaXJlY3RvcnkvLk93bEJvdC55YW1sIiwiaCI6IjAwMGNhNmYwMDgwMWY2NWI4NDdlNjAyOWNiMDUxMTE0MDRkZjIxZWMifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com>
1 parent e99879b commit 181871c

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

packages/google-cloud-servicedirectory/protos/google/cloud/servicedirectory/v1beta1/registration_service.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ message ListNamespacesRequest {
275275
}
276276
];
277277

278-
// Optional. The maximum number of items to return.
278+
// Optional. The maximum number of items to return. The default value is 100.
279279
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
280280

281281
// Optional. The next_page_token value returned from a previous List request,
@@ -409,7 +409,7 @@ message ListServicesRequest {
409409
}
410410
];
411411

412-
// Optional. The maximum number of items to return.
412+
// Optional. The maximum number of items to return. The default value is 100.
413413
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
414414

415415
// Optional. The next_page_token value returned from a previous List request,
@@ -548,7 +548,7 @@ message ListEndpointsRequest {
548548
}
549549
];
550550

551-
// Optional. The maximum number of items to return.
551+
// Optional. The maximum number of items to return. The default value is 100.
552552
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
553553

554554
// Optional. The next_page_token value returned from a previous List request,

packages/google-cloud-servicedirectory/samples/generated/v1beta1/registration_service.list_endpoints.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function main(parent) {
3434
*/
3535
// const parent = 'abc123'
3636
/**
37-
* Optional. The maximum number of items to return.
37+
* Optional. The maximum number of items to return. The default value is 100.
3838
*/
3939
// const pageSize = 1234
4040
/**

packages/google-cloud-servicedirectory/samples/generated/v1beta1/registration_service.list_namespaces.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function main(parent) {
3434
*/
3535
// const parent = 'abc123'
3636
/**
37-
* Optional. The maximum number of items to return.
37+
* Optional. The maximum number of items to return. The default value is 100.
3838
*/
3939
// const pageSize = 1234
4040
/**

packages/google-cloud-servicedirectory/samples/generated/v1beta1/registration_service.list_services.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function main(parent) {
3434
*/
3535
// const parent = 'abc123'
3636
/**
37-
* Optional. The maximum number of items to return.
37+
* Optional. The maximum number of items to return. The default value is 100.
3838
*/
3939
// const pageSize = 1234
4040
/**

packages/google-cloud-servicedirectory/src/v1beta1/registration_service_client.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1908,7 +1908,7 @@ export class RegistrationServiceClient {
19081908
* Required. The resource name of the project and location whose namespaces
19091909
* you'd like to list.
19101910
* @param {number} [request.pageSize]
1911-
* Optional. The maximum number of items to return.
1911+
* Optional. The maximum number of items to return. The default value is 100.
19121912
* @param {string} [request.pageToken]
19131913
* Optional. The next_page_token value returned from a previous List request,
19141914
* if any.
@@ -2049,7 +2049,7 @@ export class RegistrationServiceClient {
20492049
* Required. The resource name of the project and location whose namespaces
20502050
* you'd like to list.
20512051
* @param {number} [request.pageSize]
2052-
* Optional. The maximum number of items to return.
2052+
* Optional. The maximum number of items to return. The default value is 100.
20532053
* @param {string} [request.pageToken]
20542054
* Optional. The next_page_token value returned from a previous List request,
20552055
* if any.
@@ -2138,7 +2138,7 @@ export class RegistrationServiceClient {
21382138
* Required. The resource name of the project and location whose namespaces
21392139
* you'd like to list.
21402140
* @param {number} [request.pageSize]
2141-
* Optional. The maximum number of items to return.
2141+
* Optional. The maximum number of items to return. The default value is 100.
21422142
* @param {string} [request.pageToken]
21432143
* Optional. The next_page_token value returned from a previous List request,
21442144
* if any.
@@ -2226,7 +2226,7 @@ export class RegistrationServiceClient {
22262226
* Required. The resource name of the namespace whose services you'd
22272227
* like to list.
22282228
* @param {number} [request.pageSize]
2229-
* Optional. The maximum number of items to return.
2229+
* Optional. The maximum number of items to return. The default value is 100.
22302230
* @param {string} [request.pageToken]
22312231
* Optional. The next_page_token value returned from a previous List request,
22322232
* if any.
@@ -2370,7 +2370,7 @@ export class RegistrationServiceClient {
23702370
* Required. The resource name of the namespace whose services you'd
23712371
* like to list.
23722372
* @param {number} [request.pageSize]
2373-
* Optional. The maximum number of items to return.
2373+
* Optional. The maximum number of items to return. The default value is 100.
23742374
* @param {string} [request.pageToken]
23752375
* Optional. The next_page_token value returned from a previous List request,
23762376
* if any.
@@ -2462,7 +2462,7 @@ export class RegistrationServiceClient {
24622462
* Required. The resource name of the namespace whose services you'd
24632463
* like to list.
24642464
* @param {number} [request.pageSize]
2465-
* Optional. The maximum number of items to return.
2465+
* Optional. The maximum number of items to return. The default value is 100.
24662466
* @param {string} [request.pageToken]
24672467
* Optional. The next_page_token value returned from a previous List request,
24682468
* if any.
@@ -2553,7 +2553,7 @@ export class RegistrationServiceClient {
25532553
* Required. The resource name of the service whose endpoints you'd like to
25542554
* list.
25552555
* @param {number} [request.pageSize]
2556-
* Optional. The maximum number of items to return.
2556+
* Optional. The maximum number of items to return. The default value is 100.
25572557
* @param {string} [request.pageToken]
25582558
* Optional. The next_page_token value returned from a previous List request,
25592559
* if any.
@@ -2699,7 +2699,7 @@ export class RegistrationServiceClient {
26992699
* Required. The resource name of the service whose endpoints you'd like to
27002700
* list.
27012701
* @param {number} [request.pageSize]
2702-
* Optional. The maximum number of items to return.
2702+
* Optional. The maximum number of items to return. The default value is 100.
27032703
* @param {string} [request.pageToken]
27042704
* Optional. The next_page_token value returned from a previous List request,
27052705
* if any.
@@ -2793,7 +2793,7 @@ export class RegistrationServiceClient {
27932793
* Required. The resource name of the service whose endpoints you'd like to
27942794
* list.
27952795
* @param {number} [request.pageSize]
2796-
* Optional. The maximum number of items to return.
2796+
* Optional. The maximum number of items to return. The default value is 100.
27972797
* @param {string} [request.pageToken]
27982798
* Optional. The next_page_token value returned from a previous List request,
27992799
* if any.

0 commit comments

Comments
 (0)