@google-ads/admanager 0.3.0 → 0.4.1

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 (182) hide show
  1. package/README.md +86 -150
  2. package/build/protos/google/ads/admanager/v1/ad_break_messages.proto +134 -0
  3. package/build/protos/google/ads/admanager/v1/ad_break_service.proto +269 -0
  4. package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +1 -1
  5. package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +32 -26
  6. package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +3 -1
  7. package/build/protos/google/ads/admanager/v1/admanager_error.proto +1 -1
  8. package/build/protos/google/ads/admanager/v1/applied_label.proto +1 -1
  9. package/build/protos/google/ads/admanager/v1/bandwidth_group_messages.proto +46 -0
  10. package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +129 -0
  11. package/build/protos/google/ads/admanager/v1/company_enums.proto +123 -0
  12. package/build/protos/google/ads/admanager/v1/company_messages.proto +6 -7
  13. package/build/protos/google/ads/admanager/v1/company_service.proto +3 -1
  14. package/build/protos/google/ads/admanager/v1/contact_messages.proto +4 -4
  15. package/build/protos/google/ads/admanager/v1/custom_field_enums.proto +1 -1
  16. package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +12 -11
  17. package/build/protos/google/ads/admanager/v1/custom_field_service.proto +3 -1
  18. package/build/protos/google/ads/admanager/v1/custom_field_value.proto +1 -2
  19. package/build/protos/google/ads/admanager/v1/custom_targeting_key_enums.proto +1 -1
  20. package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +1 -1
  21. package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +3 -1
  22. package/build/protos/google/ads/admanager/v1/custom_targeting_value_enums.proto +1 -1
  23. package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +14 -3
  24. package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +14 -6
  25. package/build/protos/google/ads/admanager/v1/deal_buyer_permission_type_enum.proto +41 -0
  26. package/build/protos/google/ads/admanager/v1/device_category_messages.proto +45 -0
  27. package/build/protos/google/ads/admanager/v1/device_category_service.proto +129 -0
  28. package/build/protos/google/ads/admanager/v1/early_ad_break_notification_enums.proto +47 -0
  29. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_messages.proto +4 -4
  30. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +6 -4
  31. package/build/protos/google/ads/admanager/v1/environment_type_enum.proto +1 -1
  32. package/build/protos/google/ads/admanager/v1/frequency_cap.proto +1 -1
  33. package/build/protos/google/ads/admanager/v1/geo_target_messages.proto +70 -0
  34. package/build/protos/google/ads/admanager/v1/geo_target_service.proto +128 -0
  35. package/build/protos/google/ads/admanager/v1/label_messages.proto +1 -1
  36. package/build/protos/google/ads/admanager/v1/live_stream_event_messages.proto +47 -0
  37. package/build/protos/google/ads/admanager/v1/network_messages.proto +2 -2
  38. package/build/protos/google/ads/admanager/v1/network_service.proto +4 -2
  39. package/build/protos/google/ads/admanager/v1/operating_system_messages.proto +45 -0
  40. package/build/protos/google/ads/admanager/v1/operating_system_service.proto +129 -0
  41. package/build/protos/google/ads/admanager/v1/operating_system_version_messages.proto +52 -0
  42. package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +133 -0
  43. package/build/protos/google/ads/admanager/v1/order_enums.proto +1 -1
  44. package/build/protos/google/ads/admanager/v1/order_messages.proto +24 -20
  45. package/build/protos/google/ads/admanager/v1/order_service.proto +3 -1
  46. package/build/protos/google/ads/admanager/v1/placement_enums.proto +1 -1
  47. package/build/protos/google/ads/admanager/v1/placement_messages.proto +14 -14
  48. package/build/protos/google/ads/admanager/v1/placement_service.proto +3 -1
  49. package/build/protos/google/ads/admanager/v1/private_auction_deal_messages.proto +119 -0
  50. package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +184 -0
  51. package/build/protos/google/ads/admanager/v1/private_auction_messages.proto +74 -0
  52. package/build/protos/google/ads/admanager/v1/private_auction_service.proto +180 -0
  53. package/build/protos/google/ads/admanager/v1/private_marketplace_enums.proto +50 -0
  54. package/build/protos/google/ads/admanager/v1/programmatic_buyer_messages.proto +72 -0
  55. package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +131 -0
  56. package/build/protos/google/ads/admanager/v1/report_messages.proto +3536 -0
  57. package/build/protos/google/ads/admanager/v1/report_service.proto +5 -3247
  58. package/build/protos/google/ads/admanager/v1/request_platform_enum.proto +49 -0
  59. package/build/protos/google/ads/admanager/v1/role_enums.proto +1 -1
  60. package/build/protos/google/ads/admanager/v1/role_messages.proto +6 -6
  61. package/build/protos/google/ads/admanager/v1/role_service.proto +3 -1
  62. package/build/protos/google/ads/admanager/v1/size.proto +7 -11
  63. package/build/protos/google/ads/admanager/v1/size_type_enum.proto +1 -1
  64. package/build/protos/google/ads/admanager/v1/targeted_video_bumper_type_enum.proto +44 -0
  65. package/build/protos/google/ads/admanager/v1/targeting.proto +328 -0
  66. package/build/protos/google/ads/admanager/v1/taxonomy_category_messages.proto +7 -6
  67. package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +3 -1
  68. package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +1 -1
  69. package/build/protos/google/ads/admanager/v1/team_messages.proto +1 -5
  70. package/build/protos/google/ads/admanager/v1/time_unit_enum.proto +1 -1
  71. package/build/protos/google/ads/admanager/v1/user_messages.proto +10 -9
  72. package/build/protos/google/ads/admanager/v1/user_service.proto +3 -1
  73. package/build/protos/google/ads/admanager/v1/video_position_enum.proto +47 -0
  74. package/build/protos/protos.d.ts +15832 -7575
  75. package/build/protos/protos.js +57744 -36372
  76. package/build/protos/protos.json +5795 -2511
  77. package/build/src/index.d.ts +28 -1
  78. package/build/src/index.js +20 -17
  79. package/build/src/index.js.map +1 -1
  80. package/build/src/v1/ad_break_service_client.d.ts +1040 -0
  81. package/build/src/v1/ad_break_service_client.js +1483 -0
  82. package/build/src/v1/ad_break_service_client.js.map +1 -0
  83. package/build/src/v1/ad_break_service_client_config.json +46 -0
  84. package/build/src/v1/ad_break_service_proto_list.json +74 -0
  85. package/build/src/v1/ad_unit_service_client.d.ts +331 -91
  86. package/build/src/v1/ad_unit_service_client.js +414 -106
  87. package/build/src/v1/ad_unit_service_client.js.map +1 -1
  88. package/build/src/v1/ad_unit_service_proto_list.json +29 -3
  89. package/build/src/v1/bandwidth_group_service_client.d.ts +904 -0
  90. package/build/src/v1/bandwidth_group_service_client.js +1369 -0
  91. package/build/src/v1/bandwidth_group_service_client.js.map +1 -0
  92. package/build/src/v1/bandwidth_group_service_client_config.json +34 -0
  93. package/build/src/v1/bandwidth_group_service_proto_list.json +74 -0
  94. package/build/src/v1/company_service_client.d.ts +291 -51
  95. package/build/src/v1/company_service_client.js +402 -81
  96. package/build/src/v1/company_service_client.js.map +1 -1
  97. package/build/src/v1/company_service_proto_list.json +29 -3
  98. package/build/src/v1/custom_field_service_client.d.ts +291 -51
  99. package/build/src/v1/custom_field_service_client.js +403 -85
  100. package/build/src/v1/custom_field_service_client.js.map +1 -1
  101. package/build/src/v1/custom_field_service_proto_list.json +29 -3
  102. package/build/src/v1/custom_targeting_key_service_client.d.ts +291 -51
  103. package/build/src/v1/custom_targeting_key_service_client.js +404 -88
  104. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
  105. package/build/src/v1/custom_targeting_key_service_proto_list.json +29 -3
  106. package/build/src/v1/custom_targeting_value_service_client.d.ts +298 -58
  107. package/build/src/v1/custom_targeting_value_service_client.js +406 -90
  108. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
  109. package/build/src/v1/custom_targeting_value_service_proto_list.json +29 -3
  110. package/build/src/v1/device_category_service_client.d.ts +904 -0
  111. package/build/src/v1/device_category_service_client.js +1369 -0
  112. package/build/src/v1/device_category_service_client.js.map +1 -0
  113. package/build/src/v1/device_category_service_client_config.json +34 -0
  114. package/build/src/v1/device_category_service_proto_list.json +74 -0
  115. package/build/src/v1/entity_signals_mapping_service_client.d.ts +298 -58
  116. package/build/src/v1/entity_signals_mapping_service_client.js +444 -124
  117. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
  118. package/build/src/v1/entity_signals_mapping_service_proto_list.json +29 -3
  119. package/build/src/v1/gapic_metadata.json +412 -0
  120. package/build/src/v1/geo_target_service_client.d.ts +904 -0
  121. package/build/src/v1/geo_target_service_client.js +1369 -0
  122. package/build/src/v1/geo_target_service_client.js.map +1 -0
  123. package/build/src/v1/geo_target_service_client_config.json +34 -0
  124. package/build/src/v1/geo_target_service_proto_list.json +74 -0
  125. package/build/src/v1/index.d.ts +9 -0
  126. package/build/src/v1/index.js +19 -1
  127. package/build/src/v1/index.js.map +1 -1
  128. package/build/src/v1/network_service_client.d.ts +252 -12
  129. package/build/src/v1/network_service_client.js +397 -65
  130. package/build/src/v1/network_service_client.js.map +1 -1
  131. package/build/src/v1/network_service_proto_list.json +29 -3
  132. package/build/src/v1/operating_system_service_client.d.ts +904 -0
  133. package/build/src/v1/operating_system_service_client.js +1369 -0
  134. package/build/src/v1/operating_system_service_client.js.map +1 -0
  135. package/build/src/v1/operating_system_service_client_config.json +34 -0
  136. package/build/src/v1/operating_system_service_proto_list.json +74 -0
  137. package/build/src/v1/operating_system_version_service_client.d.ts +911 -0
  138. package/build/src/v1/operating_system_version_service_client.js +1373 -0
  139. package/build/src/v1/operating_system_version_service_client.js.map +1 -0
  140. package/build/src/v1/operating_system_version_service_client_config.json +34 -0
  141. package/build/src/v1/operating_system_version_service_proto_list.json +74 -0
  142. package/build/src/v1/order_service_client.d.ts +296 -56
  143. package/build/src/v1/order_service_client.js +402 -81
  144. package/build/src/v1/order_service_client.js.map +1 -1
  145. package/build/src/v1/order_service_proto_list.json +29 -3
  146. package/build/src/v1/placement_service_client.d.ts +291 -51
  147. package/build/src/v1/placement_service_client.js +402 -81
  148. package/build/src/v1/placement_service_client.js.map +1 -1
  149. package/build/src/v1/placement_service_proto_list.json +29 -3
  150. package/build/src/v1/private_auction_deal_service_client.d.ts +965 -0
  151. package/build/src/v1/private_auction_deal_service_client.js +1445 -0
  152. package/build/src/v1/private_auction_deal_service_client.js.map +1 -0
  153. package/build/src/v1/private_auction_deal_service_client_config.json +42 -0
  154. package/build/src/v1/private_auction_deal_service_proto_list.json +74 -0
  155. package/build/src/v1/private_auction_service_client.d.ts +962 -0
  156. package/build/src/v1/private_auction_service_client.js +1443 -0
  157. package/build/src/v1/private_auction_service_client.js.map +1 -0
  158. package/build/src/v1/private_auction_service_client_config.json +42 -0
  159. package/build/src/v1/private_auction_service_proto_list.json +74 -0
  160. package/build/src/v1/programmatic_buyer_service_client.d.ts +905 -0
  161. package/build/src/v1/programmatic_buyer_service_client.js +1369 -0
  162. package/build/src/v1/programmatic_buyer_service_client.js.map +1 -0
  163. package/build/src/v1/programmatic_buyer_service_client_config.json +34 -0
  164. package/build/src/v1/programmatic_buyer_service_proto_list.json +74 -0
  165. package/build/src/v1/report_service_client.d.ts +350 -110
  166. package/build/src/v1/report_service_client.js +471 -177
  167. package/build/src/v1/report_service_client.js.map +1 -1
  168. package/build/src/v1/report_service_proto_list.json +29 -3
  169. package/build/src/v1/role_service_client.d.ts +290 -50
  170. package/build/src/v1/role_service_client.js +402 -81
  171. package/build/src/v1/role_service_client.js.map +1 -1
  172. package/build/src/v1/role_service_proto_list.json +29 -3
  173. package/build/src/v1/taxonomy_category_service_client.d.ts +291 -51
  174. package/build/src/v1/taxonomy_category_service_client.js +404 -87
  175. package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
  176. package/build/src/v1/taxonomy_category_service_proto_list.json +29 -3
  177. package/build/src/v1/user_service_client.d.ts +251 -11
  178. package/build/src/v1/user_service_client.js +388 -59
  179. package/build/src/v1/user_service_client.js.map +1 -1
  180. package/build/src/v1/user_service_proto_list.json +29 -3
  181. package/package.json +4 -4
  182. package/CHANGELOG.md +0 -40
@@ -0,0 +1,1040 @@
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 `AdBreak` objects.
7
+ * @class
8
+ * @memberof v1
9
+ */
10
+ export declare class AdBreakServiceClient {
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
+ private _log;
21
+ auth: gax.GoogleAuth;
22
+ descriptors: Descriptors;
23
+ warn: (code: string, message: string, warnType?: string) => void;
24
+ innerApiCalls: {
25
+ [name: string]: Function;
26
+ };
27
+ pathTemplates: {
28
+ [name: string]: gax.PathTemplate;
29
+ };
30
+ adBreakServiceStub?: Promise<{
31
+ [name: string]: Function;
32
+ }>;
33
+ /**
34
+ * Construct an instance of AdBreakServiceClient.
35
+ *
36
+ * @param {object} [options] - The configuration object.
37
+ * The options accepted by the constructor are described in detail
38
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
39
+ * The common options are:
40
+ * @param {object} [options.credentials] - Credentials object.
41
+ * @param {string} [options.credentials.client_email]
42
+ * @param {string} [options.credentials.private_key]
43
+ * @param {string} [options.email] - Account email address. Required when
44
+ * using a .pem or .p12 keyFilename.
45
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
46
+ * .p12 key downloaded from the Google Developers Console. If you provide
47
+ * a path to a JSON file, the projectId option below is not necessary.
48
+ * NOTE: .pem and .p12 require you to specify options.email as well.
49
+ * @param {number} [options.port] - The port on which to connect to
50
+ * the remote host.
51
+ * @param {string} [options.projectId] - The project ID from the Google
52
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
53
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
54
+ * app is running in an environment which supports
55
+ * {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
56
+ * your project ID will be detected automatically.
57
+ * @param {string} [options.apiEndpoint] - The domain name of the
58
+ * API remote host.
59
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
60
+ * Follows the structure of {@link gapicConfig}.
61
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
62
+ * For more information, please check the
63
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
64
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
65
+ * need to avoid loading the default gRPC version and want to use the fallback
66
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
67
+ * ```
68
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
69
+ * const client = new AdBreakServiceClient({fallback: true}, gax);
70
+ * ```
71
+ */
72
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
73
+ /**
74
+ * Initialize the client.
75
+ * Performs asynchronous operations (such as authentication) and prepares the client.
76
+ * This function will be called automatically when any class method is called for the
77
+ * first time, but if you need to initialize it before calling an actual method,
78
+ * feel free to call initialize() directly.
79
+ *
80
+ * You can await on this method if you want to make sure the client is initialized.
81
+ *
82
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
83
+ */
84
+ initialize(): Promise<{
85
+ [name: string]: Function;
86
+ }>;
87
+ /**
88
+ * The DNS address for this API service.
89
+ * @deprecated Use the apiEndpoint method of the client instance.
90
+ * @returns {string} The DNS address for this service.
91
+ */
92
+ static get servicePath(): string;
93
+ /**
94
+ * The DNS address for this API service - same as servicePath.
95
+ * @deprecated Use the apiEndpoint method of the client instance.
96
+ * @returns {string} The DNS address for this service.
97
+ */
98
+ static get apiEndpoint(): string;
99
+ /**
100
+ * The DNS address for this API service.
101
+ * @returns {string} The DNS address for this service.
102
+ */
103
+ get apiEndpoint(): string;
104
+ get universeDomain(): string;
105
+ /**
106
+ * The port for this API service.
107
+ * @returns {number} The default port for this service.
108
+ */
109
+ static get port(): number;
110
+ /**
111
+ * The scopes needed to make gRPC calls for every method defined
112
+ * in this service.
113
+ * @returns {string[]} List of default scopes.
114
+ */
115
+ static get scopes(): string[];
116
+ getProjectId(): Promise<string>;
117
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
118
+ /**
119
+ * API to retrieve an `AdBreak` object.
120
+ *
121
+ * Query an ad break by its resource name or custom asset key. Check the
122
+ * resource's `breakState` field to determine its state.
123
+ *
124
+ * @param {Object} request
125
+ * The request object that will be sent.
126
+ * @param {string} request.name
127
+ * Required. The resource name of the AdBreak using the asset key or custom
128
+ * asset key.
129
+ *
130
+ * Format:
131
+ * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}`
132
+ * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}/adBreaks/{ad_break_id}`
133
+ * @param {object} [options]
134
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
135
+ * @returns {Promise} - The promise which resolves to an array.
136
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.AdBreak|AdBreak}.
137
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
138
+ * for more details and examples.
139
+ * @example <caption>include:samples/generated/v1/ad_break_service.get_ad_break.js</caption>
140
+ * region_tag:admanager_v1_generated_AdBreakService_GetAdBreak_async
141
+ */
142
+ getAdBreak(request?: protos.google.ads.admanager.v1.IGetAdBreakRequest, options?: CallOptions): Promise<[
143
+ protos.google.ads.admanager.v1.IAdBreak,
144
+ protos.google.ads.admanager.v1.IGetAdBreakRequest | undefined,
145
+ {} | undefined
146
+ ]>;
147
+ getAdBreak(request: protos.google.ads.admanager.v1.IGetAdBreakRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IAdBreak, protos.google.ads.admanager.v1.IGetAdBreakRequest | null | undefined, {} | null | undefined>): void;
148
+ getAdBreak(request: protos.google.ads.admanager.v1.IGetAdBreakRequest, callback: Callback<protos.google.ads.admanager.v1.IAdBreak, protos.google.ads.admanager.v1.IGetAdBreakRequest | null | undefined, {} | null | undefined>): void;
149
+ /**
150
+ * API to create an `AdBreak` object.
151
+ *
152
+ * Informs DAI of an upcoming ad break for a live stream event, with an
153
+ * optional expected start time. DAI will begin decisioning ads for the break
154
+ * shortly before the expected start time, if provided. Each live stream
155
+ * event can only have one incomplete ad break at any given time. The next ad
156
+ * break can be scheduled after the previous ad break has started serving,
157
+ * indicated by its state being
158
+ * {@link protos.google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.COMPLETE|`COMPLETE`},
159
+ * or it has been deleted.
160
+ *
161
+ * This method cannot be used if the `LiveStreamEvent` has
162
+ * [prefetching ad breaks
163
+ * enabled](https://developers.google.com/ad-manager/api/reference/latest/LiveStreamEventService.LiveStreamEvent#prefetchenabled)
164
+ * or the event is not active. If a `LiveStreamEvent` is deactivated after
165
+ * creating an ad break and before the ad break is complete, the ad break
166
+ * is discarded.
167
+ *
168
+ * An ad break's state is complete when the following occurs:
169
+ * - Full service DAI: after a matching ad break shows in the
170
+ * `LiveStreamEvent` manifest only when the ad break has started decisioning.
171
+ * - Pod Serving: after the ad break is requested using the ad break ID or
172
+ * break sequence.
173
+ *
174
+ * @param {Object} request
175
+ * The request object that will be sent.
176
+ * @param {string} request.parent
177
+ * Required. The parent resource where this `AdBreak` will be created
178
+ * identified by an asset key or custom asset key.
179
+ *
180
+ * Formats:
181
+ * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}`
182
+ * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}`
183
+ * @param {google.ads.admanager.v1.AdBreak} request.adBreak
184
+ * Required. The `AdBreak` to create.
185
+ * @param {object} [options]
186
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
187
+ * @returns {Promise} - The promise which resolves to an array.
188
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.AdBreak|AdBreak}.
189
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
190
+ * for more details and examples.
191
+ * @example <caption>include:samples/generated/v1/ad_break_service.create_ad_break.js</caption>
192
+ * region_tag:admanager_v1_generated_AdBreakService_CreateAdBreak_async
193
+ */
194
+ createAdBreak(request?: protos.google.ads.admanager.v1.ICreateAdBreakRequest, options?: CallOptions): Promise<[
195
+ protos.google.ads.admanager.v1.IAdBreak,
196
+ protos.google.ads.admanager.v1.ICreateAdBreakRequest | undefined,
197
+ {} | undefined
198
+ ]>;
199
+ createAdBreak(request: protos.google.ads.admanager.v1.ICreateAdBreakRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IAdBreak, protos.google.ads.admanager.v1.ICreateAdBreakRequest | null | undefined, {} | null | undefined>): void;
200
+ createAdBreak(request: protos.google.ads.admanager.v1.ICreateAdBreakRequest, callback: Callback<protos.google.ads.admanager.v1.IAdBreak, protos.google.ads.admanager.v1.ICreateAdBreakRequest | null | undefined, {} | null | undefined>): void;
201
+ /**
202
+ * API to update an `AdBreak` object.
203
+ *
204
+ * Modify an ad break when its state is
205
+ * {@link protos.google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.SCHEDULED|`SCHEDULED`}.
206
+ *
207
+ * @param {Object} request
208
+ * The request object that will be sent.
209
+ * @param {google.ads.admanager.v1.AdBreak} request.adBreak
210
+ * Required. The `AdBreak` to update.
211
+ *
212
+ * The `AdBreak`'s `name` is used to identify the `AdBreak` to update.
213
+ * @param {google.protobuf.FieldMask} request.updateMask
214
+ * Required. The list of fields to update.
215
+ * @param {object} [options]
216
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
217
+ * @returns {Promise} - The promise which resolves to an array.
218
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.AdBreak|AdBreak}.
219
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
220
+ * for more details and examples.
221
+ * @example <caption>include:samples/generated/v1/ad_break_service.update_ad_break.js</caption>
222
+ * region_tag:admanager_v1_generated_AdBreakService_UpdateAdBreak_async
223
+ */
224
+ updateAdBreak(request?: protos.google.ads.admanager.v1.IUpdateAdBreakRequest, options?: CallOptions): Promise<[
225
+ protos.google.ads.admanager.v1.IAdBreak,
226
+ protos.google.ads.admanager.v1.IUpdateAdBreakRequest | undefined,
227
+ {} | undefined
228
+ ]>;
229
+ updateAdBreak(request: protos.google.ads.admanager.v1.IUpdateAdBreakRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IAdBreak, protos.google.ads.admanager.v1.IUpdateAdBreakRequest | null | undefined, {} | null | undefined>): void;
230
+ updateAdBreak(request: protos.google.ads.admanager.v1.IUpdateAdBreakRequest, callback: Callback<protos.google.ads.admanager.v1.IAdBreak, protos.google.ads.admanager.v1.IUpdateAdBreakRequest | null | undefined, {} | null | undefined>): void;
231
+ /**
232
+ * API to delete an `AdBreak` object.
233
+ *
234
+ * Deletes and cancels an incomplete ad break, mitigating the need to wait
235
+ * for the current break to serve before recreating an ad break. You can
236
+ * delete an ad break that has not started serving or seen in manifests,
237
+ * indicated by its state being
238
+ * {@link protos.google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.SCHEDULED|`SCHEDULED`}
239
+ * or
240
+ * {@link protos.google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.DECISIONED|`DECISIONED`}.
241
+ *
242
+ * @param {Object} request
243
+ * The request object that will be sent.
244
+ * @param {string} request.name
245
+ * Required. The name of the ad break to delete.
246
+ *
247
+ * Format:
248
+ * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}`
249
+ * @param {object} [options]
250
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
251
+ * @returns {Promise} - The promise which resolves to an array.
252
+ * The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
253
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
254
+ * for more details and examples.
255
+ * @example <caption>include:samples/generated/v1/ad_break_service.delete_ad_break.js</caption>
256
+ * region_tag:admanager_v1_generated_AdBreakService_DeleteAdBreak_async
257
+ */
258
+ deleteAdBreak(request?: protos.google.ads.admanager.v1.IDeleteAdBreakRequest, options?: CallOptions): Promise<[
259
+ protos.google.protobuf.IEmpty,
260
+ protos.google.ads.admanager.v1.IDeleteAdBreakRequest | undefined,
261
+ {} | undefined
262
+ ]>;
263
+ deleteAdBreak(request: protos.google.ads.admanager.v1.IDeleteAdBreakRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.ads.admanager.v1.IDeleteAdBreakRequest | null | undefined, {} | null | undefined>): void;
264
+ deleteAdBreak(request: protos.google.ads.admanager.v1.IDeleteAdBreakRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.ads.admanager.v1.IDeleteAdBreakRequest | null | undefined, {} | null | undefined>): void;
265
+ /**
266
+ * API to retrieve a list of `AdBreak` objects.
267
+ *
268
+ * By default, when no `orderBy` query parameter is specified, ad breaks are
269
+ * ordered reverse chronologically. However, ad breaks with a 'breakState' of
270
+ * 'SCHEDULED' or 'DECISIONED' are prioritized and appear first.
271
+ *
272
+ * @param {Object} request
273
+ * The request object that will be sent.
274
+ * @param {string} request.parent
275
+ * Required. The parent, which owns this collection of AdBreaks.
276
+ *
277
+ * Formats:
278
+ * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}`
279
+ * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}`
280
+ * @param {number} [request.pageSize]
281
+ * Optional. The maximum number of `AdBreaks` to return. The service might
282
+ * return fewer than this value. If unspecified, at most 10 ad breaks are
283
+ * returned. The maximum value is `100`. Values above `100` are coerced to
284
+ * `100`.
285
+ * @param {string} [request.pageToken]
286
+ * Optional. A page token, received from a previous `ListAdBreaks` call.
287
+ * Provide this to retrieve the subsequent page.
288
+ *
289
+ * When paginating, all other parameters provided to `ListAdBreaks` must match
290
+ * the call that provided the page token.
291
+ * @param {string} [request.filter]
292
+ * Optional. Expression to filter the response.
293
+ * See syntax details at
294
+ * https://developers.google.com/ad-manager/api/beta/filters
295
+ * @param {string} [request.orderBy]
296
+ * Optional. Expression to specify sorting order.
297
+ * See syntax details at
298
+ * https://developers.google.com/ad-manager/api/beta/filters#order
299
+ * @param {number} [request.skip]
300
+ * Optional. Number of individual resources to skip while paginating.
301
+ * @param {object} [options]
302
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
303
+ * @returns {Promise} - The promise which resolves to an array.
304
+ * The first element of the array is Array of {@link protos.google.ads.admanager.v1.AdBreak|AdBreak}.
305
+ * The client library will perform auto-pagination by default: it will call the API as many
306
+ * times as needed and will merge results from all the pages into this array.
307
+ * Note that it can affect your quota.
308
+ * We recommend using `listAdBreaksAsync()`
309
+ * method described below for async iteration which you can stop as needed.
310
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
311
+ * for more details and examples.
312
+ */
313
+ listAdBreaks(request?: protos.google.ads.admanager.v1.IListAdBreaksRequest, options?: CallOptions): Promise<[
314
+ protos.google.ads.admanager.v1.IAdBreak[],
315
+ protos.google.ads.admanager.v1.IListAdBreaksRequest | null,
316
+ protos.google.ads.admanager.v1.IListAdBreaksResponse
317
+ ]>;
318
+ listAdBreaks(request: protos.google.ads.admanager.v1.IListAdBreaksRequest, options: CallOptions, callback: PaginationCallback<protos.google.ads.admanager.v1.IListAdBreaksRequest, protos.google.ads.admanager.v1.IListAdBreaksResponse | null | undefined, protos.google.ads.admanager.v1.IAdBreak>): void;
319
+ listAdBreaks(request: protos.google.ads.admanager.v1.IListAdBreaksRequest, callback: PaginationCallback<protos.google.ads.admanager.v1.IListAdBreaksRequest, protos.google.ads.admanager.v1.IListAdBreaksResponse | null | undefined, protos.google.ads.admanager.v1.IAdBreak>): void;
320
+ /**
321
+ * Equivalent to `listAdBreaks`, but returns a NodeJS Stream object.
322
+ * @param {Object} request
323
+ * The request object that will be sent.
324
+ * @param {string} request.parent
325
+ * Required. The parent, which owns this collection of AdBreaks.
326
+ *
327
+ * Formats:
328
+ * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}`
329
+ * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}`
330
+ * @param {number} [request.pageSize]
331
+ * Optional. The maximum number of `AdBreaks` to return. The service might
332
+ * return fewer than this value. If unspecified, at most 10 ad breaks are
333
+ * returned. The maximum value is `100`. Values above `100` are coerced to
334
+ * `100`.
335
+ * @param {string} [request.pageToken]
336
+ * Optional. A page token, received from a previous `ListAdBreaks` call.
337
+ * Provide this to retrieve the subsequent page.
338
+ *
339
+ * When paginating, all other parameters provided to `ListAdBreaks` must match
340
+ * the call that provided the page token.
341
+ * @param {string} [request.filter]
342
+ * Optional. Expression to filter the response.
343
+ * See syntax details at
344
+ * https://developers.google.com/ad-manager/api/beta/filters
345
+ * @param {string} [request.orderBy]
346
+ * Optional. Expression to specify sorting order.
347
+ * See syntax details at
348
+ * https://developers.google.com/ad-manager/api/beta/filters#order
349
+ * @param {number} [request.skip]
350
+ * Optional. Number of individual resources to skip while paginating.
351
+ * @param {object} [options]
352
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
353
+ * @returns {Stream}
354
+ * An object stream which emits an object representing {@link protos.google.ads.admanager.v1.AdBreak|AdBreak} on 'data' event.
355
+ * The client library will perform auto-pagination by default: it will call the API as many
356
+ * times as needed. Note that it can affect your quota.
357
+ * We recommend using `listAdBreaksAsync()`
358
+ * method described below for async iteration which you can stop as needed.
359
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
360
+ * for more details and examples.
361
+ */
362
+ listAdBreaksStream(request?: protos.google.ads.admanager.v1.IListAdBreaksRequest, options?: CallOptions): Transform;
363
+ /**
364
+ * Equivalent to `listAdBreaks`, but returns an iterable object.
365
+ *
366
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
367
+ * @param {Object} request
368
+ * The request object that will be sent.
369
+ * @param {string} request.parent
370
+ * Required. The parent, which owns this collection of AdBreaks.
371
+ *
372
+ * Formats:
373
+ * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}`
374
+ * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}`
375
+ * @param {number} [request.pageSize]
376
+ * Optional. The maximum number of `AdBreaks` to return. The service might
377
+ * return fewer than this value. If unspecified, at most 10 ad breaks are
378
+ * returned. The maximum value is `100`. Values above `100` are coerced to
379
+ * `100`.
380
+ * @param {string} [request.pageToken]
381
+ * Optional. A page token, received from a previous `ListAdBreaks` call.
382
+ * Provide this to retrieve the subsequent page.
383
+ *
384
+ * When paginating, all other parameters provided to `ListAdBreaks` must match
385
+ * the call that provided the page token.
386
+ * @param {string} [request.filter]
387
+ * Optional. Expression to filter the response.
388
+ * See syntax details at
389
+ * https://developers.google.com/ad-manager/api/beta/filters
390
+ * @param {string} [request.orderBy]
391
+ * Optional. Expression to specify sorting order.
392
+ * See syntax details at
393
+ * https://developers.google.com/ad-manager/api/beta/filters#order
394
+ * @param {number} [request.skip]
395
+ * Optional. Number of individual resources to skip while paginating.
396
+ * @param {object} [options]
397
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
398
+ * @returns {Object}
399
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
400
+ * When you iterate the returned iterable, each element will be an object representing
401
+ * {@link protos.google.ads.admanager.v1.AdBreak|AdBreak}. The API will be called under the hood as needed, once per the page,
402
+ * so you can stop the iteration when you don't need more results.
403
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
404
+ * for more details and examples.
405
+ * @example <caption>include:samples/generated/v1/ad_break_service.list_ad_breaks.js</caption>
406
+ * region_tag:admanager_v1_generated_AdBreakService_ListAdBreaks_async
407
+ */
408
+ listAdBreaksAsync(request?: protos.google.ads.admanager.v1.IListAdBreaksRequest, options?: CallOptions): AsyncIterable<protos.google.ads.admanager.v1.IAdBreak>;
409
+ /**
410
+ * Return a fully-qualified adBreak resource name string.
411
+ *
412
+ * @param {string} network_code
413
+ * @param {string} asset_key
414
+ * @param {string} ad_break
415
+ * @returns {string} Resource name string.
416
+ */
417
+ adBreakPath(networkCode: string, assetKey: string, adBreak: string): string;
418
+ /**
419
+ * Parse the network_code from AdBreak resource.
420
+ *
421
+ * @param {string} adBreakName
422
+ * A fully-qualified path representing AdBreak resource.
423
+ * @returns {string} A string representing the network_code.
424
+ */
425
+ matchNetworkCodeFromAdBreakName(adBreakName: string): string | number;
426
+ /**
427
+ * Parse the asset_key from AdBreak resource.
428
+ *
429
+ * @param {string} adBreakName
430
+ * A fully-qualified path representing AdBreak resource.
431
+ * @returns {string} A string representing the asset_key.
432
+ */
433
+ matchAssetKeyFromAdBreakName(adBreakName: string): string | number;
434
+ /**
435
+ * Parse the ad_break from AdBreak resource.
436
+ *
437
+ * @param {string} adBreakName
438
+ * A fully-qualified path representing AdBreak resource.
439
+ * @returns {string} A string representing the ad_break.
440
+ */
441
+ matchAdBreakFromAdBreakName(adBreakName: string): string | number;
442
+ /**
443
+ * Return a fully-qualified adUnit resource name string.
444
+ *
445
+ * @param {string} network_code
446
+ * @param {string} ad_unit
447
+ * @returns {string} Resource name string.
448
+ */
449
+ adUnitPath(networkCode: string, adUnit: string): string;
450
+ /**
451
+ * Parse the network_code from AdUnit resource.
452
+ *
453
+ * @param {string} adUnitName
454
+ * A fully-qualified path representing AdUnit resource.
455
+ * @returns {string} A string representing the network_code.
456
+ */
457
+ matchNetworkCodeFromAdUnitName(adUnitName: string): string | number;
458
+ /**
459
+ * Parse the ad_unit from AdUnit resource.
460
+ *
461
+ * @param {string} adUnitName
462
+ * A fully-qualified path representing AdUnit resource.
463
+ * @returns {string} A string representing the ad_unit.
464
+ */
465
+ matchAdUnitFromAdUnitName(adUnitName: string): string | number;
466
+ /**
467
+ * Return a fully-qualified bandwidthGroup resource name string.
468
+ *
469
+ * @param {string} network_code
470
+ * @param {string} bandwidth_group
471
+ * @returns {string} Resource name string.
472
+ */
473
+ bandwidthGroupPath(networkCode: string, bandwidthGroup: string): string;
474
+ /**
475
+ * Parse the network_code from BandwidthGroup resource.
476
+ *
477
+ * @param {string} bandwidthGroupName
478
+ * A fully-qualified path representing BandwidthGroup resource.
479
+ * @returns {string} A string representing the network_code.
480
+ */
481
+ matchNetworkCodeFromBandwidthGroupName(bandwidthGroupName: string): string | number;
482
+ /**
483
+ * Parse the bandwidth_group from BandwidthGroup resource.
484
+ *
485
+ * @param {string} bandwidthGroupName
486
+ * A fully-qualified path representing BandwidthGroup resource.
487
+ * @returns {string} A string representing the bandwidth_group.
488
+ */
489
+ matchBandwidthGroupFromBandwidthGroupName(bandwidthGroupName: string): string | number;
490
+ /**
491
+ * Return a fully-qualified company resource name string.
492
+ *
493
+ * @param {string} network_code
494
+ * @param {string} company
495
+ * @returns {string} Resource name string.
496
+ */
497
+ companyPath(networkCode: string, company: string): string;
498
+ /**
499
+ * Parse the network_code from Company resource.
500
+ *
501
+ * @param {string} companyName
502
+ * A fully-qualified path representing Company resource.
503
+ * @returns {string} A string representing the network_code.
504
+ */
505
+ matchNetworkCodeFromCompanyName(companyName: string): string | number;
506
+ /**
507
+ * Parse the company from Company resource.
508
+ *
509
+ * @param {string} companyName
510
+ * A fully-qualified path representing Company resource.
511
+ * @returns {string} A string representing the company.
512
+ */
513
+ matchCompanyFromCompanyName(companyName: string): string | number;
514
+ /**
515
+ * Return a fully-qualified contact resource name string.
516
+ *
517
+ * @param {string} network_code
518
+ * @param {string} contact
519
+ * @returns {string} Resource name string.
520
+ */
521
+ contactPath(networkCode: string, contact: string): string;
522
+ /**
523
+ * Parse the network_code from Contact resource.
524
+ *
525
+ * @param {string} contactName
526
+ * A fully-qualified path representing Contact resource.
527
+ * @returns {string} A string representing the network_code.
528
+ */
529
+ matchNetworkCodeFromContactName(contactName: string): string | number;
530
+ /**
531
+ * Parse the contact from Contact resource.
532
+ *
533
+ * @param {string} contactName
534
+ * A fully-qualified path representing Contact resource.
535
+ * @returns {string} A string representing the contact.
536
+ */
537
+ matchContactFromContactName(contactName: string): string | number;
538
+ /**
539
+ * Return a fully-qualified customField resource name string.
540
+ *
541
+ * @param {string} network_code
542
+ * @param {string} custom_field
543
+ * @returns {string} Resource name string.
544
+ */
545
+ customFieldPath(networkCode: string, customField: string): string;
546
+ /**
547
+ * Parse the network_code from CustomField resource.
548
+ *
549
+ * @param {string} customFieldName
550
+ * A fully-qualified path representing CustomField resource.
551
+ * @returns {string} A string representing the network_code.
552
+ */
553
+ matchNetworkCodeFromCustomFieldName(customFieldName: string): string | number;
554
+ /**
555
+ * Parse the custom_field from CustomField resource.
556
+ *
557
+ * @param {string} customFieldName
558
+ * A fully-qualified path representing CustomField resource.
559
+ * @returns {string} A string representing the custom_field.
560
+ */
561
+ matchCustomFieldFromCustomFieldName(customFieldName: string): string | number;
562
+ /**
563
+ * Return a fully-qualified customTargetingKey resource name string.
564
+ *
565
+ * @param {string} network_code
566
+ * @param {string} custom_targeting_key
567
+ * @returns {string} Resource name string.
568
+ */
569
+ customTargetingKeyPath(networkCode: string, customTargetingKey: string): string;
570
+ /**
571
+ * Parse the network_code from CustomTargetingKey resource.
572
+ *
573
+ * @param {string} customTargetingKeyName
574
+ * A fully-qualified path representing CustomTargetingKey resource.
575
+ * @returns {string} A string representing the network_code.
576
+ */
577
+ matchNetworkCodeFromCustomTargetingKeyName(customTargetingKeyName: string): string | number;
578
+ /**
579
+ * Parse the custom_targeting_key from CustomTargetingKey resource.
580
+ *
581
+ * @param {string} customTargetingKeyName
582
+ * A fully-qualified path representing CustomTargetingKey resource.
583
+ * @returns {string} A string representing the custom_targeting_key.
584
+ */
585
+ matchCustomTargetingKeyFromCustomTargetingKeyName(customTargetingKeyName: string): string | number;
586
+ /**
587
+ * Return a fully-qualified customTargetingValue resource name string.
588
+ *
589
+ * @param {string} network_code
590
+ * @param {string} custom_targeting_value
591
+ * @returns {string} Resource name string.
592
+ */
593
+ customTargetingValuePath(networkCode: string, customTargetingValue: string): string;
594
+ /**
595
+ * Parse the network_code from CustomTargetingValue resource.
596
+ *
597
+ * @param {string} customTargetingValueName
598
+ * A fully-qualified path representing CustomTargetingValue resource.
599
+ * @returns {string} A string representing the network_code.
600
+ */
601
+ matchNetworkCodeFromCustomTargetingValueName(customTargetingValueName: string): string | number;
602
+ /**
603
+ * Parse the custom_targeting_value from CustomTargetingValue resource.
604
+ *
605
+ * @param {string} customTargetingValueName
606
+ * A fully-qualified path representing CustomTargetingValue resource.
607
+ * @returns {string} A string representing the custom_targeting_value.
608
+ */
609
+ matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName: string): string | number;
610
+ /**
611
+ * Return a fully-qualified deviceCategory resource name string.
612
+ *
613
+ * @param {string} network_code
614
+ * @param {string} device_category
615
+ * @returns {string} Resource name string.
616
+ */
617
+ deviceCategoryPath(networkCode: string, deviceCategory: string): string;
618
+ /**
619
+ * Parse the network_code from DeviceCategory resource.
620
+ *
621
+ * @param {string} deviceCategoryName
622
+ * A fully-qualified path representing DeviceCategory resource.
623
+ * @returns {string} A string representing the network_code.
624
+ */
625
+ matchNetworkCodeFromDeviceCategoryName(deviceCategoryName: string): string | number;
626
+ /**
627
+ * Parse the device_category from DeviceCategory resource.
628
+ *
629
+ * @param {string} deviceCategoryName
630
+ * A fully-qualified path representing DeviceCategory resource.
631
+ * @returns {string} A string representing the device_category.
632
+ */
633
+ matchDeviceCategoryFromDeviceCategoryName(deviceCategoryName: string): string | number;
634
+ /**
635
+ * Return a fully-qualified entitySignalsMapping resource name string.
636
+ *
637
+ * @param {string} network_code
638
+ * @param {string} entity_signals_mapping
639
+ * @returns {string} Resource name string.
640
+ */
641
+ entitySignalsMappingPath(networkCode: string, entitySignalsMapping: string): string;
642
+ /**
643
+ * Parse the network_code from EntitySignalsMapping resource.
644
+ *
645
+ * @param {string} entitySignalsMappingName
646
+ * A fully-qualified path representing EntitySignalsMapping resource.
647
+ * @returns {string} A string representing the network_code.
648
+ */
649
+ matchNetworkCodeFromEntitySignalsMappingName(entitySignalsMappingName: string): string | number;
650
+ /**
651
+ * Parse the entity_signals_mapping from EntitySignalsMapping resource.
652
+ *
653
+ * @param {string} entitySignalsMappingName
654
+ * A fully-qualified path representing EntitySignalsMapping resource.
655
+ * @returns {string} A string representing the entity_signals_mapping.
656
+ */
657
+ matchEntitySignalsMappingFromEntitySignalsMappingName(entitySignalsMappingName: string): string | number;
658
+ /**
659
+ * Return a fully-qualified geoTarget resource name string.
660
+ *
661
+ * @param {string} network_code
662
+ * @param {string} geo_target
663
+ * @returns {string} Resource name string.
664
+ */
665
+ geoTargetPath(networkCode: string, geoTarget: string): string;
666
+ /**
667
+ * Parse the network_code from GeoTarget resource.
668
+ *
669
+ * @param {string} geoTargetName
670
+ * A fully-qualified path representing GeoTarget resource.
671
+ * @returns {string} A string representing the network_code.
672
+ */
673
+ matchNetworkCodeFromGeoTargetName(geoTargetName: string): string | number;
674
+ /**
675
+ * Parse the geo_target from GeoTarget resource.
676
+ *
677
+ * @param {string} geoTargetName
678
+ * A fully-qualified path representing GeoTarget resource.
679
+ * @returns {string} A string representing the geo_target.
680
+ */
681
+ matchGeoTargetFromGeoTargetName(geoTargetName: string): string | number;
682
+ /**
683
+ * Return a fully-qualified label resource name string.
684
+ *
685
+ * @param {string} network_code
686
+ * @param {string} label
687
+ * @returns {string} Resource name string.
688
+ */
689
+ labelPath(networkCode: string, label: string): string;
690
+ /**
691
+ * Parse the network_code from Label resource.
692
+ *
693
+ * @param {string} labelName
694
+ * A fully-qualified path representing Label resource.
695
+ * @returns {string} A string representing the network_code.
696
+ */
697
+ matchNetworkCodeFromLabelName(labelName: string): string | number;
698
+ /**
699
+ * Parse the label from Label resource.
700
+ *
701
+ * @param {string} labelName
702
+ * A fully-qualified path representing Label resource.
703
+ * @returns {string} A string representing the label.
704
+ */
705
+ matchLabelFromLabelName(labelName: string): string | number;
706
+ /**
707
+ * Return a fully-qualified liveStreamEvent resource name string.
708
+ *
709
+ * @param {string} network_code
710
+ * @param {string} live_stream_event
711
+ * @returns {string} Resource name string.
712
+ */
713
+ liveStreamEventPath(networkCode: string, liveStreamEvent: string): string;
714
+ /**
715
+ * Parse the network_code from LiveStreamEvent resource.
716
+ *
717
+ * @param {string} liveStreamEventName
718
+ * A fully-qualified path representing LiveStreamEvent resource.
719
+ * @returns {string} A string representing the network_code.
720
+ */
721
+ matchNetworkCodeFromLiveStreamEventName(liveStreamEventName: string): string | number;
722
+ /**
723
+ * Parse the live_stream_event from LiveStreamEvent resource.
724
+ *
725
+ * @param {string} liveStreamEventName
726
+ * A fully-qualified path representing LiveStreamEvent resource.
727
+ * @returns {string} A string representing the live_stream_event.
728
+ */
729
+ matchLiveStreamEventFromLiveStreamEventName(liveStreamEventName: string): string | number;
730
+ /**
731
+ * Return a fully-qualified network resource name string.
732
+ *
733
+ * @param {string} network_code
734
+ * @returns {string} Resource name string.
735
+ */
736
+ networkPath(networkCode: string): string;
737
+ /**
738
+ * Parse the network_code from Network resource.
739
+ *
740
+ * @param {string} networkName
741
+ * A fully-qualified path representing Network resource.
742
+ * @returns {string} A string representing the network_code.
743
+ */
744
+ matchNetworkCodeFromNetworkName(networkName: string): string | number;
745
+ /**
746
+ * Return a fully-qualified operatingSystem resource name string.
747
+ *
748
+ * @param {string} network_code
749
+ * @param {string} operating_system
750
+ * @returns {string} Resource name string.
751
+ */
752
+ operatingSystemPath(networkCode: string, operatingSystem: string): string;
753
+ /**
754
+ * Parse the network_code from OperatingSystem resource.
755
+ *
756
+ * @param {string} operatingSystemName
757
+ * A fully-qualified path representing OperatingSystem resource.
758
+ * @returns {string} A string representing the network_code.
759
+ */
760
+ matchNetworkCodeFromOperatingSystemName(operatingSystemName: string): string | number;
761
+ /**
762
+ * Parse the operating_system from OperatingSystem resource.
763
+ *
764
+ * @param {string} operatingSystemName
765
+ * A fully-qualified path representing OperatingSystem resource.
766
+ * @returns {string} A string representing the operating_system.
767
+ */
768
+ matchOperatingSystemFromOperatingSystemName(operatingSystemName: string): string | number;
769
+ /**
770
+ * Return a fully-qualified operatingSystemVersion resource name string.
771
+ *
772
+ * @param {string} network_code
773
+ * @param {string} operating_system_version
774
+ * @returns {string} Resource name string.
775
+ */
776
+ operatingSystemVersionPath(networkCode: string, operatingSystemVersion: string): string;
777
+ /**
778
+ * Parse the network_code from OperatingSystemVersion resource.
779
+ *
780
+ * @param {string} operatingSystemVersionName
781
+ * A fully-qualified path representing OperatingSystemVersion resource.
782
+ * @returns {string} A string representing the network_code.
783
+ */
784
+ matchNetworkCodeFromOperatingSystemVersionName(operatingSystemVersionName: string): string | number;
785
+ /**
786
+ * Parse the operating_system_version from OperatingSystemVersion resource.
787
+ *
788
+ * @param {string} operatingSystemVersionName
789
+ * A fully-qualified path representing OperatingSystemVersion resource.
790
+ * @returns {string} A string representing the operating_system_version.
791
+ */
792
+ matchOperatingSystemVersionFromOperatingSystemVersionName(operatingSystemVersionName: string): string | number;
793
+ /**
794
+ * Return a fully-qualified order resource name string.
795
+ *
796
+ * @param {string} network_code
797
+ * @param {string} order
798
+ * @returns {string} Resource name string.
799
+ */
800
+ orderPath(networkCode: string, order: string): string;
801
+ /**
802
+ * Parse the network_code from Order resource.
803
+ *
804
+ * @param {string} orderName
805
+ * A fully-qualified path representing Order resource.
806
+ * @returns {string} A string representing the network_code.
807
+ */
808
+ matchNetworkCodeFromOrderName(orderName: string): string | number;
809
+ /**
810
+ * Parse the order from Order resource.
811
+ *
812
+ * @param {string} orderName
813
+ * A fully-qualified path representing Order resource.
814
+ * @returns {string} A string representing the order.
815
+ */
816
+ matchOrderFromOrderName(orderName: string): string | number;
817
+ /**
818
+ * Return a fully-qualified placement resource name string.
819
+ *
820
+ * @param {string} network_code
821
+ * @param {string} placement
822
+ * @returns {string} Resource name string.
823
+ */
824
+ placementPath(networkCode: string, placement: string): string;
825
+ /**
826
+ * Parse the network_code from Placement resource.
827
+ *
828
+ * @param {string} placementName
829
+ * A fully-qualified path representing Placement resource.
830
+ * @returns {string} A string representing the network_code.
831
+ */
832
+ matchNetworkCodeFromPlacementName(placementName: string): string | number;
833
+ /**
834
+ * Parse the placement from Placement resource.
835
+ *
836
+ * @param {string} placementName
837
+ * A fully-qualified path representing Placement resource.
838
+ * @returns {string} A string representing the placement.
839
+ */
840
+ matchPlacementFromPlacementName(placementName: string): string | number;
841
+ /**
842
+ * Return a fully-qualified privateAuction resource name string.
843
+ *
844
+ * @param {string} network_code
845
+ * @param {string} private_auction
846
+ * @returns {string} Resource name string.
847
+ */
848
+ privateAuctionPath(networkCode: string, privateAuction: string): string;
849
+ /**
850
+ * Parse the network_code from PrivateAuction resource.
851
+ *
852
+ * @param {string} privateAuctionName
853
+ * A fully-qualified path representing PrivateAuction resource.
854
+ * @returns {string} A string representing the network_code.
855
+ */
856
+ matchNetworkCodeFromPrivateAuctionName(privateAuctionName: string): string | number;
857
+ /**
858
+ * Parse the private_auction from PrivateAuction resource.
859
+ *
860
+ * @param {string} privateAuctionName
861
+ * A fully-qualified path representing PrivateAuction resource.
862
+ * @returns {string} A string representing the private_auction.
863
+ */
864
+ matchPrivateAuctionFromPrivateAuctionName(privateAuctionName: string): string | number;
865
+ /**
866
+ * Return a fully-qualified privateAuctionDeal resource name string.
867
+ *
868
+ * @param {string} network_code
869
+ * @param {string} private_auction_deal
870
+ * @returns {string} Resource name string.
871
+ */
872
+ privateAuctionDealPath(networkCode: string, privateAuctionDeal: string): string;
873
+ /**
874
+ * Parse the network_code from PrivateAuctionDeal resource.
875
+ *
876
+ * @param {string} privateAuctionDealName
877
+ * A fully-qualified path representing PrivateAuctionDeal resource.
878
+ * @returns {string} A string representing the network_code.
879
+ */
880
+ matchNetworkCodeFromPrivateAuctionDealName(privateAuctionDealName: string): string | number;
881
+ /**
882
+ * Parse the private_auction_deal from PrivateAuctionDeal resource.
883
+ *
884
+ * @param {string} privateAuctionDealName
885
+ * A fully-qualified path representing PrivateAuctionDeal resource.
886
+ * @returns {string} A string representing the private_auction_deal.
887
+ */
888
+ matchPrivateAuctionDealFromPrivateAuctionDealName(privateAuctionDealName: string): string | number;
889
+ /**
890
+ * Return a fully-qualified programmaticBuyer resource name string.
891
+ *
892
+ * @param {string} network_code
893
+ * @param {string} programmatic_buyer
894
+ * @returns {string} Resource name string.
895
+ */
896
+ programmaticBuyerPath(networkCode: string, programmaticBuyer: string): string;
897
+ /**
898
+ * Parse the network_code from ProgrammaticBuyer resource.
899
+ *
900
+ * @param {string} programmaticBuyerName
901
+ * A fully-qualified path representing ProgrammaticBuyer resource.
902
+ * @returns {string} A string representing the network_code.
903
+ */
904
+ matchNetworkCodeFromProgrammaticBuyerName(programmaticBuyerName: string): string | number;
905
+ /**
906
+ * Parse the programmatic_buyer from ProgrammaticBuyer resource.
907
+ *
908
+ * @param {string} programmaticBuyerName
909
+ * A fully-qualified path representing ProgrammaticBuyer resource.
910
+ * @returns {string} A string representing the programmatic_buyer.
911
+ */
912
+ matchProgrammaticBuyerFromProgrammaticBuyerName(programmaticBuyerName: string): string | number;
913
+ /**
914
+ * Return a fully-qualified report resource name string.
915
+ *
916
+ * @param {string} network_code
917
+ * @param {string} report
918
+ * @returns {string} Resource name string.
919
+ */
920
+ reportPath(networkCode: string, report: string): string;
921
+ /**
922
+ * Parse the network_code from Report resource.
923
+ *
924
+ * @param {string} reportName
925
+ * A fully-qualified path representing Report resource.
926
+ * @returns {string} A string representing the network_code.
927
+ */
928
+ matchNetworkCodeFromReportName(reportName: string): string | number;
929
+ /**
930
+ * Parse the report from Report resource.
931
+ *
932
+ * @param {string} reportName
933
+ * A fully-qualified path representing Report resource.
934
+ * @returns {string} A string representing the report.
935
+ */
936
+ matchReportFromReportName(reportName: string): string | number;
937
+ /**
938
+ * Return a fully-qualified role resource name string.
939
+ *
940
+ * @param {string} network_code
941
+ * @param {string} role
942
+ * @returns {string} Resource name string.
943
+ */
944
+ rolePath(networkCode: string, role: string): string;
945
+ /**
946
+ * Parse the network_code from Role resource.
947
+ *
948
+ * @param {string} roleName
949
+ * A fully-qualified path representing Role resource.
950
+ * @returns {string} A string representing the network_code.
951
+ */
952
+ matchNetworkCodeFromRoleName(roleName: string): string | number;
953
+ /**
954
+ * Parse the role from Role resource.
955
+ *
956
+ * @param {string} roleName
957
+ * A fully-qualified path representing Role resource.
958
+ * @returns {string} A string representing the role.
959
+ */
960
+ matchRoleFromRoleName(roleName: string): string | number;
961
+ /**
962
+ * Return a fully-qualified taxonomyCategory resource name string.
963
+ *
964
+ * @param {string} network_code
965
+ * @param {string} taxonomy_category
966
+ * @returns {string} Resource name string.
967
+ */
968
+ taxonomyCategoryPath(networkCode: string, taxonomyCategory: string): string;
969
+ /**
970
+ * Parse the network_code from TaxonomyCategory resource.
971
+ *
972
+ * @param {string} taxonomyCategoryName
973
+ * A fully-qualified path representing TaxonomyCategory resource.
974
+ * @returns {string} A string representing the network_code.
975
+ */
976
+ matchNetworkCodeFromTaxonomyCategoryName(taxonomyCategoryName: string): string | number;
977
+ /**
978
+ * Parse the taxonomy_category from TaxonomyCategory resource.
979
+ *
980
+ * @param {string} taxonomyCategoryName
981
+ * A fully-qualified path representing TaxonomyCategory resource.
982
+ * @returns {string} A string representing the taxonomy_category.
983
+ */
984
+ matchTaxonomyCategoryFromTaxonomyCategoryName(taxonomyCategoryName: string): string | number;
985
+ /**
986
+ * Return a fully-qualified team resource name string.
987
+ *
988
+ * @param {string} network_code
989
+ * @param {string} team
990
+ * @returns {string} Resource name string.
991
+ */
992
+ teamPath(networkCode: string, team: string): string;
993
+ /**
994
+ * Parse the network_code from Team resource.
995
+ *
996
+ * @param {string} teamName
997
+ * A fully-qualified path representing Team resource.
998
+ * @returns {string} A string representing the network_code.
999
+ */
1000
+ matchNetworkCodeFromTeamName(teamName: string): string | number;
1001
+ /**
1002
+ * Parse the team from Team resource.
1003
+ *
1004
+ * @param {string} teamName
1005
+ * A fully-qualified path representing Team resource.
1006
+ * @returns {string} A string representing the team.
1007
+ */
1008
+ matchTeamFromTeamName(teamName: string): string | number;
1009
+ /**
1010
+ * Return a fully-qualified user resource name string.
1011
+ *
1012
+ * @param {string} network_code
1013
+ * @param {string} user
1014
+ * @returns {string} Resource name string.
1015
+ */
1016
+ userPath(networkCode: string, user: string): string;
1017
+ /**
1018
+ * Parse the network_code from User resource.
1019
+ *
1020
+ * @param {string} userName
1021
+ * A fully-qualified path representing User resource.
1022
+ * @returns {string} A string representing the network_code.
1023
+ */
1024
+ matchNetworkCodeFromUserName(userName: string): string | number;
1025
+ /**
1026
+ * Parse the user from User resource.
1027
+ *
1028
+ * @param {string} userName
1029
+ * A fully-qualified path representing User resource.
1030
+ * @returns {string} A string representing the user.
1031
+ */
1032
+ matchUserFromUserName(userName: string): string | number;
1033
+ /**
1034
+ * Terminate the gRPC channel and close the client.
1035
+ *
1036
+ * The client will no longer be usable and all future behavior is undefined.
1037
+ * @returns {Promise} A promise that resolves when the client is closed.
1038
+ */
1039
+ close(): Promise<void>;
1040
+ }