@google-ads/admanager 0.4.1 → 0.5.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.
- package/README.md +68 -0
- package/build/protos/google/ads/admanager/v1/ad_break_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_enums.proto +44 -0
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_messages.proto +62 -0
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto +237 -0
- package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +7 -7
- package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +6 -6
- package/build/protos/google/ads/admanager/v1/application_messages.proto +47 -0
- package/build/protos/google/ads/admanager/v1/application_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +49 -0
- package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/browser_language_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/browser_language_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/browser_messages.proto +51 -0
- package/build/protos/google/ads/admanager/v1/browser_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_enums.proto +41 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_messages.proto +50 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_enums.proto +44 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_messages.proto +61 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/company_messages.proto +14 -12
- package/build/protos/google/ads/admanager/v1/company_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/contact_enums.proto +57 -0
- package/build/protos/google/ads/admanager/v1/contact_messages.proto +45 -2
- package/build/protos/google/ads/admanager/v1/contact_service.proto +244 -0
- package/build/protos/google/ads/admanager/v1/content_bundle_messages.proto +53 -0
- package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/content_label_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/content_label_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/content_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/content_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/creative_template_enums.proto +63 -0
- package/build/protos/google/ads/admanager/v1/creative_template_messages.proto +253 -0
- package/build/protos/google/ads/admanager/v1/creative_template_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/creative_template_variable_url_type_enum.proto +47 -0
- package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +5 -2
- package/build/protos/google/ads/admanager/v1/custom_field_service.proto +185 -3
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +7 -6
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +9 -9
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_capability_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/device_capability_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/device_category_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/device_manufacturer_messages.proto +46 -0
- package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +131 -0
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/exchange_syndication_product_enum.proto +47 -0
- package/build/protos/google/ads/admanager/v1/geo_target_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +48 -0
- package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +54 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +55 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +133 -0
- package/build/protos/google/ads/admanager/v1/operating_system_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/order_messages.proto +7 -8
- package/build/protos/google/ads/admanager/v1/order_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/placement_service.proto +220 -3
- package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/private_auction_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/report_definition.proto +12478 -0
- package/build/protos/google/ads/admanager/v1/report_messages.proto +118 -3410
- package/build/protos/google/ads/admanager/v1/report_service.proto +10 -8
- package/build/protos/google/ads/admanager/v1/report_value.proto +73 -0
- package/build/protos/google/ads/admanager/v1/role_service.proto +3 -2
- package/build/protos/google/ads/admanager/v1/site_enums.proto +72 -0
- package/build/protos/google/ads/admanager/v1/site_messages.proto +77 -0
- package/build/protos/google/ads/admanager/v1/site_service.proto +295 -0
- package/build/protos/google/ads/admanager/v1/targeting.proto +311 -0
- package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +3 -0
- package/build/protos/google/ads/admanager/v1/team_enums.proto +62 -0
- package/build/protos/google/ads/admanager/v1/team_messages.proto +30 -0
- package/build/protos/google/ads/admanager/v1/team_service.proto +303 -0
- package/build/protos/google/ads/admanager/v1/web_property.proto +54 -0
- package/build/protos/protos.d.ts +30764 -11410
- package/build/protos/protos.js +93644 -43318
- package/build/protos/protos.json +9909 -3734
- package/build/src/index.d.ts +58 -1
- package/build/src/index.js +40 -2
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +441 -0
- package/build/src/v1/ad_break_service_client.js +624 -0
- package/build/src/v1/ad_break_service_client.js.map +1 -1
- package/build/src/v1/ad_break_service_proto_list.json +49 -1
- package/build/src/v1/ad_review_center_ad_service_client.d.ts +1607 -0
- package/build/src/v1/ad_review_center_ad_service_client.js +2291 -0
- package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -0
- package/build/src/v1/ad_review_center_ad_service_client_config.json +38 -0
- package/build/src/v1/ad_review_center_ad_service_proto_list.json +122 -0
- package/build/src/v1/ad_unit_service_client.d.ts +453 -12
- package/build/src/v1/ad_unit_service_client.js +632 -8
- package/build/src/v1/ad_unit_service_client.js.map +1 -1
- package/build/src/v1/ad_unit_service_proto_list.json +49 -1
- package/build/src/v1/application_service_client.d.ts +1345 -0
- package/build/src/v1/application_service_client.js +1993 -0
- package/build/src/v1/application_service_client.js.map +1 -0
- package/build/src/v1/application_service_client_config.json +34 -0
- package/build/src/v1/application_service_proto_list.json +122 -0
- package/build/src/v1/audience_segment_service_client.d.ts +1345 -0
- package/build/src/v1/audience_segment_service_client.js +1993 -0
- package/build/src/v1/audience_segment_service_client.js.map +1 -0
- package/build/src/v1/audience_segment_service_client_config.json +34 -0
- package/build/src/v1/audience_segment_service_proto_list.json +122 -0
- package/build/src/v1/bandwidth_group_service_client.d.ts +447 -6
- package/build/src/v1/bandwidth_group_service_client.js +628 -4
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
- package/build/src/v1/bandwidth_group_service_proto_list.json +49 -1
- package/build/src/v1/browser_language_service_client.d.ts +1345 -0
- package/build/src/v1/browser_language_service_client.js +1993 -0
- package/build/src/v1/browser_language_service_client.js.map +1 -0
- package/build/src/v1/browser_language_service_client_config.json +34 -0
- package/build/src/v1/browser_language_service_proto_list.json +122 -0
- package/build/src/v1/browser_service_client.d.ts +1345 -0
- package/build/src/v1/browser_service_client.js +1993 -0
- package/build/src/v1/browser_service_client.js.map +1 -0
- package/build/src/v1/browser_service_client_config.json +34 -0
- package/build/src/v1/browser_service_proto_list.json +122 -0
- package/build/src/v1/cms_metadata_key_service_client.d.ts +1345 -0
- package/build/src/v1/cms_metadata_key_service_client.js +1993 -0
- package/build/src/v1/cms_metadata_key_service_client.js.map +1 -0
- package/build/src/v1/cms_metadata_key_service_client_config.json +34 -0
- package/build/src/v1/cms_metadata_key_service_proto_list.json +122 -0
- package/build/src/v1/cms_metadata_value_service_client.d.ts +1345 -0
- package/build/src/v1/cms_metadata_value_service_client.js +1993 -0
- package/build/src/v1/cms_metadata_value_service_client.js.map +1 -0
- package/build/src/v1/cms_metadata_value_service_client_config.json +34 -0
- package/build/src/v1/cms_metadata_value_service_proto_list.json +122 -0
- package/build/src/v1/company_service_client.d.ts +447 -6
- package/build/src/v1/company_service_client.js +628 -4
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_proto_list.json +49 -1
- package/build/src/v1/contact_service_client.d.ts +1456 -0
- package/build/src/v1/contact_service_client.js +2137 -0
- package/build/src/v1/contact_service_client.js.map +1 -0
- package/build/src/v1/contact_service_client_config.json +50 -0
- package/build/src/v1/contact_service_proto_list.json +122 -0
- package/build/src/v1/content_bundle_service_client.d.ts +1345 -0
- package/build/src/v1/content_bundle_service_client.js +1993 -0
- package/build/src/v1/content_bundle_service_client.js.map +1 -0
- package/build/src/v1/content_bundle_service_client_config.json +34 -0
- package/build/src/v1/content_bundle_service_proto_list.json +122 -0
- package/build/src/v1/content_label_service_client.d.ts +1345 -0
- package/build/src/v1/content_label_service_client.js +1993 -0
- package/build/src/v1/content_label_service_client.js.map +1 -0
- package/build/src/v1/content_label_service_client_config.json +34 -0
- package/build/src/v1/content_label_service_proto_list.json +122 -0
- package/build/src/v1/content_service_client.d.ts +1345 -0
- package/build/src/v1/content_service_client.js +1993 -0
- package/build/src/v1/content_service_client.js.map +1 -0
- package/build/src/v1/content_service_client_config.json +34 -0
- package/build/src/v1/content_service_proto_list.json +122 -0
- package/build/src/v1/creative_template_service_client.d.ts +1345 -0
- package/build/src/v1/creative_template_service_client.js +1993 -0
- package/build/src/v1/creative_template_service_client.js.map +1 -0
- package/build/src/v1/creative_template_service_client_config.json +34 -0
- package/build/src/v1/creative_template_service_proto_list.json +122 -0
- package/build/src/v1/custom_field_service_client.d.ts +610 -6
- package/build/src/v1/custom_field_service_client.js +845 -5
- package/build/src/v1/custom_field_service_client.js.map +1 -1
- package/build/src/v1/custom_field_service_client_config.json +24 -0
- package/build/src/v1/custom_field_service_proto_list.json +49 -1
- package/build/src/v1/custom_targeting_key_service_client.d.ts +441 -0
- package/build/src/v1/custom_targeting_key_service_client.js +624 -0
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_key_service_proto_list.json +49 -1
- package/build/src/v1/custom_targeting_value_service_client.d.ts +441 -0
- package/build/src/v1/custom_targeting_value_service_client.js +624 -0
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +49 -1
- package/build/src/v1/device_capability_service_client.d.ts +1345 -0
- package/build/src/v1/device_capability_service_client.js +1993 -0
- package/build/src/v1/device_capability_service_client.js.map +1 -0
- package/build/src/v1/device_capability_service_client_config.json +34 -0
- package/build/src/v1/device_capability_service_proto_list.json +122 -0
- package/build/src/v1/device_category_service_client.d.ts +444 -3
- package/build/src/v1/device_category_service_client.js +626 -2
- package/build/src/v1/device_category_service_client.js.map +1 -1
- package/build/src/v1/device_category_service_proto_list.json +49 -1
- package/build/src/v1/device_manufacturer_service_client.d.ts +1346 -0
- package/build/src/v1/device_manufacturer_service_client.js +1993 -0
- package/build/src/v1/device_manufacturer_service_client.js.map +1 -0
- package/build/src/v1/device_manufacturer_service_client_config.json +34 -0
- package/build/src/v1/device_manufacturer_service_proto_list.json +122 -0
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +441 -0
- package/build/src/v1/entity_signals_mapping_service_client.js +624 -0
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
- package/build/src/v1/entity_signals_mapping_service_proto_list.json +49 -1
- package/build/src/v1/gapic_metadata.json +1026 -4
- package/build/src/v1/geo_target_service_client.d.ts +447 -6
- package/build/src/v1/geo_target_service_client.js +628 -4
- package/build/src/v1/geo_target_service_client.js.map +1 -1
- package/build/src/v1/geo_target_service_proto_list.json +49 -1
- package/build/src/v1/index.d.ts +19 -0
- package/build/src/v1/index.js +39 -1
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/mobile_carrier_service_client.d.ts +1345 -0
- package/build/src/v1/mobile_carrier_service_client.js +1993 -0
- package/build/src/v1/mobile_carrier_service_client.js.map +1 -0
- package/build/src/v1/mobile_carrier_service_client_config.json +34 -0
- package/build/src/v1/mobile_carrier_service_proto_list.json +122 -0
- package/build/src/v1/mobile_device_service_client.d.ts +1345 -0
- package/build/src/v1/mobile_device_service_client.js +1993 -0
- package/build/src/v1/mobile_device_service_client.js.map +1 -0
- package/build/src/v1/mobile_device_service_client_config.json +34 -0
- package/build/src/v1/mobile_device_service_proto_list.json +122 -0
- package/build/src/v1/mobile_device_submodel_service_client.d.ts +1352 -0
- package/build/src/v1/mobile_device_submodel_service_client.js +1997 -0
- package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -0
- package/build/src/v1/mobile_device_submodel_service_client_config.json +34 -0
- package/build/src/v1/mobile_device_submodel_service_proto_list.json +122 -0
- package/build/src/v1/network_service_client.d.ts +441 -0
- package/build/src/v1/network_service_client.js +624 -0
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_proto_list.json +49 -1
- package/build/src/v1/operating_system_service_client.d.ts +444 -3
- package/build/src/v1/operating_system_service_client.js +626 -2
- package/build/src/v1/operating_system_service_client.js.map +1 -1
- package/build/src/v1/operating_system_service_proto_list.json +49 -1
- package/build/src/v1/operating_system_version_service_client.d.ts +444 -3
- package/build/src/v1/operating_system_version_service_client.js +626 -2
- package/build/src/v1/operating_system_version_service_client.js.map +1 -1
- package/build/src/v1/operating_system_version_service_proto_list.json +49 -1
- package/build/src/v1/order_service_client.d.ts +447 -6
- package/build/src/v1/order_service_client.js +628 -4
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +49 -1
- package/build/src/v1/placement_service_client.d.ts +638 -6
- package/build/src/v1/placement_service_client.js +937 -61
- package/build/src/v1/placement_service_client.js.map +1 -1
- package/build/src/v1/placement_service_client_config.json +28 -0
- package/build/src/v1/placement_service_proto_list.json +49 -1
- package/build/src/v1/private_auction_deal_service_client.d.ts +444 -3
- package/build/src/v1/private_auction_deal_service_client.js +626 -2
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
- package/build/src/v1/private_auction_deal_service_proto_list.json +49 -1
- package/build/src/v1/private_auction_service_client.d.ts +444 -3
- package/build/src/v1/private_auction_service_client.js +626 -2
- package/build/src/v1/private_auction_service_client.js.map +1 -1
- package/build/src/v1/private_auction_service_proto_list.json +49 -1
- package/build/src/v1/programmatic_buyer_service_client.d.ts +441 -0
- package/build/src/v1/programmatic_buyer_service_client.js +624 -0
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
- package/build/src/v1/programmatic_buyer_service_proto_list.json +49 -1
- package/build/src/v1/report_service_client.d.ts +461 -17
- package/build/src/v1/report_service_client.js +634 -8
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +49 -1
- package/build/src/v1/role_service_client.d.ts +447 -3
- package/build/src/v1/role_service_client.js +628 -2
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +49 -1
- package/build/src/v1/site_service_client.d.ts +1506 -0
- package/build/src/v1/site_service_client.js +2209 -0
- package/build/src/v1/site_service_client.js.map +1 -0
- package/build/src/v1/site_service_client_config.json +58 -0
- package/build/src/v1/site_service_proto_list.json +122 -0
- package/build/src/v1/taxonomy_category_service_client.d.ts +441 -0
- package/build/src/v1/taxonomy_category_service_client.js +624 -0
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +49 -1
- package/build/src/v1/team_service_client.d.ts +1508 -0
- package/build/src/v1/team_service_client.js +2209 -0
- package/build/src/v1/team_service_client.js.map +1 -0
- package/build/src/v1/team_service_client_config.json +58 -0
- package/build/src/v1/team_service_proto_list.json +122 -0
- package/build/src/v1/user_service_client.d.ts +441 -0
- package/build/src/v1/user_service_client.js +624 -0
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +49 -1
- package/package.json +1 -1
|
@@ -168,18 +168,34 @@ class CustomFieldServiceClient {
|
|
|
168
168
|
// Create useful helper objects for these.
|
|
169
169
|
this.pathTemplates = {
|
|
170
170
|
adBreakPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}'),
|
|
171
|
+
adReviewCenterAdPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad}'),
|
|
171
172
|
adUnitPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/adUnits/{ad_unit}'),
|
|
173
|
+
applicationPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/applications/{application}'),
|
|
174
|
+
audienceSegmentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/audienceSegments/{audience_segment}'),
|
|
172
175
|
bandwidthGroupPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/bandwidthGroups/{bandwidth_group}'),
|
|
176
|
+
browserPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browsers/{browser}'),
|
|
177
|
+
browserLanguagePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browserLanguages/{browser_language}'),
|
|
178
|
+
cmsMetadataKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}'),
|
|
179
|
+
cmsMetadataValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataValues/{cms_metadata_value}'),
|
|
173
180
|
companyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/companies/{company}'),
|
|
174
181
|
contactPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contacts/{contact}'),
|
|
182
|
+
contentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/content/{content}'),
|
|
183
|
+
contentBundlePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentBundles/{content_bundle}'),
|
|
184
|
+
contentLabelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentLabels/{content_label}'),
|
|
185
|
+
creativeTemplatePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeTemplates/{creative_template}'),
|
|
175
186
|
customFieldPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customFields/{custom_field}'),
|
|
176
187
|
customTargetingKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingKeys/{custom_targeting_key}'),
|
|
177
188
|
customTargetingValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingValues/{custom_targeting_value}'),
|
|
189
|
+
deviceCapabilityPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCapabilities/{device_capability}'),
|
|
178
190
|
deviceCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCategories/{device_category}'),
|
|
191
|
+
deviceManufacturerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceManufacturers/{device_manufacturer}'),
|
|
179
192
|
entitySignalsMappingPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}'),
|
|
180
193
|
geoTargetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/geoTargets/{geo_target}'),
|
|
181
194
|
labelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/labels/{label}'),
|
|
182
195
|
liveStreamEventPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEvents/{live_stream_event}'),
|
|
196
|
+
mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
|
|
197
|
+
mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
|
|
198
|
+
mobileDeviceSubmodelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}'),
|
|
183
199
|
networkPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}'),
|
|
184
200
|
operatingSystemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystems/{operating_system}'),
|
|
185
201
|
operatingSystemVersionPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystemVersions/{operating_system_version}'),
|
|
@@ -190,9 +206,11 @@ class CustomFieldServiceClient {
|
|
|
190
206
|
programmaticBuyerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/programmaticBuyers/{programmatic_buyer}'),
|
|
191
207
|
reportPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/reports/{report}'),
|
|
192
208
|
rolePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/roles/{role}'),
|
|
209
|
+
sitePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/sites/{site}'),
|
|
193
210
|
taxonomyCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/taxonomyCategories/{taxonomy_category}'),
|
|
194
211
|
teamPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/teams/{team}'),
|
|
195
212
|
userPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/users/{user}'),
|
|
213
|
+
webPropertyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property}'),
|
|
196
214
|
};
|
|
197
215
|
// Some of the methods on this service return "paged" results,
|
|
198
216
|
// (e.g. 50 results at a time, with tokens to get subsequent
|
|
@@ -233,7 +251,7 @@ class CustomFieldServiceClient {
|
|
|
233
251
|
this._protos.google.ads.admanager.v1.CustomFieldService, this._opts, this._providedCustomServicePath);
|
|
234
252
|
// Iterate over each of the methods that the service provides
|
|
235
253
|
// and create an API call method for each.
|
|
236
|
-
const customFieldServiceStubMethods = ['getCustomField', 'listCustomFields'];
|
|
254
|
+
const customFieldServiceStubMethods = ['getCustomField', 'listCustomFields', 'createCustomField', 'batchCreateCustomFields', 'updateCustomField', 'batchUpdateCustomFields', 'batchActivateCustomFields', 'batchDeactivateCustomFields'];
|
|
237
255
|
for (const methodName of customFieldServiceStubMethods) {
|
|
238
256
|
const callPromise = this.customFieldServiceStub.then(stub => (...args) => {
|
|
239
257
|
if (this._terminated) {
|
|
@@ -347,6 +365,222 @@ class CustomFieldServiceClient {
|
|
|
347
365
|
throw error;
|
|
348
366
|
});
|
|
349
367
|
}
|
|
368
|
+
createCustomField(request, optionsOrCallback, callback) {
|
|
369
|
+
request = request || {};
|
|
370
|
+
let options;
|
|
371
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
372
|
+
callback = optionsOrCallback;
|
|
373
|
+
options = {};
|
|
374
|
+
}
|
|
375
|
+
else {
|
|
376
|
+
options = optionsOrCallback;
|
|
377
|
+
}
|
|
378
|
+
options = options || {};
|
|
379
|
+
options.otherArgs = options.otherArgs || {};
|
|
380
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
381
|
+
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
|
|
382
|
+
'parent': request.parent ?? '',
|
|
383
|
+
});
|
|
384
|
+
this.initialize().catch(err => { throw err; });
|
|
385
|
+
this._log.info('createCustomField request %j', request);
|
|
386
|
+
const wrappedCallback = callback
|
|
387
|
+
? (error, response, options, rawResponse) => {
|
|
388
|
+
this._log.info('createCustomField response %j', response);
|
|
389
|
+
callback(error, response, options, rawResponse); // We verified callback above.
|
|
390
|
+
}
|
|
391
|
+
: undefined;
|
|
392
|
+
return this.innerApiCalls.createCustomField(request, options, wrappedCallback)
|
|
393
|
+
?.then(([response, options, rawResponse]) => {
|
|
394
|
+
this._log.info('createCustomField response %j', response);
|
|
395
|
+
return [response, options, rawResponse];
|
|
396
|
+
}).catch((error) => {
|
|
397
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
|
398
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
399
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
400
|
+
}
|
|
401
|
+
throw error;
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
batchCreateCustomFields(request, optionsOrCallback, callback) {
|
|
405
|
+
request = request || {};
|
|
406
|
+
let options;
|
|
407
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
408
|
+
callback = optionsOrCallback;
|
|
409
|
+
options = {};
|
|
410
|
+
}
|
|
411
|
+
else {
|
|
412
|
+
options = optionsOrCallback;
|
|
413
|
+
}
|
|
414
|
+
options = options || {};
|
|
415
|
+
options.otherArgs = options.otherArgs || {};
|
|
416
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
417
|
+
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
|
|
418
|
+
'parent': request.parent ?? '',
|
|
419
|
+
});
|
|
420
|
+
this.initialize().catch(err => { throw err; });
|
|
421
|
+
this._log.info('batchCreateCustomFields request %j', request);
|
|
422
|
+
const wrappedCallback = callback
|
|
423
|
+
? (error, response, options, rawResponse) => {
|
|
424
|
+
this._log.info('batchCreateCustomFields response %j', response);
|
|
425
|
+
callback(error, response, options, rawResponse); // We verified callback above.
|
|
426
|
+
}
|
|
427
|
+
: undefined;
|
|
428
|
+
return this.innerApiCalls.batchCreateCustomFields(request, options, wrappedCallback)
|
|
429
|
+
?.then(([response, options, rawResponse]) => {
|
|
430
|
+
this._log.info('batchCreateCustomFields response %j', response);
|
|
431
|
+
return [response, options, rawResponse];
|
|
432
|
+
}).catch((error) => {
|
|
433
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
|
434
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
435
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
436
|
+
}
|
|
437
|
+
throw error;
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
updateCustomField(request, optionsOrCallback, callback) {
|
|
441
|
+
request = request || {};
|
|
442
|
+
let options;
|
|
443
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
444
|
+
callback = optionsOrCallback;
|
|
445
|
+
options = {};
|
|
446
|
+
}
|
|
447
|
+
else {
|
|
448
|
+
options = optionsOrCallback;
|
|
449
|
+
}
|
|
450
|
+
options = options || {};
|
|
451
|
+
options.otherArgs = options.otherArgs || {};
|
|
452
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
453
|
+
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
|
|
454
|
+
'custom_field.name': request.customField.name ?? '',
|
|
455
|
+
});
|
|
456
|
+
this.initialize().catch(err => { throw err; });
|
|
457
|
+
this._log.info('updateCustomField request %j', request);
|
|
458
|
+
const wrappedCallback = callback
|
|
459
|
+
? (error, response, options, rawResponse) => {
|
|
460
|
+
this._log.info('updateCustomField response %j', response);
|
|
461
|
+
callback(error, response, options, rawResponse); // We verified callback above.
|
|
462
|
+
}
|
|
463
|
+
: undefined;
|
|
464
|
+
return this.innerApiCalls.updateCustomField(request, options, wrappedCallback)
|
|
465
|
+
?.then(([response, options, rawResponse]) => {
|
|
466
|
+
this._log.info('updateCustomField response %j', response);
|
|
467
|
+
return [response, options, rawResponse];
|
|
468
|
+
}).catch((error) => {
|
|
469
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
|
470
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
471
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
472
|
+
}
|
|
473
|
+
throw error;
|
|
474
|
+
});
|
|
475
|
+
}
|
|
476
|
+
batchUpdateCustomFields(request, optionsOrCallback, callback) {
|
|
477
|
+
request = request || {};
|
|
478
|
+
let options;
|
|
479
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
480
|
+
callback = optionsOrCallback;
|
|
481
|
+
options = {};
|
|
482
|
+
}
|
|
483
|
+
else {
|
|
484
|
+
options = optionsOrCallback;
|
|
485
|
+
}
|
|
486
|
+
options = options || {};
|
|
487
|
+
options.otherArgs = options.otherArgs || {};
|
|
488
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
489
|
+
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
|
|
490
|
+
'parent': request.parent ?? '',
|
|
491
|
+
});
|
|
492
|
+
this.initialize().catch(err => { throw err; });
|
|
493
|
+
this._log.info('batchUpdateCustomFields request %j', request);
|
|
494
|
+
const wrappedCallback = callback
|
|
495
|
+
? (error, response, options, rawResponse) => {
|
|
496
|
+
this._log.info('batchUpdateCustomFields response %j', response);
|
|
497
|
+
callback(error, response, options, rawResponse); // We verified callback above.
|
|
498
|
+
}
|
|
499
|
+
: undefined;
|
|
500
|
+
return this.innerApiCalls.batchUpdateCustomFields(request, options, wrappedCallback)
|
|
501
|
+
?.then(([response, options, rawResponse]) => {
|
|
502
|
+
this._log.info('batchUpdateCustomFields response %j', response);
|
|
503
|
+
return [response, options, rawResponse];
|
|
504
|
+
}).catch((error) => {
|
|
505
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
|
506
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
507
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
508
|
+
}
|
|
509
|
+
throw error;
|
|
510
|
+
});
|
|
511
|
+
}
|
|
512
|
+
batchActivateCustomFields(request, optionsOrCallback, callback) {
|
|
513
|
+
request = request || {};
|
|
514
|
+
let options;
|
|
515
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
516
|
+
callback = optionsOrCallback;
|
|
517
|
+
options = {};
|
|
518
|
+
}
|
|
519
|
+
else {
|
|
520
|
+
options = optionsOrCallback;
|
|
521
|
+
}
|
|
522
|
+
options = options || {};
|
|
523
|
+
options.otherArgs = options.otherArgs || {};
|
|
524
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
525
|
+
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
|
|
526
|
+
'parent': request.parent ?? '',
|
|
527
|
+
});
|
|
528
|
+
this.initialize().catch(err => { throw err; });
|
|
529
|
+
this._log.info('batchActivateCustomFields request %j', request);
|
|
530
|
+
const wrappedCallback = callback
|
|
531
|
+
? (error, response, options, rawResponse) => {
|
|
532
|
+
this._log.info('batchActivateCustomFields response %j', response);
|
|
533
|
+
callback(error, response, options, rawResponse); // We verified callback above.
|
|
534
|
+
}
|
|
535
|
+
: undefined;
|
|
536
|
+
return this.innerApiCalls.batchActivateCustomFields(request, options, wrappedCallback)
|
|
537
|
+
?.then(([response, options, rawResponse]) => {
|
|
538
|
+
this._log.info('batchActivateCustomFields response %j', response);
|
|
539
|
+
return [response, options, rawResponse];
|
|
540
|
+
}).catch((error) => {
|
|
541
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
|
542
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
543
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
544
|
+
}
|
|
545
|
+
throw error;
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
batchDeactivateCustomFields(request, optionsOrCallback, callback) {
|
|
549
|
+
request = request || {};
|
|
550
|
+
let options;
|
|
551
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
552
|
+
callback = optionsOrCallback;
|
|
553
|
+
options = {};
|
|
554
|
+
}
|
|
555
|
+
else {
|
|
556
|
+
options = optionsOrCallback;
|
|
557
|
+
}
|
|
558
|
+
options = options || {};
|
|
559
|
+
options.otherArgs = options.otherArgs || {};
|
|
560
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
561
|
+
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
|
|
562
|
+
'parent': request.parent ?? '',
|
|
563
|
+
});
|
|
564
|
+
this.initialize().catch(err => { throw err; });
|
|
565
|
+
this._log.info('batchDeactivateCustomFields request %j', request);
|
|
566
|
+
const wrappedCallback = callback
|
|
567
|
+
? (error, response, options, rawResponse) => {
|
|
568
|
+
this._log.info('batchDeactivateCustomFields response %j', response);
|
|
569
|
+
callback(error, response, options, rawResponse); // We verified callback above.
|
|
570
|
+
}
|
|
571
|
+
: undefined;
|
|
572
|
+
return this.innerApiCalls.batchDeactivateCustomFields(request, options, wrappedCallback)
|
|
573
|
+
?.then(([response, options, rawResponse]) => {
|
|
574
|
+
this._log.info('batchDeactivateCustomFields response %j', response);
|
|
575
|
+
return [response, options, rawResponse];
|
|
576
|
+
}).catch((error) => {
|
|
577
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
|
578
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
579
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
580
|
+
}
|
|
581
|
+
throw error;
|
|
582
|
+
});
|
|
583
|
+
}
|
|
350
584
|
listCustomFields(request, optionsOrCallback, callback) {
|
|
351
585
|
request = request || {};
|
|
352
586
|
let options;
|
|
@@ -388,8 +622,8 @@ class CustomFieldServiceClient {
|
|
|
388
622
|
* @param {number} [request.pageSize]
|
|
389
623
|
* Optional. The maximum number of `CustomFields` to return. The service may
|
|
390
624
|
* return fewer than this value. If unspecified, at most 50 `CustomFields`
|
|
391
|
-
* will be returned. The maximum value is 1000; values
|
|
392
|
-
* coerced to 1000.
|
|
625
|
+
* will be returned. The maximum value is 1000; values greater than 1000 will
|
|
626
|
+
* be coerced to 1000.
|
|
393
627
|
* @param {string} [request.pageToken]
|
|
394
628
|
* Optional. A page token, received from a previous `ListCustomFields` call.
|
|
395
629
|
* Provide this to retrieve the subsequent page.
|
|
@@ -443,8 +677,8 @@ class CustomFieldServiceClient {
|
|
|
443
677
|
* @param {number} [request.pageSize]
|
|
444
678
|
* Optional. The maximum number of `CustomFields` to return. The service may
|
|
445
679
|
* return fewer than this value. If unspecified, at most 50 `CustomFields`
|
|
446
|
-
* will be returned. The maximum value is 1000; values
|
|
447
|
-
* coerced to 1000.
|
|
680
|
+
* will be returned. The maximum value is 1000; values greater than 1000 will
|
|
681
|
+
* be coerced to 1000.
|
|
448
682
|
* @param {string} [request.pageToken]
|
|
449
683
|
* Optional. A page token, received from a previous `ListCustomFields` call.
|
|
450
684
|
* Provide this to retrieve the subsequent page.
|
|
@@ -535,6 +769,51 @@ class CustomFieldServiceClient {
|
|
|
535
769
|
matchAdBreakFromAdBreakName(adBreakName) {
|
|
536
770
|
return this.pathTemplates.adBreakPathTemplate.match(adBreakName).ad_break;
|
|
537
771
|
}
|
|
772
|
+
/**
|
|
773
|
+
* Return a fully-qualified adReviewCenterAd resource name string.
|
|
774
|
+
*
|
|
775
|
+
* @param {string} network_code
|
|
776
|
+
* @param {string} web_property_code
|
|
777
|
+
* @param {string} ad_review_center_ad
|
|
778
|
+
* @returns {string} Resource name string.
|
|
779
|
+
*/
|
|
780
|
+
adReviewCenterAdPath(networkCode, webPropertyCode, adReviewCenterAd) {
|
|
781
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.render({
|
|
782
|
+
network_code: networkCode,
|
|
783
|
+
web_property_code: webPropertyCode,
|
|
784
|
+
ad_review_center_ad: adReviewCenterAd,
|
|
785
|
+
});
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* Parse the network_code from AdReviewCenterAd resource.
|
|
789
|
+
*
|
|
790
|
+
* @param {string} adReviewCenterAdName
|
|
791
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
792
|
+
* @returns {string} A string representing the network_code.
|
|
793
|
+
*/
|
|
794
|
+
matchNetworkCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
795
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).network_code;
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* Parse the web_property_code from AdReviewCenterAd resource.
|
|
799
|
+
*
|
|
800
|
+
* @param {string} adReviewCenterAdName
|
|
801
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
802
|
+
* @returns {string} A string representing the web_property_code.
|
|
803
|
+
*/
|
|
804
|
+
matchWebPropertyCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
805
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).web_property_code;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* Parse the ad_review_center_ad from AdReviewCenterAd resource.
|
|
809
|
+
*
|
|
810
|
+
* @param {string} adReviewCenterAdName
|
|
811
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
812
|
+
* @returns {string} A string representing the ad_review_center_ad.
|
|
813
|
+
*/
|
|
814
|
+
matchAdReviewCenterAdFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
815
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).ad_review_center_ad;
|
|
816
|
+
}
|
|
538
817
|
/**
|
|
539
818
|
* Return a fully-qualified adUnit resource name string.
|
|
540
819
|
*
|
|
@@ -568,6 +847,72 @@ class CustomFieldServiceClient {
|
|
|
568
847
|
matchAdUnitFromAdUnitName(adUnitName) {
|
|
569
848
|
return this.pathTemplates.adUnitPathTemplate.match(adUnitName).ad_unit;
|
|
570
849
|
}
|
|
850
|
+
/**
|
|
851
|
+
* Return a fully-qualified application resource name string.
|
|
852
|
+
*
|
|
853
|
+
* @param {string} network_code
|
|
854
|
+
* @param {string} application
|
|
855
|
+
* @returns {string} Resource name string.
|
|
856
|
+
*/
|
|
857
|
+
applicationPath(networkCode, application) {
|
|
858
|
+
return this.pathTemplates.applicationPathTemplate.render({
|
|
859
|
+
network_code: networkCode,
|
|
860
|
+
application: application,
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* Parse the network_code from Application resource.
|
|
865
|
+
*
|
|
866
|
+
* @param {string} applicationName
|
|
867
|
+
* A fully-qualified path representing Application resource.
|
|
868
|
+
* @returns {string} A string representing the network_code.
|
|
869
|
+
*/
|
|
870
|
+
matchNetworkCodeFromApplicationName(applicationName) {
|
|
871
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).network_code;
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* Parse the application from Application resource.
|
|
875
|
+
*
|
|
876
|
+
* @param {string} applicationName
|
|
877
|
+
* A fully-qualified path representing Application resource.
|
|
878
|
+
* @returns {string} A string representing the application.
|
|
879
|
+
*/
|
|
880
|
+
matchApplicationFromApplicationName(applicationName) {
|
|
881
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).application;
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
* Return a fully-qualified audienceSegment resource name string.
|
|
885
|
+
*
|
|
886
|
+
* @param {string} network_code
|
|
887
|
+
* @param {string} audience_segment
|
|
888
|
+
* @returns {string} Resource name string.
|
|
889
|
+
*/
|
|
890
|
+
audienceSegmentPath(networkCode, audienceSegment) {
|
|
891
|
+
return this.pathTemplates.audienceSegmentPathTemplate.render({
|
|
892
|
+
network_code: networkCode,
|
|
893
|
+
audience_segment: audienceSegment,
|
|
894
|
+
});
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* Parse the network_code from AudienceSegment resource.
|
|
898
|
+
*
|
|
899
|
+
* @param {string} audienceSegmentName
|
|
900
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
901
|
+
* @returns {string} A string representing the network_code.
|
|
902
|
+
*/
|
|
903
|
+
matchNetworkCodeFromAudienceSegmentName(audienceSegmentName) {
|
|
904
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).network_code;
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* Parse the audience_segment from AudienceSegment resource.
|
|
908
|
+
*
|
|
909
|
+
* @param {string} audienceSegmentName
|
|
910
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
911
|
+
* @returns {string} A string representing the audience_segment.
|
|
912
|
+
*/
|
|
913
|
+
matchAudienceSegmentFromAudienceSegmentName(audienceSegmentName) {
|
|
914
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).audience_segment;
|
|
915
|
+
}
|
|
571
916
|
/**
|
|
572
917
|
* Return a fully-qualified bandwidthGroup resource name string.
|
|
573
918
|
*
|
|
@@ -601,6 +946,138 @@ class CustomFieldServiceClient {
|
|
|
601
946
|
matchBandwidthGroupFromBandwidthGroupName(bandwidthGroupName) {
|
|
602
947
|
return this.pathTemplates.bandwidthGroupPathTemplate.match(bandwidthGroupName).bandwidth_group;
|
|
603
948
|
}
|
|
949
|
+
/**
|
|
950
|
+
* Return a fully-qualified browser resource name string.
|
|
951
|
+
*
|
|
952
|
+
* @param {string} network_code
|
|
953
|
+
* @param {string} browser
|
|
954
|
+
* @returns {string} Resource name string.
|
|
955
|
+
*/
|
|
956
|
+
browserPath(networkCode, browser) {
|
|
957
|
+
return this.pathTemplates.browserPathTemplate.render({
|
|
958
|
+
network_code: networkCode,
|
|
959
|
+
browser: browser,
|
|
960
|
+
});
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* Parse the network_code from Browser resource.
|
|
964
|
+
*
|
|
965
|
+
* @param {string} browserName
|
|
966
|
+
* A fully-qualified path representing Browser resource.
|
|
967
|
+
* @returns {string} A string representing the network_code.
|
|
968
|
+
*/
|
|
969
|
+
matchNetworkCodeFromBrowserName(browserName) {
|
|
970
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).network_code;
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* Parse the browser from Browser resource.
|
|
974
|
+
*
|
|
975
|
+
* @param {string} browserName
|
|
976
|
+
* A fully-qualified path representing Browser resource.
|
|
977
|
+
* @returns {string} A string representing the browser.
|
|
978
|
+
*/
|
|
979
|
+
matchBrowserFromBrowserName(browserName) {
|
|
980
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).browser;
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* Return a fully-qualified browserLanguage resource name string.
|
|
984
|
+
*
|
|
985
|
+
* @param {string} network_code
|
|
986
|
+
* @param {string} browser_language
|
|
987
|
+
* @returns {string} Resource name string.
|
|
988
|
+
*/
|
|
989
|
+
browserLanguagePath(networkCode, browserLanguage) {
|
|
990
|
+
return this.pathTemplates.browserLanguagePathTemplate.render({
|
|
991
|
+
network_code: networkCode,
|
|
992
|
+
browser_language: browserLanguage,
|
|
993
|
+
});
|
|
994
|
+
}
|
|
995
|
+
/**
|
|
996
|
+
* Parse the network_code from BrowserLanguage resource.
|
|
997
|
+
*
|
|
998
|
+
* @param {string} browserLanguageName
|
|
999
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
1000
|
+
* @returns {string} A string representing the network_code.
|
|
1001
|
+
*/
|
|
1002
|
+
matchNetworkCodeFromBrowserLanguageName(browserLanguageName) {
|
|
1003
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).network_code;
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* Parse the browser_language from BrowserLanguage resource.
|
|
1007
|
+
*
|
|
1008
|
+
* @param {string} browserLanguageName
|
|
1009
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
1010
|
+
* @returns {string} A string representing the browser_language.
|
|
1011
|
+
*/
|
|
1012
|
+
matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
|
|
1013
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
|
|
1014
|
+
}
|
|
1015
|
+
/**
|
|
1016
|
+
* Return a fully-qualified cmsMetadataKey resource name string.
|
|
1017
|
+
*
|
|
1018
|
+
* @param {string} network_code
|
|
1019
|
+
* @param {string} cms_metadata_key
|
|
1020
|
+
* @returns {string} Resource name string.
|
|
1021
|
+
*/
|
|
1022
|
+
cmsMetadataKeyPath(networkCode, cmsMetadataKey) {
|
|
1023
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.render({
|
|
1024
|
+
network_code: networkCode,
|
|
1025
|
+
cms_metadata_key: cmsMetadataKey,
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* Parse the network_code from CmsMetadataKey resource.
|
|
1030
|
+
*
|
|
1031
|
+
* @param {string} cmsMetadataKeyName
|
|
1032
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
1033
|
+
* @returns {string} A string representing the network_code.
|
|
1034
|
+
*/
|
|
1035
|
+
matchNetworkCodeFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
1036
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).network_code;
|
|
1037
|
+
}
|
|
1038
|
+
/**
|
|
1039
|
+
* Parse the cms_metadata_key from CmsMetadataKey resource.
|
|
1040
|
+
*
|
|
1041
|
+
* @param {string} cmsMetadataKeyName
|
|
1042
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
1043
|
+
* @returns {string} A string representing the cms_metadata_key.
|
|
1044
|
+
*/
|
|
1045
|
+
matchCmsMetadataKeyFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
1046
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).cms_metadata_key;
|
|
1047
|
+
}
|
|
1048
|
+
/**
|
|
1049
|
+
* Return a fully-qualified cmsMetadataValue resource name string.
|
|
1050
|
+
*
|
|
1051
|
+
* @param {string} network_code
|
|
1052
|
+
* @param {string} cms_metadata_value
|
|
1053
|
+
* @returns {string} Resource name string.
|
|
1054
|
+
*/
|
|
1055
|
+
cmsMetadataValuePath(networkCode, cmsMetadataValue) {
|
|
1056
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.render({
|
|
1057
|
+
network_code: networkCode,
|
|
1058
|
+
cms_metadata_value: cmsMetadataValue,
|
|
1059
|
+
});
|
|
1060
|
+
}
|
|
1061
|
+
/**
|
|
1062
|
+
* Parse the network_code from CmsMetadataValue resource.
|
|
1063
|
+
*
|
|
1064
|
+
* @param {string} cmsMetadataValueName
|
|
1065
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
1066
|
+
* @returns {string} A string representing the network_code.
|
|
1067
|
+
*/
|
|
1068
|
+
matchNetworkCodeFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
1069
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).network_code;
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* Parse the cms_metadata_value from CmsMetadataValue resource.
|
|
1073
|
+
*
|
|
1074
|
+
* @param {string} cmsMetadataValueName
|
|
1075
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
1076
|
+
* @returns {string} A string representing the cms_metadata_value.
|
|
1077
|
+
*/
|
|
1078
|
+
matchCmsMetadataValueFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
1079
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).cms_metadata_value;
|
|
1080
|
+
}
|
|
604
1081
|
/**
|
|
605
1082
|
* Return a fully-qualified company resource name string.
|
|
606
1083
|
*
|
|
@@ -667,6 +1144,138 @@ class CustomFieldServiceClient {
|
|
|
667
1144
|
matchContactFromContactName(contactName) {
|
|
668
1145
|
return this.pathTemplates.contactPathTemplate.match(contactName).contact;
|
|
669
1146
|
}
|
|
1147
|
+
/**
|
|
1148
|
+
* Return a fully-qualified content resource name string.
|
|
1149
|
+
*
|
|
1150
|
+
* @param {string} network_code
|
|
1151
|
+
* @param {string} content
|
|
1152
|
+
* @returns {string} Resource name string.
|
|
1153
|
+
*/
|
|
1154
|
+
contentPath(networkCode, content) {
|
|
1155
|
+
return this.pathTemplates.contentPathTemplate.render({
|
|
1156
|
+
network_code: networkCode,
|
|
1157
|
+
content: content,
|
|
1158
|
+
});
|
|
1159
|
+
}
|
|
1160
|
+
/**
|
|
1161
|
+
* Parse the network_code from Content resource.
|
|
1162
|
+
*
|
|
1163
|
+
* @param {string} contentName
|
|
1164
|
+
* A fully-qualified path representing Content resource.
|
|
1165
|
+
* @returns {string} A string representing the network_code.
|
|
1166
|
+
*/
|
|
1167
|
+
matchNetworkCodeFromContentName(contentName) {
|
|
1168
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).network_code;
|
|
1169
|
+
}
|
|
1170
|
+
/**
|
|
1171
|
+
* Parse the content from Content resource.
|
|
1172
|
+
*
|
|
1173
|
+
* @param {string} contentName
|
|
1174
|
+
* A fully-qualified path representing Content resource.
|
|
1175
|
+
* @returns {string} A string representing the content.
|
|
1176
|
+
*/
|
|
1177
|
+
matchContentFromContentName(contentName) {
|
|
1178
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).content;
|
|
1179
|
+
}
|
|
1180
|
+
/**
|
|
1181
|
+
* Return a fully-qualified contentBundle resource name string.
|
|
1182
|
+
*
|
|
1183
|
+
* @param {string} network_code
|
|
1184
|
+
* @param {string} content_bundle
|
|
1185
|
+
* @returns {string} Resource name string.
|
|
1186
|
+
*/
|
|
1187
|
+
contentBundlePath(networkCode, contentBundle) {
|
|
1188
|
+
return this.pathTemplates.contentBundlePathTemplate.render({
|
|
1189
|
+
network_code: networkCode,
|
|
1190
|
+
content_bundle: contentBundle,
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
/**
|
|
1194
|
+
* Parse the network_code from ContentBundle resource.
|
|
1195
|
+
*
|
|
1196
|
+
* @param {string} contentBundleName
|
|
1197
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
1198
|
+
* @returns {string} A string representing the network_code.
|
|
1199
|
+
*/
|
|
1200
|
+
matchNetworkCodeFromContentBundleName(contentBundleName) {
|
|
1201
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).network_code;
|
|
1202
|
+
}
|
|
1203
|
+
/**
|
|
1204
|
+
* Parse the content_bundle from ContentBundle resource.
|
|
1205
|
+
*
|
|
1206
|
+
* @param {string} contentBundleName
|
|
1207
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
1208
|
+
* @returns {string} A string representing the content_bundle.
|
|
1209
|
+
*/
|
|
1210
|
+
matchContentBundleFromContentBundleName(contentBundleName) {
|
|
1211
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).content_bundle;
|
|
1212
|
+
}
|
|
1213
|
+
/**
|
|
1214
|
+
* Return a fully-qualified contentLabel resource name string.
|
|
1215
|
+
*
|
|
1216
|
+
* @param {string} network_code
|
|
1217
|
+
* @param {string} content_label
|
|
1218
|
+
* @returns {string} Resource name string.
|
|
1219
|
+
*/
|
|
1220
|
+
contentLabelPath(networkCode, contentLabel) {
|
|
1221
|
+
return this.pathTemplates.contentLabelPathTemplate.render({
|
|
1222
|
+
network_code: networkCode,
|
|
1223
|
+
content_label: contentLabel,
|
|
1224
|
+
});
|
|
1225
|
+
}
|
|
1226
|
+
/**
|
|
1227
|
+
* Parse the network_code from ContentLabel resource.
|
|
1228
|
+
*
|
|
1229
|
+
* @param {string} contentLabelName
|
|
1230
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
1231
|
+
* @returns {string} A string representing the network_code.
|
|
1232
|
+
*/
|
|
1233
|
+
matchNetworkCodeFromContentLabelName(contentLabelName) {
|
|
1234
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).network_code;
|
|
1235
|
+
}
|
|
1236
|
+
/**
|
|
1237
|
+
* Parse the content_label from ContentLabel resource.
|
|
1238
|
+
*
|
|
1239
|
+
* @param {string} contentLabelName
|
|
1240
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
1241
|
+
* @returns {string} A string representing the content_label.
|
|
1242
|
+
*/
|
|
1243
|
+
matchContentLabelFromContentLabelName(contentLabelName) {
|
|
1244
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).content_label;
|
|
1245
|
+
}
|
|
1246
|
+
/**
|
|
1247
|
+
* Return a fully-qualified creativeTemplate resource name string.
|
|
1248
|
+
*
|
|
1249
|
+
* @param {string} network_code
|
|
1250
|
+
* @param {string} creative_template
|
|
1251
|
+
* @returns {string} Resource name string.
|
|
1252
|
+
*/
|
|
1253
|
+
creativeTemplatePath(networkCode, creativeTemplate) {
|
|
1254
|
+
return this.pathTemplates.creativeTemplatePathTemplate.render({
|
|
1255
|
+
network_code: networkCode,
|
|
1256
|
+
creative_template: creativeTemplate,
|
|
1257
|
+
});
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* Parse the network_code from CreativeTemplate resource.
|
|
1261
|
+
*
|
|
1262
|
+
* @param {string} creativeTemplateName
|
|
1263
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
1264
|
+
* @returns {string} A string representing the network_code.
|
|
1265
|
+
*/
|
|
1266
|
+
matchNetworkCodeFromCreativeTemplateName(creativeTemplateName) {
|
|
1267
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).network_code;
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* Parse the creative_template from CreativeTemplate resource.
|
|
1271
|
+
*
|
|
1272
|
+
* @param {string} creativeTemplateName
|
|
1273
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
1274
|
+
* @returns {string} A string representing the creative_template.
|
|
1275
|
+
*/
|
|
1276
|
+
matchCreativeTemplateFromCreativeTemplateName(creativeTemplateName) {
|
|
1277
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).creative_template;
|
|
1278
|
+
}
|
|
670
1279
|
/**
|
|
671
1280
|
* Return a fully-qualified customField resource name string.
|
|
672
1281
|
*
|
|
@@ -766,6 +1375,39 @@ class CustomFieldServiceClient {
|
|
|
766
1375
|
matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName) {
|
|
767
1376
|
return this.pathTemplates.customTargetingValuePathTemplate.match(customTargetingValueName).custom_targeting_value;
|
|
768
1377
|
}
|
|
1378
|
+
/**
|
|
1379
|
+
* Return a fully-qualified deviceCapability resource name string.
|
|
1380
|
+
*
|
|
1381
|
+
* @param {string} network_code
|
|
1382
|
+
* @param {string} device_capability
|
|
1383
|
+
* @returns {string} Resource name string.
|
|
1384
|
+
*/
|
|
1385
|
+
deviceCapabilityPath(networkCode, deviceCapability) {
|
|
1386
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.render({
|
|
1387
|
+
network_code: networkCode,
|
|
1388
|
+
device_capability: deviceCapability,
|
|
1389
|
+
});
|
|
1390
|
+
}
|
|
1391
|
+
/**
|
|
1392
|
+
* Parse the network_code from DeviceCapability resource.
|
|
1393
|
+
*
|
|
1394
|
+
* @param {string} deviceCapabilityName
|
|
1395
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1396
|
+
* @returns {string} A string representing the network_code.
|
|
1397
|
+
*/
|
|
1398
|
+
matchNetworkCodeFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1399
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).network_code;
|
|
1400
|
+
}
|
|
1401
|
+
/**
|
|
1402
|
+
* Parse the device_capability from DeviceCapability resource.
|
|
1403
|
+
*
|
|
1404
|
+
* @param {string} deviceCapabilityName
|
|
1405
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1406
|
+
* @returns {string} A string representing the device_capability.
|
|
1407
|
+
*/
|
|
1408
|
+
matchDeviceCapabilityFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1409
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).device_capability;
|
|
1410
|
+
}
|
|
769
1411
|
/**
|
|
770
1412
|
* Return a fully-qualified deviceCategory resource name string.
|
|
771
1413
|
*
|
|
@@ -799,6 +1441,39 @@ class CustomFieldServiceClient {
|
|
|
799
1441
|
matchDeviceCategoryFromDeviceCategoryName(deviceCategoryName) {
|
|
800
1442
|
return this.pathTemplates.deviceCategoryPathTemplate.match(deviceCategoryName).device_category;
|
|
801
1443
|
}
|
|
1444
|
+
/**
|
|
1445
|
+
* Return a fully-qualified deviceManufacturer resource name string.
|
|
1446
|
+
*
|
|
1447
|
+
* @param {string} network_code
|
|
1448
|
+
* @param {string} device_manufacturer
|
|
1449
|
+
* @returns {string} Resource name string.
|
|
1450
|
+
*/
|
|
1451
|
+
deviceManufacturerPath(networkCode, deviceManufacturer) {
|
|
1452
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.render({
|
|
1453
|
+
network_code: networkCode,
|
|
1454
|
+
device_manufacturer: deviceManufacturer,
|
|
1455
|
+
});
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* Parse the network_code from DeviceManufacturer resource.
|
|
1459
|
+
*
|
|
1460
|
+
* @param {string} deviceManufacturerName
|
|
1461
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1462
|
+
* @returns {string} A string representing the network_code.
|
|
1463
|
+
*/
|
|
1464
|
+
matchNetworkCodeFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1465
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).network_code;
|
|
1466
|
+
}
|
|
1467
|
+
/**
|
|
1468
|
+
* Parse the device_manufacturer from DeviceManufacturer resource.
|
|
1469
|
+
*
|
|
1470
|
+
* @param {string} deviceManufacturerName
|
|
1471
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1472
|
+
* @returns {string} A string representing the device_manufacturer.
|
|
1473
|
+
*/
|
|
1474
|
+
matchDeviceManufacturerFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1475
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).device_manufacturer;
|
|
1476
|
+
}
|
|
802
1477
|
/**
|
|
803
1478
|
* Return a fully-qualified entitySignalsMapping resource name string.
|
|
804
1479
|
*
|
|
@@ -931,6 +1606,105 @@ class CustomFieldServiceClient {
|
|
|
931
1606
|
matchLiveStreamEventFromLiveStreamEventName(liveStreamEventName) {
|
|
932
1607
|
return this.pathTemplates.liveStreamEventPathTemplate.match(liveStreamEventName).live_stream_event;
|
|
933
1608
|
}
|
|
1609
|
+
/**
|
|
1610
|
+
* Return a fully-qualified mobileCarrier resource name string.
|
|
1611
|
+
*
|
|
1612
|
+
* @param {string} network_code
|
|
1613
|
+
* @param {string} mobile_carrier
|
|
1614
|
+
* @returns {string} Resource name string.
|
|
1615
|
+
*/
|
|
1616
|
+
mobileCarrierPath(networkCode, mobileCarrier) {
|
|
1617
|
+
return this.pathTemplates.mobileCarrierPathTemplate.render({
|
|
1618
|
+
network_code: networkCode,
|
|
1619
|
+
mobile_carrier: mobileCarrier,
|
|
1620
|
+
});
|
|
1621
|
+
}
|
|
1622
|
+
/**
|
|
1623
|
+
* Parse the network_code from MobileCarrier resource.
|
|
1624
|
+
*
|
|
1625
|
+
* @param {string} mobileCarrierName
|
|
1626
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1627
|
+
* @returns {string} A string representing the network_code.
|
|
1628
|
+
*/
|
|
1629
|
+
matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
|
|
1630
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).network_code;
|
|
1631
|
+
}
|
|
1632
|
+
/**
|
|
1633
|
+
* Parse the mobile_carrier from MobileCarrier resource.
|
|
1634
|
+
*
|
|
1635
|
+
* @param {string} mobileCarrierName
|
|
1636
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1637
|
+
* @returns {string} A string representing the mobile_carrier.
|
|
1638
|
+
*/
|
|
1639
|
+
matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
|
|
1640
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).mobile_carrier;
|
|
1641
|
+
}
|
|
1642
|
+
/**
|
|
1643
|
+
* Return a fully-qualified mobileDevice resource name string.
|
|
1644
|
+
*
|
|
1645
|
+
* @param {string} network_code
|
|
1646
|
+
* @param {string} mobile_device
|
|
1647
|
+
* @returns {string} Resource name string.
|
|
1648
|
+
*/
|
|
1649
|
+
mobileDevicePath(networkCode, mobileDevice) {
|
|
1650
|
+
return this.pathTemplates.mobileDevicePathTemplate.render({
|
|
1651
|
+
network_code: networkCode,
|
|
1652
|
+
mobile_device: mobileDevice,
|
|
1653
|
+
});
|
|
1654
|
+
}
|
|
1655
|
+
/**
|
|
1656
|
+
* Parse the network_code from MobileDevice resource.
|
|
1657
|
+
*
|
|
1658
|
+
* @param {string} mobileDeviceName
|
|
1659
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1660
|
+
* @returns {string} A string representing the network_code.
|
|
1661
|
+
*/
|
|
1662
|
+
matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
|
|
1663
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).network_code;
|
|
1664
|
+
}
|
|
1665
|
+
/**
|
|
1666
|
+
* Parse the mobile_device from MobileDevice resource.
|
|
1667
|
+
*
|
|
1668
|
+
* @param {string} mobileDeviceName
|
|
1669
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1670
|
+
* @returns {string} A string representing the mobile_device.
|
|
1671
|
+
*/
|
|
1672
|
+
matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
|
|
1673
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).mobile_device;
|
|
1674
|
+
}
|
|
1675
|
+
/**
|
|
1676
|
+
* Return a fully-qualified mobileDeviceSubmodel resource name string.
|
|
1677
|
+
*
|
|
1678
|
+
* @param {string} network_code
|
|
1679
|
+
* @param {string} mobile_device_submodel
|
|
1680
|
+
* @returns {string} Resource name string.
|
|
1681
|
+
*/
|
|
1682
|
+
mobileDeviceSubmodelPath(networkCode, mobileDeviceSubmodel) {
|
|
1683
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.render({
|
|
1684
|
+
network_code: networkCode,
|
|
1685
|
+
mobile_device_submodel: mobileDeviceSubmodel,
|
|
1686
|
+
});
|
|
1687
|
+
}
|
|
1688
|
+
/**
|
|
1689
|
+
* Parse the network_code from MobileDeviceSubmodel resource.
|
|
1690
|
+
*
|
|
1691
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1692
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1693
|
+
* @returns {string} A string representing the network_code.
|
|
1694
|
+
*/
|
|
1695
|
+
matchNetworkCodeFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1696
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).network_code;
|
|
1697
|
+
}
|
|
1698
|
+
/**
|
|
1699
|
+
* Parse the mobile_device_submodel from MobileDeviceSubmodel resource.
|
|
1700
|
+
*
|
|
1701
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1702
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1703
|
+
* @returns {string} A string representing the mobile_device_submodel.
|
|
1704
|
+
*/
|
|
1705
|
+
matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1706
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).mobile_device_submodel;
|
|
1707
|
+
}
|
|
934
1708
|
/**
|
|
935
1709
|
* Return a fully-qualified network resource name string.
|
|
936
1710
|
*
|
|
@@ -1249,6 +2023,39 @@ class CustomFieldServiceClient {
|
|
|
1249
2023
|
matchRoleFromRoleName(roleName) {
|
|
1250
2024
|
return this.pathTemplates.rolePathTemplate.match(roleName).role;
|
|
1251
2025
|
}
|
|
2026
|
+
/**
|
|
2027
|
+
* Return a fully-qualified site resource name string.
|
|
2028
|
+
*
|
|
2029
|
+
* @param {string} network_code
|
|
2030
|
+
* @param {string} site
|
|
2031
|
+
* @returns {string} Resource name string.
|
|
2032
|
+
*/
|
|
2033
|
+
sitePath(networkCode, site) {
|
|
2034
|
+
return this.pathTemplates.sitePathTemplate.render({
|
|
2035
|
+
network_code: networkCode,
|
|
2036
|
+
site: site,
|
|
2037
|
+
});
|
|
2038
|
+
}
|
|
2039
|
+
/**
|
|
2040
|
+
* Parse the network_code from Site resource.
|
|
2041
|
+
*
|
|
2042
|
+
* @param {string} siteName
|
|
2043
|
+
* A fully-qualified path representing Site resource.
|
|
2044
|
+
* @returns {string} A string representing the network_code.
|
|
2045
|
+
*/
|
|
2046
|
+
matchNetworkCodeFromSiteName(siteName) {
|
|
2047
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).network_code;
|
|
2048
|
+
}
|
|
2049
|
+
/**
|
|
2050
|
+
* Parse the site from Site resource.
|
|
2051
|
+
*
|
|
2052
|
+
* @param {string} siteName
|
|
2053
|
+
* A fully-qualified path representing Site resource.
|
|
2054
|
+
* @returns {string} A string representing the site.
|
|
2055
|
+
*/
|
|
2056
|
+
matchSiteFromSiteName(siteName) {
|
|
2057
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).site;
|
|
2058
|
+
}
|
|
1252
2059
|
/**
|
|
1253
2060
|
* Return a fully-qualified taxonomyCategory resource name string.
|
|
1254
2061
|
*
|
|
@@ -1348,6 +2155,39 @@ class CustomFieldServiceClient {
|
|
|
1348
2155
|
matchUserFromUserName(userName) {
|
|
1349
2156
|
return this.pathTemplates.userPathTemplate.match(userName).user;
|
|
1350
2157
|
}
|
|
2158
|
+
/**
|
|
2159
|
+
* Return a fully-qualified webProperty resource name string.
|
|
2160
|
+
*
|
|
2161
|
+
* @param {string} network_code
|
|
2162
|
+
* @param {string} web_property
|
|
2163
|
+
* @returns {string} Resource name string.
|
|
2164
|
+
*/
|
|
2165
|
+
webPropertyPath(networkCode, webProperty) {
|
|
2166
|
+
return this.pathTemplates.webPropertyPathTemplate.render({
|
|
2167
|
+
network_code: networkCode,
|
|
2168
|
+
web_property: webProperty,
|
|
2169
|
+
});
|
|
2170
|
+
}
|
|
2171
|
+
/**
|
|
2172
|
+
* Parse the network_code from WebProperty resource.
|
|
2173
|
+
*
|
|
2174
|
+
* @param {string} webPropertyName
|
|
2175
|
+
* A fully-qualified path representing WebProperty resource.
|
|
2176
|
+
* @returns {string} A string representing the network_code.
|
|
2177
|
+
*/
|
|
2178
|
+
matchNetworkCodeFromWebPropertyName(webPropertyName) {
|
|
2179
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).network_code;
|
|
2180
|
+
}
|
|
2181
|
+
/**
|
|
2182
|
+
* Parse the web_property from WebProperty resource.
|
|
2183
|
+
*
|
|
2184
|
+
* @param {string} webPropertyName
|
|
2185
|
+
* A fully-qualified path representing WebProperty resource.
|
|
2186
|
+
* @returns {string} A string representing the web_property.
|
|
2187
|
+
*/
|
|
2188
|
+
matchWebPropertyFromWebPropertyName(webPropertyName) {
|
|
2189
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).web_property;
|
|
2190
|
+
}
|
|
1351
2191
|
/**
|
|
1352
2192
|
* Terminate the gRPC channel and close the client.
|
|
1353
2193
|
*
|