@googleapis/merchantapi 6.0.1 → 9.0.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/CHANGELOG.md +43 -0
- package/README.md +9 -0
- package/accounts_v1beta.ts +6894 -534
- package/build/accounts_v1beta.d.ts +4933 -137
- package/build/accounts_v1beta.js +679 -26
- package/build/accounts_v1beta.js.map +1 -1
- package/build/conversions_v1beta.d.ts +336 -1
- package/build/conversions_v1beta.js.map +1 -1
- package/build/datasources_v1beta.d.ts +412 -6
- package/build/datasources_v1beta.js.map +1 -1
- package/build/inventories_v1beta.d.ts +336 -2
- package/build/inventories_v1beta.js.map +1 -1
- package/build/issueresolution_v1beta.d.ts +367 -1
- package/build/issueresolution_v1beta.js +48 -0
- package/build/issueresolution_v1beta.js.map +1 -1
- package/build/lfp_v1beta.d.ts +436 -3
- package/build/lfp_v1beta.js.map +1 -1
- package/build/notifications_v1beta.d.ts +272 -1
- package/build/notifications_v1beta.js.map +1 -1
- package/build/ordertracking_v1beta.d.ts +75 -1
- package/build/ordertracking_v1beta.js.map +1 -1
- package/build/products_v1beta.d.ts +352 -45
- package/build/products_v1beta.js.map +1 -1
- package/build/promotions_v1beta.d.ts +171 -4
- package/build/promotions_v1beta.js.map +1 -1
- package/build/quota_v1beta.d.ts +52 -1
- package/build/quota_v1beta.js.map +1 -1
- package/build/reports_v1beta.d.ts +58 -1
- package/build/reports_v1beta.js.map +1 -1
- package/build/reviews_v1beta.d.ts +434 -2
- package/build/reviews_v1beta.js.map +1 -1
- package/conversions_v1beta.ts +336 -1
- package/datasources_v1beta.ts +412 -6
- package/inventories_v1beta.ts +336 -2
- package/issueresolution_v1beta.ts +465 -1
- package/lfp_v1beta.ts +436 -3
- package/notifications_v1beta.ts +272 -1
- package/ordertracking_v1beta.ts +75 -1
- package/package.json +1 -1
- package/products_v1beta.ts +352 -45
- package/promotions_v1beta.ts +171 -4
- package/quota_v1beta.ts +52 -1
- package/reports_v1beta.ts +58 -1
- package/reviews_v1beta.ts +434 -2
|
@@ -359,17 +359,25 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
359
359
|
*/
|
|
360
360
|
cons?: string[] | null;
|
|
361
361
|
/**
|
|
362
|
-
*
|
|
362
|
+
* Optional. The content of the review. If empty, the content might still get populated from pros and cons.
|
|
363
363
|
*/
|
|
364
364
|
content?: string | null;
|
|
365
365
|
/**
|
|
366
366
|
* Optional. Contains GTINs (global trade item numbers) associated with a product. Sub-types of GTINs (e.g. UPC, EAN, ISBN, JAN) are supported.
|
|
367
367
|
*/
|
|
368
368
|
gtins?: string[] | null;
|
|
369
|
+
/**
|
|
370
|
+
* Optional. Indicates whether the review is incentivized.
|
|
371
|
+
*/
|
|
372
|
+
isIncentivizedReview?: boolean | null;
|
|
369
373
|
/**
|
|
370
374
|
* Optional. Indicates whether the review is marked as spam in the publisher's system.
|
|
371
375
|
*/
|
|
372
376
|
isSpam?: boolean | null;
|
|
377
|
+
/**
|
|
378
|
+
* Optional. Indicates whether the reviewer's purchase is verified.
|
|
379
|
+
*/
|
|
380
|
+
isVerifiedPurchase?: boolean | null;
|
|
373
381
|
/**
|
|
374
382
|
* Optional. The maximum possible number for the rating. The value of the max rating must be greater than the value of the min attribute.
|
|
375
383
|
*/
|
|
@@ -543,7 +551,7 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
543
551
|
*/
|
|
544
552
|
eventTime?: string | null;
|
|
545
553
|
/**
|
|
546
|
-
* Optional. The product expiration time. This field will not
|
|
554
|
+
* Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.
|
|
547
555
|
*/
|
|
548
556
|
expirationTime?: string | null;
|
|
549
557
|
/**
|
|
@@ -587,6 +595,50 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
587
595
|
constructor(context: APIRequestContext);
|
|
588
596
|
/**
|
|
589
597
|
* Deletes merchant review.
|
|
598
|
+
* @example
|
|
599
|
+
* ```js
|
|
600
|
+
* // Before running the sample:
|
|
601
|
+
* // - Enable the API at:
|
|
602
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
603
|
+
* // - Login into gcloud by running:
|
|
604
|
+
* // ```sh
|
|
605
|
+
* // $ gcloud auth application-default login
|
|
606
|
+
* // ```
|
|
607
|
+
* // - Install the npm module by running:
|
|
608
|
+
* // ```sh
|
|
609
|
+
* // $ npm install googleapis
|
|
610
|
+
* // ```
|
|
611
|
+
*
|
|
612
|
+
* const {google} = require('googleapis');
|
|
613
|
+
* const merchantapi = google.merchantapi('reviews_v1beta');
|
|
614
|
+
*
|
|
615
|
+
* async function main() {
|
|
616
|
+
* const auth = new google.auth.GoogleAuth({
|
|
617
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
618
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
619
|
+
* });
|
|
620
|
+
*
|
|
621
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
622
|
+
* const authClient = await auth.getClient();
|
|
623
|
+
* google.options({auth: authClient});
|
|
624
|
+
*
|
|
625
|
+
* // Do the magic
|
|
626
|
+
* const res = await merchantapi.accounts.merchantReviews.delete({
|
|
627
|
+
* // Required. The ID of the merchant review. Format: accounts/{account\}/merchantReviews/{merchantReview\}
|
|
628
|
+
* name: 'accounts/my-account/merchantReviews/my-merchantReview',
|
|
629
|
+
* });
|
|
630
|
+
* console.log(res.data);
|
|
631
|
+
*
|
|
632
|
+
* // Example response
|
|
633
|
+
* // {}
|
|
634
|
+
* }
|
|
635
|
+
*
|
|
636
|
+
* main().catch(e => {
|
|
637
|
+
* console.error(e);
|
|
638
|
+
* throw e;
|
|
639
|
+
* });
|
|
640
|
+
*
|
|
641
|
+
* ```
|
|
590
642
|
*
|
|
591
643
|
* @param params - Parameters for request
|
|
592
644
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -601,6 +653,57 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
601
653
|
delete(callback: BodyResponseCallback<Schema$Empty>): void;
|
|
602
654
|
/**
|
|
603
655
|
* Gets a merchant review.
|
|
656
|
+
* @example
|
|
657
|
+
* ```js
|
|
658
|
+
* // Before running the sample:
|
|
659
|
+
* // - Enable the API at:
|
|
660
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
661
|
+
* // - Login into gcloud by running:
|
|
662
|
+
* // ```sh
|
|
663
|
+
* // $ gcloud auth application-default login
|
|
664
|
+
* // ```
|
|
665
|
+
* // - Install the npm module by running:
|
|
666
|
+
* // ```sh
|
|
667
|
+
* // $ npm install googleapis
|
|
668
|
+
* // ```
|
|
669
|
+
*
|
|
670
|
+
* const {google} = require('googleapis');
|
|
671
|
+
* const merchantapi = google.merchantapi('reviews_v1beta');
|
|
672
|
+
*
|
|
673
|
+
* async function main() {
|
|
674
|
+
* const auth = new google.auth.GoogleAuth({
|
|
675
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
676
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
677
|
+
* });
|
|
678
|
+
*
|
|
679
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
680
|
+
* const authClient = await auth.getClient();
|
|
681
|
+
* google.options({auth: authClient});
|
|
682
|
+
*
|
|
683
|
+
* // Do the magic
|
|
684
|
+
* const res = await merchantapi.accounts.merchantReviews.get({
|
|
685
|
+
* // Required. The ID of the merchant review. Format: accounts/{account\}/merchantReviews/{merchantReview\}
|
|
686
|
+
* name: 'accounts/my-account/merchantReviews/my-merchantReview',
|
|
687
|
+
* });
|
|
688
|
+
* console.log(res.data);
|
|
689
|
+
*
|
|
690
|
+
* // Example response
|
|
691
|
+
* // {
|
|
692
|
+
* // "attributes": {},
|
|
693
|
+
* // "customAttributes": [],
|
|
694
|
+
* // "dataSource": "my_dataSource",
|
|
695
|
+
* // "merchantReviewId": "my_merchantReviewId",
|
|
696
|
+
* // "merchantReviewStatus": {},
|
|
697
|
+
* // "name": "my_name"
|
|
698
|
+
* // }
|
|
699
|
+
* }
|
|
700
|
+
*
|
|
701
|
+
* main().catch(e => {
|
|
702
|
+
* console.error(e);
|
|
703
|
+
* throw e;
|
|
704
|
+
* });
|
|
705
|
+
*
|
|
706
|
+
* ```
|
|
604
707
|
*
|
|
605
708
|
* @param params - Parameters for request
|
|
606
709
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -615,6 +718,72 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
615
718
|
get(callback: BodyResponseCallback<Schema$MerchantReview>): void;
|
|
616
719
|
/**
|
|
617
720
|
* Inserts a review for your Merchant Center account. If the review already exists, then the review is replaced with the new instance.
|
|
721
|
+
* @example
|
|
722
|
+
* ```js
|
|
723
|
+
* // Before running the sample:
|
|
724
|
+
* // - Enable the API at:
|
|
725
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
726
|
+
* // - Login into gcloud by running:
|
|
727
|
+
* // ```sh
|
|
728
|
+
* // $ gcloud auth application-default login
|
|
729
|
+
* // ```
|
|
730
|
+
* // - Install the npm module by running:
|
|
731
|
+
* // ```sh
|
|
732
|
+
* // $ npm install googleapis
|
|
733
|
+
* // ```
|
|
734
|
+
*
|
|
735
|
+
* const {google} = require('googleapis');
|
|
736
|
+
* const merchantapi = google.merchantapi('reviews_v1beta');
|
|
737
|
+
*
|
|
738
|
+
* async function main() {
|
|
739
|
+
* const auth = new google.auth.GoogleAuth({
|
|
740
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
741
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
742
|
+
* });
|
|
743
|
+
*
|
|
744
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
745
|
+
* const authClient = await auth.getClient();
|
|
746
|
+
* google.options({auth: authClient});
|
|
747
|
+
*
|
|
748
|
+
* // Do the magic
|
|
749
|
+
* const res = await merchantapi.accounts.merchantReviews.insert({
|
|
750
|
+
* // Required. The data source of the [merchantreview](https://support.google.com/merchants/answer/7045996?sjid=5253581244217581976-EU) Format: `accounts/{account\}/dataSources/{datasource\}`.
|
|
751
|
+
* dataSource: 'placeholder-value',
|
|
752
|
+
* // Required. The account where the merchant review will be inserted. Format: accounts/{account\}
|
|
753
|
+
* parent: 'accounts/my-account',
|
|
754
|
+
*
|
|
755
|
+
* // Request body metadata
|
|
756
|
+
* requestBody: {
|
|
757
|
+
* // request body parameters
|
|
758
|
+
* // {
|
|
759
|
+
* // "attributes": {},
|
|
760
|
+
* // "customAttributes": [],
|
|
761
|
+
* // "dataSource": "my_dataSource",
|
|
762
|
+
* // "merchantReviewId": "my_merchantReviewId",
|
|
763
|
+
* // "merchantReviewStatus": {},
|
|
764
|
+
* // "name": "my_name"
|
|
765
|
+
* // }
|
|
766
|
+
* },
|
|
767
|
+
* });
|
|
768
|
+
* console.log(res.data);
|
|
769
|
+
*
|
|
770
|
+
* // Example response
|
|
771
|
+
* // {
|
|
772
|
+
* // "attributes": {},
|
|
773
|
+
* // "customAttributes": [],
|
|
774
|
+
* // "dataSource": "my_dataSource",
|
|
775
|
+
* // "merchantReviewId": "my_merchantReviewId",
|
|
776
|
+
* // "merchantReviewStatus": {},
|
|
777
|
+
* // "name": "my_name"
|
|
778
|
+
* // }
|
|
779
|
+
* }
|
|
780
|
+
*
|
|
781
|
+
* main().catch(e => {
|
|
782
|
+
* console.error(e);
|
|
783
|
+
* throw e;
|
|
784
|
+
* });
|
|
785
|
+
*
|
|
786
|
+
* ```
|
|
618
787
|
*
|
|
619
788
|
* @param params - Parameters for request
|
|
620
789
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -629,6 +798,57 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
629
798
|
insert(callback: BodyResponseCallback<Schema$MerchantReview>): void;
|
|
630
799
|
/**
|
|
631
800
|
* Lists merchant reviews.
|
|
801
|
+
* @example
|
|
802
|
+
* ```js
|
|
803
|
+
* // Before running the sample:
|
|
804
|
+
* // - Enable the API at:
|
|
805
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
806
|
+
* // - Login into gcloud by running:
|
|
807
|
+
* // ```sh
|
|
808
|
+
* // $ gcloud auth application-default login
|
|
809
|
+
* // ```
|
|
810
|
+
* // - Install the npm module by running:
|
|
811
|
+
* // ```sh
|
|
812
|
+
* // $ npm install googleapis
|
|
813
|
+
* // ```
|
|
814
|
+
*
|
|
815
|
+
* const {google} = require('googleapis');
|
|
816
|
+
* const merchantapi = google.merchantapi('reviews_v1beta');
|
|
817
|
+
*
|
|
818
|
+
* async function main() {
|
|
819
|
+
* const auth = new google.auth.GoogleAuth({
|
|
820
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
821
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
822
|
+
* });
|
|
823
|
+
*
|
|
824
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
825
|
+
* const authClient = await auth.getClient();
|
|
826
|
+
* google.options({auth: authClient});
|
|
827
|
+
*
|
|
828
|
+
* // Do the magic
|
|
829
|
+
* const res = await merchantapi.accounts.merchantReviews.list({
|
|
830
|
+
* // Optional. The maximum number of merchant reviews to return. The service can return fewer than this value. The maximum value is 1000; values above 1000 are coerced to 1000. If unspecified, the maximum number of reviews is returned.
|
|
831
|
+
* pageSize: 'placeholder-value',
|
|
832
|
+
* // Optional. A page token, received from a previous `ListMerchantReviews` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMerchantReviews` must match the call that provided the page token.
|
|
833
|
+
* pageToken: 'placeholder-value',
|
|
834
|
+
* // Required. The account to list merchant reviews for. Format: accounts/{account\}
|
|
835
|
+
* parent: 'accounts/my-account',
|
|
836
|
+
* });
|
|
837
|
+
* console.log(res.data);
|
|
838
|
+
*
|
|
839
|
+
* // Example response
|
|
840
|
+
* // {
|
|
841
|
+
* // "merchantReviews": [],
|
|
842
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
843
|
+
* // }
|
|
844
|
+
* }
|
|
845
|
+
*
|
|
846
|
+
* main().catch(e => {
|
|
847
|
+
* console.error(e);
|
|
848
|
+
* throw e;
|
|
849
|
+
* });
|
|
850
|
+
*
|
|
851
|
+
* ```
|
|
632
852
|
*
|
|
633
853
|
* @param params - Parameters for request
|
|
634
854
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -687,6 +907,50 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
687
907
|
constructor(context: APIRequestContext);
|
|
688
908
|
/**
|
|
689
909
|
* Deletes a product review.
|
|
910
|
+
* @example
|
|
911
|
+
* ```js
|
|
912
|
+
* // Before running the sample:
|
|
913
|
+
* // - Enable the API at:
|
|
914
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
915
|
+
* // - Login into gcloud by running:
|
|
916
|
+
* // ```sh
|
|
917
|
+
* // $ gcloud auth application-default login
|
|
918
|
+
* // ```
|
|
919
|
+
* // - Install the npm module by running:
|
|
920
|
+
* // ```sh
|
|
921
|
+
* // $ npm install googleapis
|
|
922
|
+
* // ```
|
|
923
|
+
*
|
|
924
|
+
* const {google} = require('googleapis');
|
|
925
|
+
* const merchantapi = google.merchantapi('reviews_v1beta');
|
|
926
|
+
*
|
|
927
|
+
* async function main() {
|
|
928
|
+
* const auth = new google.auth.GoogleAuth({
|
|
929
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
930
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
931
|
+
* });
|
|
932
|
+
*
|
|
933
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
934
|
+
* const authClient = await auth.getClient();
|
|
935
|
+
* google.options({auth: authClient});
|
|
936
|
+
*
|
|
937
|
+
* // Do the magic
|
|
938
|
+
* const res = await merchantapi.accounts.productReviews.delete({
|
|
939
|
+
* // Required. The ID of the Product review. Format: accounts/{account\}/productReviews/{productReview\}
|
|
940
|
+
* name: 'accounts/my-account/productReviews/my-productReview',
|
|
941
|
+
* });
|
|
942
|
+
* console.log(res.data);
|
|
943
|
+
*
|
|
944
|
+
* // Example response
|
|
945
|
+
* // {}
|
|
946
|
+
* }
|
|
947
|
+
*
|
|
948
|
+
* main().catch(e => {
|
|
949
|
+
* console.error(e);
|
|
950
|
+
* throw e;
|
|
951
|
+
* });
|
|
952
|
+
*
|
|
953
|
+
* ```
|
|
690
954
|
*
|
|
691
955
|
* @param params - Parameters for request
|
|
692
956
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -701,6 +965,57 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
701
965
|
delete(callback: BodyResponseCallback<Schema$Empty>): void;
|
|
702
966
|
/**
|
|
703
967
|
* Gets a product review.
|
|
968
|
+
* @example
|
|
969
|
+
* ```js
|
|
970
|
+
* // Before running the sample:
|
|
971
|
+
* // - Enable the API at:
|
|
972
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
973
|
+
* // - Login into gcloud by running:
|
|
974
|
+
* // ```sh
|
|
975
|
+
* // $ gcloud auth application-default login
|
|
976
|
+
* // ```
|
|
977
|
+
* // - Install the npm module by running:
|
|
978
|
+
* // ```sh
|
|
979
|
+
* // $ npm install googleapis
|
|
980
|
+
* // ```
|
|
981
|
+
*
|
|
982
|
+
* const {google} = require('googleapis');
|
|
983
|
+
* const merchantapi = google.merchantapi('reviews_v1beta');
|
|
984
|
+
*
|
|
985
|
+
* async function main() {
|
|
986
|
+
* const auth = new google.auth.GoogleAuth({
|
|
987
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
988
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
989
|
+
* });
|
|
990
|
+
*
|
|
991
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
992
|
+
* const authClient = await auth.getClient();
|
|
993
|
+
* google.options({auth: authClient});
|
|
994
|
+
*
|
|
995
|
+
* // Do the magic
|
|
996
|
+
* const res = await merchantapi.accounts.productReviews.get({
|
|
997
|
+
* // Required. The ID of the merchant review. Format: accounts/{account\}/productReviews/{productReview\}
|
|
998
|
+
* name: 'accounts/my-account/productReviews/my-productReview',
|
|
999
|
+
* });
|
|
1000
|
+
* console.log(res.data);
|
|
1001
|
+
*
|
|
1002
|
+
* // Example response
|
|
1003
|
+
* // {
|
|
1004
|
+
* // "attributes": {},
|
|
1005
|
+
* // "customAttributes": [],
|
|
1006
|
+
* // "dataSource": "my_dataSource",
|
|
1007
|
+
* // "name": "my_name",
|
|
1008
|
+
* // "productReviewId": "my_productReviewId",
|
|
1009
|
+
* // "productReviewStatus": {}
|
|
1010
|
+
* // }
|
|
1011
|
+
* }
|
|
1012
|
+
*
|
|
1013
|
+
* main().catch(e => {
|
|
1014
|
+
* console.error(e);
|
|
1015
|
+
* throw e;
|
|
1016
|
+
* });
|
|
1017
|
+
*
|
|
1018
|
+
* ```
|
|
704
1019
|
*
|
|
705
1020
|
* @param params - Parameters for request
|
|
706
1021
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -715,6 +1030,72 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
715
1030
|
get(callback: BodyResponseCallback<Schema$ProductReview>): void;
|
|
716
1031
|
/**
|
|
717
1032
|
* Inserts a product review.
|
|
1033
|
+
* @example
|
|
1034
|
+
* ```js
|
|
1035
|
+
* // Before running the sample:
|
|
1036
|
+
* // - Enable the API at:
|
|
1037
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
1038
|
+
* // - Login into gcloud by running:
|
|
1039
|
+
* // ```sh
|
|
1040
|
+
* // $ gcloud auth application-default login
|
|
1041
|
+
* // ```
|
|
1042
|
+
* // - Install the npm module by running:
|
|
1043
|
+
* // ```sh
|
|
1044
|
+
* // $ npm install googleapis
|
|
1045
|
+
* // ```
|
|
1046
|
+
*
|
|
1047
|
+
* const {google} = require('googleapis');
|
|
1048
|
+
* const merchantapi = google.merchantapi('reviews_v1beta');
|
|
1049
|
+
*
|
|
1050
|
+
* async function main() {
|
|
1051
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1052
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1053
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
1054
|
+
* });
|
|
1055
|
+
*
|
|
1056
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1057
|
+
* const authClient = await auth.getClient();
|
|
1058
|
+
* google.options({auth: authClient});
|
|
1059
|
+
*
|
|
1060
|
+
* // Do the magic
|
|
1061
|
+
* const res = await merchantapi.accounts.productReviews.insert({
|
|
1062
|
+
* // Required. Format: `accounts/{account\}/dataSources/{datasource\}`.
|
|
1063
|
+
* dataSource: 'placeholder-value',
|
|
1064
|
+
* // Required. The account where the product review will be inserted. Format: accounts/{account\}
|
|
1065
|
+
* parent: 'accounts/my-account',
|
|
1066
|
+
*
|
|
1067
|
+
* // Request body metadata
|
|
1068
|
+
* requestBody: {
|
|
1069
|
+
* // request body parameters
|
|
1070
|
+
* // {
|
|
1071
|
+
* // "attributes": {},
|
|
1072
|
+
* // "customAttributes": [],
|
|
1073
|
+
* // "dataSource": "my_dataSource",
|
|
1074
|
+
* // "name": "my_name",
|
|
1075
|
+
* // "productReviewId": "my_productReviewId",
|
|
1076
|
+
* // "productReviewStatus": {}
|
|
1077
|
+
* // }
|
|
1078
|
+
* },
|
|
1079
|
+
* });
|
|
1080
|
+
* console.log(res.data);
|
|
1081
|
+
*
|
|
1082
|
+
* // Example response
|
|
1083
|
+
* // {
|
|
1084
|
+
* // "attributes": {},
|
|
1085
|
+
* // "customAttributes": [],
|
|
1086
|
+
* // "dataSource": "my_dataSource",
|
|
1087
|
+
* // "name": "my_name",
|
|
1088
|
+
* // "productReviewId": "my_productReviewId",
|
|
1089
|
+
* // "productReviewStatus": {}
|
|
1090
|
+
* // }
|
|
1091
|
+
* }
|
|
1092
|
+
*
|
|
1093
|
+
* main().catch(e => {
|
|
1094
|
+
* console.error(e);
|
|
1095
|
+
* throw e;
|
|
1096
|
+
* });
|
|
1097
|
+
*
|
|
1098
|
+
* ```
|
|
718
1099
|
*
|
|
719
1100
|
* @param params - Parameters for request
|
|
720
1101
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -729,6 +1110,57 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
729
1110
|
insert(callback: BodyResponseCallback<Schema$ProductReview>): void;
|
|
730
1111
|
/**
|
|
731
1112
|
* Lists product reviews.
|
|
1113
|
+
* @example
|
|
1114
|
+
* ```js
|
|
1115
|
+
* // Before running the sample:
|
|
1116
|
+
* // - Enable the API at:
|
|
1117
|
+
* // https://console.developers.google.com/apis/api/merchantapi.googleapis.com
|
|
1118
|
+
* // - Login into gcloud by running:
|
|
1119
|
+
* // ```sh
|
|
1120
|
+
* // $ gcloud auth application-default login
|
|
1121
|
+
* // ```
|
|
1122
|
+
* // - Install the npm module by running:
|
|
1123
|
+
* // ```sh
|
|
1124
|
+
* // $ npm install googleapis
|
|
1125
|
+
* // ```
|
|
1126
|
+
*
|
|
1127
|
+
* const {google} = require('googleapis');
|
|
1128
|
+
* const merchantapi = google.merchantapi('reviews_v1beta');
|
|
1129
|
+
*
|
|
1130
|
+
* async function main() {
|
|
1131
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1132
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1133
|
+
* scopes: ['https://www.googleapis.com/auth/content'],
|
|
1134
|
+
* });
|
|
1135
|
+
*
|
|
1136
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1137
|
+
* const authClient = await auth.getClient();
|
|
1138
|
+
* google.options({auth: authClient});
|
|
1139
|
+
*
|
|
1140
|
+
* // Do the magic
|
|
1141
|
+
* const res = await merchantapi.accounts.productReviews.list({
|
|
1142
|
+
* // Optional. The maximum number of products to return. The service may return fewer than this value.
|
|
1143
|
+
* pageSize: 'placeholder-value',
|
|
1144
|
+
* // Optional. A page token, received from a previous `ListProductReviews` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProductReviews` must match the call that provided the page token.
|
|
1145
|
+
* pageToken: 'placeholder-value',
|
|
1146
|
+
* // Required. The account to list product reviews for. Format: accounts/{account\}
|
|
1147
|
+
* parent: 'accounts/my-account',
|
|
1148
|
+
* });
|
|
1149
|
+
* console.log(res.data);
|
|
1150
|
+
*
|
|
1151
|
+
* // Example response
|
|
1152
|
+
* // {
|
|
1153
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
1154
|
+
* // "productReviews": []
|
|
1155
|
+
* // }
|
|
1156
|
+
* }
|
|
1157
|
+
*
|
|
1158
|
+
* main().catch(e => {
|
|
1159
|
+
* console.error(e);
|
|
1160
|
+
* throw e;
|
|
1161
|
+
* });
|
|
1162
|
+
*
|
|
1163
|
+
* ```
|
|
732
1164
|
*
|
|
733
1165
|
* @param params - Parameters for request
|
|
734
1166
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviews_v1beta.js","sourceRoot":"","sources":["../reviews_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,0BAA0B,
|
|
1
|
+
{"version":3,"file":"reviews_v1beta.js","sourceRoot":"","sources":["../reviews_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;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