@google-ads/admanager 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/LICENSE +202 -0
  3. package/README.md +236 -0
  4. package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +81 -0
  5. package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +230 -0
  6. package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +195 -0
  7. package/build/protos/google/ads/admanager/v1/admanager_error.proto +52 -0
  8. package/build/protos/google/ads/admanager/v1/applied_label.proto +41 -0
  9. package/build/protos/google/ads/admanager/v1/company_credit_status_enum.proto +97 -0
  10. package/build/protos/google/ads/admanager/v1/company_messages.proto +122 -0
  11. package/build/protos/google/ads/admanager/v1/company_service.proto +126 -0
  12. package/build/protos/google/ads/admanager/v1/company_type_enum.proto +51 -0
  13. package/build/protos/google/ads/admanager/v1/contact_messages.proto +49 -0
  14. package/build/protos/google/ads/admanager/v1/custom_field_enums.proto +110 -0
  15. package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +87 -0
  16. package/build/protos/google/ads/admanager/v1/custom_field_service.proto +127 -0
  17. package/build/protos/google/ads/admanager/v1/custom_field_value.proto +62 -0
  18. package/build/protos/google/ads/admanager/v1/custom_targeting_key_enums.proto +76 -0
  19. package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +69 -0
  20. package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +129 -0
  21. package/build/protos/google/ads/admanager/v1/custom_targeting_value_enums.proto +90 -0
  22. package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +66 -0
  23. package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +132 -0
  24. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_messages.proto +64 -0
  25. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +252 -0
  26. package/build/protos/google/ads/admanager/v1/environment_type_enum.proto +41 -0
  27. package/build/protos/google/ads/admanager/v1/frequency_cap.proto +39 -0
  28. package/build/protos/google/ads/admanager/v1/label_messages.proto +42 -0
  29. package/build/protos/google/ads/admanager/v1/network_messages.proto +79 -0
  30. package/build/protos/google/ads/admanager/v1/network_service.proto +72 -0
  31. package/build/protos/google/ads/admanager/v1/order_enums.proto +59 -0
  32. package/build/protos/google/ads/admanager/v1/order_messages.proto +209 -0
  33. package/build/protos/google/ads/admanager/v1/order_service.proto +129 -0
  34. package/build/protos/google/ads/admanager/v1/placement_enums.proto +44 -0
  35. package/build/protos/google/ads/admanager/v1/placement_messages.proto +77 -0
  36. package/build/protos/google/ads/admanager/v1/placement_service.proto +126 -0
  37. package/build/protos/google/ads/admanager/v1/report_service.proto +3526 -0
  38. package/build/protos/google/ads/admanager/v1/role_enums.proto +41 -0
  39. package/build/protos/google/ads/admanager/v1/role_messages.proto +59 -0
  40. package/build/protos/google/ads/admanager/v1/role_service.proto +122 -0
  41. package/build/protos/google/ads/admanager/v1/size.proto +47 -0
  42. package/build/protos/google/ads/admanager/v1/size_type_enum.proto +62 -0
  43. package/build/protos/google/ads/admanager/v1/taxonomy_category_messages.proto +70 -0
  44. package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +128 -0
  45. package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +51 -0
  46. package/build/protos/google/ads/admanager/v1/team_messages.proto +46 -0
  47. package/build/protos/google/ads/admanager/v1/time_unit_enum.proto +59 -0
  48. package/build/protos/google/ads/admanager/v1/user_messages.proto +78 -0
  49. package/build/protos/google/ads/admanager/v1/user_service.proto +57 -0
  50. package/build/protos/protos.d.ts +23491 -0
  51. package/build/protos/protos.js +69798 -0
  52. package/build/protos/protos.json +7273 -0
  53. package/build/src/index.d.ts +47 -0
  54. package/build/src/index.js +67 -0
  55. package/build/src/index.js.map +1 -0
  56. package/build/src/v1/ad_unit_service_client.d.ts +794 -0
  57. package/build/src/v1/ad_unit_service_client.js +1136 -0
  58. package/build/src/v1/ad_unit_service_client.js.map +1 -0
  59. package/build/src/v1/ad_unit_service_client_config.json +38 -0
  60. package/build/src/v1/company_service_client.d.ts +663 -0
  61. package/build/src/v1/company_service_client.js +999 -0
  62. package/build/src/v1/company_service_client.js.map +1 -0
  63. package/build/src/v1/company_service_client_config.json +34 -0
  64. package/build/src/v1/custom_field_service_client.d.ts +663 -0
  65. package/build/src/v1/custom_field_service_client.js +1002 -0
  66. package/build/src/v1/custom_field_service_client.js.map +1 -0
  67. package/build/src/v1/custom_field_service_client_config.json +34 -0
  68. package/build/src/v1/custom_targeting_key_service_client.d.ts +664 -0
  69. package/build/src/v1/custom_targeting_key_service_client.js +1004 -0
  70. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -0
  71. package/build/src/v1/custom_targeting_key_service_client_config.json +34 -0
  72. package/build/src/v1/custom_targeting_value_service_client.d.ts +673 -0
  73. package/build/src/v1/custom_targeting_value_service_client.js +1010 -0
  74. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -0
  75. package/build/src/v1/custom_targeting_value_service_client_config.json +34 -0
  76. package/build/src/v1/entity_signals_mapping_service_client.d.ts +782 -0
  77. package/build/src/v1/entity_signals_mapping_service_client.js +1096 -0
  78. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -0
  79. package/build/src/v1/entity_signals_mapping_service_client_config.json +50 -0
  80. package/build/src/v1/index.d.ts +13 -0
  81. package/build/src/v1/index.js +47 -0
  82. package/build/src/v1/index.js.map +1 -0
  83. package/build/src/v1/network_service_client.d.ts +552 -0
  84. package/build/src/v1/network_service_client.js +877 -0
  85. package/build/src/v1/network_service_client.js.map +1 -0
  86. package/build/src/v1/network_service_client_config.json +34 -0
  87. package/build/src/v1/order_service_client.d.ts +668 -0
  88. package/build/src/v1/order_service_client.js +999 -0
  89. package/build/src/v1/order_service_client.js.map +1 -0
  90. package/build/src/v1/order_service_client_config.json +48 -0
  91. package/build/src/v1/placement_service_client.d.ts +663 -0
  92. package/build/src/v1/placement_service_client.js +999 -0
  93. package/build/src/v1/placement_service_client.js.map +1 -0
  94. package/build/src/v1/placement_service_client_config.json +34 -0
  95. package/build/src/v1/report_service_client.d.ts +975 -0
  96. package/build/src/v1/report_service_client.js +1352 -0
  97. package/build/src/v1/report_service_client.js.map +1 -0
  98. package/build/src/v1/report_service_client_config.json +50 -0
  99. package/build/src/v1/role_service_client.d.ts +660 -0
  100. package/build/src/v1/role_service_client.js +997 -0
  101. package/build/src/v1/role_service_client.js.map +1 -0
  102. package/build/src/v1/role_service_client_config.json +34 -0
  103. package/build/src/v1/taxonomy_category_service_client.d.ts +663 -0
  104. package/build/src/v1/taxonomy_category_service_client.js +1003 -0
  105. package/build/src/v1/taxonomy_category_service_client.js.map +1 -0
  106. package/build/src/v1/taxonomy_category_service_client_config.json +34 -0
  107. package/build/src/v1/user_service_client.d.ts +534 -0
  108. package/build/src/v1/user_service_client.js +861 -0
  109. package/build/src/v1/user_service_client.js.map +1 -0
  110. package/build/src/v1/user_service_client_config.json +30 -0
  111. package/package.json +70 -0
@@ -0,0 +1,782 @@
1
+ import type * as gax from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
3
+ import { Transform } from 'stream';
4
+ import * as protos from '../../protos/protos';
5
+ /**
6
+ * Provides methods for handling `EntitySignalsMapping` objects.
7
+ * @class
8
+ * @memberof v1
9
+ */
10
+ export declare class EntitySignalsMappingServiceClient {
11
+ private _terminated;
12
+ private _opts;
13
+ private _providedCustomServicePath;
14
+ private _gaxModule;
15
+ private _gaxGrpc;
16
+ private _protos;
17
+ private _defaults;
18
+ private _universeDomain;
19
+ private _servicePath;
20
+ auth: gax.GoogleAuth;
21
+ descriptors: Descriptors;
22
+ warn: (code: string, message: string, warnType?: string) => void;
23
+ innerApiCalls: {
24
+ [name: string]: Function;
25
+ };
26
+ pathTemplates: {
27
+ [name: string]: gax.PathTemplate;
28
+ };
29
+ entitySignalsMappingServiceStub?: Promise<{
30
+ [name: string]: Function;
31
+ }>;
32
+ /**
33
+ * Construct an instance of EntitySignalsMappingServiceClient.
34
+ *
35
+ * @param {object} [options] - The configuration object.
36
+ * The options accepted by the constructor are described in detail
37
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
38
+ * The common options are:
39
+ * @param {object} [options.credentials] - Credentials object.
40
+ * @param {string} [options.credentials.client_email]
41
+ * @param {string} [options.credentials.private_key]
42
+ * @param {string} [options.email] - Account email address. Required when
43
+ * using a .pem or .p12 keyFilename.
44
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
45
+ * .p12 key downloaded from the Google Developers Console. If you provide
46
+ * a path to a JSON file, the projectId option below is not necessary.
47
+ * NOTE: .pem and .p12 require you to specify options.email as well.
48
+ * @param {number} [options.port] - The port on which to connect to
49
+ * the remote host.
50
+ * @param {string} [options.projectId] - The project ID from the Google
51
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
52
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
53
+ * app is running in an environment which supports
54
+ * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
55
+ * your project ID will be detected automatically.
56
+ * @param {string} [options.apiEndpoint] - The domain name of the
57
+ * API remote host.
58
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
59
+ * Follows the structure of {@link gapicConfig}.
60
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
61
+ * For more information, please check the
62
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
63
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
64
+ * need to avoid loading the default gRPC version and want to use the fallback
65
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
66
+ * ```
67
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
68
+ * const client = new EntitySignalsMappingServiceClient({fallback: true}, gax);
69
+ * ```
70
+ */
71
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
72
+ /**
73
+ * Initialize the client.
74
+ * Performs asynchronous operations (such as authentication) and prepares the client.
75
+ * This function will be called automatically when any class method is called for the
76
+ * first time, but if you need to initialize it before calling an actual method,
77
+ * feel free to call initialize() directly.
78
+ *
79
+ * You can await on this method if you want to make sure the client is initialized.
80
+ *
81
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
82
+ */
83
+ initialize(): Promise<{
84
+ [name: string]: Function;
85
+ }>;
86
+ /**
87
+ * The DNS address for this API service.
88
+ * @deprecated Use the apiEndpoint method of the client instance.
89
+ * @returns {string} The DNS address for this service.
90
+ */
91
+ static get servicePath(): string;
92
+ /**
93
+ * The DNS address for this API service - same as servicePath.
94
+ * @deprecated Use the apiEndpoint method of the client instance.
95
+ * @returns {string} The DNS address for this service.
96
+ */
97
+ static get apiEndpoint(): string;
98
+ /**
99
+ * The DNS address for this API service.
100
+ * @returns {string} The DNS address for this service.
101
+ */
102
+ get apiEndpoint(): string;
103
+ get universeDomain(): string;
104
+ /**
105
+ * The port for this API service.
106
+ * @returns {number} The default port for this service.
107
+ */
108
+ static get port(): number;
109
+ /**
110
+ * The scopes needed to make gRPC calls for every method defined
111
+ * in this service.
112
+ * @returns {string[]} List of default scopes.
113
+ */
114
+ static get scopes(): never[];
115
+ getProjectId(): Promise<string>;
116
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
117
+ /**
118
+ * API to retrieve a `EntitySignalsMapping` object.
119
+ *
120
+ * @param {Object} request
121
+ * The request object that will be sent.
122
+ * @param {string} request.name
123
+ * Required. The resource name of the EntitySignalsMapping.
124
+ * Format:
125
+ * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}`
126
+ * @param {object} [options]
127
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
128
+ * @returns {Promise} - The promise which resolves to an array.
129
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.EntitySignalsMapping|EntitySignalsMapping}.
130
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
131
+ * for more details and examples.
132
+ * @example <caption>include:samples/generated/v1/entity_signals_mapping_service.get_entity_signals_mapping.js</caption>
133
+ * region_tag:admanager_v1_generated_EntitySignalsMappingService_GetEntitySignalsMapping_async
134
+ */
135
+ getEntitySignalsMapping(request?: protos.google.ads.admanager.v1.IGetEntitySignalsMappingRequest, options?: CallOptions): Promise<[
136
+ protos.google.ads.admanager.v1.IEntitySignalsMapping,
137
+ (protos.google.ads.admanager.v1.IGetEntitySignalsMappingRequest | undefined),
138
+ {} | undefined
139
+ ]>;
140
+ getEntitySignalsMapping(request: protos.google.ads.admanager.v1.IGetEntitySignalsMappingRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IEntitySignalsMapping, protos.google.ads.admanager.v1.IGetEntitySignalsMappingRequest | null | undefined, {} | null | undefined>): void;
141
+ getEntitySignalsMapping(request: protos.google.ads.admanager.v1.IGetEntitySignalsMappingRequest, callback: Callback<protos.google.ads.admanager.v1.IEntitySignalsMapping, protos.google.ads.admanager.v1.IGetEntitySignalsMappingRequest | null | undefined, {} | null | undefined>): void;
142
+ /**
143
+ * API to create an `EntitySignalsMapping` object.
144
+ *
145
+ * @param {Object} request
146
+ * The request object that will be sent.
147
+ * @param {string} request.parent
148
+ * Required. The parent resource where this EntitySignalsMapping will be
149
+ * created. Format: `networks/{network_code}`
150
+ * @param {google.ads.admanager.v1.EntitySignalsMapping} request.entitySignalsMapping
151
+ * Required. The EntitySignalsMapping object to create.
152
+ * @param {object} [options]
153
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
154
+ * @returns {Promise} - The promise which resolves to an array.
155
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.EntitySignalsMapping|EntitySignalsMapping}.
156
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
157
+ * for more details and examples.
158
+ * @example <caption>include:samples/generated/v1/entity_signals_mapping_service.create_entity_signals_mapping.js</caption>
159
+ * region_tag:admanager_v1_generated_EntitySignalsMappingService_CreateEntitySignalsMapping_async
160
+ */
161
+ createEntitySignalsMapping(request?: protos.google.ads.admanager.v1.ICreateEntitySignalsMappingRequest, options?: CallOptions): Promise<[
162
+ protos.google.ads.admanager.v1.IEntitySignalsMapping,
163
+ (protos.google.ads.admanager.v1.ICreateEntitySignalsMappingRequest | undefined),
164
+ {} | undefined
165
+ ]>;
166
+ createEntitySignalsMapping(request: protos.google.ads.admanager.v1.ICreateEntitySignalsMappingRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IEntitySignalsMapping, protos.google.ads.admanager.v1.ICreateEntitySignalsMappingRequest | null | undefined, {} | null | undefined>): void;
167
+ createEntitySignalsMapping(request: protos.google.ads.admanager.v1.ICreateEntitySignalsMappingRequest, callback: Callback<protos.google.ads.admanager.v1.IEntitySignalsMapping, protos.google.ads.admanager.v1.ICreateEntitySignalsMappingRequest | null | undefined, {} | null | undefined>): void;
168
+ /**
169
+ * API to update an `EntitySignalsMapping` object.
170
+ *
171
+ * @param {Object} request
172
+ * The request object that will be sent.
173
+ * @param {google.ads.admanager.v1.EntitySignalsMapping} request.entitySignalsMapping
174
+ * Required. The `EntitySignalsMapping` to update.
175
+ *
176
+ * The EntitySignalsMapping's name is used to identify the
177
+ * EntitySignalsMapping to update.
178
+ * Format:
179
+ * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}`
180
+ * @param {google.protobuf.FieldMask} request.updateMask
181
+ * Required. The list of fields to update.
182
+ * @param {object} [options]
183
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
184
+ * @returns {Promise} - The promise which resolves to an array.
185
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.EntitySignalsMapping|EntitySignalsMapping}.
186
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
187
+ * for more details and examples.
188
+ * @example <caption>include:samples/generated/v1/entity_signals_mapping_service.update_entity_signals_mapping.js</caption>
189
+ * region_tag:admanager_v1_generated_EntitySignalsMappingService_UpdateEntitySignalsMapping_async
190
+ */
191
+ updateEntitySignalsMapping(request?: protos.google.ads.admanager.v1.IUpdateEntitySignalsMappingRequest, options?: CallOptions): Promise<[
192
+ protos.google.ads.admanager.v1.IEntitySignalsMapping,
193
+ (protos.google.ads.admanager.v1.IUpdateEntitySignalsMappingRequest | undefined),
194
+ {} | undefined
195
+ ]>;
196
+ updateEntitySignalsMapping(request: protos.google.ads.admanager.v1.IUpdateEntitySignalsMappingRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IEntitySignalsMapping, protos.google.ads.admanager.v1.IUpdateEntitySignalsMappingRequest | null | undefined, {} | null | undefined>): void;
197
+ updateEntitySignalsMapping(request: protos.google.ads.admanager.v1.IUpdateEntitySignalsMappingRequest, callback: Callback<protos.google.ads.admanager.v1.IEntitySignalsMapping, protos.google.ads.admanager.v1.IUpdateEntitySignalsMappingRequest | null | undefined, {} | null | undefined>): void;
198
+ /**
199
+ * API to batch create `EntitySignalsMapping` objects.
200
+ *
201
+ * @param {Object} request
202
+ * The request object that will be sent.
203
+ * @param {string} request.parent
204
+ * Required. The parent resource where `EntitySignalsMappings` will be
205
+ * created. Format: `networks/{network_code}` The parent field in the
206
+ * CreateEntitySignalsMappingRequest must match this field.
207
+ * @param {number[]} request.requests
208
+ * Required. The `EntitySignalsMapping` objects to create.
209
+ * A maximum of 100 objects can be created in a batch.
210
+ * @param {object} [options]
211
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
212
+ * @returns {Promise} - The promise which resolves to an array.
213
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchCreateEntitySignalsMappingsResponse|BatchCreateEntitySignalsMappingsResponse}.
214
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
215
+ * for more details and examples.
216
+ * @example <caption>include:samples/generated/v1/entity_signals_mapping_service.batch_create_entity_signals_mappings.js</caption>
217
+ * region_tag:admanager_v1_generated_EntitySignalsMappingService_BatchCreateEntitySignalsMappings_async
218
+ */
219
+ batchCreateEntitySignalsMappings(request?: protos.google.ads.admanager.v1.IBatchCreateEntitySignalsMappingsRequest, options?: CallOptions): Promise<[
220
+ protos.google.ads.admanager.v1.IBatchCreateEntitySignalsMappingsResponse,
221
+ (protos.google.ads.admanager.v1.IBatchCreateEntitySignalsMappingsRequest | undefined),
222
+ {} | undefined
223
+ ]>;
224
+ batchCreateEntitySignalsMappings(request: protos.google.ads.admanager.v1.IBatchCreateEntitySignalsMappingsRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchCreateEntitySignalsMappingsResponse, protos.google.ads.admanager.v1.IBatchCreateEntitySignalsMappingsRequest | null | undefined, {} | null | undefined>): void;
225
+ batchCreateEntitySignalsMappings(request: protos.google.ads.admanager.v1.IBatchCreateEntitySignalsMappingsRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchCreateEntitySignalsMappingsResponse, protos.google.ads.admanager.v1.IBatchCreateEntitySignalsMappingsRequest | null | undefined, {} | null | undefined>): void;
226
+ /**
227
+ * API to batch update `EntitySignalsMapping` objects.
228
+ *
229
+ * @param {Object} request
230
+ * The request object that will be sent.
231
+ * @param {string} request.parent
232
+ * Required. The parent resource where `EntitySignalsMappings` will be
233
+ * updated. Format: `networks/{network_code}` The parent field in the
234
+ * UpdateEntitySignalsMappingRequest must match this field.
235
+ * @param {number[]} request.requests
236
+ * Required. The `EntitySignalsMapping` objects to update.
237
+ * A maximum of 100 objects can be updated in a batch.
238
+ * @param {object} [options]
239
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
240
+ * @returns {Promise} - The promise which resolves to an array.
241
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchUpdateEntitySignalsMappingsResponse|BatchUpdateEntitySignalsMappingsResponse}.
242
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
243
+ * for more details and examples.
244
+ * @example <caption>include:samples/generated/v1/entity_signals_mapping_service.batch_update_entity_signals_mappings.js</caption>
245
+ * region_tag:admanager_v1_generated_EntitySignalsMappingService_BatchUpdateEntitySignalsMappings_async
246
+ */
247
+ batchUpdateEntitySignalsMappings(request?: protos.google.ads.admanager.v1.IBatchUpdateEntitySignalsMappingsRequest, options?: CallOptions): Promise<[
248
+ protos.google.ads.admanager.v1.IBatchUpdateEntitySignalsMappingsResponse,
249
+ (protos.google.ads.admanager.v1.IBatchUpdateEntitySignalsMappingsRequest | undefined),
250
+ {} | undefined
251
+ ]>;
252
+ batchUpdateEntitySignalsMappings(request: protos.google.ads.admanager.v1.IBatchUpdateEntitySignalsMappingsRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchUpdateEntitySignalsMappingsResponse, protos.google.ads.admanager.v1.IBatchUpdateEntitySignalsMappingsRequest | null | undefined, {} | null | undefined>): void;
253
+ batchUpdateEntitySignalsMappings(request: protos.google.ads.admanager.v1.IBatchUpdateEntitySignalsMappingsRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchUpdateEntitySignalsMappingsResponse, protos.google.ads.admanager.v1.IBatchUpdateEntitySignalsMappingsRequest | null | undefined, {} | null | undefined>): void;
254
+ /**
255
+ * API to retrieve a list of `EntitySignalsMapping` objects.
256
+ *
257
+ * @param {Object} request
258
+ * The request object that will be sent.
259
+ * @param {string} request.parent
260
+ * Required. The parent, which owns this collection of EntitySignalsMappings.
261
+ * Format: `networks/{network_code}`
262
+ * @param {number} [request.pageSize]
263
+ * Optional. The maximum number of `EntitySignalsMappings` to return. The
264
+ * service may return fewer than this value. If unspecified, at most 50
265
+ * `EntitySignalsMappings` will be returned. The maximum value is 1000; values
266
+ * above 1000 will be coerced to 1000.
267
+ * @param {string} [request.pageToken]
268
+ * Optional. A page token, received from a previous
269
+ * `ListEntitySignalsMappings` call. Provide this to retrieve the subsequent
270
+ * page.
271
+ *
272
+ * When paginating, all other parameters provided to
273
+ * `ListEntitySignalsMappings` must match the call that provided the page
274
+ * token.
275
+ * @param {string} [request.filter]
276
+ * Optional. Expression to filter the response.
277
+ * See syntax details at
278
+ * https://developers.google.com/ad-manager/api/beta/filters
279
+ * @param {string} [request.orderBy]
280
+ * Optional. Expression to specify sorting order.
281
+ * See syntax details at
282
+ * https://developers.google.com/ad-manager/api/beta/filters#order
283
+ * @param {number} [request.skip]
284
+ * Optional. Number of individual resources to skip while paginating.
285
+ * @param {object} [options]
286
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
287
+ * @returns {Promise} - The promise which resolves to an array.
288
+ * The first element of the array is Array of {@link protos.google.ads.admanager.v1.EntitySignalsMapping|EntitySignalsMapping}.
289
+ * The client library will perform auto-pagination by default: it will call the API as many
290
+ * times as needed and will merge results from all the pages into this array.
291
+ * Note that it can affect your quota.
292
+ * We recommend using `listEntitySignalsMappingsAsync()`
293
+ * method described below for async iteration which you can stop as needed.
294
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
295
+ * for more details and examples.
296
+ */
297
+ listEntitySignalsMappings(request?: protos.google.ads.admanager.v1.IListEntitySignalsMappingsRequest, options?: CallOptions): Promise<[
298
+ protos.google.ads.admanager.v1.IEntitySignalsMapping[],
299
+ protos.google.ads.admanager.v1.IListEntitySignalsMappingsRequest | null,
300
+ protos.google.ads.admanager.v1.IListEntitySignalsMappingsResponse
301
+ ]>;
302
+ listEntitySignalsMappings(request: protos.google.ads.admanager.v1.IListEntitySignalsMappingsRequest, options: CallOptions, callback: PaginationCallback<protos.google.ads.admanager.v1.IListEntitySignalsMappingsRequest, protos.google.ads.admanager.v1.IListEntitySignalsMappingsResponse | null | undefined, protos.google.ads.admanager.v1.IEntitySignalsMapping>): void;
303
+ listEntitySignalsMappings(request: protos.google.ads.admanager.v1.IListEntitySignalsMappingsRequest, callback: PaginationCallback<protos.google.ads.admanager.v1.IListEntitySignalsMappingsRequest, protos.google.ads.admanager.v1.IListEntitySignalsMappingsResponse | null | undefined, protos.google.ads.admanager.v1.IEntitySignalsMapping>): void;
304
+ /**
305
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
306
+ * @param {Object} request
307
+ * The request object that will be sent.
308
+ * @param {string} request.parent
309
+ * Required. The parent, which owns this collection of EntitySignalsMappings.
310
+ * Format: `networks/{network_code}`
311
+ * @param {number} [request.pageSize]
312
+ * Optional. The maximum number of `EntitySignalsMappings` to return. The
313
+ * service may return fewer than this value. If unspecified, at most 50
314
+ * `EntitySignalsMappings` will be returned. The maximum value is 1000; values
315
+ * above 1000 will be coerced to 1000.
316
+ * @param {string} [request.pageToken]
317
+ * Optional. A page token, received from a previous
318
+ * `ListEntitySignalsMappings` call. Provide this to retrieve the subsequent
319
+ * page.
320
+ *
321
+ * When paginating, all other parameters provided to
322
+ * `ListEntitySignalsMappings` must match the call that provided the page
323
+ * token.
324
+ * @param {string} [request.filter]
325
+ * Optional. Expression to filter the response.
326
+ * See syntax details at
327
+ * https://developers.google.com/ad-manager/api/beta/filters
328
+ * @param {string} [request.orderBy]
329
+ * Optional. Expression to specify sorting order.
330
+ * See syntax details at
331
+ * https://developers.google.com/ad-manager/api/beta/filters#order
332
+ * @param {number} [request.skip]
333
+ * Optional. Number of individual resources to skip while paginating.
334
+ * @param {object} [options]
335
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
336
+ * @returns {Stream}
337
+ * An object stream which emits an object representing {@link protos.google.ads.admanager.v1.EntitySignalsMapping|EntitySignalsMapping} on 'data' event.
338
+ * The client library will perform auto-pagination by default: it will call the API as many
339
+ * times as needed. Note that it can affect your quota.
340
+ * We recommend using `listEntitySignalsMappingsAsync()`
341
+ * method described below for async iteration which you can stop as needed.
342
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
343
+ * for more details and examples.
344
+ */
345
+ listEntitySignalsMappingsStream(request?: protos.google.ads.admanager.v1.IListEntitySignalsMappingsRequest, options?: CallOptions): Transform;
346
+ /**
347
+ * Equivalent to `listEntitySignalsMappings`, but returns an iterable object.
348
+ *
349
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
350
+ * @param {Object} request
351
+ * The request object that will be sent.
352
+ * @param {string} request.parent
353
+ * Required. The parent, which owns this collection of EntitySignalsMappings.
354
+ * Format: `networks/{network_code}`
355
+ * @param {number} [request.pageSize]
356
+ * Optional. The maximum number of `EntitySignalsMappings` to return. The
357
+ * service may return fewer than this value. If unspecified, at most 50
358
+ * `EntitySignalsMappings` will be returned. The maximum value is 1000; values
359
+ * above 1000 will be coerced to 1000.
360
+ * @param {string} [request.pageToken]
361
+ * Optional. A page token, received from a previous
362
+ * `ListEntitySignalsMappings` call. Provide this to retrieve the subsequent
363
+ * page.
364
+ *
365
+ * When paginating, all other parameters provided to
366
+ * `ListEntitySignalsMappings` must match the call that provided the page
367
+ * token.
368
+ * @param {string} [request.filter]
369
+ * Optional. Expression to filter the response.
370
+ * See syntax details at
371
+ * https://developers.google.com/ad-manager/api/beta/filters
372
+ * @param {string} [request.orderBy]
373
+ * Optional. Expression to specify sorting order.
374
+ * See syntax details at
375
+ * https://developers.google.com/ad-manager/api/beta/filters#order
376
+ * @param {number} [request.skip]
377
+ * Optional. Number of individual resources to skip while paginating.
378
+ * @param {object} [options]
379
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
380
+ * @returns {Object}
381
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
382
+ * When you iterate the returned iterable, each element will be an object representing
383
+ * {@link protos.google.ads.admanager.v1.EntitySignalsMapping|EntitySignalsMapping}. The API will be called under the hood as needed, once per the page,
384
+ * so you can stop the iteration when you don't need more results.
385
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
386
+ * for more details and examples.
387
+ * @example <caption>include:samples/generated/v1/entity_signals_mapping_service.list_entity_signals_mappings.js</caption>
388
+ * region_tag:admanager_v1_generated_EntitySignalsMappingService_ListEntitySignalsMappings_async
389
+ */
390
+ listEntitySignalsMappingsAsync(request?: protos.google.ads.admanager.v1.IListEntitySignalsMappingsRequest, options?: CallOptions): AsyncIterable<protos.google.ads.admanager.v1.IEntitySignalsMapping>;
391
+ /**
392
+ * Return a fully-qualified adUnit resource name string.
393
+ *
394
+ * @param {string} network_code
395
+ * @param {string} ad_unit
396
+ * @returns {string} Resource name string.
397
+ */
398
+ adUnitPath(networkCode: string, adUnit: string): string;
399
+ /**
400
+ * Parse the network_code from AdUnit resource.
401
+ *
402
+ * @param {string} adUnitName
403
+ * A fully-qualified path representing AdUnit resource.
404
+ * @returns {string} A string representing the network_code.
405
+ */
406
+ matchNetworkCodeFromAdUnitName(adUnitName: string): string | number;
407
+ /**
408
+ * Parse the ad_unit from AdUnit resource.
409
+ *
410
+ * @param {string} adUnitName
411
+ * A fully-qualified path representing AdUnit resource.
412
+ * @returns {string} A string representing the ad_unit.
413
+ */
414
+ matchAdUnitFromAdUnitName(adUnitName: string): string | number;
415
+ /**
416
+ * Return a fully-qualified company resource name string.
417
+ *
418
+ * @param {string} network_code
419
+ * @param {string} company
420
+ * @returns {string} Resource name string.
421
+ */
422
+ companyPath(networkCode: string, company: string): string;
423
+ /**
424
+ * Parse the network_code from Company resource.
425
+ *
426
+ * @param {string} companyName
427
+ * A fully-qualified path representing Company resource.
428
+ * @returns {string} A string representing the network_code.
429
+ */
430
+ matchNetworkCodeFromCompanyName(companyName: string): string | number;
431
+ /**
432
+ * Parse the company from Company resource.
433
+ *
434
+ * @param {string} companyName
435
+ * A fully-qualified path representing Company resource.
436
+ * @returns {string} A string representing the company.
437
+ */
438
+ matchCompanyFromCompanyName(companyName: string): string | number;
439
+ /**
440
+ * Return a fully-qualified contact resource name string.
441
+ *
442
+ * @param {string} network_code
443
+ * @param {string} contact
444
+ * @returns {string} Resource name string.
445
+ */
446
+ contactPath(networkCode: string, contact: string): string;
447
+ /**
448
+ * Parse the network_code from Contact resource.
449
+ *
450
+ * @param {string} contactName
451
+ * A fully-qualified path representing Contact resource.
452
+ * @returns {string} A string representing the network_code.
453
+ */
454
+ matchNetworkCodeFromContactName(contactName: string): string | number;
455
+ /**
456
+ * Parse the contact from Contact resource.
457
+ *
458
+ * @param {string} contactName
459
+ * A fully-qualified path representing Contact resource.
460
+ * @returns {string} A string representing the contact.
461
+ */
462
+ matchContactFromContactName(contactName: string): string | number;
463
+ /**
464
+ * Return a fully-qualified customField resource name string.
465
+ *
466
+ * @param {string} network_code
467
+ * @param {string} custom_field
468
+ * @returns {string} Resource name string.
469
+ */
470
+ customFieldPath(networkCode: string, customField: string): string;
471
+ /**
472
+ * Parse the network_code from CustomField resource.
473
+ *
474
+ * @param {string} customFieldName
475
+ * A fully-qualified path representing CustomField resource.
476
+ * @returns {string} A string representing the network_code.
477
+ */
478
+ matchNetworkCodeFromCustomFieldName(customFieldName: string): string | number;
479
+ /**
480
+ * Parse the custom_field from CustomField resource.
481
+ *
482
+ * @param {string} customFieldName
483
+ * A fully-qualified path representing CustomField resource.
484
+ * @returns {string} A string representing the custom_field.
485
+ */
486
+ matchCustomFieldFromCustomFieldName(customFieldName: string): string | number;
487
+ /**
488
+ * Return a fully-qualified customTargetingKey resource name string.
489
+ *
490
+ * @param {string} network_code
491
+ * @param {string} custom_targeting_key
492
+ * @returns {string} Resource name string.
493
+ */
494
+ customTargetingKeyPath(networkCode: string, customTargetingKey: string): string;
495
+ /**
496
+ * Parse the network_code from CustomTargetingKey resource.
497
+ *
498
+ * @param {string} customTargetingKeyName
499
+ * A fully-qualified path representing CustomTargetingKey resource.
500
+ * @returns {string} A string representing the network_code.
501
+ */
502
+ matchNetworkCodeFromCustomTargetingKeyName(customTargetingKeyName: string): string | number;
503
+ /**
504
+ * Parse the custom_targeting_key from CustomTargetingKey resource.
505
+ *
506
+ * @param {string} customTargetingKeyName
507
+ * A fully-qualified path representing CustomTargetingKey resource.
508
+ * @returns {string} A string representing the custom_targeting_key.
509
+ */
510
+ matchCustomTargetingKeyFromCustomTargetingKeyName(customTargetingKeyName: string): string | number;
511
+ /**
512
+ * Return a fully-qualified customTargetingValue resource name string.
513
+ *
514
+ * @param {string} network_code
515
+ * @param {string} custom_targeting_key
516
+ * @param {string} custom_targeting_value
517
+ * @returns {string} Resource name string.
518
+ */
519
+ customTargetingValuePath(networkCode: string, customTargetingKey: string, customTargetingValue: string): string;
520
+ /**
521
+ * Parse the network_code from CustomTargetingValue resource.
522
+ *
523
+ * @param {string} customTargetingValueName
524
+ * A fully-qualified path representing CustomTargetingValue resource.
525
+ * @returns {string} A string representing the network_code.
526
+ */
527
+ matchNetworkCodeFromCustomTargetingValueName(customTargetingValueName: string): string | number;
528
+ /**
529
+ * Parse the custom_targeting_key from CustomTargetingValue resource.
530
+ *
531
+ * @param {string} customTargetingValueName
532
+ * A fully-qualified path representing CustomTargetingValue resource.
533
+ * @returns {string} A string representing the custom_targeting_key.
534
+ */
535
+ matchCustomTargetingKeyFromCustomTargetingValueName(customTargetingValueName: string): string | number;
536
+ /**
537
+ * Parse the custom_targeting_value from CustomTargetingValue resource.
538
+ *
539
+ * @param {string} customTargetingValueName
540
+ * A fully-qualified path representing CustomTargetingValue resource.
541
+ * @returns {string} A string representing the custom_targeting_value.
542
+ */
543
+ matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName: string): string | number;
544
+ /**
545
+ * Return a fully-qualified entitySignalsMapping resource name string.
546
+ *
547
+ * @param {string} network_code
548
+ * @param {string} entity_signals_mapping
549
+ * @returns {string} Resource name string.
550
+ */
551
+ entitySignalsMappingPath(networkCode: string, entitySignalsMapping: string): string;
552
+ /**
553
+ * Parse the network_code from EntitySignalsMapping resource.
554
+ *
555
+ * @param {string} entitySignalsMappingName
556
+ * A fully-qualified path representing EntitySignalsMapping resource.
557
+ * @returns {string} A string representing the network_code.
558
+ */
559
+ matchNetworkCodeFromEntitySignalsMappingName(entitySignalsMappingName: string): string | number;
560
+ /**
561
+ * Parse the entity_signals_mapping from EntitySignalsMapping resource.
562
+ *
563
+ * @param {string} entitySignalsMappingName
564
+ * A fully-qualified path representing EntitySignalsMapping resource.
565
+ * @returns {string} A string representing the entity_signals_mapping.
566
+ */
567
+ matchEntitySignalsMappingFromEntitySignalsMappingName(entitySignalsMappingName: string): string | number;
568
+ /**
569
+ * Return a fully-qualified label resource name string.
570
+ *
571
+ * @param {string} network_code
572
+ * @param {string} label
573
+ * @returns {string} Resource name string.
574
+ */
575
+ labelPath(networkCode: string, label: string): string;
576
+ /**
577
+ * Parse the network_code from Label resource.
578
+ *
579
+ * @param {string} labelName
580
+ * A fully-qualified path representing Label resource.
581
+ * @returns {string} A string representing the network_code.
582
+ */
583
+ matchNetworkCodeFromLabelName(labelName: string): string | number;
584
+ /**
585
+ * Parse the label from Label resource.
586
+ *
587
+ * @param {string} labelName
588
+ * A fully-qualified path representing Label resource.
589
+ * @returns {string} A string representing the label.
590
+ */
591
+ matchLabelFromLabelName(labelName: string): string | number;
592
+ /**
593
+ * Return a fully-qualified network resource name string.
594
+ *
595
+ * @param {string} network_code
596
+ * @returns {string} Resource name string.
597
+ */
598
+ networkPath(networkCode: string): string;
599
+ /**
600
+ * Parse the network_code from Network resource.
601
+ *
602
+ * @param {string} networkName
603
+ * A fully-qualified path representing Network resource.
604
+ * @returns {string} A string representing the network_code.
605
+ */
606
+ matchNetworkCodeFromNetworkName(networkName: string): string | number;
607
+ /**
608
+ * Return a fully-qualified order resource name string.
609
+ *
610
+ * @param {string} network_code
611
+ * @param {string} order
612
+ * @returns {string} Resource name string.
613
+ */
614
+ orderPath(networkCode: string, order: string): string;
615
+ /**
616
+ * Parse the network_code from Order resource.
617
+ *
618
+ * @param {string} orderName
619
+ * A fully-qualified path representing Order resource.
620
+ * @returns {string} A string representing the network_code.
621
+ */
622
+ matchNetworkCodeFromOrderName(orderName: string): string | number;
623
+ /**
624
+ * Parse the order from Order resource.
625
+ *
626
+ * @param {string} orderName
627
+ * A fully-qualified path representing Order resource.
628
+ * @returns {string} A string representing the order.
629
+ */
630
+ matchOrderFromOrderName(orderName: string): string | number;
631
+ /**
632
+ * Return a fully-qualified placement resource name string.
633
+ *
634
+ * @param {string} network_code
635
+ * @param {string} placement
636
+ * @returns {string} Resource name string.
637
+ */
638
+ placementPath(networkCode: string, placement: string): string;
639
+ /**
640
+ * Parse the network_code from Placement resource.
641
+ *
642
+ * @param {string} placementName
643
+ * A fully-qualified path representing Placement resource.
644
+ * @returns {string} A string representing the network_code.
645
+ */
646
+ matchNetworkCodeFromPlacementName(placementName: string): string | number;
647
+ /**
648
+ * Parse the placement from Placement resource.
649
+ *
650
+ * @param {string} placementName
651
+ * A fully-qualified path representing Placement resource.
652
+ * @returns {string} A string representing the placement.
653
+ */
654
+ matchPlacementFromPlacementName(placementName: string): string | number;
655
+ /**
656
+ * Return a fully-qualified report resource name string.
657
+ *
658
+ * @param {string} network_code
659
+ * @param {string} report
660
+ * @returns {string} Resource name string.
661
+ */
662
+ reportPath(networkCode: string, report: string): string;
663
+ /**
664
+ * Parse the network_code from Report resource.
665
+ *
666
+ * @param {string} reportName
667
+ * A fully-qualified path representing Report resource.
668
+ * @returns {string} A string representing the network_code.
669
+ */
670
+ matchNetworkCodeFromReportName(reportName: string): string | number;
671
+ /**
672
+ * Parse the report from Report resource.
673
+ *
674
+ * @param {string} reportName
675
+ * A fully-qualified path representing Report resource.
676
+ * @returns {string} A string representing the report.
677
+ */
678
+ matchReportFromReportName(reportName: string): string | number;
679
+ /**
680
+ * Return a fully-qualified role resource name string.
681
+ *
682
+ * @param {string} network_code
683
+ * @param {string} role
684
+ * @returns {string} Resource name string.
685
+ */
686
+ rolePath(networkCode: string, role: string): string;
687
+ /**
688
+ * Parse the network_code from Role resource.
689
+ *
690
+ * @param {string} roleName
691
+ * A fully-qualified path representing Role resource.
692
+ * @returns {string} A string representing the network_code.
693
+ */
694
+ matchNetworkCodeFromRoleName(roleName: string): string | number;
695
+ /**
696
+ * Parse the role from Role resource.
697
+ *
698
+ * @param {string} roleName
699
+ * A fully-qualified path representing Role resource.
700
+ * @returns {string} A string representing the role.
701
+ */
702
+ matchRoleFromRoleName(roleName: string): string | number;
703
+ /**
704
+ * Return a fully-qualified taxonomyCategory resource name string.
705
+ *
706
+ * @param {string} network_code
707
+ * @param {string} taxonomy_category
708
+ * @returns {string} Resource name string.
709
+ */
710
+ taxonomyCategoryPath(networkCode: string, taxonomyCategory: string): string;
711
+ /**
712
+ * Parse the network_code from TaxonomyCategory resource.
713
+ *
714
+ * @param {string} taxonomyCategoryName
715
+ * A fully-qualified path representing TaxonomyCategory resource.
716
+ * @returns {string} A string representing the network_code.
717
+ */
718
+ matchNetworkCodeFromTaxonomyCategoryName(taxonomyCategoryName: string): string | number;
719
+ /**
720
+ * Parse the taxonomy_category from TaxonomyCategory resource.
721
+ *
722
+ * @param {string} taxonomyCategoryName
723
+ * A fully-qualified path representing TaxonomyCategory resource.
724
+ * @returns {string} A string representing the taxonomy_category.
725
+ */
726
+ matchTaxonomyCategoryFromTaxonomyCategoryName(taxonomyCategoryName: string): string | number;
727
+ /**
728
+ * Return a fully-qualified team resource name string.
729
+ *
730
+ * @param {string} network_code
731
+ * @param {string} team
732
+ * @returns {string} Resource name string.
733
+ */
734
+ teamPath(networkCode: string, team: string): string;
735
+ /**
736
+ * Parse the network_code from Team resource.
737
+ *
738
+ * @param {string} teamName
739
+ * A fully-qualified path representing Team resource.
740
+ * @returns {string} A string representing the network_code.
741
+ */
742
+ matchNetworkCodeFromTeamName(teamName: string): string | number;
743
+ /**
744
+ * Parse the team from Team resource.
745
+ *
746
+ * @param {string} teamName
747
+ * A fully-qualified path representing Team resource.
748
+ * @returns {string} A string representing the team.
749
+ */
750
+ matchTeamFromTeamName(teamName: string): string | number;
751
+ /**
752
+ * Return a fully-qualified user resource name string.
753
+ *
754
+ * @param {string} network_code
755
+ * @param {string} user
756
+ * @returns {string} Resource name string.
757
+ */
758
+ userPath(networkCode: string, user: string): string;
759
+ /**
760
+ * Parse the network_code from User resource.
761
+ *
762
+ * @param {string} userName
763
+ * A fully-qualified path representing User resource.
764
+ * @returns {string} A string representing the network_code.
765
+ */
766
+ matchNetworkCodeFromUserName(userName: string): string | number;
767
+ /**
768
+ * Parse the user from User resource.
769
+ *
770
+ * @param {string} userName
771
+ * A fully-qualified path representing User resource.
772
+ * @returns {string} A string representing the user.
773
+ */
774
+ matchUserFromUserName(userName: string): string | number;
775
+ /**
776
+ * Terminate the gRPC channel and close the client.
777
+ *
778
+ * The client will no longer be usable and all future behavior is undefined.
779
+ * @returns {Promise} A promise that resolves when the client is closed.
780
+ */
781
+ close(): Promise<void>;
782
+ }