@google-ads/admanager 0.10.0 → 0.12.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 (273) hide show
  1. package/build/protos/google/ads/admanager/v1/audience_segment_enums.proto +111 -0
  2. package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +164 -1
  3. package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +194 -0
  4. package/build/protos/google/ads/admanager/v1/child_publisher_service.proto +232 -0
  5. package/build/protos/google/ads/admanager/v1/native_style_enums.proto +46 -0
  6. package/build/protos/google/ads/admanager/v1/native_style_messages.proto +79 -0
  7. package/build/protos/google/ads/admanager/v1/native_style_service.proto +336 -0
  8. package/build/protos/google/ads/admanager/v1/network_messages.proto +21 -0
  9. package/build/protos/google/ads/admanager/v1/network_service.proto +69 -0
  10. package/build/protos/google/ads/admanager/v1/report_definition.proto +39 -3
  11. package/build/protos/protos.d.ts +26753 -21329
  12. package/build/protos/protos.js +1 -1
  13. package/build/protos/protos.json +1617 -166
  14. package/build/src/index.d.ts +4 -1
  15. package/build/src/index.js +5 -3
  16. package/build/src/index.js.map +1 -1
  17. package/build/src/v1/ad_break_service_client.d.ts +39 -0
  18. package/build/src/v1/ad_break_service_client.js +67 -9
  19. package/build/src/v1/ad_break_service_client.js.map +1 -1
  20. package/build/src/v1/ad_break_service_proto_list.json +4 -0
  21. package/build/src/v1/ad_review_center_ad_service_client.d.ts +39 -0
  22. package/build/src/v1/ad_review_center_ad_service_client.js +65 -7
  23. package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -1
  24. package/build/src/v1/ad_review_center_ad_service_proto_list.json +4 -0
  25. package/build/src/v1/ad_rule_service_client.d.ts +39 -0
  26. package/build/src/v1/ad_rule_service_client.js +71 -13
  27. package/build/src/v1/ad_rule_service_client.js.map +1 -1
  28. package/build/src/v1/ad_rule_service_proto_list.json +4 -0
  29. package/build/src/v1/ad_spot_service_client.d.ts +39 -0
  30. package/build/src/v1/ad_spot_service_client.js +68 -10
  31. package/build/src/v1/ad_spot_service_client.js.map +1 -1
  32. package/build/src/v1/ad_spot_service_proto_list.json +4 -0
  33. package/build/src/v1/ad_unit_service_client.d.ts +39 -0
  34. package/build/src/v1/ad_unit_service_client.js +74 -16
  35. package/build/src/v1/ad_unit_service_client.js.map +1 -1
  36. package/build/src/v1/ad_unit_service_proto_list.json +4 -0
  37. package/build/src/v1/application_service_client.d.ts +39 -0
  38. package/build/src/v1/application_service_client.js +70 -12
  39. package/build/src/v1/application_service_client.js.map +1 -1
  40. package/build/src/v1/application_service_proto_list.json +4 -0
  41. package/build/src/v1/audience_segment_service_client.d.ts +211 -0
  42. package/build/src/v1/audience_segment_service_client.js +312 -6
  43. package/build/src/v1/audience_segment_service_client.js.map +1 -1
  44. package/build/src/v1/audience_segment_service_client_config.json +20 -0
  45. package/build/src/v1/audience_segment_service_proto_list.json +4 -0
  46. package/build/src/v1/bandwidth_group_service_client.d.ts +39 -0
  47. package/build/src/v1/bandwidth_group_service_client.js +64 -6
  48. package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
  49. package/build/src/v1/bandwidth_group_service_proto_list.json +4 -0
  50. package/build/src/v1/browser_language_service_client.d.ts +39 -0
  51. package/build/src/v1/browser_language_service_client.js +64 -6
  52. package/build/src/v1/browser_language_service_client.js.map +1 -1
  53. package/build/src/v1/browser_language_service_proto_list.json +4 -0
  54. package/build/src/v1/browser_service_client.d.ts +39 -0
  55. package/build/src/v1/browser_service_client.js +64 -6
  56. package/build/src/v1/browser_service_client.js.map +1 -1
  57. package/build/src/v1/browser_service_proto_list.json +4 -0
  58. package/build/src/v1/cdn_config_service_client.d.ts +39 -0
  59. package/build/src/v1/cdn_config_service_client.js +70 -12
  60. package/build/src/v1/cdn_config_service_client.js.map +1 -1
  61. package/build/src/v1/cdn_config_service_proto_list.json +4 -0
  62. package/build/src/v1/child_publisher_service_client.d.ts +177 -0
  63. package/build/src/v1/child_publisher_service_client.js +244 -10
  64. package/build/src/v1/child_publisher_service_client.js.map +1 -1
  65. package/build/src/v1/child_publisher_service_client_config.json +16 -0
  66. package/build/src/v1/child_publisher_service_proto_list.json +4 -0
  67. package/build/src/v1/cms_metadata_key_service_client.d.ts +39 -0
  68. package/build/src/v1/cms_metadata_key_service_client.js +66 -8
  69. package/build/src/v1/cms_metadata_key_service_client.js.map +1 -1
  70. package/build/src/v1/cms_metadata_key_service_proto_list.json +4 -0
  71. package/build/src/v1/cms_metadata_value_service_client.d.ts +39 -0
  72. package/build/src/v1/cms_metadata_value_service_client.js +66 -8
  73. package/build/src/v1/cms_metadata_value_service_client.js.map +1 -1
  74. package/build/src/v1/cms_metadata_value_service_proto_list.json +4 -0
  75. package/build/src/v1/company_service_client.d.ts +39 -0
  76. package/build/src/v1/company_service_client.js +68 -10
  77. package/build/src/v1/company_service_client.js.map +1 -1
  78. package/build/src/v1/company_service_proto_list.json +4 -0
  79. package/build/src/v1/contact_service_client.d.ts +39 -0
  80. package/build/src/v1/contact_service_client.js +68 -10
  81. package/build/src/v1/contact_service_client.js.map +1 -1
  82. package/build/src/v1/contact_service_proto_list.json +4 -0
  83. package/build/src/v1/content_bundle_service_client.d.ts +39 -0
  84. package/build/src/v1/content_bundle_service_client.js +66 -8
  85. package/build/src/v1/content_bundle_service_client.js.map +1 -1
  86. package/build/src/v1/content_bundle_service_proto_list.json +4 -0
  87. package/build/src/v1/content_label_service_client.d.ts +39 -0
  88. package/build/src/v1/content_label_service_client.js +64 -6
  89. package/build/src/v1/content_label_service_client.js.map +1 -1
  90. package/build/src/v1/content_label_service_proto_list.json +4 -0
  91. package/build/src/v1/content_service_client.d.ts +39 -0
  92. package/build/src/v1/content_service_client.js +64 -6
  93. package/build/src/v1/content_service_client.js.map +1 -1
  94. package/build/src/v1/content_service_proto_list.json +4 -0
  95. package/build/src/v1/creative_set_service_client.d.ts +39 -0
  96. package/build/src/v1/creative_set_service_client.js +66 -8
  97. package/build/src/v1/creative_set_service_client.js.map +1 -1
  98. package/build/src/v1/creative_set_service_proto_list.json +4 -0
  99. package/build/src/v1/creative_template_service_client.d.ts +39 -0
  100. package/build/src/v1/creative_template_service_client.js +64 -6
  101. package/build/src/v1/creative_template_service_client.js.map +1 -1
  102. package/build/src/v1/creative_template_service_proto_list.json +4 -0
  103. package/build/src/v1/creative_wrapper_service_client.d.ts +39 -0
  104. package/build/src/v1/creative_wrapper_service_client.js +70 -12
  105. package/build/src/v1/creative_wrapper_service_client.js.map +1 -1
  106. package/build/src/v1/creative_wrapper_service_proto_list.json +4 -0
  107. package/build/src/v1/custom_field_service_client.d.ts +39 -0
  108. package/build/src/v1/custom_field_service_client.js +70 -12
  109. package/build/src/v1/custom_field_service_client.js.map +1 -1
  110. package/build/src/v1/custom_field_service_proto_list.json +4 -0
  111. package/build/src/v1/custom_targeting_key_service_client.d.ts +39 -0
  112. package/build/src/v1/custom_targeting_key_service_client.js +70 -12
  113. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
  114. package/build/src/v1/custom_targeting_key_service_proto_list.json +4 -0
  115. package/build/src/v1/custom_targeting_value_service_client.d.ts +39 -0
  116. package/build/src/v1/custom_targeting_value_service_client.js +70 -12
  117. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
  118. package/build/src/v1/custom_targeting_value_service_proto_list.json +4 -0
  119. package/build/src/v1/dai_authentication_key_service_client.d.ts +39 -0
  120. package/build/src/v1/dai_authentication_key_service_client.js +70 -12
  121. package/build/src/v1/dai_authentication_key_service_client.js.map +1 -1
  122. package/build/src/v1/dai_authentication_key_service_proto_list.json +4 -0
  123. package/build/src/v1/dai_encoding_profile_service_client.d.ts +39 -0
  124. package/build/src/v1/dai_encoding_profile_service_client.js +70 -12
  125. package/build/src/v1/dai_encoding_profile_service_client.js.map +1 -1
  126. package/build/src/v1/dai_encoding_profile_service_proto_list.json +4 -0
  127. package/build/src/v1/device_capability_service_client.d.ts +39 -0
  128. package/build/src/v1/device_capability_service_client.js +64 -6
  129. package/build/src/v1/device_capability_service_client.js.map +1 -1
  130. package/build/src/v1/device_capability_service_proto_list.json +4 -0
  131. package/build/src/v1/device_category_service_client.d.ts +39 -0
  132. package/build/src/v1/device_category_service_client.js +64 -6
  133. package/build/src/v1/device_category_service_client.js.map +1 -1
  134. package/build/src/v1/device_category_service_proto_list.json +4 -0
  135. package/build/src/v1/device_manufacturer_service_client.d.ts +39 -0
  136. package/build/src/v1/device_manufacturer_service_client.js +64 -6
  137. package/build/src/v1/device_manufacturer_service_client.js.map +1 -1
  138. package/build/src/v1/device_manufacturer_service_proto_list.json +4 -0
  139. package/build/src/v1/entity_signals_mapping_service_client.d.ts +39 -0
  140. package/build/src/v1/entity_signals_mapping_service_client.js +68 -10
  141. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
  142. package/build/src/v1/entity_signals_mapping_service_proto_list.json +4 -0
  143. package/build/src/v1/gapic_metadata.json +208 -0
  144. package/build/src/v1/geo_target_service_client.d.ts +39 -0
  145. package/build/src/v1/geo_target_service_client.js +64 -6
  146. package/build/src/v1/geo_target_service_client.js.map +1 -1
  147. package/build/src/v1/geo_target_service_proto_list.json +4 -0
  148. package/build/src/v1/index.d.ts +1 -0
  149. package/build/src/v1/index.js +4 -2
  150. package/build/src/v1/index.js.map +1 -1
  151. package/build/src/v1/label_service_client.d.ts +39 -0
  152. package/build/src/v1/label_service_client.js +70 -12
  153. package/build/src/v1/label_service_client.js.map +1 -1
  154. package/build/src/v1/label_service_proto_list.json +4 -0
  155. package/build/src/v1/line_item_service_client.d.ts +39 -0
  156. package/build/src/v1/line_item_service_client.js +64 -6
  157. package/build/src/v1/line_item_service_client.js.map +1 -1
  158. package/build/src/v1/line_item_service_proto_list.json +4 -0
  159. package/build/src/v1/linked_device_service_client.d.ts +39 -0
  160. package/build/src/v1/linked_device_service_client.js +64 -6
  161. package/build/src/v1/linked_device_service_client.js.map +1 -1
  162. package/build/src/v1/linked_device_service_proto_list.json +4 -0
  163. package/build/src/v1/live_stream_service_client.d.ts +39 -0
  164. package/build/src/v1/live_stream_service_client.js +73 -15
  165. package/build/src/v1/live_stream_service_client.js.map +1 -1
  166. package/build/src/v1/live_stream_service_proto_list.json +4 -0
  167. package/build/src/v1/mcm_earnings_service_client.d.ts +39 -0
  168. package/build/src/v1/mcm_earnings_service_client.js +63 -5
  169. package/build/src/v1/mcm_earnings_service_client.js.map +1 -1
  170. package/build/src/v1/mcm_earnings_service_proto_list.json +4 -0
  171. package/build/src/v1/mobile_carrier_service_client.d.ts +39 -0
  172. package/build/src/v1/mobile_carrier_service_client.js +64 -6
  173. package/build/src/v1/mobile_carrier_service_client.js.map +1 -1
  174. package/build/src/v1/mobile_carrier_service_proto_list.json +4 -0
  175. package/build/src/v1/mobile_device_service_client.d.ts +39 -0
  176. package/build/src/v1/mobile_device_service_client.js +64 -6
  177. package/build/src/v1/mobile_device_service_client.js.map +1 -1
  178. package/build/src/v1/mobile_device_service_proto_list.json +4 -0
  179. package/build/src/v1/mobile_device_submodel_service_client.d.ts +39 -0
  180. package/build/src/v1/mobile_device_submodel_service_client.js +64 -6
  181. package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -1
  182. package/build/src/v1/mobile_device_submodel_service_proto_list.json +4 -0
  183. package/build/src/v1/native_style_service_client.d.ts +2001 -0
  184. package/build/src/v1/native_style_service_client.js +2996 -0
  185. package/build/src/v1/native_style_service_client.js.map +1 -0
  186. package/build/src/v1/native_style_service_client_config.json +54 -0
  187. package/build/src/v1/native_style_service_proto_list.json +225 -0
  188. package/build/src/v1/network_service_client.d.ts +125 -0
  189. package/build/src/v1/network_service_client.js +196 -7
  190. package/build/src/v1/network_service_client.js.map +1 -1
  191. package/build/src/v1/network_service_client_config.json +12 -0
  192. package/build/src/v1/network_service_proto_list.json +4 -0
  193. package/build/src/v1/operating_system_service_client.d.ts +39 -0
  194. package/build/src/v1/operating_system_service_client.js +64 -6
  195. package/build/src/v1/operating_system_service_client.js.map +1 -1
  196. package/build/src/v1/operating_system_service_proto_list.json +4 -0
  197. package/build/src/v1/operating_system_version_service_client.d.ts +39 -0
  198. package/build/src/v1/operating_system_version_service_client.js +64 -6
  199. package/build/src/v1/operating_system_version_service_client.js.map +1 -1
  200. package/build/src/v1/operating_system_version_service_proto_list.json +4 -0
  201. package/build/src/v1/order_service_client.d.ts +39 -0
  202. package/build/src/v1/order_service_client.js +82 -24
  203. package/build/src/v1/order_service_client.js.map +1 -1
  204. package/build/src/v1/order_service_proto_list.json +4 -0
  205. package/build/src/v1/partner_service_client.d.ts +39 -0
  206. package/build/src/v1/partner_service_client.js +66 -8
  207. package/build/src/v1/partner_service_client.js.map +1 -1
  208. package/build/src/v1/partner_service_proto_list.json +4 -0
  209. package/build/src/v1/placement_service_client.d.ts +39 -0
  210. package/build/src/v1/placement_service_client.js +71 -13
  211. package/build/src/v1/placement_service_client.js.map +1 -1
  212. package/build/src/v1/placement_service_proto_list.json +4 -0
  213. package/build/src/v1/private_auction_deal_service_client.d.ts +39 -0
  214. package/build/src/v1/private_auction_deal_service_client.js +66 -8
  215. package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
  216. package/build/src/v1/private_auction_deal_service_proto_list.json +4 -0
  217. package/build/src/v1/private_auction_service_client.d.ts +39 -0
  218. package/build/src/v1/private_auction_service_client.js +66 -8
  219. package/build/src/v1/private_auction_service_client.js.map +1 -1
  220. package/build/src/v1/private_auction_service_proto_list.json +4 -0
  221. package/build/src/v1/programmatic_buyer_service_client.d.ts +39 -0
  222. package/build/src/v1/programmatic_buyer_service_client.js +64 -6
  223. package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
  224. package/build/src/v1/programmatic_buyer_service_proto_list.json +4 -0
  225. package/build/src/v1/report_service_client.d.ts +39 -0
  226. package/build/src/v1/report_service_client.js +70 -12
  227. package/build/src/v1/report_service_client.js.map +1 -1
  228. package/build/src/v1/report_service_proto_list.json +4 -0
  229. package/build/src/v1/rich_media_ads_company_service_client.d.ts +39 -0
  230. package/build/src/v1/rich_media_ads_company_service_client.js +64 -6
  231. package/build/src/v1/rich_media_ads_company_service_client.js.map +1 -1
  232. package/build/src/v1/rich_media_ads_company_service_proto_list.json +4 -0
  233. package/build/src/v1/role_service_client.d.ts +39 -0
  234. package/build/src/v1/role_service_client.js +64 -6
  235. package/build/src/v1/role_service_client.js.map +1 -1
  236. package/build/src/v1/role_service_proto_list.json +4 -0
  237. package/build/src/v1/site_service_client.d.ts +39 -0
  238. package/build/src/v1/site_service_client.js +70 -12
  239. package/build/src/v1/site_service_client.js.map +1 -1
  240. package/build/src/v1/site_service_proto_list.json +4 -0
  241. package/build/src/v1/slate_service_client.d.ts +39 -0
  242. package/build/src/v1/slate_service_client.js +70 -12
  243. package/build/src/v1/slate_service_client.js.map +1 -1
  244. package/build/src/v1/slate_service_proto_list.json +4 -0
  245. package/build/src/v1/suggested_ad_unit_service_client.d.ts +39 -0
  246. package/build/src/v1/suggested_ad_unit_service_client.js +65 -7
  247. package/build/src/v1/suggested_ad_unit_service_client.js.map +1 -1
  248. package/build/src/v1/suggested_ad_unit_service_proto_list.json +4 -0
  249. package/build/src/v1/targeting_preset_service_client.d.ts +39 -0
  250. package/build/src/v1/targeting_preset_service_client.js +69 -11
  251. package/build/src/v1/targeting_preset_service_client.js.map +1 -1
  252. package/build/src/v1/targeting_preset_service_proto_list.json +4 -0
  253. package/build/src/v1/taxonomy_category_service_client.d.ts +39 -0
  254. package/build/src/v1/taxonomy_category_service_client.js +64 -6
  255. package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
  256. package/build/src/v1/taxonomy_category_service_proto_list.json +4 -0
  257. package/build/src/v1/team_service_client.d.ts +39 -0
  258. package/build/src/v1/team_service_client.js +70 -12
  259. package/build/src/v1/team_service_client.js.map +1 -1
  260. package/build/src/v1/team_service_proto_list.json +4 -0
  261. package/build/src/v1/third_party_company_service_client.d.ts +39 -0
  262. package/build/src/v1/third_party_company_service_client.js +64 -6
  263. package/build/src/v1/third_party_company_service_client.js.map +1 -1
  264. package/build/src/v1/third_party_company_service_proto_list.json +4 -0
  265. package/build/src/v1/user_service_client.d.ts +39 -0
  266. package/build/src/v1/user_service_client.js +61 -3
  267. package/build/src/v1/user_service_client.js.map +1 -1
  268. package/build/src/v1/user_service_proto_list.json +4 -0
  269. package/build/src/v1/viewability_provider_service_client.d.ts +39 -0
  270. package/build/src/v1/viewability_provider_service_client.js +68 -10
  271. package/build/src/v1/viewability_provider_service_client.js.map +1 -1
  272. package/build/src/v1/viewability_provider_service_proto_list.json +4 -0
  273. package/package.json +1 -1
@@ -261,6 +261,144 @@ export declare class ChildPublisherServiceClient {
261
261
  ]>;
262
262
  batchUpdateChildPublishers(request: protos.google.ads.admanager.v1.IBatchUpdateChildPublishersRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchUpdateChildPublishersResponse, protos.google.ads.admanager.v1.IBatchUpdateChildPublishersRequest | null | undefined, {} | null | undefined>): void;
263
263
  batchUpdateChildPublishers(request: protos.google.ads.admanager.v1.IBatchUpdateChildPublishersRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchUpdateChildPublishersResponse, protos.google.ads.admanager.v1.IBatchUpdateChildPublishersRequest | null | undefined, {} | null | undefined>): void;
264
+ /**
265
+ * Batch resends invitation emails to
266
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s.
267
+ *
268
+ * Only expired and pending
269
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s can be sent
270
+ * invitation emails. Rejected, withdrawn, and accepted
271
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s will be ignored.
272
+ *
273
+ * @param {Object} request
274
+ * The request object that will be sent.
275
+ * @param {string} request.parent
276
+ * Required. Format: `networks/{network_code}`
277
+ * @param {string[]} request.names
278
+ * Required. Resource names of the
279
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s that should be
280
+ * resent invitation emails. Format:
281
+ * `networks/{network_code}/childPublisher/{child_publisher_id}`
282
+ * @param {object} [options]
283
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
284
+ * @returns {Promise} - The promise which resolves to an array.
285
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchResendChildPublisherInvitationEmailsResponse|BatchResendChildPublisherInvitationEmailsResponse}.
286
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
287
+ * for more details and examples.
288
+ * @example <caption>include:samples/generated/v1/child_publisher_service.batch_resend_child_publisher_invitation_emails.js</caption>
289
+ * region_tag:admanager_v1_generated_ChildPublisherService_BatchResendChildPublisherInvitationEmails_async
290
+ */
291
+ batchResendChildPublisherInvitationEmails(request?: protos.google.ads.admanager.v1.IBatchResendChildPublisherInvitationEmailsRequest, options?: CallOptions): Promise<[
292
+ protos.google.ads.admanager.v1.IBatchResendChildPublisherInvitationEmailsResponse,
293
+ (protos.google.ads.admanager.v1.IBatchResendChildPublisherInvitationEmailsRequest | undefined),
294
+ {} | undefined
295
+ ]>;
296
+ batchResendChildPublisherInvitationEmails(request: protos.google.ads.admanager.v1.IBatchResendChildPublisherInvitationEmailsRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchResendChildPublisherInvitationEmailsResponse, protos.google.ads.admanager.v1.IBatchResendChildPublisherInvitationEmailsRequest | null | undefined, {} | null | undefined>): void;
297
+ batchResendChildPublisherInvitationEmails(request: protos.google.ads.admanager.v1.IBatchResendChildPublisherInvitationEmailsRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchResendChildPublisherInvitationEmailsResponse, protos.google.ads.admanager.v1.IBatchResendChildPublisherInvitationEmailsRequest | null | undefined, {} | null | undefined>): void;
298
+ /**
299
+ * Batch renegotiates {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}
300
+ * agreements (i.e., invite with updated terms).
301
+ *
302
+ * Only the agreements of rejected or withdrawn
303
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s can be
304
+ * renegotiated. Expired, pending, and accepted
305
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s will be ignored.
306
+ *
307
+ * @param {Object} request
308
+ * The request object that will be sent.
309
+ * @param {string} request.parent
310
+ * Required. Format: `networks/{network_code}`
311
+ * @param {number[]} request.requests
312
+ * Required. The requests to renegotiate
313
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher} agreements.
314
+ * @param {object} [options]
315
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
316
+ * @returns {Promise} - The promise which resolves to an array.
317
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchRenegotiateChildPublisherAgreementsResponse|BatchRenegotiateChildPublisherAgreementsResponse}.
318
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
319
+ * for more details and examples.
320
+ * @example <caption>include:samples/generated/v1/child_publisher_service.batch_renegotiate_child_publisher_agreements.js</caption>
321
+ * region_tag:admanager_v1_generated_ChildPublisherService_BatchRenegotiateChildPublisherAgreements_async
322
+ */
323
+ batchRenegotiateChildPublisherAgreements(request?: protos.google.ads.admanager.v1.IBatchRenegotiateChildPublisherAgreementsRequest, options?: CallOptions): Promise<[
324
+ protos.google.ads.admanager.v1.IBatchRenegotiateChildPublisherAgreementsResponse,
325
+ (protos.google.ads.admanager.v1.IBatchRenegotiateChildPublisherAgreementsRequest | undefined),
326
+ {} | undefined
327
+ ]>;
328
+ batchRenegotiateChildPublisherAgreements(request: protos.google.ads.admanager.v1.IBatchRenegotiateChildPublisherAgreementsRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchRenegotiateChildPublisherAgreementsResponse, protos.google.ads.admanager.v1.IBatchRenegotiateChildPublisherAgreementsRequest | null | undefined, {} | null | undefined>): void;
329
+ batchRenegotiateChildPublisherAgreements(request: protos.google.ads.admanager.v1.IBatchRenegotiateChildPublisherAgreementsRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchRenegotiateChildPublisherAgreementsResponse, protos.google.ads.admanager.v1.IBatchRenegotiateChildPublisherAgreementsRequest | null | undefined, {} | null | undefined>): void;
330
+ /**
331
+ * Batch rejects {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s.
332
+ *
333
+ * Only pending or active
334
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s can be rejected.
335
+ * Expired, rejected, and withdrawn
336
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s will be ignored.
337
+ *
338
+ * This method is only intended to be called in response to a child user
339
+ * rejecting an invitation and exists to support the rejection of
340
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s that are not yet
341
+ * associated with an Ad Manager network.
342
+ *
343
+ * To sever the relationship from the parent publisher's side, use
344
+ * {@link protos.|BatchWithdrawChildPublisher}.
345
+ *
346
+ * @param {Object} request
347
+ * The request object that will be sent.
348
+ * @param {string} request.parent
349
+ * Required. Format: `networks/{network_code}`
350
+ * @param {string[]} request.names
351
+ * Required. Resource names of the
352
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s to reject.
353
+ * Format: `networks/{network_code}/childPublisher/{child_publisher_id}`
354
+ * @param {object} [options]
355
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
356
+ * @returns {Promise} - The promise which resolves to an array.
357
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchRejectChildPublishersResponse|BatchRejectChildPublishersResponse}.
358
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
359
+ * for more details and examples.
360
+ * @example <caption>include:samples/generated/v1/child_publisher_service.batch_reject_child_publishers.js</caption>
361
+ * region_tag:admanager_v1_generated_ChildPublisherService_BatchRejectChildPublishers_async
362
+ */
363
+ batchRejectChildPublishers(request?: protos.google.ads.admanager.v1.IBatchRejectChildPublishersRequest, options?: CallOptions): Promise<[
364
+ protos.google.ads.admanager.v1.IBatchRejectChildPublishersResponse,
365
+ (protos.google.ads.admanager.v1.IBatchRejectChildPublishersRequest | undefined),
366
+ {} | undefined
367
+ ]>;
368
+ batchRejectChildPublishers(request: protos.google.ads.admanager.v1.IBatchRejectChildPublishersRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchRejectChildPublishersResponse, protos.google.ads.admanager.v1.IBatchRejectChildPublishersRequest | null | undefined, {} | null | undefined>): void;
369
+ batchRejectChildPublishers(request: protos.google.ads.admanager.v1.IBatchRejectChildPublishersRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchRejectChildPublishersResponse, protos.google.ads.admanager.v1.IBatchRejectChildPublishersRequest | null | undefined, {} | null | undefined>): void;
370
+ /**
371
+ * Batch withdraws {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s.
372
+ *
373
+ * Only expired, pending, and accepted
374
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s can be withdrawn.
375
+ * Rejected or withdrawn
376
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s will be ignored.
377
+ *
378
+ * @param {Object} request
379
+ * The request object that will be sent.
380
+ * @param {string} request.parent
381
+ * Required. Format: `networks/{network_code}`
382
+ * @param {string[]} request.names
383
+ * Required. Resource names of the
384
+ * {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher}s to withdraw.
385
+ * Format: `networks/{network_code}/childPublisher/{child_publisher_id}`
386
+ * @param {object} [options]
387
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
388
+ * @returns {Promise} - The promise which resolves to an array.
389
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchWithdrawChildPublishersResponse|BatchWithdrawChildPublishersResponse}.
390
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
391
+ * for more details and examples.
392
+ * @example <caption>include:samples/generated/v1/child_publisher_service.batch_withdraw_child_publishers.js</caption>
393
+ * region_tag:admanager_v1_generated_ChildPublisherService_BatchWithdrawChildPublishers_async
394
+ */
395
+ batchWithdrawChildPublishers(request?: protos.google.ads.admanager.v1.IBatchWithdrawChildPublishersRequest, options?: CallOptions): Promise<[
396
+ protos.google.ads.admanager.v1.IBatchWithdrawChildPublishersResponse,
397
+ (protos.google.ads.admanager.v1.IBatchWithdrawChildPublishersRequest | undefined),
398
+ {} | undefined
399
+ ]>;
400
+ batchWithdrawChildPublishers(request: protos.google.ads.admanager.v1.IBatchWithdrawChildPublishersRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchWithdrawChildPublishersResponse, protos.google.ads.admanager.v1.IBatchWithdrawChildPublishersRequest | null | undefined, {} | null | undefined>): void;
401
+ batchWithdrawChildPublishers(request: protos.google.ads.admanager.v1.IBatchWithdrawChildPublishersRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchWithdrawChildPublishersResponse, protos.google.ads.admanager.v1.IBatchWithdrawChildPublishersRequest | null | undefined, {} | null | undefined>): void;
264
402
  /**
265
403
  * Lists {@link protos.google.ads.admanager.v1.ChildPublisher|ChildPublisher} objects.
266
404
  *
@@ -1145,6 +1283,21 @@ export declare class ChildPublisherServiceClient {
1145
1283
  * @returns {string} A string representing the dai_encoding_profile.
1146
1284
  */
1147
1285
  matchDaiEncodingProfileFromDaiEncodingProfileName(daiEncodingProfileName: string): string | number;
1286
+ /**
1287
+ * Return a fully-qualified defaultThirdPartyDataDeclaration resource name string.
1288
+ *
1289
+ * @param {string} network_code
1290
+ * @returns {string} Resource name string.
1291
+ */
1292
+ defaultThirdPartyDataDeclarationPath(networkCode: string): string;
1293
+ /**
1294
+ * Parse the network_code from DefaultThirdPartyDataDeclaration resource.
1295
+ *
1296
+ * @param {string} defaultThirdPartyDataDeclarationName
1297
+ * A fully-qualified path representing DefaultThirdPartyDataDeclaration resource.
1298
+ * @returns {string} A string representing the network_code.
1299
+ */
1300
+ matchNetworkCodeFromDefaultThirdPartyDataDeclarationName(defaultThirdPartyDataDeclarationName: string): string | number;
1148
1301
  /**
1149
1302
  * Return a fully-qualified deviceCapability resource name string.
1150
1303
  *
@@ -1457,6 +1610,30 @@ export declare class ChildPublisherServiceClient {
1457
1610
  * @returns {string} A string representing the mobile_device_submodel.
1458
1611
  */
1459
1612
  matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName: string): string | number;
1613
+ /**
1614
+ * Return a fully-qualified nativeStyle resource name string.
1615
+ *
1616
+ * @param {string} network_code
1617
+ * @param {string} native_style
1618
+ * @returns {string} Resource name string.
1619
+ */
1620
+ nativeStylePath(networkCode: string, nativeStyle: string): string;
1621
+ /**
1622
+ * Parse the network_code from NativeStyle resource.
1623
+ *
1624
+ * @param {string} nativeStyleName
1625
+ * A fully-qualified path representing NativeStyle resource.
1626
+ * @returns {string} A string representing the network_code.
1627
+ */
1628
+ matchNetworkCodeFromNativeStyleName(nativeStyleName: string): string | number;
1629
+ /**
1630
+ * Parse the native_style from NativeStyle resource.
1631
+ *
1632
+ * @param {string} nativeStyleName
1633
+ * A fully-qualified path representing NativeStyle resource.
1634
+ * @returns {string} A string representing the native_style.
1635
+ */
1636
+ matchNativeStyleFromNativeStyleName(nativeStyleName: string): string | number;
1460
1637
  /**
1461
1638
  * Return a fully-qualified network resource name string.
1462
1639
  *
@@ -203,6 +203,7 @@ class ChildPublisherServiceClient {
203
203
  customTargetingValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingValues/{custom_targeting_value}'),
204
204
  daiAuthenticationKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/daiAuthenticationKeys/{dai_authentication_key}'),
205
205
  daiEncodingProfilePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/daiEncodingProfiles/{dai_encoding_profile}'),
206
+ defaultThirdPartyDataDeclarationPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/defaultThirdPartyDataDeclaration'),
206
207
  deviceCapabilityPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCapabilities/{device_capability}'),
207
208
  deviceCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCategories/{device_category}'),
208
209
  deviceManufacturerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceManufacturers/{device_manufacturer}'),
@@ -216,6 +217,7 @@ class ChildPublisherServiceClient {
216
217
  mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
217
218
  mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
218
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}'),
219
221
  networkPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}'),
220
222
  operatingSystemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystems/{operating_system}'),
221
223
  operatingSystemVersionPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystemVersions/{operating_system_version}'),
@@ -285,9 +287,13 @@ class ChildPublisherServiceClient {
285
287
  'batchCreateChildPublishers',
286
288
  'updateChildPublisher',
287
289
  'batchUpdateChildPublishers',
290
+ 'batchResendChildPublisherInvitationEmails',
291
+ 'batchRenegotiateChildPublisherAgreements',
292
+ 'batchRejectChildPublishers',
293
+ 'batchWithdrawChildPublishers',
288
294
  ];
289
295
  for (const methodName of childPublisherServiceStubMethods) {
290
- const callPromise = this.childPublisherServiceStub.then((stub) => (...args) => {
296
+ const callPromise = this.childPublisherServiceStub.then(stub => (...args) => {
291
297
  if (this._terminated) {
292
298
  return Promise.reject('The client has already been closed.');
293
299
  }
@@ -382,7 +388,7 @@ class ChildPublisherServiceClient {
382
388
  this._gaxModule.routingHeader.fromParams({
383
389
  name: request.name ?? '',
384
390
  });
385
- this.initialize().catch((err) => {
391
+ this.initialize().catch(err => {
386
392
  throw err;
387
393
  });
388
394
  this._log.info('getChildPublisher request %j', request);
@@ -425,7 +431,7 @@ class ChildPublisherServiceClient {
425
431
  this._gaxModule.routingHeader.fromParams({
426
432
  parent: request.parent ?? '',
427
433
  });
428
- this.initialize().catch((err) => {
434
+ this.initialize().catch(err => {
429
435
  throw err;
430
436
  });
431
437
  this._log.info('createChildPublisher request %j', request);
@@ -468,7 +474,7 @@ class ChildPublisherServiceClient {
468
474
  this._gaxModule.routingHeader.fromParams({
469
475
  parent: request.parent ?? '',
470
476
  });
471
- this.initialize().catch((err) => {
477
+ this.initialize().catch(err => {
472
478
  throw err;
473
479
  });
474
480
  this._log.info('batchCreateChildPublishers request %j', request);
@@ -511,7 +517,7 @@ class ChildPublisherServiceClient {
511
517
  this._gaxModule.routingHeader.fromParams({
512
518
  'child_publisher.name': request.childPublisher.name ?? '',
513
519
  });
514
- this.initialize().catch((err) => {
520
+ this.initialize().catch(err => {
515
521
  throw err;
516
522
  });
517
523
  this._log.info('updateChildPublisher request %j', request);
@@ -554,7 +560,7 @@ class ChildPublisherServiceClient {
554
560
  this._gaxModule.routingHeader.fromParams({
555
561
  parent: request.parent ?? '',
556
562
  });
557
- this.initialize().catch((err) => {
563
+ this.initialize().catch(err => {
558
564
  throw err;
559
565
  });
560
566
  this._log.info('batchUpdateChildPublishers request %j', request);
@@ -580,6 +586,178 @@ class ChildPublisherServiceClient {
580
586
  throw error;
581
587
  });
582
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
+ }
583
761
  listChildPublishers(request, optionsOrCallback, callback) {
584
762
  request = request || {};
585
763
  let options;
@@ -597,7 +775,7 @@ class ChildPublisherServiceClient {
597
775
  this._gaxModule.routingHeader.fromParams({
598
776
  parent: request.parent ?? '',
599
777
  });
600
- this.initialize().catch((err) => {
778
+ this.initialize().catch(err => {
601
779
  throw err;
602
780
  });
603
781
  const wrappedCallback = callback
@@ -685,7 +863,7 @@ class ChildPublisherServiceClient {
685
863
  });
686
864
  const defaultCallSettings = this._defaults['listChildPublishers'];
687
865
  const callSettings = defaultCallSettings.merge(options);
688
- this.initialize().catch((err) => {
866
+ this.initialize().catch(err => {
689
867
  throw err;
690
868
  });
691
869
  this._log.info('listChildPublishers stream %j', request);
@@ -765,7 +943,7 @@ class ChildPublisherServiceClient {
765
943
  });
766
944
  const defaultCallSettings = this._defaults['listChildPublishers'];
767
945
  const callSettings = defaultCallSettings.merge(options);
768
- this.initialize().catch((err) => {
946
+ this.initialize().catch(err => {
769
947
  throw err;
770
948
  });
771
949
  this._log.info('listChildPublishers iterate %j', request);
@@ -1740,6 +1918,27 @@ class ChildPublisherServiceClient {
1740
1918
  matchDaiEncodingProfileFromDaiEncodingProfileName(daiEncodingProfileName) {
1741
1919
  return this.pathTemplates.daiEncodingProfilePathTemplate.match(daiEncodingProfileName).dai_encoding_profile;
1742
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
+ }
1743
1942
  /**
1744
1943
  * Return a fully-qualified deviceCapability resource name string.
1745
1944
  *
@@ -2181,6 +2380,41 @@ class ChildPublisherServiceClient {
2181
2380
  matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
2182
2381
  return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).mobile_device_submodel;
2183
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
+ }
2184
2418
  /**
2185
2419
  * Return a fully-qualified network resource name string.
2186
2420
  *
@@ -2909,7 +3143,7 @@ class ChildPublisherServiceClient {
2909
3143
  */
2910
3144
  close() {
2911
3145
  if (this.childPublisherServiceStub && !this._terminated) {
2912
- return this.childPublisherServiceStub.then((stub) => {
3146
+ return this.childPublisherServiceStub.then(stub => {
2913
3147
  this._log.info('ending gRPC channel');
2914
3148
  this._terminated = true;
2915
3149
  stub.close();