@google-ads/admanager 0.9.0 → 0.11.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 (350) hide show
  1. package/build/protos/google/ads/admanager/v1/ad_rule_service.proto +6 -7
  2. package/build/protos/google/ads/admanager/v1/ad_spot_service.proto +7 -8
  3. package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +20 -0
  4. package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +7 -0
  5. package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +14 -15
  6. package/build/protos/google/ads/admanager/v1/application_service.proto +11 -12
  7. package/build/protos/google/ads/admanager/v1/audience_segment_enums.proto +111 -0
  8. package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +164 -1
  9. package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +199 -6
  10. package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +4 -5
  11. package/build/protos/google/ads/admanager/v1/browser_language_service.proto +4 -5
  12. package/build/protos/google/ads/admanager/v1/browser_service.proto +6 -7
  13. package/build/protos/google/ads/admanager/v1/cdn_config_service.proto +7 -8
  14. package/build/protos/google/ads/admanager/v1/child_publisher_messages.proto +99 -0
  15. package/build/protos/google/ads/admanager/v1/child_publisher_service.proto +515 -0
  16. package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +5 -6
  17. package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +6 -7
  18. package/build/protos/google/ads/admanager/v1/company_service.proto +150 -30
  19. package/build/protos/google/ads/admanager/v1/contact_service.proto +13 -14
  20. package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +6 -7
  21. package/build/protos/google/ads/admanager/v1/content_label_service.proto +4 -5
  22. package/build/protos/google/ads/admanager/v1/content_service.proto +17 -18
  23. package/build/protos/google/ads/admanager/v1/conversion_event_enum.proto +123 -0
  24. package/build/protos/google/ads/admanager/v1/creative_set_service.proto +7 -8
  25. package/build/protos/google/ads/admanager/v1/creative_template_service.proto +11 -12
  26. package/build/protos/google/ads/admanager/v1/creative_wrapper_enums.proto +81 -0
  27. package/build/protos/google/ads/admanager/v1/creative_wrapper_messages.proto +127 -0
  28. package/build/protos/google/ads/admanager/v1/creative_wrapper_service.proto +324 -0
  29. package/build/protos/google/ads/admanager/v1/custom_field_service.proto +11 -12
  30. package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +8 -9
  31. package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +8 -9
  32. package/build/protos/google/ads/admanager/v1/dai_authentication_key_enums.proto +62 -0
  33. package/build/protos/google/ads/admanager/v1/dai_authentication_key_messages.proto +63 -0
  34. package/build/protos/google/ads/admanager/v1/dai_authentication_key_service.proto +329 -0
  35. package/build/protos/google/ads/admanager/v1/dai_encoding_profile_enums.proto +82 -0
  36. package/build/protos/google/ads/admanager/v1/dai_encoding_profile_messages.proto +117 -0
  37. package/build/protos/google/ads/admanager/v1/dai_encoding_profile_service.proto +345 -0
  38. package/build/protos/google/ads/admanager/v1/device_capability_service.proto +4 -5
  39. package/build/protos/google/ads/admanager/v1/device_category_service.proto +4 -5
  40. package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +4 -5
  41. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +6 -6
  42. package/build/protos/google/ads/admanager/v1/geo_target_service.proto +7 -8
  43. package/build/protos/google/ads/admanager/v1/label_service.proto +7 -8
  44. package/build/protos/google/ads/admanager/v1/line_item_service.proto +36 -37
  45. package/build/protos/google/ads/admanager/v1/linked_device_service.proto +6 -7
  46. package/build/protos/google/ads/admanager/v1/live_stream_messages.proto +46 -0
  47. package/build/protos/google/ads/admanager/v1/live_stream_service.proto +18 -15
  48. package/build/protos/google/ads/admanager/v1/mcm_enums.proto +245 -0
  49. package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +5 -6
  50. package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +5 -6
  51. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +5 -6
  52. package/build/protos/google/ads/admanager/v1/native_style_enums.proto +46 -0
  53. package/build/protos/google/ads/admanager/v1/native_style_messages.proto +79 -0
  54. package/build/protos/google/ads/admanager/v1/native_style_service.proto +336 -0
  55. package/build/protos/google/ads/admanager/v1/network_messages.proto +21 -0
  56. package/build/protos/google/ads/admanager/v1/network_service.proto +69 -0
  57. package/build/protos/google/ads/admanager/v1/operating_system_service.proto +4 -5
  58. package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +6 -7
  59. package/build/protos/google/ads/admanager/v1/order_service.proto +24 -25
  60. package/build/protos/google/ads/admanager/v1/partner_messages.proto +126 -0
  61. package/build/protos/google/ads/admanager/v1/partner_service.proto +205 -0
  62. package/build/protos/google/ads/admanager/v1/placement_service.proto +9 -10
  63. package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +15 -16
  64. package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +10 -11
  65. package/build/protos/google/ads/admanager/v1/report_definition.proto +151 -10
  66. package/build/protos/google/ads/admanager/v1/report_messages.proto +3 -23
  67. package/build/protos/google/ads/admanager/v1/report_visibility_enum.proto +38 -0
  68. package/build/protos/google/ads/admanager/v1/rich_media_ads_company_service.proto +7 -8
  69. package/build/protos/google/ads/admanager/v1/role_service.proto +7 -8
  70. package/build/protos/google/ads/admanager/v1/site_service.proto +7 -8
  71. package/build/protos/google/ads/admanager/v1/slate_service.proto +5 -6
  72. package/build/protos/google/ads/admanager/v1/suggested_ad_unit_service.proto +6 -7
  73. package/build/protos/google/ads/admanager/v1/targeting_preset_service.proto +5 -6
  74. package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +2 -2
  75. package/build/protos/google/ads/admanager/v1/team_service.proto +9 -10
  76. package/build/protos/google/ads/admanager/v1/third_party_company_service.proto +6 -7
  77. package/build/protos/google/ads/admanager/v1/third_party_data_declaration.proto +48 -0
  78. package/build/protos/google/ads/admanager/v1/third_party_data_declaration_type_enum.proto +42 -0
  79. package/build/protos/google/ads/admanager/v1/video_tracking_url.proto +40 -0
  80. package/build/protos/google/ads/admanager/v1/viewability_provider_messages.proto +118 -0
  81. package/build/protos/google/ads/admanager/v1/viewability_provider_service.proto +294 -0
  82. package/build/protos/protos.d.ts +47012 -29429
  83. package/build/protos/protos.js +1 -1
  84. package/build/protos/protos.json +9209 -4108
  85. package/build/src/index.d.ts +22 -1
  86. package/build/src/index.js +17 -3
  87. package/build/src/index.js.map +1 -1
  88. package/build/src/v1/ad_break_service_client.d.ts +159 -0
  89. package/build/src/v1/ad_break_service_client.js +229 -0
  90. package/build/src/v1/ad_break_service_client.js.map +1 -1
  91. package/build/src/v1/ad_break_service_proto_list.json +23 -0
  92. package/build/src/v1/ad_review_center_ad_service_client.d.ts +159 -0
  93. package/build/src/v1/ad_review_center_ad_service_client.js +229 -0
  94. package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -1
  95. package/build/src/v1/ad_review_center_ad_service_proto_list.json +23 -0
  96. package/build/src/v1/ad_rule_service_client.d.ts +177 -21
  97. package/build/src/v1/ad_rule_service_client.js +241 -14
  98. package/build/src/v1/ad_rule_service_client.js.map +1 -1
  99. package/build/src/v1/ad_rule_service_proto_list.json +23 -0
  100. package/build/src/v1/ad_spot_service_client.d.ts +180 -24
  101. package/build/src/v1/ad_spot_service_client.js +243 -16
  102. package/build/src/v1/ad_spot_service_client.js.map +1 -1
  103. package/build/src/v1/ad_spot_service_proto_list.json +23 -0
  104. package/build/src/v1/ad_unit_service_client.d.ts +201 -45
  105. package/build/src/v1/ad_unit_service_client.js +257 -30
  106. package/build/src/v1/ad_unit_service_client.js.map +1 -1
  107. package/build/src/v1/ad_unit_service_proto_list.json +23 -0
  108. package/build/src/v1/application_service_client.d.ts +192 -36
  109. package/build/src/v1/application_service_client.js +251 -24
  110. package/build/src/v1/application_service_client.js.map +1 -1
  111. package/build/src/v1/application_service_proto_list.json +23 -0
  112. package/build/src/v1/audience_segment_service_client.d.ts +342 -14
  113. package/build/src/v1/audience_segment_service_client.js +483 -8
  114. package/build/src/v1/audience_segment_service_client.js.map +1 -1
  115. package/build/src/v1/audience_segment_service_client_config.json +20 -0
  116. package/build/src/v1/audience_segment_service_proto_list.json +23 -0
  117. package/build/src/v1/bandwidth_group_service_client.d.ts +171 -15
  118. package/build/src/v1/bandwidth_group_service_client.js +237 -10
  119. package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
  120. package/build/src/v1/bandwidth_group_service_proto_list.json +23 -0
  121. package/build/src/v1/browser_language_service_client.d.ts +171 -15
  122. package/build/src/v1/browser_language_service_client.js +237 -10
  123. package/build/src/v1/browser_language_service_client.js.map +1 -1
  124. package/build/src/v1/browser_language_service_proto_list.json +23 -0
  125. package/build/src/v1/browser_service_client.d.ts +177 -21
  126. package/build/src/v1/browser_service_client.js +241 -14
  127. package/build/src/v1/browser_service_client.js.map +1 -1
  128. package/build/src/v1/browser_service_proto_list.json +23 -0
  129. package/build/src/v1/cdn_config_service_client.d.ts +180 -24
  130. package/build/src/v1/cdn_config_service_client.js +243 -16
  131. package/build/src/v1/cdn_config_service_client.js.map +1 -1
  132. package/build/src/v1/cdn_config_service_proto_list.json +23 -0
  133. package/build/src/v1/child_publisher_service_client.d.ts +2163 -0
  134. package/build/src/v1/child_publisher_service_client.js +3156 -0
  135. package/build/src/v1/child_publisher_service_client.js.map +1 -0
  136. package/build/src/v1/child_publisher_service_client_config.json +66 -0
  137. package/build/src/v1/child_publisher_service_proto_list.json +225 -0
  138. package/build/src/v1/cms_metadata_key_service_client.d.ts +174 -18
  139. package/build/src/v1/cms_metadata_key_service_client.js +239 -12
  140. package/build/src/v1/cms_metadata_key_service_client.js.map +1 -1
  141. package/build/src/v1/cms_metadata_key_service_proto_list.json +23 -0
  142. package/build/src/v1/cms_metadata_value_service_client.d.ts +177 -21
  143. package/build/src/v1/cms_metadata_value_service_client.js +241 -14
  144. package/build/src/v1/cms_metadata_value_service_client.js.map +1 -1
  145. package/build/src/v1/cms_metadata_value_service_proto_list.json +23 -0
  146. package/build/src/v1/company_service_client.d.ts +336 -66
  147. package/build/src/v1/company_service_client.js +451 -44
  148. package/build/src/v1/company_service_client.js.map +1 -1
  149. package/build/src/v1/company_service_client_config.json +16 -0
  150. package/build/src/v1/company_service_proto_list.json +23 -0
  151. package/build/src/v1/contact_service_client.d.ts +198 -42
  152. package/build/src/v1/contact_service_client.js +255 -28
  153. package/build/src/v1/contact_service_client.js.map +1 -1
  154. package/build/src/v1/contact_service_proto_list.json +23 -0
  155. package/build/src/v1/content_bundle_service_client.d.ts +177 -21
  156. package/build/src/v1/content_bundle_service_client.js +241 -14
  157. package/build/src/v1/content_bundle_service_client.js.map +1 -1
  158. package/build/src/v1/content_bundle_service_proto_list.json +23 -0
  159. package/build/src/v1/content_label_service_client.d.ts +171 -15
  160. package/build/src/v1/content_label_service_client.js +237 -10
  161. package/build/src/v1/content_label_service_client.js.map +1 -1
  162. package/build/src/v1/content_label_service_proto_list.json +23 -0
  163. package/build/src/v1/content_service_client.d.ts +210 -54
  164. package/build/src/v1/content_service_client.js +263 -36
  165. package/build/src/v1/content_service_client.js.map +1 -1
  166. package/build/src/v1/content_service_proto_list.json +23 -0
  167. package/build/src/v1/creative_set_service_client.d.ts +180 -24
  168. package/build/src/v1/creative_set_service_client.js +243 -16
  169. package/build/src/v1/creative_set_service_client.js.map +1 -1
  170. package/build/src/v1/creative_set_service_proto_list.json +23 -0
  171. package/build/src/v1/creative_template_service_client.d.ts +192 -36
  172. package/build/src/v1/creative_template_service_client.js +251 -24
  173. package/build/src/v1/creative_template_service_client.js.map +1 -1
  174. package/build/src/v1/creative_template_service_proto_list.json +23 -0
  175. package/build/src/v1/creative_wrapper_service_client.d.ts +2029 -0
  176. package/build/src/v1/creative_wrapper_service_client.js +3041 -0
  177. package/build/src/v1/creative_wrapper_service_client.js.map +1 -0
  178. package/build/src/v1/creative_wrapper_service_client_config.json +58 -0
  179. package/build/src/v1/creative_wrapper_service_proto_list.json +225 -0
  180. package/build/src/v1/custom_field_service_client.d.ts +192 -36
  181. package/build/src/v1/custom_field_service_client.js +251 -24
  182. package/build/src/v1/custom_field_service_client.js.map +1 -1
  183. package/build/src/v1/custom_field_service_proto_list.json +23 -0
  184. package/build/src/v1/custom_targeting_key_service_client.d.ts +183 -27
  185. package/build/src/v1/custom_targeting_key_service_client.js +245 -18
  186. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
  187. package/build/src/v1/custom_targeting_key_service_proto_list.json +23 -0
  188. package/build/src/v1/custom_targeting_value_service_client.d.ts +183 -27
  189. package/build/src/v1/custom_targeting_value_service_client.js +245 -18
  190. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
  191. package/build/src/v1/custom_targeting_value_service_proto_list.json +23 -0
  192. package/build/src/v1/dai_authentication_key_service_client.d.ts +2029 -0
  193. package/build/src/v1/dai_authentication_key_service_client.js +3042 -0
  194. package/build/src/v1/dai_authentication_key_service_client.js.map +1 -0
  195. package/build/src/v1/dai_authentication_key_service_client_config.json +58 -0
  196. package/build/src/v1/dai_authentication_key_service_proto_list.json +225 -0
  197. package/build/src/v1/dai_encoding_profile_service_client.d.ts +2029 -0
  198. package/build/src/v1/dai_encoding_profile_service_client.js +3042 -0
  199. package/build/src/v1/dai_encoding_profile_service_client.js.map +1 -0
  200. package/build/src/v1/dai_encoding_profile_service_client_config.json +58 -0
  201. package/build/src/v1/dai_encoding_profile_service_proto_list.json +225 -0
  202. package/build/src/v1/device_capability_service_client.d.ts +171 -15
  203. package/build/src/v1/device_capability_service_client.js +237 -10
  204. package/build/src/v1/device_capability_service_client.js.map +1 -1
  205. package/build/src/v1/device_capability_service_proto_list.json +23 -0
  206. package/build/src/v1/device_category_service_client.d.ts +171 -15
  207. package/build/src/v1/device_category_service_client.js +237 -10
  208. package/build/src/v1/device_category_service_client.js.map +1 -1
  209. package/build/src/v1/device_category_service_proto_list.json +23 -0
  210. package/build/src/v1/device_manufacturer_service_client.d.ts +171 -15
  211. package/build/src/v1/device_manufacturer_service_client.js +237 -10
  212. package/build/src/v1/device_manufacturer_service_client.js.map +1 -1
  213. package/build/src/v1/device_manufacturer_service_proto_list.json +23 -0
  214. package/build/src/v1/entity_signals_mapping_service_client.d.ts +165 -6
  215. package/build/src/v1/entity_signals_mapping_service_client.js +229 -0
  216. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
  217. package/build/src/v1/entity_signals_mapping_service_proto_list.json +23 -0
  218. package/build/src/v1/gapic_metadata.json +756 -0
  219. package/build/src/v1/geo_target_service_client.d.ts +180 -24
  220. package/build/src/v1/geo_target_service_client.js +243 -16
  221. package/build/src/v1/geo_target_service_client.js.map +1 -1
  222. package/build/src/v1/geo_target_service_proto_list.json +23 -0
  223. package/build/src/v1/index.d.ts +7 -0
  224. package/build/src/v1/index.js +16 -2
  225. package/build/src/v1/index.js.map +1 -1
  226. package/build/src/v1/label_service_client.d.ts +180 -24
  227. package/build/src/v1/label_service_client.js +243 -16
  228. package/build/src/v1/label_service_client.js.map +1 -1
  229. package/build/src/v1/label_service_proto_list.json +23 -0
  230. package/build/src/v1/line_item_service_client.d.ts +267 -111
  231. package/build/src/v1/line_item_service_client.js +301 -74
  232. package/build/src/v1/line_item_service_client.js.map +1 -1
  233. package/build/src/v1/line_item_service_proto_list.json +23 -0
  234. package/build/src/v1/linked_device_service_client.d.ts +177 -21
  235. package/build/src/v1/linked_device_service_client.js +241 -14
  236. package/build/src/v1/linked_device_service_client.js.map +1 -1
  237. package/build/src/v1/linked_device_service_proto_list.json +23 -0
  238. package/build/src/v1/live_stream_service_client.d.ts +213 -45
  239. package/build/src/v1/live_stream_service_client.js +265 -30
  240. package/build/src/v1/live_stream_service_client.js.map +1 -1
  241. package/build/src/v1/live_stream_service_proto_list.json +23 -0
  242. package/build/src/v1/mcm_earnings_service_client.d.ts +159 -0
  243. package/build/src/v1/mcm_earnings_service_client.js +229 -0
  244. package/build/src/v1/mcm_earnings_service_client.js.map +1 -1
  245. package/build/src/v1/mcm_earnings_service_proto_list.json +23 -0
  246. package/build/src/v1/mobile_carrier_service_client.d.ts +174 -18
  247. package/build/src/v1/mobile_carrier_service_client.js +239 -12
  248. package/build/src/v1/mobile_carrier_service_client.js.map +1 -1
  249. package/build/src/v1/mobile_carrier_service_proto_list.json +23 -0
  250. package/build/src/v1/mobile_device_service_client.d.ts +174 -18
  251. package/build/src/v1/mobile_device_service_client.js +239 -12
  252. package/build/src/v1/mobile_device_service_client.js.map +1 -1
  253. package/build/src/v1/mobile_device_service_proto_list.json +23 -0
  254. package/build/src/v1/mobile_device_submodel_service_client.d.ts +174 -18
  255. package/build/src/v1/mobile_device_submodel_service_client.js +239 -12
  256. package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -1
  257. package/build/src/v1/mobile_device_submodel_service_proto_list.json +23 -0
  258. package/build/src/v1/native_style_service_client.d.ts +2001 -0
  259. package/build/src/v1/native_style_service_client.js +2996 -0
  260. package/build/src/v1/native_style_service_client.js.map +1 -0
  261. package/build/src/v1/native_style_service_client_config.json +54 -0
  262. package/build/src/v1/native_style_service_proto_list.json +225 -0
  263. package/build/src/v1/network_service_client.d.ts +245 -0
  264. package/build/src/v1/network_service_client.js +361 -1
  265. package/build/src/v1/network_service_client.js.map +1 -1
  266. package/build/src/v1/network_service_client_config.json +12 -0
  267. package/build/src/v1/network_service_proto_list.json +23 -0
  268. package/build/src/v1/operating_system_service_client.d.ts +171 -15
  269. package/build/src/v1/operating_system_service_client.js +237 -10
  270. package/build/src/v1/operating_system_service_client.js.map +1 -1
  271. package/build/src/v1/operating_system_service_proto_list.json +23 -0
  272. package/build/src/v1/operating_system_version_service_client.d.ts +177 -21
  273. package/build/src/v1/operating_system_version_service_client.js +241 -14
  274. package/build/src/v1/operating_system_version_service_client.js.map +1 -1
  275. package/build/src/v1/operating_system_version_service_proto_list.json +23 -0
  276. package/build/src/v1/order_service_client.d.ts +231 -75
  277. package/build/src/v1/order_service_client.js +277 -50
  278. package/build/src/v1/order_service_client.js.map +1 -1
  279. package/build/src/v1/order_service_proto_list.json +23 -0
  280. package/build/src/v1/partner_service_client.d.ts +1939 -0
  281. package/build/src/v1/partner_service_client.js +2875 -0
  282. package/build/src/v1/partner_service_client.js.map +1 -0
  283. package/build/src/v1/partner_service_client_config.json +42 -0
  284. package/build/src/v1/partner_service_proto_list.json +225 -0
  285. package/build/src/v1/placement_service_client.d.ts +186 -30
  286. package/build/src/v1/placement_service_client.js +247 -20
  287. package/build/src/v1/placement_service_client.js.map +1 -1
  288. package/build/src/v1/placement_service_proto_list.json +23 -0
  289. package/build/src/v1/private_auction_deal_service_client.d.ts +204 -48
  290. package/build/src/v1/private_auction_deal_service_client.js +259 -32
  291. package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
  292. package/build/src/v1/private_auction_deal_service_proto_list.json +23 -0
  293. package/build/src/v1/private_auction_service_client.d.ts +159 -0
  294. package/build/src/v1/private_auction_service_client.js +229 -0
  295. package/build/src/v1/private_auction_service_client.js.map +1 -1
  296. package/build/src/v1/private_auction_service_proto_list.json +23 -0
  297. package/build/src/v1/programmatic_buyer_service_client.d.ts +189 -33
  298. package/build/src/v1/programmatic_buyer_service_client.js +249 -22
  299. package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
  300. package/build/src/v1/programmatic_buyer_service_proto_list.json +23 -0
  301. package/build/src/v1/report_service_client.d.ts +159 -0
  302. package/build/src/v1/report_service_client.js +229 -0
  303. package/build/src/v1/report_service_client.js.map +1 -1
  304. package/build/src/v1/report_service_proto_list.json +23 -0
  305. package/build/src/v1/rich_media_ads_company_service_client.d.ts +180 -24
  306. package/build/src/v1/rich_media_ads_company_service_client.js +243 -16
  307. package/build/src/v1/rich_media_ads_company_service_client.js.map +1 -1
  308. package/build/src/v1/rich_media_ads_company_service_proto_list.json +23 -0
  309. package/build/src/v1/role_service_client.d.ts +180 -24
  310. package/build/src/v1/role_service_client.js +243 -16
  311. package/build/src/v1/role_service_client.js.map +1 -1
  312. package/build/src/v1/role_service_proto_list.json +23 -0
  313. package/build/src/v1/site_service_client.d.ts +180 -24
  314. package/build/src/v1/site_service_client.js +243 -16
  315. package/build/src/v1/site_service_client.js.map +1 -1
  316. package/build/src/v1/site_service_proto_list.json +23 -0
  317. package/build/src/v1/slate_service_client.d.ts +174 -18
  318. package/build/src/v1/slate_service_client.js +239 -12
  319. package/build/src/v1/slate_service_client.js.map +1 -1
  320. package/build/src/v1/slate_service_proto_list.json +23 -0
  321. package/build/src/v1/suggested_ad_unit_service_client.d.ts +174 -18
  322. package/build/src/v1/suggested_ad_unit_service_client.js +239 -12
  323. package/build/src/v1/suggested_ad_unit_service_client.js.map +1 -1
  324. package/build/src/v1/suggested_ad_unit_service_proto_list.json +23 -0
  325. package/build/src/v1/targeting_preset_service_client.d.ts +174 -18
  326. package/build/src/v1/targeting_preset_service_client.js +239 -12
  327. package/build/src/v1/targeting_preset_service_client.js.map +1 -1
  328. package/build/src/v1/targeting_preset_service_proto_list.json +23 -0
  329. package/build/src/v1/taxonomy_category_service_client.d.ts +161 -2
  330. package/build/src/v1/taxonomy_category_service_client.js +229 -0
  331. package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
  332. package/build/src/v1/taxonomy_category_service_proto_list.json +23 -0
  333. package/build/src/v1/team_service_client.d.ts +186 -30
  334. package/build/src/v1/team_service_client.js +247 -20
  335. package/build/src/v1/team_service_client.js.map +1 -1
  336. package/build/src/v1/team_service_proto_list.json +23 -0
  337. package/build/src/v1/third_party_company_service_client.d.ts +177 -21
  338. package/build/src/v1/third_party_company_service_client.js +241 -14
  339. package/build/src/v1/third_party_company_service_client.js.map +1 -1
  340. package/build/src/v1/third_party_company_service_proto_list.json +23 -0
  341. package/build/src/v1/user_service_client.d.ts +159 -0
  342. package/build/src/v1/user_service_client.js +229 -0
  343. package/build/src/v1/user_service_client.js.map +1 -1
  344. package/build/src/v1/user_service_proto_list.json +23 -0
  345. package/build/src/v1/viewability_provider_service_client.d.ts +2032 -0
  346. package/build/src/v1/viewability_provider_service_client.js +2981 -0
  347. package/build/src/v1/viewability_provider_service_client.js.map +1 -0
  348. package/build/src/v1/viewability_provider_service_client_config.json +50 -0
  349. package/build/src/v1/viewability_provider_service_proto_list.json +225 -0
  350. package/package.json +1 -1
@@ -0,0 +1,3156 @@
1
+ "use strict";
2
+ // Copyright 2026 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // https://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ //
16
+ // ** This file is automatically generated by gapic-generator-typescript. **
17
+ // ** https://github.com/googleapis/gapic-generator-typescript **
18
+ // ** All changes to this file may be overwritten. **
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.ChildPublisherServiceClient = void 0;
21
+ const jsonProtos = require("../../protos/protos.json");
22
+ const google_gax_1 = require("google-gax");
23
+ /**
24
+ * Client JSON configuration object, loaded from
25
+ * `src/v1/child_publisher_service_client_config.json`.
26
+ * This file defines retry strategy and timeouts for all API methods in this library.
27
+ */
28
+ const gapicConfig = require("./child_publisher_service_client_config.json");
29
+ const version = require('../../../package.json').version;
30
+ /**
31
+ * Provides methods for handling
32
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher} objects.
33
+ * @class
34
+ * @memberof v1
35
+ */
36
+ class ChildPublisherServiceClient {
37
+ _terminated = false;
38
+ _opts;
39
+ _providedCustomServicePath;
40
+ _gaxModule;
41
+ _gaxGrpc;
42
+ _protos;
43
+ _defaults;
44
+ _universeDomain;
45
+ _servicePath;
46
+ _log = google_gax_1.loggingUtils.log('admanager');
47
+ auth;
48
+ descriptors = {
49
+ page: {},
50
+ stream: {},
51
+ longrunning: {},
52
+ batching: {},
53
+ };
54
+ warn;
55
+ innerApiCalls;
56
+ pathTemplates;
57
+ childPublisherServiceStub;
58
+ /**
59
+ * Construct an instance of ChildPublisherServiceClient.
60
+ *
61
+ * @param {object} [options] - The configuration object.
62
+ * The options accepted by the constructor are described in detail
63
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
64
+ * The common options are:
65
+ * @param {object} [options.credentials] - Credentials object.
66
+ * @param {string} [options.credentials.client_email]
67
+ * @param {string} [options.credentials.private_key]
68
+ * @param {string} [options.email] - Account email address. Required when
69
+ * using a .pem or .p12 keyFilename.
70
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
71
+ * .p12 key downloaded from the Google Developers Console. If you provide
72
+ * a path to a JSON file, the projectId option below is not necessary.
73
+ * NOTE: .pem and .p12 require you to specify options.email as well.
74
+ * @param {number} [options.port] - The port on which to connect to
75
+ * the remote host.
76
+ * @param {string} [options.projectId] - The project ID from the Google
77
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
78
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
79
+ * app is running in an environment which supports
80
+ * {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
81
+ * your project ID will be detected automatically.
82
+ * @param {string} [options.apiEndpoint] - The domain name of the
83
+ * API remote host.
84
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
85
+ * Follows the structure of {@link gapicConfig}.
86
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
87
+ * For more information, please check the
88
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
89
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
90
+ * need to avoid loading the default gRPC version and want to use the fallback
91
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
92
+ * ```
93
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
94
+ * const client = new ChildPublisherServiceClient({fallback: true}, gax);
95
+ * ```
96
+ */
97
+ constructor(opts, gaxInstance) {
98
+ // Ensure that options include all the required fields.
99
+ const staticMembers = this
100
+ .constructor;
101
+ if (opts?.universe_domain &&
102
+ opts?.universeDomain &&
103
+ opts?.universe_domain !== opts?.universeDomain) {
104
+ throw new Error('Please set either universe_domain or universeDomain, but not both.');
105
+ }
106
+ const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
107
+ ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
108
+ : undefined;
109
+ this._universeDomain =
110
+ opts?.universeDomain ??
111
+ opts?.universe_domain ??
112
+ universeDomainEnvVar ??
113
+ 'googleapis.com';
114
+ this._servicePath = 'admanager.' + this._universeDomain;
115
+ const servicePath = opts?.servicePath || opts?.apiEndpoint || this._servicePath;
116
+ this._providedCustomServicePath = !!(opts?.servicePath || opts?.apiEndpoint);
117
+ const port = opts?.port || staticMembers.port;
118
+ const clientConfig = opts?.clientConfig ?? {};
119
+ // Implicitly enable HTTP transport for the APIs that use REST as transport (e.g. Google Cloud Compute).
120
+ if (!opts) {
121
+ opts = { fallback: true };
122
+ }
123
+ else {
124
+ opts.fallback = opts.fallback ?? true;
125
+ }
126
+ const fallback = opts?.fallback ??
127
+ (typeof window !== 'undefined' && typeof window?.fetch === 'function');
128
+ opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
129
+ // Request numeric enum values if REST transport is used.
130
+ opts.numericEnums = true;
131
+ // If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
132
+ if (servicePath !== this._servicePath && !('scopes' in opts)) {
133
+ opts['scopes'] = staticMembers.scopes;
134
+ }
135
+ // Load google-gax module synchronously if needed
136
+ if (!gaxInstance) {
137
+ gaxInstance = require('google-gax');
138
+ }
139
+ // Choose either gRPC or proto-over-HTTP implementation of google-gax.
140
+ this._gaxModule = opts.fallback ? gaxInstance.fallback : gaxInstance;
141
+ // Create a `gaxGrpc` object, with any grpc-specific options sent to the client.
142
+ this._gaxGrpc = new this._gaxModule.GrpcClient(opts);
143
+ // Save options to use in initialize() method.
144
+ this._opts = opts;
145
+ // Save the auth object to the client, for use by other methods.
146
+ this.auth = this._gaxGrpc.auth;
147
+ // Set useJWTAccessWithScope on the auth object.
148
+ this.auth.useJWTAccessWithScope = true;
149
+ // Set defaultServicePath on the auth object.
150
+ this.auth.defaultServicePath = this._servicePath;
151
+ // Set the default scopes in auth client if needed.
152
+ if (servicePath === this._servicePath) {
153
+ this.auth.defaultScopes = staticMembers.scopes;
154
+ }
155
+ // Determine the client header string.
156
+ const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
157
+ if (typeof process === 'object' && 'versions' in process) {
158
+ clientHeader.push(`gl-node/${process.versions.node}`);
159
+ }
160
+ else {
161
+ clientHeader.push(`gl-web/${this._gaxModule.version}`);
162
+ }
163
+ if (!opts.fallback) {
164
+ clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
165
+ }
166
+ else {
167
+ clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
168
+ }
169
+ if (opts.libName && opts.libVersion) {
170
+ clientHeader.push(`${opts.libName}/${opts.libVersion}`);
171
+ }
172
+ // Load the applicable protos.
173
+ this._protos = this._gaxGrpc.loadProtoJSON(jsonProtos);
174
+ // This API contains "path templates"; forward-slash-separated
175
+ // identifiers to uniquely identify resources within the API.
176
+ // Create useful helper objects for these.
177
+ this.pathTemplates = {
178
+ adBreakPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}'),
179
+ adReviewCenterAdPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad}'),
180
+ adRulePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/adRules/{ad_rule}'),
181
+ adSpotPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/adSpots/{ad_spot}'),
182
+ adUnitPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/adUnits/{ad_unit}'),
183
+ applicationPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/applications/{application}'),
184
+ audienceSegmentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/audienceSegments/{audience_segment}'),
185
+ bandwidthGroupPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/bandwidthGroups/{bandwidth_group}'),
186
+ browserPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browsers/{browser}'),
187
+ browserLanguagePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browserLanguages/{browser_language}'),
188
+ cdnConfigPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cdnConfigs/{cdn_config}'),
189
+ childPublisherPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/childPublishers/{child_publisher}'),
190
+ cmsMetadataKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}'),
191
+ cmsMetadataValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataValues/{cms_metadata_value}'),
192
+ companyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/companies/{company}'),
193
+ contactPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contacts/{contact}'),
194
+ contentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/content/{content}'),
195
+ contentBundlePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentBundles/{content_bundle}'),
196
+ contentLabelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentLabels/{content_label}'),
197
+ creativePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creatives/{creative}'),
198
+ creativeSetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeSets/{creative_set}'),
199
+ creativeTemplatePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeTemplates/{creative_template}'),
200
+ creativeWrapperPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeWrappers/{creative_wrapper}'),
201
+ customFieldPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customFields/{custom_field}'),
202
+ customTargetingKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingKeys/{custom_targeting_key}'),
203
+ customTargetingValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingValues/{custom_targeting_value}'),
204
+ daiAuthenticationKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/daiAuthenticationKeys/{dai_authentication_key}'),
205
+ daiEncodingProfilePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/daiEncodingProfiles/{dai_encoding_profile}'),
206
+ defaultThirdPartyDataDeclarationPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/defaultThirdPartyDataDeclaration'),
207
+ deviceCapabilityPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCapabilities/{device_capability}'),
208
+ deviceCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCategories/{device_category}'),
209
+ deviceManufacturerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceManufacturers/{device_manufacturer}'),
210
+ entitySignalsMappingPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}'),
211
+ geoTargetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/geoTargets/{geo_target}'),
212
+ labelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/labels/{label}'),
213
+ lineItemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/lineItems/{line_item}'),
214
+ linkedDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/linkedDevices/{linked_device}'),
215
+ liveStreamPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreams/{live_stream}'),
216
+ liveStreamEventPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEvents/{live_stream_event}'),
217
+ mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
218
+ mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
219
+ mobileDeviceSubmodelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}'),
220
+ nativeStylePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/nativeStyles/{native_style}'),
221
+ networkPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}'),
222
+ operatingSystemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystems/{operating_system}'),
223
+ operatingSystemVersionPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystemVersions/{operating_system_version}'),
224
+ orderPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/orders/{order}'),
225
+ partnerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/partners/{partner}'),
226
+ placementPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/placements/{placement}'),
227
+ privateAuctionPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/privateAuctions/{private_auction}'),
228
+ privateAuctionDealPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/privateAuctionDeals/{private_auction_deal}'),
229
+ programmaticBuyerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/programmaticBuyers/{programmatic_buyer}'),
230
+ reportPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/reports/{report}'),
231
+ richMediaAdsCompanyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company}'),
232
+ rolePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/roles/{role}'),
233
+ sitePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/sites/{site}'),
234
+ slatePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/slates/{slate}'),
235
+ suggestedAdUnitPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/suggestedAdUnits/{suggested_ad_unit}'),
236
+ targetingPresetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/targetingPresets/{targeting_preset}'),
237
+ taxonomyCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/taxonomyCategories/{taxonomy_category}'),
238
+ teamPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/teams/{team}'),
239
+ thirdPartyCompanyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/thirdPartyCompanies/{third_party_company}'),
240
+ userPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/users/{user}'),
241
+ viewabilityProviderPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/viewabilityProviders/{viewability_provider}'),
242
+ webPropertyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property}'),
243
+ };
244
+ // Some of the methods on this service return "paged" results,
245
+ // (e.g. 50 results at a time, with tokens to get subsequent
246
+ // pages). Denote the keys used for pagination and results.
247
+ this.descriptors.page = {
248
+ listChildPublishers: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'childPublishers'),
249
+ };
250
+ // Put together the default options sent with requests.
251
+ this._defaults = this._gaxGrpc.constructSettings('google.ads.admanager.v1.ChildPublisherService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
252
+ // Set up a dictionary of "inner API calls"; the core implementation
253
+ // of calling the API is handled in `google-gax`, with this code
254
+ // merely providing the destination and request information.
255
+ this.innerApiCalls = {};
256
+ // Add a warn function to the client constructor so it can be easily tested.
257
+ this.warn = this._gaxModule.warn;
258
+ }
259
+ /**
260
+ * Initialize the client.
261
+ * Performs asynchronous operations (such as authentication) and prepares the client.
262
+ * This function will be called automatically when any class method is called for the
263
+ * first time, but if you need to initialize it before calling an actual method,
264
+ * feel free to call initialize() directly.
265
+ *
266
+ * You can await on this method if you want to make sure the client is initialized.
267
+ *
268
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
269
+ */
270
+ initialize() {
271
+ // If the client stub promise is already initialized, return immediately.
272
+ if (this.childPublisherServiceStub) {
273
+ return this.childPublisherServiceStub;
274
+ }
275
+ // Put together the "service stub" for
276
+ // google.ads.admanager.v1.ChildPublisherService.
277
+ this.childPublisherServiceStub = this._gaxGrpc.createStub(this._opts.fallback
278
+ ? this._protos.lookupService('google.ads.admanager.v1.ChildPublisherService')
279
+ : // eslint-disable-next-line @typescript-eslint/no-explicit-any
280
+ this._protos.google.ads.admanager.v1.ChildPublisherService, this._opts, this._providedCustomServicePath);
281
+ // Iterate over each of the methods that the service provides
282
+ // and create an API call method for each.
283
+ const childPublisherServiceStubMethods = [
284
+ 'getChildPublisher',
285
+ 'listChildPublishers',
286
+ 'createChildPublisher',
287
+ 'batchCreateChildPublishers',
288
+ 'updateChildPublisher',
289
+ 'batchUpdateChildPublishers',
290
+ 'batchResendChildPublisherInvitationEmails',
291
+ 'batchRenegotiateChildPublisherAgreements',
292
+ 'batchRejectChildPublishers',
293
+ 'batchWithdrawChildPublishers',
294
+ ];
295
+ for (const methodName of childPublisherServiceStubMethods) {
296
+ const callPromise = this.childPublisherServiceStub.then((stub) => (...args) => {
297
+ if (this._terminated) {
298
+ return Promise.reject('The client has already been closed.');
299
+ }
300
+ const func = stub[methodName];
301
+ return func.apply(stub, args);
302
+ }, (err) => () => {
303
+ throw err;
304
+ });
305
+ const descriptor = this.descriptors.page[methodName] || undefined;
306
+ const apiCall = this._gaxModule.createApiCall(callPromise, this._defaults[methodName], descriptor, this._opts.fallback);
307
+ this.innerApiCalls[methodName] = apiCall;
308
+ }
309
+ return this.childPublisherServiceStub;
310
+ }
311
+ /**
312
+ * The DNS address for this API service.
313
+ * @deprecated Use the apiEndpoint method of the client instance.
314
+ * @returns {string} The DNS address for this service.
315
+ */
316
+ static get servicePath() {
317
+ if (typeof process === 'object' &&
318
+ typeof process.emitWarning === 'function') {
319
+ process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
320
+ }
321
+ return 'admanager.googleapis.com';
322
+ }
323
+ /**
324
+ * The DNS address for this API service - same as servicePath.
325
+ * @deprecated Use the apiEndpoint method of the client instance.
326
+ * @returns {string} The DNS address for this service.
327
+ */
328
+ static get apiEndpoint() {
329
+ if (typeof process === 'object' &&
330
+ typeof process.emitWarning === 'function') {
331
+ process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
332
+ }
333
+ return 'admanager.googleapis.com';
334
+ }
335
+ /**
336
+ * The DNS address for this API service.
337
+ * @returns {string} The DNS address for this service.
338
+ */
339
+ get apiEndpoint() {
340
+ return this._servicePath;
341
+ }
342
+ get universeDomain() {
343
+ return this._universeDomain;
344
+ }
345
+ /**
346
+ * The port for this API service.
347
+ * @returns {number} The default port for this service.
348
+ */
349
+ static get port() {
350
+ return 443;
351
+ }
352
+ /**
353
+ * The scopes needed to make gRPC calls for every method defined
354
+ * in this service.
355
+ * @returns {string[]} List of default scopes.
356
+ */
357
+ static get scopes() {
358
+ return [
359
+ 'https://www.googleapis.com/auth/admanager',
360
+ 'https://www.googleapis.com/auth/admanager.readonly',
361
+ ];
362
+ }
363
+ /**
364
+ * Return the project ID used by this class.
365
+ * @returns {Promise} A promise that resolves to string containing the project ID.
366
+ */
367
+ getProjectId(callback) {
368
+ if (callback) {
369
+ this.auth.getProjectId(callback);
370
+ return;
371
+ }
372
+ return this.auth.getProjectId();
373
+ }
374
+ getChildPublisher(request, optionsOrCallback, callback) {
375
+ request = request || {};
376
+ let options;
377
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
378
+ callback = optionsOrCallback;
379
+ options = {};
380
+ }
381
+ else {
382
+ options = optionsOrCallback;
383
+ }
384
+ options = options || {};
385
+ options.otherArgs = options.otherArgs || {};
386
+ options.otherArgs.headers = options.otherArgs.headers || {};
387
+ options.otherArgs.headers['x-goog-request-params'] =
388
+ this._gaxModule.routingHeader.fromParams({
389
+ name: request.name ?? '',
390
+ });
391
+ this.initialize().catch((err) => {
392
+ throw err;
393
+ });
394
+ this._log.info('getChildPublisher request %j', request);
395
+ const wrappedCallback = callback
396
+ ? (error, response, options, rawResponse) => {
397
+ this._log.info('getChildPublisher response %j', response);
398
+ callback(error, response, options, rawResponse); // We verified callback above.
399
+ }
400
+ : undefined;
401
+ return this.innerApiCalls
402
+ .getChildPublisher(request, options, wrappedCallback)
403
+ ?.then(([response, options, rawResponse]) => {
404
+ this._log.info('getChildPublisher response %j', response);
405
+ return [response, options, rawResponse];
406
+ })
407
+ .catch((error) => {
408
+ if (error &&
409
+ 'statusDetails' in error &&
410
+ error.statusDetails instanceof Array) {
411
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
412
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
413
+ }
414
+ throw error;
415
+ });
416
+ }
417
+ createChildPublisher(request, optionsOrCallback, callback) {
418
+ request = request || {};
419
+ let options;
420
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
421
+ callback = optionsOrCallback;
422
+ options = {};
423
+ }
424
+ else {
425
+ options = optionsOrCallback;
426
+ }
427
+ options = options || {};
428
+ options.otherArgs = options.otherArgs || {};
429
+ options.otherArgs.headers = options.otherArgs.headers || {};
430
+ options.otherArgs.headers['x-goog-request-params'] =
431
+ this._gaxModule.routingHeader.fromParams({
432
+ parent: request.parent ?? '',
433
+ });
434
+ this.initialize().catch((err) => {
435
+ throw err;
436
+ });
437
+ this._log.info('createChildPublisher request %j', request);
438
+ const wrappedCallback = callback
439
+ ? (error, response, options, rawResponse) => {
440
+ this._log.info('createChildPublisher response %j', response);
441
+ callback(error, response, options, rawResponse); // We verified callback above.
442
+ }
443
+ : undefined;
444
+ return this.innerApiCalls
445
+ .createChildPublisher(request, options, wrappedCallback)
446
+ ?.then(([response, options, rawResponse]) => {
447
+ this._log.info('createChildPublisher response %j', response);
448
+ return [response, options, rawResponse];
449
+ })
450
+ .catch((error) => {
451
+ if (error &&
452
+ 'statusDetails' in error &&
453
+ error.statusDetails instanceof Array) {
454
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
455
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
456
+ }
457
+ throw error;
458
+ });
459
+ }
460
+ batchCreateChildPublishers(request, optionsOrCallback, callback) {
461
+ request = request || {};
462
+ let options;
463
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
464
+ callback = optionsOrCallback;
465
+ options = {};
466
+ }
467
+ else {
468
+ options = optionsOrCallback;
469
+ }
470
+ options = options || {};
471
+ options.otherArgs = options.otherArgs || {};
472
+ options.otherArgs.headers = options.otherArgs.headers || {};
473
+ options.otherArgs.headers['x-goog-request-params'] =
474
+ this._gaxModule.routingHeader.fromParams({
475
+ parent: request.parent ?? '',
476
+ });
477
+ this.initialize().catch((err) => {
478
+ throw err;
479
+ });
480
+ this._log.info('batchCreateChildPublishers request %j', request);
481
+ const wrappedCallback = callback
482
+ ? (error, response, options, rawResponse) => {
483
+ this._log.info('batchCreateChildPublishers response %j', response);
484
+ callback(error, response, options, rawResponse); // We verified callback above.
485
+ }
486
+ : undefined;
487
+ return this.innerApiCalls
488
+ .batchCreateChildPublishers(request, options, wrappedCallback)
489
+ ?.then(([response, options, rawResponse]) => {
490
+ this._log.info('batchCreateChildPublishers response %j', response);
491
+ return [response, options, rawResponse];
492
+ })
493
+ .catch((error) => {
494
+ if (error &&
495
+ 'statusDetails' in error &&
496
+ error.statusDetails instanceof Array) {
497
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
498
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
499
+ }
500
+ throw error;
501
+ });
502
+ }
503
+ updateChildPublisher(request, optionsOrCallback, callback) {
504
+ request = request || {};
505
+ let options;
506
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
507
+ callback = optionsOrCallback;
508
+ options = {};
509
+ }
510
+ else {
511
+ options = optionsOrCallback;
512
+ }
513
+ options = options || {};
514
+ options.otherArgs = options.otherArgs || {};
515
+ options.otherArgs.headers = options.otherArgs.headers || {};
516
+ options.otherArgs.headers['x-goog-request-params'] =
517
+ this._gaxModule.routingHeader.fromParams({
518
+ 'child_publisher.name': request.childPublisher.name ?? '',
519
+ });
520
+ this.initialize().catch((err) => {
521
+ throw err;
522
+ });
523
+ this._log.info('updateChildPublisher request %j', request);
524
+ const wrappedCallback = callback
525
+ ? (error, response, options, rawResponse) => {
526
+ this._log.info('updateChildPublisher response %j', response);
527
+ callback(error, response, options, rawResponse); // We verified callback above.
528
+ }
529
+ : undefined;
530
+ return this.innerApiCalls
531
+ .updateChildPublisher(request, options, wrappedCallback)
532
+ ?.then(([response, options, rawResponse]) => {
533
+ this._log.info('updateChildPublisher response %j', response);
534
+ return [response, options, rawResponse];
535
+ })
536
+ .catch((error) => {
537
+ if (error &&
538
+ 'statusDetails' in error &&
539
+ error.statusDetails instanceof Array) {
540
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
541
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
542
+ }
543
+ throw error;
544
+ });
545
+ }
546
+ batchUpdateChildPublishers(request, optionsOrCallback, callback) {
547
+ request = request || {};
548
+ let options;
549
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
550
+ callback = optionsOrCallback;
551
+ options = {};
552
+ }
553
+ else {
554
+ options = optionsOrCallback;
555
+ }
556
+ options = options || {};
557
+ options.otherArgs = options.otherArgs || {};
558
+ options.otherArgs.headers = options.otherArgs.headers || {};
559
+ options.otherArgs.headers['x-goog-request-params'] =
560
+ this._gaxModule.routingHeader.fromParams({
561
+ parent: request.parent ?? '',
562
+ });
563
+ this.initialize().catch((err) => {
564
+ throw err;
565
+ });
566
+ this._log.info('batchUpdateChildPublishers request %j', request);
567
+ const wrappedCallback = callback
568
+ ? (error, response, options, rawResponse) => {
569
+ this._log.info('batchUpdateChildPublishers response %j', response);
570
+ callback(error, response, options, rawResponse); // We verified callback above.
571
+ }
572
+ : undefined;
573
+ return this.innerApiCalls
574
+ .batchUpdateChildPublishers(request, options, wrappedCallback)
575
+ ?.then(([response, options, rawResponse]) => {
576
+ this._log.info('batchUpdateChildPublishers response %j', response);
577
+ return [response, options, rawResponse];
578
+ })
579
+ .catch((error) => {
580
+ if (error &&
581
+ 'statusDetails' in error &&
582
+ error.statusDetails instanceof Array) {
583
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
584
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
585
+ }
586
+ throw error;
587
+ });
588
+ }
589
+ batchResendChildPublisherInvitationEmails(request, optionsOrCallback, callback) {
590
+ request = request || {};
591
+ let options;
592
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
593
+ callback = optionsOrCallback;
594
+ options = {};
595
+ }
596
+ else {
597
+ options = optionsOrCallback;
598
+ }
599
+ options = options || {};
600
+ options.otherArgs = options.otherArgs || {};
601
+ options.otherArgs.headers = options.otherArgs.headers || {};
602
+ options.otherArgs.headers['x-goog-request-params'] =
603
+ this._gaxModule.routingHeader.fromParams({
604
+ parent: request.parent ?? '',
605
+ });
606
+ this.initialize().catch((err) => {
607
+ throw err;
608
+ });
609
+ this._log.info('batchResendChildPublisherInvitationEmails request %j', request);
610
+ const wrappedCallback = callback
611
+ ? (error, response, options, rawResponse) => {
612
+ this._log.info('batchResendChildPublisherInvitationEmails response %j', response);
613
+ callback(error, response, options, rawResponse); // We verified callback above.
614
+ }
615
+ : undefined;
616
+ return this.innerApiCalls
617
+ .batchResendChildPublisherInvitationEmails(request, options, wrappedCallback)
618
+ ?.then(([response, options, rawResponse]) => {
619
+ this._log.info('batchResendChildPublisherInvitationEmails response %j', response);
620
+ return [response, options, rawResponse];
621
+ })
622
+ .catch((error) => {
623
+ if (error &&
624
+ 'statusDetails' in error &&
625
+ error.statusDetails instanceof Array) {
626
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
627
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
628
+ }
629
+ throw error;
630
+ });
631
+ }
632
+ batchRenegotiateChildPublisherAgreements(request, optionsOrCallback, callback) {
633
+ request = request || {};
634
+ let options;
635
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
636
+ callback = optionsOrCallback;
637
+ options = {};
638
+ }
639
+ else {
640
+ options = optionsOrCallback;
641
+ }
642
+ options = options || {};
643
+ options.otherArgs = options.otherArgs || {};
644
+ options.otherArgs.headers = options.otherArgs.headers || {};
645
+ options.otherArgs.headers['x-goog-request-params'] =
646
+ this._gaxModule.routingHeader.fromParams({
647
+ parent: request.parent ?? '',
648
+ });
649
+ this.initialize().catch((err) => {
650
+ throw err;
651
+ });
652
+ this._log.info('batchRenegotiateChildPublisherAgreements request %j', request);
653
+ const wrappedCallback = callback
654
+ ? (error, response, options, rawResponse) => {
655
+ this._log.info('batchRenegotiateChildPublisherAgreements response %j', response);
656
+ callback(error, response, options, rawResponse); // We verified callback above.
657
+ }
658
+ : undefined;
659
+ return this.innerApiCalls
660
+ .batchRenegotiateChildPublisherAgreements(request, options, wrappedCallback)
661
+ ?.then(([response, options, rawResponse]) => {
662
+ this._log.info('batchRenegotiateChildPublisherAgreements response %j', response);
663
+ return [response, options, rawResponse];
664
+ })
665
+ .catch((error) => {
666
+ if (error &&
667
+ 'statusDetails' in error &&
668
+ error.statusDetails instanceof Array) {
669
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
670
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
671
+ }
672
+ throw error;
673
+ });
674
+ }
675
+ batchRejectChildPublishers(request, optionsOrCallback, callback) {
676
+ request = request || {};
677
+ let options;
678
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
679
+ callback = optionsOrCallback;
680
+ options = {};
681
+ }
682
+ else {
683
+ options = optionsOrCallback;
684
+ }
685
+ options = options || {};
686
+ options.otherArgs = options.otherArgs || {};
687
+ options.otherArgs.headers = options.otherArgs.headers || {};
688
+ options.otherArgs.headers['x-goog-request-params'] =
689
+ this._gaxModule.routingHeader.fromParams({
690
+ parent: request.parent ?? '',
691
+ });
692
+ this.initialize().catch((err) => {
693
+ throw err;
694
+ });
695
+ this._log.info('batchRejectChildPublishers request %j', request);
696
+ const wrappedCallback = callback
697
+ ? (error, response, options, rawResponse) => {
698
+ this._log.info('batchRejectChildPublishers response %j', response);
699
+ callback(error, response, options, rawResponse); // We verified callback above.
700
+ }
701
+ : undefined;
702
+ return this.innerApiCalls
703
+ .batchRejectChildPublishers(request, options, wrappedCallback)
704
+ ?.then(([response, options, rawResponse]) => {
705
+ this._log.info('batchRejectChildPublishers response %j', response);
706
+ return [response, options, rawResponse];
707
+ })
708
+ .catch((error) => {
709
+ if (error &&
710
+ 'statusDetails' in error &&
711
+ error.statusDetails instanceof Array) {
712
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
713
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
714
+ }
715
+ throw error;
716
+ });
717
+ }
718
+ batchWithdrawChildPublishers(request, optionsOrCallback, callback) {
719
+ request = request || {};
720
+ let options;
721
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
722
+ callback = optionsOrCallback;
723
+ options = {};
724
+ }
725
+ else {
726
+ options = optionsOrCallback;
727
+ }
728
+ options = options || {};
729
+ options.otherArgs = options.otherArgs || {};
730
+ options.otherArgs.headers = options.otherArgs.headers || {};
731
+ options.otherArgs.headers['x-goog-request-params'] =
732
+ this._gaxModule.routingHeader.fromParams({
733
+ parent: request.parent ?? '',
734
+ });
735
+ this.initialize().catch((err) => {
736
+ throw err;
737
+ });
738
+ this._log.info('batchWithdrawChildPublishers request %j', request);
739
+ const wrappedCallback = callback
740
+ ? (error, response, options, rawResponse) => {
741
+ this._log.info('batchWithdrawChildPublishers response %j', response);
742
+ callback(error, response, options, rawResponse); // We verified callback above.
743
+ }
744
+ : undefined;
745
+ return this.innerApiCalls
746
+ .batchWithdrawChildPublishers(request, options, wrappedCallback)
747
+ ?.then(([response, options, rawResponse]) => {
748
+ this._log.info('batchWithdrawChildPublishers response %j', response);
749
+ return [response, options, rawResponse];
750
+ })
751
+ .catch((error) => {
752
+ if (error &&
753
+ 'statusDetails' in error &&
754
+ error.statusDetails instanceof Array) {
755
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
756
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
757
+ }
758
+ throw error;
759
+ });
760
+ }
761
+ listChildPublishers(request, optionsOrCallback, callback) {
762
+ request = request || {};
763
+ let options;
764
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
765
+ callback = optionsOrCallback;
766
+ options = {};
767
+ }
768
+ else {
769
+ options = optionsOrCallback;
770
+ }
771
+ options = options || {};
772
+ options.otherArgs = options.otherArgs || {};
773
+ options.otherArgs.headers = options.otherArgs.headers || {};
774
+ options.otherArgs.headers['x-goog-request-params'] =
775
+ this._gaxModule.routingHeader.fromParams({
776
+ parent: request.parent ?? '',
777
+ });
778
+ this.initialize().catch((err) => {
779
+ throw err;
780
+ });
781
+ const wrappedCallback = callback
782
+ ? (error, values, nextPageRequest, rawResponse) => {
783
+ this._log.info('listChildPublishers values %j', values);
784
+ callback(error, values, nextPageRequest, rawResponse); // We verified callback above.
785
+ }
786
+ : undefined;
787
+ this._log.info('listChildPublishers request %j', request);
788
+ return this.innerApiCalls
789
+ .listChildPublishers(request, options, wrappedCallback)
790
+ ?.then(([response, input, output]) => {
791
+ this._log.info('listChildPublishers values %j', response);
792
+ return [response, input, output];
793
+ });
794
+ }
795
+ /**
796
+ * Equivalent to `listChildPublishers`, but returns a NodeJS Stream object.
797
+ * @param {Object} request
798
+ * The request object that will be sent.
799
+ * @param {string} request.parent
800
+ * Required. The parent, which owns this collection of
801
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s. Format:
802
+ * `networks/{network_code}`
803
+ * @param {number} [request.pageSize]
804
+ * Optional. The maximum number of
805
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s to return. The
806
+ * service may return fewer than this value. If unspecified, at most 50
807
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s will be returned.
808
+ * The maximum value is 1000; values greater than 1000 will be coerced to
809
+ * 1000.
810
+ * @param {string} [request.pageToken]
811
+ * Optional. A page token, received from a previous {@link protos.|ListChildPublishers}
812
+ * call. Provide this to retrieve the subsequent page.
813
+ *
814
+ * When paginating, all other parameters provided to {@link protos.|ListChildPublishers}
815
+ * must match the call that provided the page token.
816
+ * @param {string} [request.filter]
817
+ * Optional. Expression to filter the response.
818
+ * See syntax details at
819
+ * https://developers.google.com/ad-manager/api/beta/filters
820
+ *
821
+ * **Filterable fields:**
822
+ *
823
+ * * `accountStatus`
824
+ * * `addressVerificationStatus`
825
+ * * `approvalStatus`
826
+ * * `approvedManageAccountRevenueShareMillipercent`
827
+ * * `childNetwork`
828
+ * * `delegationType`
829
+ * * `displayName`
830
+ * * `email`
831
+ * * `identityVerificationStatus`
832
+ * * `invitationStatus`
833
+ * * `name`
834
+ * * `parentRevenueShareMillipercent`
835
+ * * `pendingOnboardingTasks`
836
+ * * `readinessStatus`
837
+ * * `sellerId`
838
+ * @param {string} [request.orderBy]
839
+ * Optional. Expression to specify sorting order.
840
+ * See syntax details at
841
+ * https://developers.google.com/ad-manager/api/beta/filters#order
842
+ * @param {number} [request.skip]
843
+ * Optional. Number of individual resources to skip while paginating.
844
+ * @param {object} [options]
845
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
846
+ * @returns {Stream}
847
+ * An object stream which emits an object representing {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher} on 'data' event.
848
+ * The client library will perform auto-pagination by default: it will call the API as many
849
+ * times as needed. Note that it can affect your quota.
850
+ * We recommend using `listChildPublishersAsync()`
851
+ * method described below for async iteration which you can stop as needed.
852
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
853
+ * for more details and examples.
854
+ */
855
+ listChildPublishersStream(request, options) {
856
+ request = request || {};
857
+ options = options || {};
858
+ options.otherArgs = options.otherArgs || {};
859
+ options.otherArgs.headers = options.otherArgs.headers || {};
860
+ options.otherArgs.headers['x-goog-request-params'] =
861
+ this._gaxModule.routingHeader.fromParams({
862
+ parent: request.parent ?? '',
863
+ });
864
+ const defaultCallSettings = this._defaults['listChildPublishers'];
865
+ const callSettings = defaultCallSettings.merge(options);
866
+ this.initialize().catch((err) => {
867
+ throw err;
868
+ });
869
+ this._log.info('listChildPublishers stream %j', request);
870
+ return this.descriptors.page.listChildPublishers.createStream(this.innerApiCalls.listChildPublishers, request, callSettings);
871
+ }
872
+ /**
873
+ * Equivalent to `listChildPublishers`, but returns an iterable object.
874
+ *
875
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
876
+ * @param {Object} request
877
+ * The request object that will be sent.
878
+ * @param {string} request.parent
879
+ * Required. The parent, which owns this collection of
880
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s. Format:
881
+ * `networks/{network_code}`
882
+ * @param {number} [request.pageSize]
883
+ * Optional. The maximum number of
884
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s to return. The
885
+ * service may return fewer than this value. If unspecified, at most 50
886
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s will be returned.
887
+ * The maximum value is 1000; values greater than 1000 will be coerced to
888
+ * 1000.
889
+ * @param {string} [request.pageToken]
890
+ * Optional. A page token, received from a previous {@link protos.|ListChildPublishers}
891
+ * call. Provide this to retrieve the subsequent page.
892
+ *
893
+ * When paginating, all other parameters provided to {@link protos.|ListChildPublishers}
894
+ * must match the call that provided the page token.
895
+ * @param {string} [request.filter]
896
+ * Optional. Expression to filter the response.
897
+ * See syntax details at
898
+ * https://developers.google.com/ad-manager/api/beta/filters
899
+ *
900
+ * **Filterable fields:**
901
+ *
902
+ * * `accountStatus`
903
+ * * `addressVerificationStatus`
904
+ * * `approvalStatus`
905
+ * * `approvedManageAccountRevenueShareMillipercent`
906
+ * * `childNetwork`
907
+ * * `delegationType`
908
+ * * `displayName`
909
+ * * `email`
910
+ * * `identityVerificationStatus`
911
+ * * `invitationStatus`
912
+ * * `name`
913
+ * * `parentRevenueShareMillipercent`
914
+ * * `pendingOnboardingTasks`
915
+ * * `readinessStatus`
916
+ * * `sellerId`
917
+ * @param {string} [request.orderBy]
918
+ * Optional. Expression to specify sorting order.
919
+ * See syntax details at
920
+ * https://developers.google.com/ad-manager/api/beta/filters#order
921
+ * @param {number} [request.skip]
922
+ * Optional. Number of individual resources to skip while paginating.
923
+ * @param {object} [options]
924
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
925
+ * @returns {Object}
926
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
927
+ * When you iterate the returned iterable, each element will be an object representing
928
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}. The API will be called under the hood as needed, once per the page,
929
+ * so you can stop the iteration when you don't need more results.
930
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
931
+ * for more details and examples.
932
+ * @example <caption>include:samples/generated/v1/child_publisher_service.list_child_publishers.js</caption>
933
+ * region_tag:admanager_v1_generated_ChildPublisherService_ListChildPublishers_async
934
+ */
935
+ listChildPublishersAsync(request, options) {
936
+ request = request || {};
937
+ options = options || {};
938
+ options.otherArgs = options.otherArgs || {};
939
+ options.otherArgs.headers = options.otherArgs.headers || {};
940
+ options.otherArgs.headers['x-goog-request-params'] =
941
+ this._gaxModule.routingHeader.fromParams({
942
+ parent: request.parent ?? '',
943
+ });
944
+ const defaultCallSettings = this._defaults['listChildPublishers'];
945
+ const callSettings = defaultCallSettings.merge(options);
946
+ this.initialize().catch((err) => {
947
+ throw err;
948
+ });
949
+ this._log.info('listChildPublishers iterate %j', request);
950
+ return this.descriptors.page.listChildPublishers.asyncIterate(this.innerApiCalls['listChildPublishers'], request, callSettings);
951
+ }
952
+ // --------------------
953
+ // -- Path templates --
954
+ // --------------------
955
+ /**
956
+ * Return a fully-qualified adBreak resource name string.
957
+ *
958
+ * @param {string} network_code
959
+ * @param {string} asset_key
960
+ * @param {string} ad_break
961
+ * @returns {string} Resource name string.
962
+ */
963
+ adBreakPath(networkCode, assetKey, adBreak) {
964
+ return this.pathTemplates.adBreakPathTemplate.render({
965
+ network_code: networkCode,
966
+ asset_key: assetKey,
967
+ ad_break: adBreak,
968
+ });
969
+ }
970
+ /**
971
+ * Parse the network_code from AdBreak resource.
972
+ *
973
+ * @param {string} adBreakName
974
+ * A fully-qualified path representing AdBreak resource.
975
+ * @returns {string} A string representing the network_code.
976
+ */
977
+ matchNetworkCodeFromAdBreakName(adBreakName) {
978
+ return this.pathTemplates.adBreakPathTemplate.match(adBreakName)
979
+ .network_code;
980
+ }
981
+ /**
982
+ * Parse the asset_key from AdBreak resource.
983
+ *
984
+ * @param {string} adBreakName
985
+ * A fully-qualified path representing AdBreak resource.
986
+ * @returns {string} A string representing the asset_key.
987
+ */
988
+ matchAssetKeyFromAdBreakName(adBreakName) {
989
+ return this.pathTemplates.adBreakPathTemplate.match(adBreakName).asset_key;
990
+ }
991
+ /**
992
+ * Parse the ad_break from AdBreak resource.
993
+ *
994
+ * @param {string} adBreakName
995
+ * A fully-qualified path representing AdBreak resource.
996
+ * @returns {string} A string representing the ad_break.
997
+ */
998
+ matchAdBreakFromAdBreakName(adBreakName) {
999
+ return this.pathTemplates.adBreakPathTemplate.match(adBreakName).ad_break;
1000
+ }
1001
+ /**
1002
+ * Return a fully-qualified adReviewCenterAd resource name string.
1003
+ *
1004
+ * @param {string} network_code
1005
+ * @param {string} web_property_code
1006
+ * @param {string} ad_review_center_ad
1007
+ * @returns {string} Resource name string.
1008
+ */
1009
+ adReviewCenterAdPath(networkCode, webPropertyCode, adReviewCenterAd) {
1010
+ return this.pathTemplates.adReviewCenterAdPathTemplate.render({
1011
+ network_code: networkCode,
1012
+ web_property_code: webPropertyCode,
1013
+ ad_review_center_ad: adReviewCenterAd,
1014
+ });
1015
+ }
1016
+ /**
1017
+ * Parse the network_code from AdReviewCenterAd resource.
1018
+ *
1019
+ * @param {string} adReviewCenterAdName
1020
+ * A fully-qualified path representing AdReviewCenterAd resource.
1021
+ * @returns {string} A string representing the network_code.
1022
+ */
1023
+ matchNetworkCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
1024
+ return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).network_code;
1025
+ }
1026
+ /**
1027
+ * Parse the web_property_code from AdReviewCenterAd resource.
1028
+ *
1029
+ * @param {string} adReviewCenterAdName
1030
+ * A fully-qualified path representing AdReviewCenterAd resource.
1031
+ * @returns {string} A string representing the web_property_code.
1032
+ */
1033
+ matchWebPropertyCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
1034
+ return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).web_property_code;
1035
+ }
1036
+ /**
1037
+ * Parse the ad_review_center_ad from AdReviewCenterAd resource.
1038
+ *
1039
+ * @param {string} adReviewCenterAdName
1040
+ * A fully-qualified path representing AdReviewCenterAd resource.
1041
+ * @returns {string} A string representing the ad_review_center_ad.
1042
+ */
1043
+ matchAdReviewCenterAdFromAdReviewCenterAdName(adReviewCenterAdName) {
1044
+ return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).ad_review_center_ad;
1045
+ }
1046
+ /**
1047
+ * Return a fully-qualified adRule resource name string.
1048
+ *
1049
+ * @param {string} network_code
1050
+ * @param {string} ad_rule
1051
+ * @returns {string} Resource name string.
1052
+ */
1053
+ adRulePath(networkCode, adRule) {
1054
+ return this.pathTemplates.adRulePathTemplate.render({
1055
+ network_code: networkCode,
1056
+ ad_rule: adRule,
1057
+ });
1058
+ }
1059
+ /**
1060
+ * Parse the network_code from AdRule resource.
1061
+ *
1062
+ * @param {string} adRuleName
1063
+ * A fully-qualified path representing AdRule resource.
1064
+ * @returns {string} A string representing the network_code.
1065
+ */
1066
+ matchNetworkCodeFromAdRuleName(adRuleName) {
1067
+ return this.pathTemplates.adRulePathTemplate.match(adRuleName).network_code;
1068
+ }
1069
+ /**
1070
+ * Parse the ad_rule from AdRule resource.
1071
+ *
1072
+ * @param {string} adRuleName
1073
+ * A fully-qualified path representing AdRule resource.
1074
+ * @returns {string} A string representing the ad_rule.
1075
+ */
1076
+ matchAdRuleFromAdRuleName(adRuleName) {
1077
+ return this.pathTemplates.adRulePathTemplate.match(adRuleName).ad_rule;
1078
+ }
1079
+ /**
1080
+ * Return a fully-qualified adSpot resource name string.
1081
+ *
1082
+ * @param {string} network_code
1083
+ * @param {string} ad_spot
1084
+ * @returns {string} Resource name string.
1085
+ */
1086
+ adSpotPath(networkCode, adSpot) {
1087
+ return this.pathTemplates.adSpotPathTemplate.render({
1088
+ network_code: networkCode,
1089
+ ad_spot: adSpot,
1090
+ });
1091
+ }
1092
+ /**
1093
+ * Parse the network_code from AdSpot resource.
1094
+ *
1095
+ * @param {string} adSpotName
1096
+ * A fully-qualified path representing AdSpot resource.
1097
+ * @returns {string} A string representing the network_code.
1098
+ */
1099
+ matchNetworkCodeFromAdSpotName(adSpotName) {
1100
+ return this.pathTemplates.adSpotPathTemplate.match(adSpotName).network_code;
1101
+ }
1102
+ /**
1103
+ * Parse the ad_spot from AdSpot resource.
1104
+ *
1105
+ * @param {string} adSpotName
1106
+ * A fully-qualified path representing AdSpot resource.
1107
+ * @returns {string} A string representing the ad_spot.
1108
+ */
1109
+ matchAdSpotFromAdSpotName(adSpotName) {
1110
+ return this.pathTemplates.adSpotPathTemplate.match(adSpotName).ad_spot;
1111
+ }
1112
+ /**
1113
+ * Return a fully-qualified adUnit resource name string.
1114
+ *
1115
+ * @param {string} network_code
1116
+ * @param {string} ad_unit
1117
+ * @returns {string} Resource name string.
1118
+ */
1119
+ adUnitPath(networkCode, adUnit) {
1120
+ return this.pathTemplates.adUnitPathTemplate.render({
1121
+ network_code: networkCode,
1122
+ ad_unit: adUnit,
1123
+ });
1124
+ }
1125
+ /**
1126
+ * Parse the network_code from AdUnit resource.
1127
+ *
1128
+ * @param {string} adUnitName
1129
+ * A fully-qualified path representing AdUnit resource.
1130
+ * @returns {string} A string representing the network_code.
1131
+ */
1132
+ matchNetworkCodeFromAdUnitName(adUnitName) {
1133
+ return this.pathTemplates.adUnitPathTemplate.match(adUnitName).network_code;
1134
+ }
1135
+ /**
1136
+ * Parse the ad_unit from AdUnit resource.
1137
+ *
1138
+ * @param {string} adUnitName
1139
+ * A fully-qualified path representing AdUnit resource.
1140
+ * @returns {string} A string representing the ad_unit.
1141
+ */
1142
+ matchAdUnitFromAdUnitName(adUnitName) {
1143
+ return this.pathTemplates.adUnitPathTemplate.match(adUnitName).ad_unit;
1144
+ }
1145
+ /**
1146
+ * Return a fully-qualified application resource name string.
1147
+ *
1148
+ * @param {string} network_code
1149
+ * @param {string} application
1150
+ * @returns {string} Resource name string.
1151
+ */
1152
+ applicationPath(networkCode, application) {
1153
+ return this.pathTemplates.applicationPathTemplate.render({
1154
+ network_code: networkCode,
1155
+ application: application,
1156
+ });
1157
+ }
1158
+ /**
1159
+ * Parse the network_code from Application resource.
1160
+ *
1161
+ * @param {string} applicationName
1162
+ * A fully-qualified path representing Application resource.
1163
+ * @returns {string} A string representing the network_code.
1164
+ */
1165
+ matchNetworkCodeFromApplicationName(applicationName) {
1166
+ return this.pathTemplates.applicationPathTemplate.match(applicationName)
1167
+ .network_code;
1168
+ }
1169
+ /**
1170
+ * Parse the application from Application resource.
1171
+ *
1172
+ * @param {string} applicationName
1173
+ * A fully-qualified path representing Application resource.
1174
+ * @returns {string} A string representing the application.
1175
+ */
1176
+ matchApplicationFromApplicationName(applicationName) {
1177
+ return this.pathTemplates.applicationPathTemplate.match(applicationName)
1178
+ .application;
1179
+ }
1180
+ /**
1181
+ * Return a fully-qualified audienceSegment resource name string.
1182
+ *
1183
+ * @param {string} network_code
1184
+ * @param {string} audience_segment
1185
+ * @returns {string} Resource name string.
1186
+ */
1187
+ audienceSegmentPath(networkCode, audienceSegment) {
1188
+ return this.pathTemplates.audienceSegmentPathTemplate.render({
1189
+ network_code: networkCode,
1190
+ audience_segment: audienceSegment,
1191
+ });
1192
+ }
1193
+ /**
1194
+ * Parse the network_code from AudienceSegment resource.
1195
+ *
1196
+ * @param {string} audienceSegmentName
1197
+ * A fully-qualified path representing AudienceSegment resource.
1198
+ * @returns {string} A string representing the network_code.
1199
+ */
1200
+ matchNetworkCodeFromAudienceSegmentName(audienceSegmentName) {
1201
+ return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).network_code;
1202
+ }
1203
+ /**
1204
+ * Parse the audience_segment from AudienceSegment resource.
1205
+ *
1206
+ * @param {string} audienceSegmentName
1207
+ * A fully-qualified path representing AudienceSegment resource.
1208
+ * @returns {string} A string representing the audience_segment.
1209
+ */
1210
+ matchAudienceSegmentFromAudienceSegmentName(audienceSegmentName) {
1211
+ return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).audience_segment;
1212
+ }
1213
+ /**
1214
+ * Return a fully-qualified bandwidthGroup resource name string.
1215
+ *
1216
+ * @param {string} network_code
1217
+ * @param {string} bandwidth_group
1218
+ * @returns {string} Resource name string.
1219
+ */
1220
+ bandwidthGroupPath(networkCode, bandwidthGroup) {
1221
+ return this.pathTemplates.bandwidthGroupPathTemplate.render({
1222
+ network_code: networkCode,
1223
+ bandwidth_group: bandwidthGroup,
1224
+ });
1225
+ }
1226
+ /**
1227
+ * Parse the network_code from BandwidthGroup resource.
1228
+ *
1229
+ * @param {string} bandwidthGroupName
1230
+ * A fully-qualified path representing BandwidthGroup resource.
1231
+ * @returns {string} A string representing the network_code.
1232
+ */
1233
+ matchNetworkCodeFromBandwidthGroupName(bandwidthGroupName) {
1234
+ return this.pathTemplates.bandwidthGroupPathTemplate.match(bandwidthGroupName).network_code;
1235
+ }
1236
+ /**
1237
+ * Parse the bandwidth_group from BandwidthGroup resource.
1238
+ *
1239
+ * @param {string} bandwidthGroupName
1240
+ * A fully-qualified path representing BandwidthGroup resource.
1241
+ * @returns {string} A string representing the bandwidth_group.
1242
+ */
1243
+ matchBandwidthGroupFromBandwidthGroupName(bandwidthGroupName) {
1244
+ return this.pathTemplates.bandwidthGroupPathTemplate.match(bandwidthGroupName).bandwidth_group;
1245
+ }
1246
+ /**
1247
+ * Return a fully-qualified browser resource name string.
1248
+ *
1249
+ * @param {string} network_code
1250
+ * @param {string} browser
1251
+ * @returns {string} Resource name string.
1252
+ */
1253
+ browserPath(networkCode, browser) {
1254
+ return this.pathTemplates.browserPathTemplate.render({
1255
+ network_code: networkCode,
1256
+ browser: browser,
1257
+ });
1258
+ }
1259
+ /**
1260
+ * Parse the network_code from Browser resource.
1261
+ *
1262
+ * @param {string} browserName
1263
+ * A fully-qualified path representing Browser resource.
1264
+ * @returns {string} A string representing the network_code.
1265
+ */
1266
+ matchNetworkCodeFromBrowserName(browserName) {
1267
+ return this.pathTemplates.browserPathTemplate.match(browserName)
1268
+ .network_code;
1269
+ }
1270
+ /**
1271
+ * Parse the browser from Browser resource.
1272
+ *
1273
+ * @param {string} browserName
1274
+ * A fully-qualified path representing Browser resource.
1275
+ * @returns {string} A string representing the browser.
1276
+ */
1277
+ matchBrowserFromBrowserName(browserName) {
1278
+ return this.pathTemplates.browserPathTemplate.match(browserName).browser;
1279
+ }
1280
+ /**
1281
+ * Return a fully-qualified browserLanguage resource name string.
1282
+ *
1283
+ * @param {string} network_code
1284
+ * @param {string} browser_language
1285
+ * @returns {string} Resource name string.
1286
+ */
1287
+ browserLanguagePath(networkCode, browserLanguage) {
1288
+ return this.pathTemplates.browserLanguagePathTemplate.render({
1289
+ network_code: networkCode,
1290
+ browser_language: browserLanguage,
1291
+ });
1292
+ }
1293
+ /**
1294
+ * Parse the network_code from BrowserLanguage resource.
1295
+ *
1296
+ * @param {string} browserLanguageName
1297
+ * A fully-qualified path representing BrowserLanguage resource.
1298
+ * @returns {string} A string representing the network_code.
1299
+ */
1300
+ matchNetworkCodeFromBrowserLanguageName(browserLanguageName) {
1301
+ return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).network_code;
1302
+ }
1303
+ /**
1304
+ * Parse the browser_language from BrowserLanguage resource.
1305
+ *
1306
+ * @param {string} browserLanguageName
1307
+ * A fully-qualified path representing BrowserLanguage resource.
1308
+ * @returns {string} A string representing the browser_language.
1309
+ */
1310
+ matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
1311
+ return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
1312
+ }
1313
+ /**
1314
+ * Return a fully-qualified cdnConfig resource name string.
1315
+ *
1316
+ * @param {string} network_code
1317
+ * @param {string} cdn_config
1318
+ * @returns {string} Resource name string.
1319
+ */
1320
+ cdnConfigPath(networkCode, cdnConfig) {
1321
+ return this.pathTemplates.cdnConfigPathTemplate.render({
1322
+ network_code: networkCode,
1323
+ cdn_config: cdnConfig,
1324
+ });
1325
+ }
1326
+ /**
1327
+ * Parse the network_code from CdnConfig resource.
1328
+ *
1329
+ * @param {string} cdnConfigName
1330
+ * A fully-qualified path representing CdnConfig resource.
1331
+ * @returns {string} A string representing the network_code.
1332
+ */
1333
+ matchNetworkCodeFromCdnConfigName(cdnConfigName) {
1334
+ return this.pathTemplates.cdnConfigPathTemplate.match(cdnConfigName)
1335
+ .network_code;
1336
+ }
1337
+ /**
1338
+ * Parse the cdn_config from CdnConfig resource.
1339
+ *
1340
+ * @param {string} cdnConfigName
1341
+ * A fully-qualified path representing CdnConfig resource.
1342
+ * @returns {string} A string representing the cdn_config.
1343
+ */
1344
+ matchCdnConfigFromCdnConfigName(cdnConfigName) {
1345
+ return this.pathTemplates.cdnConfigPathTemplate.match(cdnConfigName)
1346
+ .cdn_config;
1347
+ }
1348
+ /**
1349
+ * Return a fully-qualified childPublisher resource name string.
1350
+ *
1351
+ * @param {string} network_code
1352
+ * @param {string} child_publisher
1353
+ * @returns {string} Resource name string.
1354
+ */
1355
+ childPublisherPath(networkCode, childPublisher) {
1356
+ return this.pathTemplates.childPublisherPathTemplate.render({
1357
+ network_code: networkCode,
1358
+ child_publisher: childPublisher,
1359
+ });
1360
+ }
1361
+ /**
1362
+ * Parse the network_code from ChildPublisher resource.
1363
+ *
1364
+ * @param {string} childPublisherName
1365
+ * A fully-qualified path representing ChildPublisher resource.
1366
+ * @returns {string} A string representing the network_code.
1367
+ */
1368
+ matchNetworkCodeFromChildPublisherName(childPublisherName) {
1369
+ return this.pathTemplates.childPublisherPathTemplate.match(childPublisherName).network_code;
1370
+ }
1371
+ /**
1372
+ * Parse the child_publisher from ChildPublisher resource.
1373
+ *
1374
+ * @param {string} childPublisherName
1375
+ * A fully-qualified path representing ChildPublisher resource.
1376
+ * @returns {string} A string representing the child_publisher.
1377
+ */
1378
+ matchChildPublisherFromChildPublisherName(childPublisherName) {
1379
+ return this.pathTemplates.childPublisherPathTemplate.match(childPublisherName).child_publisher;
1380
+ }
1381
+ /**
1382
+ * Return a fully-qualified cmsMetadataKey resource name string.
1383
+ *
1384
+ * @param {string} network_code
1385
+ * @param {string} cms_metadata_key
1386
+ * @returns {string} Resource name string.
1387
+ */
1388
+ cmsMetadataKeyPath(networkCode, cmsMetadataKey) {
1389
+ return this.pathTemplates.cmsMetadataKeyPathTemplate.render({
1390
+ network_code: networkCode,
1391
+ cms_metadata_key: cmsMetadataKey,
1392
+ });
1393
+ }
1394
+ /**
1395
+ * Parse the network_code from CmsMetadataKey resource.
1396
+ *
1397
+ * @param {string} cmsMetadataKeyName
1398
+ * A fully-qualified path representing CmsMetadataKey resource.
1399
+ * @returns {string} A string representing the network_code.
1400
+ */
1401
+ matchNetworkCodeFromCmsMetadataKeyName(cmsMetadataKeyName) {
1402
+ return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).network_code;
1403
+ }
1404
+ /**
1405
+ * Parse the cms_metadata_key from CmsMetadataKey resource.
1406
+ *
1407
+ * @param {string} cmsMetadataKeyName
1408
+ * A fully-qualified path representing CmsMetadataKey resource.
1409
+ * @returns {string} A string representing the cms_metadata_key.
1410
+ */
1411
+ matchCmsMetadataKeyFromCmsMetadataKeyName(cmsMetadataKeyName) {
1412
+ return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).cms_metadata_key;
1413
+ }
1414
+ /**
1415
+ * Return a fully-qualified cmsMetadataValue resource name string.
1416
+ *
1417
+ * @param {string} network_code
1418
+ * @param {string} cms_metadata_value
1419
+ * @returns {string} Resource name string.
1420
+ */
1421
+ cmsMetadataValuePath(networkCode, cmsMetadataValue) {
1422
+ return this.pathTemplates.cmsMetadataValuePathTemplate.render({
1423
+ network_code: networkCode,
1424
+ cms_metadata_value: cmsMetadataValue,
1425
+ });
1426
+ }
1427
+ /**
1428
+ * Parse the network_code from CmsMetadataValue resource.
1429
+ *
1430
+ * @param {string} cmsMetadataValueName
1431
+ * A fully-qualified path representing CmsMetadataValue resource.
1432
+ * @returns {string} A string representing the network_code.
1433
+ */
1434
+ matchNetworkCodeFromCmsMetadataValueName(cmsMetadataValueName) {
1435
+ return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).network_code;
1436
+ }
1437
+ /**
1438
+ * Parse the cms_metadata_value from CmsMetadataValue resource.
1439
+ *
1440
+ * @param {string} cmsMetadataValueName
1441
+ * A fully-qualified path representing CmsMetadataValue resource.
1442
+ * @returns {string} A string representing the cms_metadata_value.
1443
+ */
1444
+ matchCmsMetadataValueFromCmsMetadataValueName(cmsMetadataValueName) {
1445
+ return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).cms_metadata_value;
1446
+ }
1447
+ /**
1448
+ * Return a fully-qualified company resource name string.
1449
+ *
1450
+ * @param {string} network_code
1451
+ * @param {string} company
1452
+ * @returns {string} Resource name string.
1453
+ */
1454
+ companyPath(networkCode, company) {
1455
+ return this.pathTemplates.companyPathTemplate.render({
1456
+ network_code: networkCode,
1457
+ company: company,
1458
+ });
1459
+ }
1460
+ /**
1461
+ * Parse the network_code from Company resource.
1462
+ *
1463
+ * @param {string} companyName
1464
+ * A fully-qualified path representing Company resource.
1465
+ * @returns {string} A string representing the network_code.
1466
+ */
1467
+ matchNetworkCodeFromCompanyName(companyName) {
1468
+ return this.pathTemplates.companyPathTemplate.match(companyName)
1469
+ .network_code;
1470
+ }
1471
+ /**
1472
+ * Parse the company from Company resource.
1473
+ *
1474
+ * @param {string} companyName
1475
+ * A fully-qualified path representing Company resource.
1476
+ * @returns {string} A string representing the company.
1477
+ */
1478
+ matchCompanyFromCompanyName(companyName) {
1479
+ return this.pathTemplates.companyPathTemplate.match(companyName).company;
1480
+ }
1481
+ /**
1482
+ * Return a fully-qualified contact resource name string.
1483
+ *
1484
+ * @param {string} network_code
1485
+ * @param {string} contact
1486
+ * @returns {string} Resource name string.
1487
+ */
1488
+ contactPath(networkCode, contact) {
1489
+ return this.pathTemplates.contactPathTemplate.render({
1490
+ network_code: networkCode,
1491
+ contact: contact,
1492
+ });
1493
+ }
1494
+ /**
1495
+ * Parse the network_code from Contact resource.
1496
+ *
1497
+ * @param {string} contactName
1498
+ * A fully-qualified path representing Contact resource.
1499
+ * @returns {string} A string representing the network_code.
1500
+ */
1501
+ matchNetworkCodeFromContactName(contactName) {
1502
+ return this.pathTemplates.contactPathTemplate.match(contactName)
1503
+ .network_code;
1504
+ }
1505
+ /**
1506
+ * Parse the contact from Contact resource.
1507
+ *
1508
+ * @param {string} contactName
1509
+ * A fully-qualified path representing Contact resource.
1510
+ * @returns {string} A string representing the contact.
1511
+ */
1512
+ matchContactFromContactName(contactName) {
1513
+ return this.pathTemplates.contactPathTemplate.match(contactName).contact;
1514
+ }
1515
+ /**
1516
+ * Return a fully-qualified content resource name string.
1517
+ *
1518
+ * @param {string} network_code
1519
+ * @param {string} content
1520
+ * @returns {string} Resource name string.
1521
+ */
1522
+ contentPath(networkCode, content) {
1523
+ return this.pathTemplates.contentPathTemplate.render({
1524
+ network_code: networkCode,
1525
+ content: content,
1526
+ });
1527
+ }
1528
+ /**
1529
+ * Parse the network_code from Content resource.
1530
+ *
1531
+ * @param {string} contentName
1532
+ * A fully-qualified path representing Content resource.
1533
+ * @returns {string} A string representing the network_code.
1534
+ */
1535
+ matchNetworkCodeFromContentName(contentName) {
1536
+ return this.pathTemplates.contentPathTemplate.match(contentName)
1537
+ .network_code;
1538
+ }
1539
+ /**
1540
+ * Parse the content from Content resource.
1541
+ *
1542
+ * @param {string} contentName
1543
+ * A fully-qualified path representing Content resource.
1544
+ * @returns {string} A string representing the content.
1545
+ */
1546
+ matchContentFromContentName(contentName) {
1547
+ return this.pathTemplates.contentPathTemplate.match(contentName).content;
1548
+ }
1549
+ /**
1550
+ * Return a fully-qualified contentBundle resource name string.
1551
+ *
1552
+ * @param {string} network_code
1553
+ * @param {string} content_bundle
1554
+ * @returns {string} Resource name string.
1555
+ */
1556
+ contentBundlePath(networkCode, contentBundle) {
1557
+ return this.pathTemplates.contentBundlePathTemplate.render({
1558
+ network_code: networkCode,
1559
+ content_bundle: contentBundle,
1560
+ });
1561
+ }
1562
+ /**
1563
+ * Parse the network_code from ContentBundle resource.
1564
+ *
1565
+ * @param {string} contentBundleName
1566
+ * A fully-qualified path representing ContentBundle resource.
1567
+ * @returns {string} A string representing the network_code.
1568
+ */
1569
+ matchNetworkCodeFromContentBundleName(contentBundleName) {
1570
+ return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
1571
+ .network_code;
1572
+ }
1573
+ /**
1574
+ * Parse the content_bundle from ContentBundle resource.
1575
+ *
1576
+ * @param {string} contentBundleName
1577
+ * A fully-qualified path representing ContentBundle resource.
1578
+ * @returns {string} A string representing the content_bundle.
1579
+ */
1580
+ matchContentBundleFromContentBundleName(contentBundleName) {
1581
+ return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
1582
+ .content_bundle;
1583
+ }
1584
+ /**
1585
+ * Return a fully-qualified contentLabel resource name string.
1586
+ *
1587
+ * @param {string} network_code
1588
+ * @param {string} content_label
1589
+ * @returns {string} Resource name string.
1590
+ */
1591
+ contentLabelPath(networkCode, contentLabel) {
1592
+ return this.pathTemplates.contentLabelPathTemplate.render({
1593
+ network_code: networkCode,
1594
+ content_label: contentLabel,
1595
+ });
1596
+ }
1597
+ /**
1598
+ * Parse the network_code from ContentLabel resource.
1599
+ *
1600
+ * @param {string} contentLabelName
1601
+ * A fully-qualified path representing ContentLabel resource.
1602
+ * @returns {string} A string representing the network_code.
1603
+ */
1604
+ matchNetworkCodeFromContentLabelName(contentLabelName) {
1605
+ return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
1606
+ .network_code;
1607
+ }
1608
+ /**
1609
+ * Parse the content_label from ContentLabel resource.
1610
+ *
1611
+ * @param {string} contentLabelName
1612
+ * A fully-qualified path representing ContentLabel resource.
1613
+ * @returns {string} A string representing the content_label.
1614
+ */
1615
+ matchContentLabelFromContentLabelName(contentLabelName) {
1616
+ return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
1617
+ .content_label;
1618
+ }
1619
+ /**
1620
+ * Return a fully-qualified creative resource name string.
1621
+ *
1622
+ * @param {string} network_code
1623
+ * @param {string} creative
1624
+ * @returns {string} Resource name string.
1625
+ */
1626
+ creativePath(networkCode, creative) {
1627
+ return this.pathTemplates.creativePathTemplate.render({
1628
+ network_code: networkCode,
1629
+ creative: creative,
1630
+ });
1631
+ }
1632
+ /**
1633
+ * Parse the network_code from Creative resource.
1634
+ *
1635
+ * @param {string} creativeName
1636
+ * A fully-qualified path representing Creative resource.
1637
+ * @returns {string} A string representing the network_code.
1638
+ */
1639
+ matchNetworkCodeFromCreativeName(creativeName) {
1640
+ return this.pathTemplates.creativePathTemplate.match(creativeName)
1641
+ .network_code;
1642
+ }
1643
+ /**
1644
+ * Parse the creative from Creative resource.
1645
+ *
1646
+ * @param {string} creativeName
1647
+ * A fully-qualified path representing Creative resource.
1648
+ * @returns {string} A string representing the creative.
1649
+ */
1650
+ matchCreativeFromCreativeName(creativeName) {
1651
+ return this.pathTemplates.creativePathTemplate.match(creativeName).creative;
1652
+ }
1653
+ /**
1654
+ * Return a fully-qualified creativeSet resource name string.
1655
+ *
1656
+ * @param {string} network_code
1657
+ * @param {string} creative_set
1658
+ * @returns {string} Resource name string.
1659
+ */
1660
+ creativeSetPath(networkCode, creativeSet) {
1661
+ return this.pathTemplates.creativeSetPathTemplate.render({
1662
+ network_code: networkCode,
1663
+ creative_set: creativeSet,
1664
+ });
1665
+ }
1666
+ /**
1667
+ * Parse the network_code from CreativeSet resource.
1668
+ *
1669
+ * @param {string} creativeSetName
1670
+ * A fully-qualified path representing CreativeSet resource.
1671
+ * @returns {string} A string representing the network_code.
1672
+ */
1673
+ matchNetworkCodeFromCreativeSetName(creativeSetName) {
1674
+ return this.pathTemplates.creativeSetPathTemplate.match(creativeSetName)
1675
+ .network_code;
1676
+ }
1677
+ /**
1678
+ * Parse the creative_set from CreativeSet resource.
1679
+ *
1680
+ * @param {string} creativeSetName
1681
+ * A fully-qualified path representing CreativeSet resource.
1682
+ * @returns {string} A string representing the creative_set.
1683
+ */
1684
+ matchCreativeSetFromCreativeSetName(creativeSetName) {
1685
+ return this.pathTemplates.creativeSetPathTemplate.match(creativeSetName)
1686
+ .creative_set;
1687
+ }
1688
+ /**
1689
+ * Return a fully-qualified creativeTemplate resource name string.
1690
+ *
1691
+ * @param {string} network_code
1692
+ * @param {string} creative_template
1693
+ * @returns {string} Resource name string.
1694
+ */
1695
+ creativeTemplatePath(networkCode, creativeTemplate) {
1696
+ return this.pathTemplates.creativeTemplatePathTemplate.render({
1697
+ network_code: networkCode,
1698
+ creative_template: creativeTemplate,
1699
+ });
1700
+ }
1701
+ /**
1702
+ * Parse the network_code from CreativeTemplate resource.
1703
+ *
1704
+ * @param {string} creativeTemplateName
1705
+ * A fully-qualified path representing CreativeTemplate resource.
1706
+ * @returns {string} A string representing the network_code.
1707
+ */
1708
+ matchNetworkCodeFromCreativeTemplateName(creativeTemplateName) {
1709
+ return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).network_code;
1710
+ }
1711
+ /**
1712
+ * Parse the creative_template from CreativeTemplate resource.
1713
+ *
1714
+ * @param {string} creativeTemplateName
1715
+ * A fully-qualified path representing CreativeTemplate resource.
1716
+ * @returns {string} A string representing the creative_template.
1717
+ */
1718
+ matchCreativeTemplateFromCreativeTemplateName(creativeTemplateName) {
1719
+ return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).creative_template;
1720
+ }
1721
+ /**
1722
+ * Return a fully-qualified creativeWrapper resource name string.
1723
+ *
1724
+ * @param {string} network_code
1725
+ * @param {string} creative_wrapper
1726
+ * @returns {string} Resource name string.
1727
+ */
1728
+ creativeWrapperPath(networkCode, creativeWrapper) {
1729
+ return this.pathTemplates.creativeWrapperPathTemplate.render({
1730
+ network_code: networkCode,
1731
+ creative_wrapper: creativeWrapper,
1732
+ });
1733
+ }
1734
+ /**
1735
+ * Parse the network_code from CreativeWrapper resource.
1736
+ *
1737
+ * @param {string} creativeWrapperName
1738
+ * A fully-qualified path representing CreativeWrapper resource.
1739
+ * @returns {string} A string representing the network_code.
1740
+ */
1741
+ matchNetworkCodeFromCreativeWrapperName(creativeWrapperName) {
1742
+ return this.pathTemplates.creativeWrapperPathTemplate.match(creativeWrapperName).network_code;
1743
+ }
1744
+ /**
1745
+ * Parse the creative_wrapper from CreativeWrapper resource.
1746
+ *
1747
+ * @param {string} creativeWrapperName
1748
+ * A fully-qualified path representing CreativeWrapper resource.
1749
+ * @returns {string} A string representing the creative_wrapper.
1750
+ */
1751
+ matchCreativeWrapperFromCreativeWrapperName(creativeWrapperName) {
1752
+ return this.pathTemplates.creativeWrapperPathTemplate.match(creativeWrapperName).creative_wrapper;
1753
+ }
1754
+ /**
1755
+ * Return a fully-qualified customField resource name string.
1756
+ *
1757
+ * @param {string} network_code
1758
+ * @param {string} custom_field
1759
+ * @returns {string} Resource name string.
1760
+ */
1761
+ customFieldPath(networkCode, customField) {
1762
+ return this.pathTemplates.customFieldPathTemplate.render({
1763
+ network_code: networkCode,
1764
+ custom_field: customField,
1765
+ });
1766
+ }
1767
+ /**
1768
+ * Parse the network_code from CustomField resource.
1769
+ *
1770
+ * @param {string} customFieldName
1771
+ * A fully-qualified path representing CustomField resource.
1772
+ * @returns {string} A string representing the network_code.
1773
+ */
1774
+ matchNetworkCodeFromCustomFieldName(customFieldName) {
1775
+ return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
1776
+ .network_code;
1777
+ }
1778
+ /**
1779
+ * Parse the custom_field from CustomField resource.
1780
+ *
1781
+ * @param {string} customFieldName
1782
+ * A fully-qualified path representing CustomField resource.
1783
+ * @returns {string} A string representing the custom_field.
1784
+ */
1785
+ matchCustomFieldFromCustomFieldName(customFieldName) {
1786
+ return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
1787
+ .custom_field;
1788
+ }
1789
+ /**
1790
+ * Return a fully-qualified customTargetingKey resource name string.
1791
+ *
1792
+ * @param {string} network_code
1793
+ * @param {string} custom_targeting_key
1794
+ * @returns {string} Resource name string.
1795
+ */
1796
+ customTargetingKeyPath(networkCode, customTargetingKey) {
1797
+ return this.pathTemplates.customTargetingKeyPathTemplate.render({
1798
+ network_code: networkCode,
1799
+ custom_targeting_key: customTargetingKey,
1800
+ });
1801
+ }
1802
+ /**
1803
+ * Parse the network_code from CustomTargetingKey resource.
1804
+ *
1805
+ * @param {string} customTargetingKeyName
1806
+ * A fully-qualified path representing CustomTargetingKey resource.
1807
+ * @returns {string} A string representing the network_code.
1808
+ */
1809
+ matchNetworkCodeFromCustomTargetingKeyName(customTargetingKeyName) {
1810
+ return this.pathTemplates.customTargetingKeyPathTemplate.match(customTargetingKeyName).network_code;
1811
+ }
1812
+ /**
1813
+ * Parse the custom_targeting_key from CustomTargetingKey resource.
1814
+ *
1815
+ * @param {string} customTargetingKeyName
1816
+ * A fully-qualified path representing CustomTargetingKey resource.
1817
+ * @returns {string} A string representing the custom_targeting_key.
1818
+ */
1819
+ matchCustomTargetingKeyFromCustomTargetingKeyName(customTargetingKeyName) {
1820
+ return this.pathTemplates.customTargetingKeyPathTemplate.match(customTargetingKeyName).custom_targeting_key;
1821
+ }
1822
+ /**
1823
+ * Return a fully-qualified customTargetingValue resource name string.
1824
+ *
1825
+ * @param {string} network_code
1826
+ * @param {string} custom_targeting_value
1827
+ * @returns {string} Resource name string.
1828
+ */
1829
+ customTargetingValuePath(networkCode, customTargetingValue) {
1830
+ return this.pathTemplates.customTargetingValuePathTemplate.render({
1831
+ network_code: networkCode,
1832
+ custom_targeting_value: customTargetingValue,
1833
+ });
1834
+ }
1835
+ /**
1836
+ * Parse the network_code from CustomTargetingValue resource.
1837
+ *
1838
+ * @param {string} customTargetingValueName
1839
+ * A fully-qualified path representing CustomTargetingValue resource.
1840
+ * @returns {string} A string representing the network_code.
1841
+ */
1842
+ matchNetworkCodeFromCustomTargetingValueName(customTargetingValueName) {
1843
+ return this.pathTemplates.customTargetingValuePathTemplate.match(customTargetingValueName).network_code;
1844
+ }
1845
+ /**
1846
+ * Parse the custom_targeting_value from CustomTargetingValue resource.
1847
+ *
1848
+ * @param {string} customTargetingValueName
1849
+ * A fully-qualified path representing CustomTargetingValue resource.
1850
+ * @returns {string} A string representing the custom_targeting_value.
1851
+ */
1852
+ matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName) {
1853
+ return this.pathTemplates.customTargetingValuePathTemplate.match(customTargetingValueName).custom_targeting_value;
1854
+ }
1855
+ /**
1856
+ * Return a fully-qualified daiAuthenticationKey resource name string.
1857
+ *
1858
+ * @param {string} network_code
1859
+ * @param {string} dai_authentication_key
1860
+ * @returns {string} Resource name string.
1861
+ */
1862
+ daiAuthenticationKeyPath(networkCode, daiAuthenticationKey) {
1863
+ return this.pathTemplates.daiAuthenticationKeyPathTemplate.render({
1864
+ network_code: networkCode,
1865
+ dai_authentication_key: daiAuthenticationKey,
1866
+ });
1867
+ }
1868
+ /**
1869
+ * Parse the network_code from DaiAuthenticationKey resource.
1870
+ *
1871
+ * @param {string} daiAuthenticationKeyName
1872
+ * A fully-qualified path representing DaiAuthenticationKey resource.
1873
+ * @returns {string} A string representing the network_code.
1874
+ */
1875
+ matchNetworkCodeFromDaiAuthenticationKeyName(daiAuthenticationKeyName) {
1876
+ return this.pathTemplates.daiAuthenticationKeyPathTemplate.match(daiAuthenticationKeyName).network_code;
1877
+ }
1878
+ /**
1879
+ * Parse the dai_authentication_key from DaiAuthenticationKey resource.
1880
+ *
1881
+ * @param {string} daiAuthenticationKeyName
1882
+ * A fully-qualified path representing DaiAuthenticationKey resource.
1883
+ * @returns {string} A string representing the dai_authentication_key.
1884
+ */
1885
+ matchDaiAuthenticationKeyFromDaiAuthenticationKeyName(daiAuthenticationKeyName) {
1886
+ return this.pathTemplates.daiAuthenticationKeyPathTemplate.match(daiAuthenticationKeyName).dai_authentication_key;
1887
+ }
1888
+ /**
1889
+ * Return a fully-qualified daiEncodingProfile resource name string.
1890
+ *
1891
+ * @param {string} network_code
1892
+ * @param {string} dai_encoding_profile
1893
+ * @returns {string} Resource name string.
1894
+ */
1895
+ daiEncodingProfilePath(networkCode, daiEncodingProfile) {
1896
+ return this.pathTemplates.daiEncodingProfilePathTemplate.render({
1897
+ network_code: networkCode,
1898
+ dai_encoding_profile: daiEncodingProfile,
1899
+ });
1900
+ }
1901
+ /**
1902
+ * Parse the network_code from DaiEncodingProfile resource.
1903
+ *
1904
+ * @param {string} daiEncodingProfileName
1905
+ * A fully-qualified path representing DaiEncodingProfile resource.
1906
+ * @returns {string} A string representing the network_code.
1907
+ */
1908
+ matchNetworkCodeFromDaiEncodingProfileName(daiEncodingProfileName) {
1909
+ return this.pathTemplates.daiEncodingProfilePathTemplate.match(daiEncodingProfileName).network_code;
1910
+ }
1911
+ /**
1912
+ * Parse the dai_encoding_profile from DaiEncodingProfile resource.
1913
+ *
1914
+ * @param {string} daiEncodingProfileName
1915
+ * A fully-qualified path representing DaiEncodingProfile resource.
1916
+ * @returns {string} A string representing the dai_encoding_profile.
1917
+ */
1918
+ matchDaiEncodingProfileFromDaiEncodingProfileName(daiEncodingProfileName) {
1919
+ return this.pathTemplates.daiEncodingProfilePathTemplate.match(daiEncodingProfileName).dai_encoding_profile;
1920
+ }
1921
+ /**
1922
+ * Return a fully-qualified defaultThirdPartyDataDeclaration resource name string.
1923
+ *
1924
+ * @param {string} network_code
1925
+ * @returns {string} Resource name string.
1926
+ */
1927
+ defaultThirdPartyDataDeclarationPath(networkCode) {
1928
+ return this.pathTemplates.defaultThirdPartyDataDeclarationPathTemplate.render({
1929
+ network_code: networkCode,
1930
+ });
1931
+ }
1932
+ /**
1933
+ * Parse the network_code from DefaultThirdPartyDataDeclaration resource.
1934
+ *
1935
+ * @param {string} defaultThirdPartyDataDeclarationName
1936
+ * A fully-qualified path representing DefaultThirdPartyDataDeclaration resource.
1937
+ * @returns {string} A string representing the network_code.
1938
+ */
1939
+ matchNetworkCodeFromDefaultThirdPartyDataDeclarationName(defaultThirdPartyDataDeclarationName) {
1940
+ return this.pathTemplates.defaultThirdPartyDataDeclarationPathTemplate.match(defaultThirdPartyDataDeclarationName).network_code;
1941
+ }
1942
+ /**
1943
+ * Return a fully-qualified deviceCapability resource name string.
1944
+ *
1945
+ * @param {string} network_code
1946
+ * @param {string} device_capability
1947
+ * @returns {string} Resource name string.
1948
+ */
1949
+ deviceCapabilityPath(networkCode, deviceCapability) {
1950
+ return this.pathTemplates.deviceCapabilityPathTemplate.render({
1951
+ network_code: networkCode,
1952
+ device_capability: deviceCapability,
1953
+ });
1954
+ }
1955
+ /**
1956
+ * Parse the network_code from DeviceCapability resource.
1957
+ *
1958
+ * @param {string} deviceCapabilityName
1959
+ * A fully-qualified path representing DeviceCapability resource.
1960
+ * @returns {string} A string representing the network_code.
1961
+ */
1962
+ matchNetworkCodeFromDeviceCapabilityName(deviceCapabilityName) {
1963
+ return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).network_code;
1964
+ }
1965
+ /**
1966
+ * Parse the device_capability from DeviceCapability resource.
1967
+ *
1968
+ * @param {string} deviceCapabilityName
1969
+ * A fully-qualified path representing DeviceCapability resource.
1970
+ * @returns {string} A string representing the device_capability.
1971
+ */
1972
+ matchDeviceCapabilityFromDeviceCapabilityName(deviceCapabilityName) {
1973
+ return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).device_capability;
1974
+ }
1975
+ /**
1976
+ * Return a fully-qualified deviceCategory resource name string.
1977
+ *
1978
+ * @param {string} network_code
1979
+ * @param {string} device_category
1980
+ * @returns {string} Resource name string.
1981
+ */
1982
+ deviceCategoryPath(networkCode, deviceCategory) {
1983
+ return this.pathTemplates.deviceCategoryPathTemplate.render({
1984
+ network_code: networkCode,
1985
+ device_category: deviceCategory,
1986
+ });
1987
+ }
1988
+ /**
1989
+ * Parse the network_code from DeviceCategory resource.
1990
+ *
1991
+ * @param {string} deviceCategoryName
1992
+ * A fully-qualified path representing DeviceCategory resource.
1993
+ * @returns {string} A string representing the network_code.
1994
+ */
1995
+ matchNetworkCodeFromDeviceCategoryName(deviceCategoryName) {
1996
+ return this.pathTemplates.deviceCategoryPathTemplate.match(deviceCategoryName).network_code;
1997
+ }
1998
+ /**
1999
+ * Parse the device_category from DeviceCategory resource.
2000
+ *
2001
+ * @param {string} deviceCategoryName
2002
+ * A fully-qualified path representing DeviceCategory resource.
2003
+ * @returns {string} A string representing the device_category.
2004
+ */
2005
+ matchDeviceCategoryFromDeviceCategoryName(deviceCategoryName) {
2006
+ return this.pathTemplates.deviceCategoryPathTemplate.match(deviceCategoryName).device_category;
2007
+ }
2008
+ /**
2009
+ * Return a fully-qualified deviceManufacturer resource name string.
2010
+ *
2011
+ * @param {string} network_code
2012
+ * @param {string} device_manufacturer
2013
+ * @returns {string} Resource name string.
2014
+ */
2015
+ deviceManufacturerPath(networkCode, deviceManufacturer) {
2016
+ return this.pathTemplates.deviceManufacturerPathTemplate.render({
2017
+ network_code: networkCode,
2018
+ device_manufacturer: deviceManufacturer,
2019
+ });
2020
+ }
2021
+ /**
2022
+ * Parse the network_code from DeviceManufacturer resource.
2023
+ *
2024
+ * @param {string} deviceManufacturerName
2025
+ * A fully-qualified path representing DeviceManufacturer resource.
2026
+ * @returns {string} A string representing the network_code.
2027
+ */
2028
+ matchNetworkCodeFromDeviceManufacturerName(deviceManufacturerName) {
2029
+ return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).network_code;
2030
+ }
2031
+ /**
2032
+ * Parse the device_manufacturer from DeviceManufacturer resource.
2033
+ *
2034
+ * @param {string} deviceManufacturerName
2035
+ * A fully-qualified path representing DeviceManufacturer resource.
2036
+ * @returns {string} A string representing the device_manufacturer.
2037
+ */
2038
+ matchDeviceManufacturerFromDeviceManufacturerName(deviceManufacturerName) {
2039
+ return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).device_manufacturer;
2040
+ }
2041
+ /**
2042
+ * Return a fully-qualified entitySignalsMapping resource name string.
2043
+ *
2044
+ * @param {string} network_code
2045
+ * @param {string} entity_signals_mapping
2046
+ * @returns {string} Resource name string.
2047
+ */
2048
+ entitySignalsMappingPath(networkCode, entitySignalsMapping) {
2049
+ return this.pathTemplates.entitySignalsMappingPathTemplate.render({
2050
+ network_code: networkCode,
2051
+ entity_signals_mapping: entitySignalsMapping,
2052
+ });
2053
+ }
2054
+ /**
2055
+ * Parse the network_code from EntitySignalsMapping resource.
2056
+ *
2057
+ * @param {string} entitySignalsMappingName
2058
+ * A fully-qualified path representing EntitySignalsMapping resource.
2059
+ * @returns {string} A string representing the network_code.
2060
+ */
2061
+ matchNetworkCodeFromEntitySignalsMappingName(entitySignalsMappingName) {
2062
+ return this.pathTemplates.entitySignalsMappingPathTemplate.match(entitySignalsMappingName).network_code;
2063
+ }
2064
+ /**
2065
+ * Parse the entity_signals_mapping from EntitySignalsMapping resource.
2066
+ *
2067
+ * @param {string} entitySignalsMappingName
2068
+ * A fully-qualified path representing EntitySignalsMapping resource.
2069
+ * @returns {string} A string representing the entity_signals_mapping.
2070
+ */
2071
+ matchEntitySignalsMappingFromEntitySignalsMappingName(entitySignalsMappingName) {
2072
+ return this.pathTemplates.entitySignalsMappingPathTemplate.match(entitySignalsMappingName).entity_signals_mapping;
2073
+ }
2074
+ /**
2075
+ * Return a fully-qualified geoTarget resource name string.
2076
+ *
2077
+ * @param {string} network_code
2078
+ * @param {string} geo_target
2079
+ * @returns {string} Resource name string.
2080
+ */
2081
+ geoTargetPath(networkCode, geoTarget) {
2082
+ return this.pathTemplates.geoTargetPathTemplate.render({
2083
+ network_code: networkCode,
2084
+ geo_target: geoTarget,
2085
+ });
2086
+ }
2087
+ /**
2088
+ * Parse the network_code from GeoTarget resource.
2089
+ *
2090
+ * @param {string} geoTargetName
2091
+ * A fully-qualified path representing GeoTarget resource.
2092
+ * @returns {string} A string representing the network_code.
2093
+ */
2094
+ matchNetworkCodeFromGeoTargetName(geoTargetName) {
2095
+ return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
2096
+ .network_code;
2097
+ }
2098
+ /**
2099
+ * Parse the geo_target from GeoTarget resource.
2100
+ *
2101
+ * @param {string} geoTargetName
2102
+ * A fully-qualified path representing GeoTarget resource.
2103
+ * @returns {string} A string representing the geo_target.
2104
+ */
2105
+ matchGeoTargetFromGeoTargetName(geoTargetName) {
2106
+ return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
2107
+ .geo_target;
2108
+ }
2109
+ /**
2110
+ * Return a fully-qualified label resource name string.
2111
+ *
2112
+ * @param {string} network_code
2113
+ * @param {string} label
2114
+ * @returns {string} Resource name string.
2115
+ */
2116
+ labelPath(networkCode, label) {
2117
+ return this.pathTemplates.labelPathTemplate.render({
2118
+ network_code: networkCode,
2119
+ label: label,
2120
+ });
2121
+ }
2122
+ /**
2123
+ * Parse the network_code from Label resource.
2124
+ *
2125
+ * @param {string} labelName
2126
+ * A fully-qualified path representing Label resource.
2127
+ * @returns {string} A string representing the network_code.
2128
+ */
2129
+ matchNetworkCodeFromLabelName(labelName) {
2130
+ return this.pathTemplates.labelPathTemplate.match(labelName).network_code;
2131
+ }
2132
+ /**
2133
+ * Parse the label from Label resource.
2134
+ *
2135
+ * @param {string} labelName
2136
+ * A fully-qualified path representing Label resource.
2137
+ * @returns {string} A string representing the label.
2138
+ */
2139
+ matchLabelFromLabelName(labelName) {
2140
+ return this.pathTemplates.labelPathTemplate.match(labelName).label;
2141
+ }
2142
+ /**
2143
+ * Return a fully-qualified lineItem resource name string.
2144
+ *
2145
+ * @param {string} network_code
2146
+ * @param {string} line_item
2147
+ * @returns {string} Resource name string.
2148
+ */
2149
+ lineItemPath(networkCode, lineItem) {
2150
+ return this.pathTemplates.lineItemPathTemplate.render({
2151
+ network_code: networkCode,
2152
+ line_item: lineItem,
2153
+ });
2154
+ }
2155
+ /**
2156
+ * Parse the network_code from LineItem resource.
2157
+ *
2158
+ * @param {string} lineItemName
2159
+ * A fully-qualified path representing LineItem resource.
2160
+ * @returns {string} A string representing the network_code.
2161
+ */
2162
+ matchNetworkCodeFromLineItemName(lineItemName) {
2163
+ return this.pathTemplates.lineItemPathTemplate.match(lineItemName)
2164
+ .network_code;
2165
+ }
2166
+ /**
2167
+ * Parse the line_item from LineItem resource.
2168
+ *
2169
+ * @param {string} lineItemName
2170
+ * A fully-qualified path representing LineItem resource.
2171
+ * @returns {string} A string representing the line_item.
2172
+ */
2173
+ matchLineItemFromLineItemName(lineItemName) {
2174
+ return this.pathTemplates.lineItemPathTemplate.match(lineItemName)
2175
+ .line_item;
2176
+ }
2177
+ /**
2178
+ * Return a fully-qualified linkedDevice resource name string.
2179
+ *
2180
+ * @param {string} network_code
2181
+ * @param {string} linked_device
2182
+ * @returns {string} Resource name string.
2183
+ */
2184
+ linkedDevicePath(networkCode, linkedDevice) {
2185
+ return this.pathTemplates.linkedDevicePathTemplate.render({
2186
+ network_code: networkCode,
2187
+ linked_device: linkedDevice,
2188
+ });
2189
+ }
2190
+ /**
2191
+ * Parse the network_code from LinkedDevice resource.
2192
+ *
2193
+ * @param {string} linkedDeviceName
2194
+ * A fully-qualified path representing LinkedDevice resource.
2195
+ * @returns {string} A string representing the network_code.
2196
+ */
2197
+ matchNetworkCodeFromLinkedDeviceName(linkedDeviceName) {
2198
+ return this.pathTemplates.linkedDevicePathTemplate.match(linkedDeviceName)
2199
+ .network_code;
2200
+ }
2201
+ /**
2202
+ * Parse the linked_device from LinkedDevice resource.
2203
+ *
2204
+ * @param {string} linkedDeviceName
2205
+ * A fully-qualified path representing LinkedDevice resource.
2206
+ * @returns {string} A string representing the linked_device.
2207
+ */
2208
+ matchLinkedDeviceFromLinkedDeviceName(linkedDeviceName) {
2209
+ return this.pathTemplates.linkedDevicePathTemplate.match(linkedDeviceName)
2210
+ .linked_device;
2211
+ }
2212
+ /**
2213
+ * Return a fully-qualified liveStream resource name string.
2214
+ *
2215
+ * @param {string} network_code
2216
+ * @param {string} live_stream
2217
+ * @returns {string} Resource name string.
2218
+ */
2219
+ liveStreamPath(networkCode, liveStream) {
2220
+ return this.pathTemplates.liveStreamPathTemplate.render({
2221
+ network_code: networkCode,
2222
+ live_stream: liveStream,
2223
+ });
2224
+ }
2225
+ /**
2226
+ * Parse the network_code from LiveStream resource.
2227
+ *
2228
+ * @param {string} liveStreamName
2229
+ * A fully-qualified path representing LiveStream resource.
2230
+ * @returns {string} A string representing the network_code.
2231
+ */
2232
+ matchNetworkCodeFromLiveStreamName(liveStreamName) {
2233
+ return this.pathTemplates.liveStreamPathTemplate.match(liveStreamName)
2234
+ .network_code;
2235
+ }
2236
+ /**
2237
+ * Parse the live_stream from LiveStream resource.
2238
+ *
2239
+ * @param {string} liveStreamName
2240
+ * A fully-qualified path representing LiveStream resource.
2241
+ * @returns {string} A string representing the live_stream.
2242
+ */
2243
+ matchLiveStreamFromLiveStreamName(liveStreamName) {
2244
+ return this.pathTemplates.liveStreamPathTemplate.match(liveStreamName)
2245
+ .live_stream;
2246
+ }
2247
+ /**
2248
+ * Return a fully-qualified liveStreamEvent resource name string.
2249
+ *
2250
+ * @param {string} network_code
2251
+ * @param {string} live_stream_event
2252
+ * @returns {string} Resource name string.
2253
+ */
2254
+ liveStreamEventPath(networkCode, liveStreamEvent) {
2255
+ return this.pathTemplates.liveStreamEventPathTemplate.render({
2256
+ network_code: networkCode,
2257
+ live_stream_event: liveStreamEvent,
2258
+ });
2259
+ }
2260
+ /**
2261
+ * Parse the network_code from LiveStreamEvent resource.
2262
+ *
2263
+ * @param {string} liveStreamEventName
2264
+ * A fully-qualified path representing LiveStreamEvent resource.
2265
+ * @returns {string} A string representing the network_code.
2266
+ */
2267
+ matchNetworkCodeFromLiveStreamEventName(liveStreamEventName) {
2268
+ return this.pathTemplates.liveStreamEventPathTemplate.match(liveStreamEventName).network_code;
2269
+ }
2270
+ /**
2271
+ * Parse the live_stream_event from LiveStreamEvent resource.
2272
+ *
2273
+ * @param {string} liveStreamEventName
2274
+ * A fully-qualified path representing LiveStreamEvent resource.
2275
+ * @returns {string} A string representing the live_stream_event.
2276
+ */
2277
+ matchLiveStreamEventFromLiveStreamEventName(liveStreamEventName) {
2278
+ return this.pathTemplates.liveStreamEventPathTemplate.match(liveStreamEventName).live_stream_event;
2279
+ }
2280
+ /**
2281
+ * Return a fully-qualified mobileCarrier resource name string.
2282
+ *
2283
+ * @param {string} network_code
2284
+ * @param {string} mobile_carrier
2285
+ * @returns {string} Resource name string.
2286
+ */
2287
+ mobileCarrierPath(networkCode, mobileCarrier) {
2288
+ return this.pathTemplates.mobileCarrierPathTemplate.render({
2289
+ network_code: networkCode,
2290
+ mobile_carrier: mobileCarrier,
2291
+ });
2292
+ }
2293
+ /**
2294
+ * Parse the network_code from MobileCarrier resource.
2295
+ *
2296
+ * @param {string} mobileCarrierName
2297
+ * A fully-qualified path representing MobileCarrier resource.
2298
+ * @returns {string} A string representing the network_code.
2299
+ */
2300
+ matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
2301
+ return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
2302
+ .network_code;
2303
+ }
2304
+ /**
2305
+ * Parse the mobile_carrier from MobileCarrier resource.
2306
+ *
2307
+ * @param {string} mobileCarrierName
2308
+ * A fully-qualified path representing MobileCarrier resource.
2309
+ * @returns {string} A string representing the mobile_carrier.
2310
+ */
2311
+ matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
2312
+ return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
2313
+ .mobile_carrier;
2314
+ }
2315
+ /**
2316
+ * Return a fully-qualified mobileDevice resource name string.
2317
+ *
2318
+ * @param {string} network_code
2319
+ * @param {string} mobile_device
2320
+ * @returns {string} Resource name string.
2321
+ */
2322
+ mobileDevicePath(networkCode, mobileDevice) {
2323
+ return this.pathTemplates.mobileDevicePathTemplate.render({
2324
+ network_code: networkCode,
2325
+ mobile_device: mobileDevice,
2326
+ });
2327
+ }
2328
+ /**
2329
+ * Parse the network_code from MobileDevice resource.
2330
+ *
2331
+ * @param {string} mobileDeviceName
2332
+ * A fully-qualified path representing MobileDevice resource.
2333
+ * @returns {string} A string representing the network_code.
2334
+ */
2335
+ matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
2336
+ return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
2337
+ .network_code;
2338
+ }
2339
+ /**
2340
+ * Parse the mobile_device from MobileDevice resource.
2341
+ *
2342
+ * @param {string} mobileDeviceName
2343
+ * A fully-qualified path representing MobileDevice resource.
2344
+ * @returns {string} A string representing the mobile_device.
2345
+ */
2346
+ matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
2347
+ return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
2348
+ .mobile_device;
2349
+ }
2350
+ /**
2351
+ * Return a fully-qualified mobileDeviceSubmodel resource name string.
2352
+ *
2353
+ * @param {string} network_code
2354
+ * @param {string} mobile_device_submodel
2355
+ * @returns {string} Resource name string.
2356
+ */
2357
+ mobileDeviceSubmodelPath(networkCode, mobileDeviceSubmodel) {
2358
+ return this.pathTemplates.mobileDeviceSubmodelPathTemplate.render({
2359
+ network_code: networkCode,
2360
+ mobile_device_submodel: mobileDeviceSubmodel,
2361
+ });
2362
+ }
2363
+ /**
2364
+ * Parse the network_code from MobileDeviceSubmodel resource.
2365
+ *
2366
+ * @param {string} mobileDeviceSubmodelName
2367
+ * A fully-qualified path representing MobileDeviceSubmodel resource.
2368
+ * @returns {string} A string representing the network_code.
2369
+ */
2370
+ matchNetworkCodeFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
2371
+ return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).network_code;
2372
+ }
2373
+ /**
2374
+ * Parse the mobile_device_submodel from MobileDeviceSubmodel resource.
2375
+ *
2376
+ * @param {string} mobileDeviceSubmodelName
2377
+ * A fully-qualified path representing MobileDeviceSubmodel resource.
2378
+ * @returns {string} A string representing the mobile_device_submodel.
2379
+ */
2380
+ matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
2381
+ return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).mobile_device_submodel;
2382
+ }
2383
+ /**
2384
+ * Return a fully-qualified nativeStyle resource name string.
2385
+ *
2386
+ * @param {string} network_code
2387
+ * @param {string} native_style
2388
+ * @returns {string} Resource name string.
2389
+ */
2390
+ nativeStylePath(networkCode, nativeStyle) {
2391
+ return this.pathTemplates.nativeStylePathTemplate.render({
2392
+ network_code: networkCode,
2393
+ native_style: nativeStyle,
2394
+ });
2395
+ }
2396
+ /**
2397
+ * Parse the network_code from NativeStyle resource.
2398
+ *
2399
+ * @param {string} nativeStyleName
2400
+ * A fully-qualified path representing NativeStyle resource.
2401
+ * @returns {string} A string representing the network_code.
2402
+ */
2403
+ matchNetworkCodeFromNativeStyleName(nativeStyleName) {
2404
+ return this.pathTemplates.nativeStylePathTemplate.match(nativeStyleName)
2405
+ .network_code;
2406
+ }
2407
+ /**
2408
+ * Parse the native_style from NativeStyle resource.
2409
+ *
2410
+ * @param {string} nativeStyleName
2411
+ * A fully-qualified path representing NativeStyle resource.
2412
+ * @returns {string} A string representing the native_style.
2413
+ */
2414
+ matchNativeStyleFromNativeStyleName(nativeStyleName) {
2415
+ return this.pathTemplates.nativeStylePathTemplate.match(nativeStyleName)
2416
+ .native_style;
2417
+ }
2418
+ /**
2419
+ * Return a fully-qualified network resource name string.
2420
+ *
2421
+ * @param {string} network_code
2422
+ * @returns {string} Resource name string.
2423
+ */
2424
+ networkPath(networkCode) {
2425
+ return this.pathTemplates.networkPathTemplate.render({
2426
+ network_code: networkCode,
2427
+ });
2428
+ }
2429
+ /**
2430
+ * Parse the network_code from Network resource.
2431
+ *
2432
+ * @param {string} networkName
2433
+ * A fully-qualified path representing Network resource.
2434
+ * @returns {string} A string representing the network_code.
2435
+ */
2436
+ matchNetworkCodeFromNetworkName(networkName) {
2437
+ return this.pathTemplates.networkPathTemplate.match(networkName)
2438
+ .network_code;
2439
+ }
2440
+ /**
2441
+ * Return a fully-qualified operatingSystem resource name string.
2442
+ *
2443
+ * @param {string} network_code
2444
+ * @param {string} operating_system
2445
+ * @returns {string} Resource name string.
2446
+ */
2447
+ operatingSystemPath(networkCode, operatingSystem) {
2448
+ return this.pathTemplates.operatingSystemPathTemplate.render({
2449
+ network_code: networkCode,
2450
+ operating_system: operatingSystem,
2451
+ });
2452
+ }
2453
+ /**
2454
+ * Parse the network_code from OperatingSystem resource.
2455
+ *
2456
+ * @param {string} operatingSystemName
2457
+ * A fully-qualified path representing OperatingSystem resource.
2458
+ * @returns {string} A string representing the network_code.
2459
+ */
2460
+ matchNetworkCodeFromOperatingSystemName(operatingSystemName) {
2461
+ return this.pathTemplates.operatingSystemPathTemplate.match(operatingSystemName).network_code;
2462
+ }
2463
+ /**
2464
+ * Parse the operating_system from OperatingSystem resource.
2465
+ *
2466
+ * @param {string} operatingSystemName
2467
+ * A fully-qualified path representing OperatingSystem resource.
2468
+ * @returns {string} A string representing the operating_system.
2469
+ */
2470
+ matchOperatingSystemFromOperatingSystemName(operatingSystemName) {
2471
+ return this.pathTemplates.operatingSystemPathTemplate.match(operatingSystemName).operating_system;
2472
+ }
2473
+ /**
2474
+ * Return a fully-qualified operatingSystemVersion resource name string.
2475
+ *
2476
+ * @param {string} network_code
2477
+ * @param {string} operating_system_version
2478
+ * @returns {string} Resource name string.
2479
+ */
2480
+ operatingSystemVersionPath(networkCode, operatingSystemVersion) {
2481
+ return this.pathTemplates.operatingSystemVersionPathTemplate.render({
2482
+ network_code: networkCode,
2483
+ operating_system_version: operatingSystemVersion,
2484
+ });
2485
+ }
2486
+ /**
2487
+ * Parse the network_code from OperatingSystemVersion resource.
2488
+ *
2489
+ * @param {string} operatingSystemVersionName
2490
+ * A fully-qualified path representing OperatingSystemVersion resource.
2491
+ * @returns {string} A string representing the network_code.
2492
+ */
2493
+ matchNetworkCodeFromOperatingSystemVersionName(operatingSystemVersionName) {
2494
+ return this.pathTemplates.operatingSystemVersionPathTemplate.match(operatingSystemVersionName).network_code;
2495
+ }
2496
+ /**
2497
+ * Parse the operating_system_version from OperatingSystemVersion resource.
2498
+ *
2499
+ * @param {string} operatingSystemVersionName
2500
+ * A fully-qualified path representing OperatingSystemVersion resource.
2501
+ * @returns {string} A string representing the operating_system_version.
2502
+ */
2503
+ matchOperatingSystemVersionFromOperatingSystemVersionName(operatingSystemVersionName) {
2504
+ return this.pathTemplates.operatingSystemVersionPathTemplate.match(operatingSystemVersionName).operating_system_version;
2505
+ }
2506
+ /**
2507
+ * Return a fully-qualified order resource name string.
2508
+ *
2509
+ * @param {string} network_code
2510
+ * @param {string} order
2511
+ * @returns {string} Resource name string.
2512
+ */
2513
+ orderPath(networkCode, order) {
2514
+ return this.pathTemplates.orderPathTemplate.render({
2515
+ network_code: networkCode,
2516
+ order: order,
2517
+ });
2518
+ }
2519
+ /**
2520
+ * Parse the network_code from Order resource.
2521
+ *
2522
+ * @param {string} orderName
2523
+ * A fully-qualified path representing Order resource.
2524
+ * @returns {string} A string representing the network_code.
2525
+ */
2526
+ matchNetworkCodeFromOrderName(orderName) {
2527
+ return this.pathTemplates.orderPathTemplate.match(orderName).network_code;
2528
+ }
2529
+ /**
2530
+ * Parse the order from Order resource.
2531
+ *
2532
+ * @param {string} orderName
2533
+ * A fully-qualified path representing Order resource.
2534
+ * @returns {string} A string representing the order.
2535
+ */
2536
+ matchOrderFromOrderName(orderName) {
2537
+ return this.pathTemplates.orderPathTemplate.match(orderName).order;
2538
+ }
2539
+ /**
2540
+ * Return a fully-qualified partner resource name string.
2541
+ *
2542
+ * @param {string} network_code
2543
+ * @param {string} partner
2544
+ * @returns {string} Resource name string.
2545
+ */
2546
+ partnerPath(networkCode, partner) {
2547
+ return this.pathTemplates.partnerPathTemplate.render({
2548
+ network_code: networkCode,
2549
+ partner: partner,
2550
+ });
2551
+ }
2552
+ /**
2553
+ * Parse the network_code from Partner resource.
2554
+ *
2555
+ * @param {string} partnerName
2556
+ * A fully-qualified path representing Partner resource.
2557
+ * @returns {string} A string representing the network_code.
2558
+ */
2559
+ matchNetworkCodeFromPartnerName(partnerName) {
2560
+ return this.pathTemplates.partnerPathTemplate.match(partnerName)
2561
+ .network_code;
2562
+ }
2563
+ /**
2564
+ * Parse the partner from Partner resource.
2565
+ *
2566
+ * @param {string} partnerName
2567
+ * A fully-qualified path representing Partner resource.
2568
+ * @returns {string} A string representing the partner.
2569
+ */
2570
+ matchPartnerFromPartnerName(partnerName) {
2571
+ return this.pathTemplates.partnerPathTemplate.match(partnerName).partner;
2572
+ }
2573
+ /**
2574
+ * Return a fully-qualified placement resource name string.
2575
+ *
2576
+ * @param {string} network_code
2577
+ * @param {string} placement
2578
+ * @returns {string} Resource name string.
2579
+ */
2580
+ placementPath(networkCode, placement) {
2581
+ return this.pathTemplates.placementPathTemplate.render({
2582
+ network_code: networkCode,
2583
+ placement: placement,
2584
+ });
2585
+ }
2586
+ /**
2587
+ * Parse the network_code from Placement resource.
2588
+ *
2589
+ * @param {string} placementName
2590
+ * A fully-qualified path representing Placement resource.
2591
+ * @returns {string} A string representing the network_code.
2592
+ */
2593
+ matchNetworkCodeFromPlacementName(placementName) {
2594
+ return this.pathTemplates.placementPathTemplate.match(placementName)
2595
+ .network_code;
2596
+ }
2597
+ /**
2598
+ * Parse the placement from Placement resource.
2599
+ *
2600
+ * @param {string} placementName
2601
+ * A fully-qualified path representing Placement resource.
2602
+ * @returns {string} A string representing the placement.
2603
+ */
2604
+ matchPlacementFromPlacementName(placementName) {
2605
+ return this.pathTemplates.placementPathTemplate.match(placementName)
2606
+ .placement;
2607
+ }
2608
+ /**
2609
+ * Return a fully-qualified privateAuction resource name string.
2610
+ *
2611
+ * @param {string} network_code
2612
+ * @param {string} private_auction
2613
+ * @returns {string} Resource name string.
2614
+ */
2615
+ privateAuctionPath(networkCode, privateAuction) {
2616
+ return this.pathTemplates.privateAuctionPathTemplate.render({
2617
+ network_code: networkCode,
2618
+ private_auction: privateAuction,
2619
+ });
2620
+ }
2621
+ /**
2622
+ * Parse the network_code from PrivateAuction resource.
2623
+ *
2624
+ * @param {string} privateAuctionName
2625
+ * A fully-qualified path representing PrivateAuction resource.
2626
+ * @returns {string} A string representing the network_code.
2627
+ */
2628
+ matchNetworkCodeFromPrivateAuctionName(privateAuctionName) {
2629
+ return this.pathTemplates.privateAuctionPathTemplate.match(privateAuctionName).network_code;
2630
+ }
2631
+ /**
2632
+ * Parse the private_auction from PrivateAuction resource.
2633
+ *
2634
+ * @param {string} privateAuctionName
2635
+ * A fully-qualified path representing PrivateAuction resource.
2636
+ * @returns {string} A string representing the private_auction.
2637
+ */
2638
+ matchPrivateAuctionFromPrivateAuctionName(privateAuctionName) {
2639
+ return this.pathTemplates.privateAuctionPathTemplate.match(privateAuctionName).private_auction;
2640
+ }
2641
+ /**
2642
+ * Return a fully-qualified privateAuctionDeal resource name string.
2643
+ *
2644
+ * @param {string} network_code
2645
+ * @param {string} private_auction_deal
2646
+ * @returns {string} Resource name string.
2647
+ */
2648
+ privateAuctionDealPath(networkCode, privateAuctionDeal) {
2649
+ return this.pathTemplates.privateAuctionDealPathTemplate.render({
2650
+ network_code: networkCode,
2651
+ private_auction_deal: privateAuctionDeal,
2652
+ });
2653
+ }
2654
+ /**
2655
+ * Parse the network_code from PrivateAuctionDeal resource.
2656
+ *
2657
+ * @param {string} privateAuctionDealName
2658
+ * A fully-qualified path representing PrivateAuctionDeal resource.
2659
+ * @returns {string} A string representing the network_code.
2660
+ */
2661
+ matchNetworkCodeFromPrivateAuctionDealName(privateAuctionDealName) {
2662
+ return this.pathTemplates.privateAuctionDealPathTemplate.match(privateAuctionDealName).network_code;
2663
+ }
2664
+ /**
2665
+ * Parse the private_auction_deal from PrivateAuctionDeal resource.
2666
+ *
2667
+ * @param {string} privateAuctionDealName
2668
+ * A fully-qualified path representing PrivateAuctionDeal resource.
2669
+ * @returns {string} A string representing the private_auction_deal.
2670
+ */
2671
+ matchPrivateAuctionDealFromPrivateAuctionDealName(privateAuctionDealName) {
2672
+ return this.pathTemplates.privateAuctionDealPathTemplate.match(privateAuctionDealName).private_auction_deal;
2673
+ }
2674
+ /**
2675
+ * Return a fully-qualified programmaticBuyer resource name string.
2676
+ *
2677
+ * @param {string} network_code
2678
+ * @param {string} programmatic_buyer
2679
+ * @returns {string} Resource name string.
2680
+ */
2681
+ programmaticBuyerPath(networkCode, programmaticBuyer) {
2682
+ return this.pathTemplates.programmaticBuyerPathTemplate.render({
2683
+ network_code: networkCode,
2684
+ programmatic_buyer: programmaticBuyer,
2685
+ });
2686
+ }
2687
+ /**
2688
+ * Parse the network_code from ProgrammaticBuyer resource.
2689
+ *
2690
+ * @param {string} programmaticBuyerName
2691
+ * A fully-qualified path representing ProgrammaticBuyer resource.
2692
+ * @returns {string} A string representing the network_code.
2693
+ */
2694
+ matchNetworkCodeFromProgrammaticBuyerName(programmaticBuyerName) {
2695
+ return this.pathTemplates.programmaticBuyerPathTemplate.match(programmaticBuyerName).network_code;
2696
+ }
2697
+ /**
2698
+ * Parse the programmatic_buyer from ProgrammaticBuyer resource.
2699
+ *
2700
+ * @param {string} programmaticBuyerName
2701
+ * A fully-qualified path representing ProgrammaticBuyer resource.
2702
+ * @returns {string} A string representing the programmatic_buyer.
2703
+ */
2704
+ matchProgrammaticBuyerFromProgrammaticBuyerName(programmaticBuyerName) {
2705
+ return this.pathTemplates.programmaticBuyerPathTemplate.match(programmaticBuyerName).programmatic_buyer;
2706
+ }
2707
+ /**
2708
+ * Return a fully-qualified report resource name string.
2709
+ *
2710
+ * @param {string} network_code
2711
+ * @param {string} report
2712
+ * @returns {string} Resource name string.
2713
+ */
2714
+ reportPath(networkCode, report) {
2715
+ return this.pathTemplates.reportPathTemplate.render({
2716
+ network_code: networkCode,
2717
+ report: report,
2718
+ });
2719
+ }
2720
+ /**
2721
+ * Parse the network_code from Report resource.
2722
+ *
2723
+ * @param {string} reportName
2724
+ * A fully-qualified path representing Report resource.
2725
+ * @returns {string} A string representing the network_code.
2726
+ */
2727
+ matchNetworkCodeFromReportName(reportName) {
2728
+ return this.pathTemplates.reportPathTemplate.match(reportName).network_code;
2729
+ }
2730
+ /**
2731
+ * Parse the report from Report resource.
2732
+ *
2733
+ * @param {string} reportName
2734
+ * A fully-qualified path representing Report resource.
2735
+ * @returns {string} A string representing the report.
2736
+ */
2737
+ matchReportFromReportName(reportName) {
2738
+ return this.pathTemplates.reportPathTemplate.match(reportName).report;
2739
+ }
2740
+ /**
2741
+ * Return a fully-qualified richMediaAdsCompany resource name string.
2742
+ *
2743
+ * @param {string} network_code
2744
+ * @param {string} rich_media_ads_company
2745
+ * @returns {string} Resource name string.
2746
+ */
2747
+ richMediaAdsCompanyPath(networkCode, richMediaAdsCompany) {
2748
+ return this.pathTemplates.richMediaAdsCompanyPathTemplate.render({
2749
+ network_code: networkCode,
2750
+ rich_media_ads_company: richMediaAdsCompany,
2751
+ });
2752
+ }
2753
+ /**
2754
+ * Parse the network_code from RichMediaAdsCompany resource.
2755
+ *
2756
+ * @param {string} richMediaAdsCompanyName
2757
+ * A fully-qualified path representing RichMediaAdsCompany resource.
2758
+ * @returns {string} A string representing the network_code.
2759
+ */
2760
+ matchNetworkCodeFromRichMediaAdsCompanyName(richMediaAdsCompanyName) {
2761
+ return this.pathTemplates.richMediaAdsCompanyPathTemplate.match(richMediaAdsCompanyName).network_code;
2762
+ }
2763
+ /**
2764
+ * Parse the rich_media_ads_company from RichMediaAdsCompany resource.
2765
+ *
2766
+ * @param {string} richMediaAdsCompanyName
2767
+ * A fully-qualified path representing RichMediaAdsCompany resource.
2768
+ * @returns {string} A string representing the rich_media_ads_company.
2769
+ */
2770
+ matchRichMediaAdsCompanyFromRichMediaAdsCompanyName(richMediaAdsCompanyName) {
2771
+ return this.pathTemplates.richMediaAdsCompanyPathTemplate.match(richMediaAdsCompanyName).rich_media_ads_company;
2772
+ }
2773
+ /**
2774
+ * Return a fully-qualified role resource name string.
2775
+ *
2776
+ * @param {string} network_code
2777
+ * @param {string} role
2778
+ * @returns {string} Resource name string.
2779
+ */
2780
+ rolePath(networkCode, role) {
2781
+ return this.pathTemplates.rolePathTemplate.render({
2782
+ network_code: networkCode,
2783
+ role: role,
2784
+ });
2785
+ }
2786
+ /**
2787
+ * Parse the network_code from Role resource.
2788
+ *
2789
+ * @param {string} roleName
2790
+ * A fully-qualified path representing Role resource.
2791
+ * @returns {string} A string representing the network_code.
2792
+ */
2793
+ matchNetworkCodeFromRoleName(roleName) {
2794
+ return this.pathTemplates.rolePathTemplate.match(roleName).network_code;
2795
+ }
2796
+ /**
2797
+ * Parse the role from Role resource.
2798
+ *
2799
+ * @param {string} roleName
2800
+ * A fully-qualified path representing Role resource.
2801
+ * @returns {string} A string representing the role.
2802
+ */
2803
+ matchRoleFromRoleName(roleName) {
2804
+ return this.pathTemplates.rolePathTemplate.match(roleName).role;
2805
+ }
2806
+ /**
2807
+ * Return a fully-qualified site resource name string.
2808
+ *
2809
+ * @param {string} network_code
2810
+ * @param {string} site
2811
+ * @returns {string} Resource name string.
2812
+ */
2813
+ sitePath(networkCode, site) {
2814
+ return this.pathTemplates.sitePathTemplate.render({
2815
+ network_code: networkCode,
2816
+ site: site,
2817
+ });
2818
+ }
2819
+ /**
2820
+ * Parse the network_code from Site resource.
2821
+ *
2822
+ * @param {string} siteName
2823
+ * A fully-qualified path representing Site resource.
2824
+ * @returns {string} A string representing the network_code.
2825
+ */
2826
+ matchNetworkCodeFromSiteName(siteName) {
2827
+ return this.pathTemplates.sitePathTemplate.match(siteName).network_code;
2828
+ }
2829
+ /**
2830
+ * Parse the site from Site resource.
2831
+ *
2832
+ * @param {string} siteName
2833
+ * A fully-qualified path representing Site resource.
2834
+ * @returns {string} A string representing the site.
2835
+ */
2836
+ matchSiteFromSiteName(siteName) {
2837
+ return this.pathTemplates.sitePathTemplate.match(siteName).site;
2838
+ }
2839
+ /**
2840
+ * Return a fully-qualified slate resource name string.
2841
+ *
2842
+ * @param {string} network_code
2843
+ * @param {string} slate
2844
+ * @returns {string} Resource name string.
2845
+ */
2846
+ slatePath(networkCode, slate) {
2847
+ return this.pathTemplates.slatePathTemplate.render({
2848
+ network_code: networkCode,
2849
+ slate: slate,
2850
+ });
2851
+ }
2852
+ /**
2853
+ * Parse the network_code from Slate resource.
2854
+ *
2855
+ * @param {string} slateName
2856
+ * A fully-qualified path representing Slate resource.
2857
+ * @returns {string} A string representing the network_code.
2858
+ */
2859
+ matchNetworkCodeFromSlateName(slateName) {
2860
+ return this.pathTemplates.slatePathTemplate.match(slateName).network_code;
2861
+ }
2862
+ /**
2863
+ * Parse the slate from Slate resource.
2864
+ *
2865
+ * @param {string} slateName
2866
+ * A fully-qualified path representing Slate resource.
2867
+ * @returns {string} A string representing the slate.
2868
+ */
2869
+ matchSlateFromSlateName(slateName) {
2870
+ return this.pathTemplates.slatePathTemplate.match(slateName).slate;
2871
+ }
2872
+ /**
2873
+ * Return a fully-qualified suggestedAdUnit resource name string.
2874
+ *
2875
+ * @param {string} network_code
2876
+ * @param {string} suggested_ad_unit
2877
+ * @returns {string} Resource name string.
2878
+ */
2879
+ suggestedAdUnitPath(networkCode, suggestedAdUnit) {
2880
+ return this.pathTemplates.suggestedAdUnitPathTemplate.render({
2881
+ network_code: networkCode,
2882
+ suggested_ad_unit: suggestedAdUnit,
2883
+ });
2884
+ }
2885
+ /**
2886
+ * Parse the network_code from SuggestedAdUnit resource.
2887
+ *
2888
+ * @param {string} suggestedAdUnitName
2889
+ * A fully-qualified path representing SuggestedAdUnit resource.
2890
+ * @returns {string} A string representing the network_code.
2891
+ */
2892
+ matchNetworkCodeFromSuggestedAdUnitName(suggestedAdUnitName) {
2893
+ return this.pathTemplates.suggestedAdUnitPathTemplate.match(suggestedAdUnitName).network_code;
2894
+ }
2895
+ /**
2896
+ * Parse the suggested_ad_unit from SuggestedAdUnit resource.
2897
+ *
2898
+ * @param {string} suggestedAdUnitName
2899
+ * A fully-qualified path representing SuggestedAdUnit resource.
2900
+ * @returns {string} A string representing the suggested_ad_unit.
2901
+ */
2902
+ matchSuggestedAdUnitFromSuggestedAdUnitName(suggestedAdUnitName) {
2903
+ return this.pathTemplates.suggestedAdUnitPathTemplate.match(suggestedAdUnitName).suggested_ad_unit;
2904
+ }
2905
+ /**
2906
+ * Return a fully-qualified targetingPreset resource name string.
2907
+ *
2908
+ * @param {string} network_code
2909
+ * @param {string} targeting_preset
2910
+ * @returns {string} Resource name string.
2911
+ */
2912
+ targetingPresetPath(networkCode, targetingPreset) {
2913
+ return this.pathTemplates.targetingPresetPathTemplate.render({
2914
+ network_code: networkCode,
2915
+ targeting_preset: targetingPreset,
2916
+ });
2917
+ }
2918
+ /**
2919
+ * Parse the network_code from TargetingPreset resource.
2920
+ *
2921
+ * @param {string} targetingPresetName
2922
+ * A fully-qualified path representing TargetingPreset resource.
2923
+ * @returns {string} A string representing the network_code.
2924
+ */
2925
+ matchNetworkCodeFromTargetingPresetName(targetingPresetName) {
2926
+ return this.pathTemplates.targetingPresetPathTemplate.match(targetingPresetName).network_code;
2927
+ }
2928
+ /**
2929
+ * Parse the targeting_preset from TargetingPreset resource.
2930
+ *
2931
+ * @param {string} targetingPresetName
2932
+ * A fully-qualified path representing TargetingPreset resource.
2933
+ * @returns {string} A string representing the targeting_preset.
2934
+ */
2935
+ matchTargetingPresetFromTargetingPresetName(targetingPresetName) {
2936
+ return this.pathTemplates.targetingPresetPathTemplate.match(targetingPresetName).targeting_preset;
2937
+ }
2938
+ /**
2939
+ * Return a fully-qualified taxonomyCategory resource name string.
2940
+ *
2941
+ * @param {string} network_code
2942
+ * @param {string} taxonomy_category
2943
+ * @returns {string} Resource name string.
2944
+ */
2945
+ taxonomyCategoryPath(networkCode, taxonomyCategory) {
2946
+ return this.pathTemplates.taxonomyCategoryPathTemplate.render({
2947
+ network_code: networkCode,
2948
+ taxonomy_category: taxonomyCategory,
2949
+ });
2950
+ }
2951
+ /**
2952
+ * Parse the network_code from TaxonomyCategory resource.
2953
+ *
2954
+ * @param {string} taxonomyCategoryName
2955
+ * A fully-qualified path representing TaxonomyCategory resource.
2956
+ * @returns {string} A string representing the network_code.
2957
+ */
2958
+ matchNetworkCodeFromTaxonomyCategoryName(taxonomyCategoryName) {
2959
+ return this.pathTemplates.taxonomyCategoryPathTemplate.match(taxonomyCategoryName).network_code;
2960
+ }
2961
+ /**
2962
+ * Parse the taxonomy_category from TaxonomyCategory resource.
2963
+ *
2964
+ * @param {string} taxonomyCategoryName
2965
+ * A fully-qualified path representing TaxonomyCategory resource.
2966
+ * @returns {string} A string representing the taxonomy_category.
2967
+ */
2968
+ matchTaxonomyCategoryFromTaxonomyCategoryName(taxonomyCategoryName) {
2969
+ return this.pathTemplates.taxonomyCategoryPathTemplate.match(taxonomyCategoryName).taxonomy_category;
2970
+ }
2971
+ /**
2972
+ * Return a fully-qualified team resource name string.
2973
+ *
2974
+ * @param {string} network_code
2975
+ * @param {string} team
2976
+ * @returns {string} Resource name string.
2977
+ */
2978
+ teamPath(networkCode, team) {
2979
+ return this.pathTemplates.teamPathTemplate.render({
2980
+ network_code: networkCode,
2981
+ team: team,
2982
+ });
2983
+ }
2984
+ /**
2985
+ * Parse the network_code from Team resource.
2986
+ *
2987
+ * @param {string} teamName
2988
+ * A fully-qualified path representing Team resource.
2989
+ * @returns {string} A string representing the network_code.
2990
+ */
2991
+ matchNetworkCodeFromTeamName(teamName) {
2992
+ return this.pathTemplates.teamPathTemplate.match(teamName).network_code;
2993
+ }
2994
+ /**
2995
+ * Parse the team from Team resource.
2996
+ *
2997
+ * @param {string} teamName
2998
+ * A fully-qualified path representing Team resource.
2999
+ * @returns {string} A string representing the team.
3000
+ */
3001
+ matchTeamFromTeamName(teamName) {
3002
+ return this.pathTemplates.teamPathTemplate.match(teamName).team;
3003
+ }
3004
+ /**
3005
+ * Return a fully-qualified thirdPartyCompany resource name string.
3006
+ *
3007
+ * @param {string} network_code
3008
+ * @param {string} third_party_company
3009
+ * @returns {string} Resource name string.
3010
+ */
3011
+ thirdPartyCompanyPath(networkCode, thirdPartyCompany) {
3012
+ return this.pathTemplates.thirdPartyCompanyPathTemplate.render({
3013
+ network_code: networkCode,
3014
+ third_party_company: thirdPartyCompany,
3015
+ });
3016
+ }
3017
+ /**
3018
+ * Parse the network_code from ThirdPartyCompany resource.
3019
+ *
3020
+ * @param {string} thirdPartyCompanyName
3021
+ * A fully-qualified path representing ThirdPartyCompany resource.
3022
+ * @returns {string} A string representing the network_code.
3023
+ */
3024
+ matchNetworkCodeFromThirdPartyCompanyName(thirdPartyCompanyName) {
3025
+ return this.pathTemplates.thirdPartyCompanyPathTemplate.match(thirdPartyCompanyName).network_code;
3026
+ }
3027
+ /**
3028
+ * Parse the third_party_company from ThirdPartyCompany resource.
3029
+ *
3030
+ * @param {string} thirdPartyCompanyName
3031
+ * A fully-qualified path representing ThirdPartyCompany resource.
3032
+ * @returns {string} A string representing the third_party_company.
3033
+ */
3034
+ matchThirdPartyCompanyFromThirdPartyCompanyName(thirdPartyCompanyName) {
3035
+ return this.pathTemplates.thirdPartyCompanyPathTemplate.match(thirdPartyCompanyName).third_party_company;
3036
+ }
3037
+ /**
3038
+ * Return a fully-qualified user resource name string.
3039
+ *
3040
+ * @param {string} network_code
3041
+ * @param {string} user
3042
+ * @returns {string} Resource name string.
3043
+ */
3044
+ userPath(networkCode, user) {
3045
+ return this.pathTemplates.userPathTemplate.render({
3046
+ network_code: networkCode,
3047
+ user: user,
3048
+ });
3049
+ }
3050
+ /**
3051
+ * Parse the network_code from User resource.
3052
+ *
3053
+ * @param {string} userName
3054
+ * A fully-qualified path representing User resource.
3055
+ * @returns {string} A string representing the network_code.
3056
+ */
3057
+ matchNetworkCodeFromUserName(userName) {
3058
+ return this.pathTemplates.userPathTemplate.match(userName).network_code;
3059
+ }
3060
+ /**
3061
+ * Parse the user from User resource.
3062
+ *
3063
+ * @param {string} userName
3064
+ * A fully-qualified path representing User resource.
3065
+ * @returns {string} A string representing the user.
3066
+ */
3067
+ matchUserFromUserName(userName) {
3068
+ return this.pathTemplates.userPathTemplate.match(userName).user;
3069
+ }
3070
+ /**
3071
+ * Return a fully-qualified viewabilityProvider resource name string.
3072
+ *
3073
+ * @param {string} network_code
3074
+ * @param {string} viewability_provider
3075
+ * @returns {string} Resource name string.
3076
+ */
3077
+ viewabilityProviderPath(networkCode, viewabilityProvider) {
3078
+ return this.pathTemplates.viewabilityProviderPathTemplate.render({
3079
+ network_code: networkCode,
3080
+ viewability_provider: viewabilityProvider,
3081
+ });
3082
+ }
3083
+ /**
3084
+ * Parse the network_code from ViewabilityProvider resource.
3085
+ *
3086
+ * @param {string} viewabilityProviderName
3087
+ * A fully-qualified path representing ViewabilityProvider resource.
3088
+ * @returns {string} A string representing the network_code.
3089
+ */
3090
+ matchNetworkCodeFromViewabilityProviderName(viewabilityProviderName) {
3091
+ return this.pathTemplates.viewabilityProviderPathTemplate.match(viewabilityProviderName).network_code;
3092
+ }
3093
+ /**
3094
+ * Parse the viewability_provider from ViewabilityProvider resource.
3095
+ *
3096
+ * @param {string} viewabilityProviderName
3097
+ * A fully-qualified path representing ViewabilityProvider resource.
3098
+ * @returns {string} A string representing the viewability_provider.
3099
+ */
3100
+ matchViewabilityProviderFromViewabilityProviderName(viewabilityProviderName) {
3101
+ return this.pathTemplates.viewabilityProviderPathTemplate.match(viewabilityProviderName).viewability_provider;
3102
+ }
3103
+ /**
3104
+ * Return a fully-qualified webProperty resource name string.
3105
+ *
3106
+ * @param {string} network_code
3107
+ * @param {string} web_property
3108
+ * @returns {string} Resource name string.
3109
+ */
3110
+ webPropertyPath(networkCode, webProperty) {
3111
+ return this.pathTemplates.webPropertyPathTemplate.render({
3112
+ network_code: networkCode,
3113
+ web_property: webProperty,
3114
+ });
3115
+ }
3116
+ /**
3117
+ * Parse the network_code from WebProperty resource.
3118
+ *
3119
+ * @param {string} webPropertyName
3120
+ * A fully-qualified path representing WebProperty resource.
3121
+ * @returns {string} A string representing the network_code.
3122
+ */
3123
+ matchNetworkCodeFromWebPropertyName(webPropertyName) {
3124
+ return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
3125
+ .network_code;
3126
+ }
3127
+ /**
3128
+ * Parse the web_property from WebProperty resource.
3129
+ *
3130
+ * @param {string} webPropertyName
3131
+ * A fully-qualified path representing WebProperty resource.
3132
+ * @returns {string} A string representing the web_property.
3133
+ */
3134
+ matchWebPropertyFromWebPropertyName(webPropertyName) {
3135
+ return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
3136
+ .web_property;
3137
+ }
3138
+ /**
3139
+ * Terminate the gRPC channel and close the client.
3140
+ *
3141
+ * The client will no longer be usable and all future behavior is undefined.
3142
+ * @returns {Promise} A promise that resolves when the client is closed.
3143
+ */
3144
+ close() {
3145
+ if (this.childPublisherServiceStub && !this._terminated) {
3146
+ return this.childPublisherServiceStub.then((stub) => {
3147
+ this._log.info('ending gRPC channel');
3148
+ this._terminated = true;
3149
+ stub.close();
3150
+ });
3151
+ }
3152
+ return Promise.resolve();
3153
+ }
3154
+ }
3155
+ exports.ChildPublisherServiceClient = ChildPublisherServiceClient;
3156
+ //# sourceMappingURL=child_publisher_service_client.js.map