google-api-client 0.45.1 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +609 -189
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +6 -6
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +8 -9
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +252 -60
- data/generated/google/apis/apigee_v1/representations.rb +88 -18
- data/generated/google/apis/apigee_v1/service.rb +243 -33
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/{apigateway_v1alpha2 → area120tables_v1alpha1}/representations.rb +67 -69
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +190 -23
- data/generated/google/apis/bigquery_v2/representations.rb +68 -0
- data/generated/google/apis/bigquery_v2/service.rb +47 -1
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +8 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +78 -64
- data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +3 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +26 -11
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +586 -72
- data/generated/google/apis/compute_v1/representations.rb +98 -1
- data/generated/google/apis/compute_v1/service.rb +741 -133
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2/classes.rb +510 -1217
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
- data/generated/google/apis/content_v2_1/representations.rb +253 -0
- data/generated/google/apis/content_v2_1/service.rb +942 -801
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +24 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +677 -277
- data/generated/google/apis/dialogflow_v2/representations.rb +288 -126
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -285
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +288 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +56 -6
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +744 -280
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +310 -129
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +208 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1/service.rb +261 -18
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +33 -32
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +11 -11
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +11 -11
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/{appsactivity_v1.rb → domains_v1beta1.rb} +11 -11
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
- data/generated/google/apis/{apigateway_v1alpha2 → eventarc_v1beta1}/classes.rb +327 -29
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/representations.rb +168 -39
- data/generated/google/apis/{apigateway_v1alpha2 → eventarc_v1beta1}/service.rb +224 -268
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +4 -4
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +202 -295
- data/generated/google/apis/healthcare_v1beta1/representations.rb +75 -80
- data/generated/google/apis/healthcare_v1beta1/service.rb +118 -72
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +76 -5
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +345 -0
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +71 -17
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +55 -6
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +52 -51
- data/generated/google/apis/people_v1/service.rb +16 -16
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/{apigateway_v1alpha2.rb → privateca_v1beta1.rb} +8 -8
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +88 -127
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -4
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -5
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +12 -8
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +5 -63
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
- data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +4 -44
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -17
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +4 -12
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +77 -9
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +20 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +67 -70
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +92 -33
- data/generated/google/apis/testing_v1/representations.rb +21 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +4 -3
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +3 -3
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +43 -16
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
- data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class AccountLabel
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class AccountStatus
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -280,6 +286,12 @@ module Google
|
|
280
286
|
include Google::Apis::Core::JsonObjectSupport
|
281
287
|
end
|
282
288
|
|
289
|
+
class Css
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
283
295
|
class CustomAttribute
|
284
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
297
|
|
@@ -472,6 +484,12 @@ module Google
|
|
472
484
|
include Google::Apis::Core::JsonObjectSupport
|
473
485
|
end
|
474
486
|
|
487
|
+
class LabelIds
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
475
493
|
class LiaAboutPageSettings
|
476
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
495
|
|
@@ -586,6 +604,24 @@ module Google
|
|
586
604
|
include Google::Apis::Core::JsonObjectSupport
|
587
605
|
end
|
588
606
|
|
607
|
+
class ListAccountLabelsResponse
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
613
|
+
class ListCssesResponse
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
619
|
+
class ListRepricingRulesResponse
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
589
625
|
class LocalInventory
|
590
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
627
|
|
@@ -892,6 +928,24 @@ module Google
|
|
892
928
|
include Google::Apis::Core::JsonObjectSupport
|
893
929
|
end
|
894
930
|
|
931
|
+
class OrderreturnsCreateOrderReturnRequest
|
932
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
933
|
+
|
934
|
+
include Google::Apis::Core::JsonObjectSupport
|
935
|
+
end
|
936
|
+
|
937
|
+
class OrderreturnsCreateOrderReturnResponse
|
938
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
939
|
+
|
940
|
+
include Google::Apis::Core::JsonObjectSupport
|
941
|
+
end
|
942
|
+
|
943
|
+
class OrderreturnsLineItem
|
944
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
945
|
+
|
946
|
+
include Google::Apis::Core::JsonObjectSupport
|
947
|
+
end
|
948
|
+
|
895
949
|
class OrderreturnsListResponse
|
896
950
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
897
951
|
|
@@ -1474,6 +1528,48 @@ module Google
|
|
1474
1528
|
include Google::Apis::Core::JsonObjectSupport
|
1475
1529
|
end
|
1476
1530
|
|
1531
|
+
class RepricingRule
|
1532
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1533
|
+
|
1534
|
+
include Google::Apis::Core::JsonObjectSupport
|
1535
|
+
end
|
1536
|
+
|
1537
|
+
class RepricingRuleEffectiveTime
|
1538
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1539
|
+
|
1540
|
+
include Google::Apis::Core::JsonObjectSupport
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
class RepricingRuleEffectiveTimeFixedTimePeriod
|
1544
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1545
|
+
|
1546
|
+
include Google::Apis::Core::JsonObjectSupport
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
class RepricingRuleEligibleOfferMatcher
|
1550
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1551
|
+
|
1552
|
+
include Google::Apis::Core::JsonObjectSupport
|
1553
|
+
end
|
1554
|
+
|
1555
|
+
class RepricingRuleEligibleOfferMatcherStringMatcher
|
1556
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1557
|
+
|
1558
|
+
include Google::Apis::Core::JsonObjectSupport
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
class RepricingRuleRestriction
|
1562
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1563
|
+
|
1564
|
+
include Google::Apis::Core::JsonObjectSupport
|
1565
|
+
end
|
1566
|
+
|
1567
|
+
class RepricingRuleRestrictionBoundary
|
1568
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1569
|
+
|
1570
|
+
include Google::Apis::Core::JsonObjectSupport
|
1571
|
+
end
|
1572
|
+
|
1477
1573
|
class ReturnAddress
|
1478
1574
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1479
1575
|
|
@@ -1884,6 +1980,16 @@ module Google
|
|
1884
1980
|
end
|
1885
1981
|
end
|
1886
1982
|
|
1983
|
+
class AccountLabel
|
1984
|
+
# @private
|
1985
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1986
|
+
property :account_id, :numeric_string => true, as: 'accountId'
|
1987
|
+
property :description, as: 'description'
|
1988
|
+
property :label_id, :numeric_string => true, as: 'labelId'
|
1989
|
+
property :name, as: 'name'
|
1990
|
+
end
|
1991
|
+
end
|
1992
|
+
|
1887
1993
|
class AccountStatus
|
1888
1994
|
# @private
|
1889
1995
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2250,6 +2356,18 @@ module Google
|
|
2250
2356
|
end
|
2251
2357
|
end
|
2252
2358
|
|
2359
|
+
class Css
|
2360
|
+
# @private
|
2361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2362
|
+
property :css_domain_id, :numeric_string => true, as: 'cssDomainId'
|
2363
|
+
property :css_group_id, :numeric_string => true, as: 'cssGroupId'
|
2364
|
+
property :display_name, as: 'displayName'
|
2365
|
+
property :full_name, as: 'fullName'
|
2366
|
+
property :homepage_uri, as: 'homepageUri'
|
2367
|
+
collection :label_ids, as: 'labelIds'
|
2368
|
+
end
|
2369
|
+
end
|
2370
|
+
|
2253
2371
|
class CustomAttribute
|
2254
2372
|
# @private
|
2255
2373
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2597,6 +2715,13 @@ module Google
|
|
2597
2715
|
end
|
2598
2716
|
end
|
2599
2717
|
|
2718
|
+
class LabelIds
|
2719
|
+
# @private
|
2720
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2721
|
+
collection :label_ids, as: 'labelIds'
|
2722
|
+
end
|
2723
|
+
end
|
2724
|
+
|
2600
2725
|
class LiaAboutPageSettings
|
2601
2726
|
# @private
|
2602
2727
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2783,6 +2908,33 @@ module Google
|
|
2783
2908
|
end
|
2784
2909
|
end
|
2785
2910
|
|
2911
|
+
class ListAccountLabelsResponse
|
2912
|
+
# @private
|
2913
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2914
|
+
collection :account_labels, as: 'accountLabels', class: Google::Apis::ContentV2_1::AccountLabel, decorator: Google::Apis::ContentV2_1::AccountLabel::Representation
|
2915
|
+
|
2916
|
+
property :next_page_token, as: 'nextPageToken'
|
2917
|
+
end
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
class ListCssesResponse
|
2921
|
+
# @private
|
2922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2923
|
+
collection :csses, as: 'csses', class: Google::Apis::ContentV2_1::Css, decorator: Google::Apis::ContentV2_1::Css::Representation
|
2924
|
+
|
2925
|
+
property :next_page_token, as: 'nextPageToken'
|
2926
|
+
end
|
2927
|
+
end
|
2928
|
+
|
2929
|
+
class ListRepricingRulesResponse
|
2930
|
+
# @private
|
2931
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2932
|
+
property :next_page_token, as: 'nextPageToken'
|
2933
|
+
collection :repricing_rules, as: 'repricingRules', class: Google::Apis::ContentV2_1::RepricingRule, decorator: Google::Apis::ContentV2_1::RepricingRule::Representation
|
2934
|
+
|
2935
|
+
end
|
2936
|
+
end
|
2937
|
+
|
2786
2938
|
class LocalInventory
|
2787
2939
|
# @private
|
2788
2940
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3397,6 +3549,35 @@ module Google
|
|
3397
3549
|
end
|
3398
3550
|
end
|
3399
3551
|
|
3552
|
+
class OrderreturnsCreateOrderReturnRequest
|
3553
|
+
# @private
|
3554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3555
|
+
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::OrderreturnsLineItem, decorator: Google::Apis::ContentV2_1::OrderreturnsLineItem::Representation
|
3556
|
+
|
3557
|
+
property :operation_id, as: 'operationId'
|
3558
|
+
property :order_id, as: 'orderId'
|
3559
|
+
property :return_method_type, as: 'returnMethodType'
|
3560
|
+
end
|
3561
|
+
end
|
3562
|
+
|
3563
|
+
class OrderreturnsCreateOrderReturnResponse
|
3564
|
+
# @private
|
3565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3566
|
+
property :execution_status, as: 'executionStatus'
|
3567
|
+
property :kind, as: 'kind'
|
3568
|
+
property :order_return, as: 'orderReturn', class: Google::Apis::ContentV2_1::MerchantOrderReturn, decorator: Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
|
3569
|
+
|
3570
|
+
end
|
3571
|
+
end
|
3572
|
+
|
3573
|
+
class OrderreturnsLineItem
|
3574
|
+
# @private
|
3575
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3576
|
+
property :line_item_id, as: 'lineItemId'
|
3577
|
+
property :quantity, as: 'quantity'
|
3578
|
+
end
|
3579
|
+
end
|
3580
|
+
|
3400
3581
|
class OrderreturnsListResponse
|
3401
3582
|
# @private
|
3402
3583
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4500,6 +4681,78 @@ module Google
|
|
4500
4681
|
end
|
4501
4682
|
end
|
4502
4683
|
|
4684
|
+
class RepricingRule
|
4685
|
+
# @private
|
4686
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4687
|
+
property :country_code, as: 'countryCode'
|
4688
|
+
property :effective_time_period, as: 'effectiveTimePeriod', class: Google::Apis::ContentV2_1::RepricingRuleEffectiveTime, decorator: Google::Apis::ContentV2_1::RepricingRuleEffectiveTime::Representation
|
4689
|
+
|
4690
|
+
property :eligible_offer_matcher, as: 'eligibleOfferMatcher', class: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcher, decorator: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcher::Representation
|
4691
|
+
|
4692
|
+
property :language_code, as: 'languageCode'
|
4693
|
+
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
4694
|
+
property :paused, as: 'paused'
|
4695
|
+
property :restriction, as: 'restriction', class: Google::Apis::ContentV2_1::RepricingRuleRestriction, decorator: Google::Apis::ContentV2_1::RepricingRuleRestriction::Representation
|
4696
|
+
|
4697
|
+
property :rule_id, as: 'ruleId'
|
4698
|
+
property :title, as: 'title'
|
4699
|
+
property :type, as: 'type'
|
4700
|
+
end
|
4701
|
+
end
|
4702
|
+
|
4703
|
+
class RepricingRuleEffectiveTime
|
4704
|
+
# @private
|
4705
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4706
|
+
collection :fixed_time_periods, as: 'fixedTimePeriods', class: Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod, decorator: Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod::Representation
|
4707
|
+
|
4708
|
+
end
|
4709
|
+
end
|
4710
|
+
|
4711
|
+
class RepricingRuleEffectiveTimeFixedTimePeriod
|
4712
|
+
# @private
|
4713
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4714
|
+
property :end_time, as: 'endTime'
|
4715
|
+
property :start_time, as: 'startTime'
|
4716
|
+
end
|
4717
|
+
end
|
4718
|
+
|
4719
|
+
class RepricingRuleEligibleOfferMatcher
|
4720
|
+
# @private
|
4721
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4722
|
+
property :brand_matcher, as: 'brandMatcher', class: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher, decorator: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher::Representation
|
4723
|
+
|
4724
|
+
property :item_group_id_matcher, as: 'itemGroupIdMatcher', class: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher, decorator: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher::Representation
|
4725
|
+
|
4726
|
+
property :matcher_option, as: 'matcherOption'
|
4727
|
+
property :offer_id_matcher, as: 'offerIdMatcher', class: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher, decorator: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher::Representation
|
4728
|
+
|
4729
|
+
end
|
4730
|
+
end
|
4731
|
+
|
4732
|
+
class RepricingRuleEligibleOfferMatcherStringMatcher
|
4733
|
+
# @private
|
4734
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4735
|
+
collection :str_attributes, as: 'strAttributes'
|
4736
|
+
end
|
4737
|
+
end
|
4738
|
+
|
4739
|
+
class RepricingRuleRestriction
|
4740
|
+
# @private
|
4741
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4742
|
+
property :floor, as: 'floor', class: Google::Apis::ContentV2_1::RepricingRuleRestrictionBoundary, decorator: Google::Apis::ContentV2_1::RepricingRuleRestrictionBoundary::Representation
|
4743
|
+
|
4744
|
+
property :use_auto_pricing_min_price, as: 'useAutoPricingMinPrice'
|
4745
|
+
end
|
4746
|
+
end
|
4747
|
+
|
4748
|
+
class RepricingRuleRestrictionBoundary
|
4749
|
+
# @private
|
4750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4751
|
+
property :percentage_delta, as: 'percentageDelta'
|
4752
|
+
property :price_delta, as: 'priceDelta'
|
4753
|
+
end
|
4754
|
+
end
|
4755
|
+
|
4503
4756
|
class ReturnAddress
|
4504
4757
|
# @private
|
4505
4758
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
module ContentV2_1
|
23
23
|
# Content API for Shopping
|
24
24
|
#
|
25
|
-
#
|
26
|
-
# Shopping.
|
25
|
+
# Manage your product listings and accounts for Google Shopping
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/content_v2_1'
|
@@ -31,7 +30,7 @@ module Google
|
|
31
30
|
# Content = Google::Apis::ContentV2_1 # Alias the module
|
32
31
|
# service = Content::ShoppingContentService.new
|
33
32
|
#
|
34
|
-
# @see https://developers.google.com/shopping-content
|
33
|
+
# @see https://developers.google.com/shopping-content/v2/
|
35
34
|
class ShoppingContentService < Google::Apis::Core::BaseService
|
36
35
|
# @return [String]
|
37
36
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -39,27 +38,21 @@ module Google
|
|
39
38
|
attr_accessor :key
|
40
39
|
|
41
40
|
# @return [String]
|
42
|
-
#
|
43
|
-
# characters.
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
43
|
attr_accessor :quota_user
|
45
44
|
|
46
|
-
# @return [String]
|
47
|
-
# Deprecated. Please use quotaUser instead.
|
48
|
-
attr_accessor :user_ip
|
49
|
-
|
50
45
|
def initialize
|
51
|
-
super('https://
|
52
|
-
@batch_path = 'batch
|
46
|
+
super('https://shoppingcontent.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
53
48
|
end
|
54
49
|
|
55
50
|
# Returns information about the authenticated user.
|
56
51
|
# @param [String] fields
|
57
52
|
# Selector specifying which fields to include in a partial response.
|
58
53
|
# @param [String] quota_user
|
59
|
-
#
|
60
|
-
# characters.
|
61
|
-
# @param [String] user_ip
|
62
|
-
# Deprecated. Please use quotaUser instead.
|
54
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
55
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
56
|
# @param [Google::Apis::RequestOptions] options
|
64
57
|
# Request-specific options
|
65
58
|
#
|
@@ -72,13 +65,12 @@ module Google
|
|
72
65
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
66
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
67
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
-
def authinfo_account(fields: nil, quota_user: nil,
|
76
|
-
command = make_simple_command(:get, 'accounts/authinfo', options)
|
68
|
+
def authinfo_account(fields: nil, quota_user: nil, options: nil, &block)
|
69
|
+
command = make_simple_command(:get, 'content/v2.1/accounts/authinfo', options)
|
77
70
|
command.response_representation = Google::Apis::ContentV2_1::AccountsAuthInfoResponse::Representation
|
78
71
|
command.response_class = Google::Apis::ContentV2_1::AccountsAuthInfoResponse
|
79
72
|
command.query['fields'] = fields unless fields.nil?
|
80
73
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
82
74
|
execute_or_queue_command(command, &block)
|
83
75
|
end
|
84
76
|
|
@@ -96,10 +88,8 @@ module Google
|
|
96
88
|
# @param [String] fields
|
97
89
|
# Selector specifying which fields to include in a partial response.
|
98
90
|
# @param [String] quota_user
|
99
|
-
#
|
100
|
-
# characters.
|
101
|
-
# @param [String] user_ip
|
102
|
-
# Deprecated. Please use quotaUser instead.
|
91
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
92
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
103
93
|
# @param [Google::Apis::RequestOptions] options
|
104
94
|
# Request-specific options
|
105
95
|
#
|
@@ -112,8 +102,8 @@ module Google
|
|
112
102
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
113
103
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
104
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
|
-
def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil,
|
116
|
-
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
|
105
|
+
def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, options: nil, &block)
|
106
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/accounts/{accountId}/claimwebsite', options)
|
117
107
|
command.response_representation = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse::Representation
|
118
108
|
command.response_class = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse
|
119
109
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -121,7 +111,6 @@ module Google
|
|
121
111
|
command.query['overwrite'] = overwrite unless overwrite.nil?
|
122
112
|
command.query['fields'] = fields unless fields.nil?
|
123
113
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
124
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
125
114
|
execute_or_queue_command(command, &block)
|
126
115
|
end
|
127
116
|
|
@@ -131,10 +120,8 @@ module Google
|
|
131
120
|
# @param [String] fields
|
132
121
|
# Selector specifying which fields to include in a partial response.
|
133
122
|
# @param [String] quota_user
|
134
|
-
#
|
135
|
-
# characters.
|
136
|
-
# @param [String] user_ip
|
137
|
-
# Deprecated. Please use quotaUser instead.
|
123
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
124
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
138
125
|
# @param [Google::Apis::RequestOptions] options
|
139
126
|
# Request-specific options
|
140
127
|
#
|
@@ -147,15 +134,14 @@ module Google
|
|
147
134
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
148
135
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
149
136
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
150
|
-
def custombatch_account(accounts_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
151
|
-
command = make_simple_command(:post, 'accounts/batch', options)
|
137
|
+
def custombatch_account(accounts_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
138
|
+
command = make_simple_command(:post, 'content/v2.1/accounts/batch', options)
|
152
139
|
command.request_representation = Google::Apis::ContentV2_1::AccountsCustomBatchRequest::Representation
|
153
140
|
command.request_object = accounts_custom_batch_request_object
|
154
141
|
command.response_representation = Google::Apis::ContentV2_1::AccountsCustomBatchResponse::Representation
|
155
142
|
command.response_class = Google::Apis::ContentV2_1::AccountsCustomBatchResponse
|
156
143
|
command.query['fields'] = fields unless fields.nil?
|
157
144
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
158
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
159
145
|
execute_or_queue_command(command, &block)
|
160
146
|
end
|
161
147
|
|
@@ -170,10 +156,8 @@ module Google
|
|
170
156
|
# @param [String] fields
|
171
157
|
# Selector specifying which fields to include in a partial response.
|
172
158
|
# @param [String] quota_user
|
173
|
-
#
|
174
|
-
# characters.
|
175
|
-
# @param [String] user_ip
|
176
|
-
# Deprecated. Please use quotaUser instead.
|
159
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
160
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
177
161
|
# @param [Google::Apis::RequestOptions] options
|
178
162
|
# Request-specific options
|
179
163
|
#
|
@@ -186,14 +170,13 @@ module Google
|
|
186
170
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
187
171
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
188
172
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
189
|
-
def delete_account(merchant_id, account_id, force: nil, fields: nil, quota_user: nil,
|
190
|
-
command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
|
173
|
+
def delete_account(merchant_id, account_id, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
174
|
+
command = make_simple_command(:delete, 'content/v2.1/{merchantId}/accounts/{accountId}', options)
|
191
175
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
192
176
|
command.params['accountId'] = account_id unless account_id.nil?
|
193
177
|
command.query['force'] = force unless force.nil?
|
194
178
|
command.query['fields'] = fields unless fields.nil?
|
195
179
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
196
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
197
180
|
execute_or_queue_command(command, &block)
|
198
181
|
end
|
199
182
|
|
@@ -210,10 +193,8 @@ module Google
|
|
210
193
|
# @param [String] fields
|
211
194
|
# Selector specifying which fields to include in a partial response.
|
212
195
|
# @param [String] quota_user
|
213
|
-
#
|
214
|
-
# characters.
|
215
|
-
# @param [String] user_ip
|
216
|
-
# Deprecated. Please use quotaUser instead.
|
196
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
197
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
217
198
|
# @param [Google::Apis::RequestOptions] options
|
218
199
|
# Request-specific options
|
219
200
|
#
|
@@ -226,8 +207,8 @@ module Google
|
|
226
207
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
227
208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
228
209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
229
|
-
def get_account(merchant_id, account_id, view: nil, fields: nil, quota_user: nil,
|
230
|
-
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
|
210
|
+
def get_account(merchant_id, account_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
211
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/accounts/{accountId}', options)
|
231
212
|
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
|
232
213
|
command.response_class = Google::Apis::ContentV2_1::Account
|
233
214
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -235,7 +216,6 @@ module Google
|
|
235
216
|
command.query['view'] = view unless view.nil?
|
236
217
|
command.query['fields'] = fields unless fields.nil?
|
237
218
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
238
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
239
219
|
execute_or_queue_command(command, &block)
|
240
220
|
end
|
241
221
|
|
@@ -246,10 +226,8 @@ module Google
|
|
246
226
|
# @param [String] fields
|
247
227
|
# Selector specifying which fields to include in a partial response.
|
248
228
|
# @param [String] quota_user
|
249
|
-
#
|
250
|
-
# characters.
|
251
|
-
# @param [String] user_ip
|
252
|
-
# Deprecated. Please use quotaUser instead.
|
229
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
230
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
253
231
|
# @param [Google::Apis::RequestOptions] options
|
254
232
|
# Request-specific options
|
255
233
|
#
|
@@ -262,8 +240,8 @@ module Google
|
|
262
240
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
263
241
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
264
242
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
265
|
-
def insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil,
|
266
|
-
command = make_simple_command(:post, '{merchantId}/accounts', options)
|
243
|
+
def insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
244
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/accounts', options)
|
267
245
|
command.request_representation = Google::Apis::ContentV2_1::Account::Representation
|
268
246
|
command.request_object = account_object
|
269
247
|
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
|
@@ -271,7 +249,6 @@ module Google
|
|
271
249
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
272
250
|
command.query['fields'] = fields unless fields.nil?
|
273
251
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
274
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
275
252
|
execute_or_queue_command(command, &block)
|
276
253
|
end
|
277
254
|
|
@@ -287,10 +264,8 @@ module Google
|
|
287
264
|
# @param [String] fields
|
288
265
|
# Selector specifying which fields to include in a partial response.
|
289
266
|
# @param [String] quota_user
|
290
|
-
#
|
291
|
-
# characters.
|
292
|
-
# @param [String] user_ip
|
293
|
-
# Deprecated. Please use quotaUser instead.
|
267
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
268
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
294
269
|
# @param [Google::Apis::RequestOptions] options
|
295
270
|
# Request-specific options
|
296
271
|
#
|
@@ -303,8 +278,8 @@ module Google
|
|
303
278
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
304
279
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
305
280
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
306
|
-
def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil,
|
307
|
-
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
|
281
|
+
def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
282
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/accounts/{accountId}/link', options)
|
308
283
|
command.request_representation = Google::Apis::ContentV2_1::AccountsLinkRequest::Representation
|
309
284
|
command.request_object = accounts_link_request_object
|
310
285
|
command.response_representation = Google::Apis::ContentV2_1::AccountsLinkResponse::Representation
|
@@ -313,7 +288,6 @@ module Google
|
|
313
288
|
command.params['accountId'] = account_id unless account_id.nil?
|
314
289
|
command.query['fields'] = fields unless fields.nil?
|
315
290
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
316
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
317
291
|
execute_or_queue_command(command, &block)
|
318
292
|
end
|
319
293
|
|
@@ -333,10 +307,8 @@ module Google
|
|
333
307
|
# @param [String] fields
|
334
308
|
# Selector specifying which fields to include in a partial response.
|
335
309
|
# @param [String] quota_user
|
336
|
-
#
|
337
|
-
# characters.
|
338
|
-
# @param [String] user_ip
|
339
|
-
# Deprecated. Please use quotaUser instead.
|
310
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
311
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
340
312
|
# @param [Google::Apis::RequestOptions] options
|
341
313
|
# Request-specific options
|
342
314
|
#
|
@@ -349,8 +321,8 @@ module Google
|
|
349
321
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
350
322
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
351
323
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
352
|
-
def list_accounts(merchant_id, label: nil, max_results: nil, page_token: nil, view: nil, fields: nil, quota_user: nil,
|
353
|
-
command = make_simple_command(:get, '{merchantId}/accounts', options)
|
324
|
+
def list_accounts(merchant_id, label: nil, max_results: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
325
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/accounts', options)
|
354
326
|
command.response_representation = Google::Apis::ContentV2_1::AccountsListResponse::Representation
|
355
327
|
command.response_class = Google::Apis::ContentV2_1::AccountsListResponse
|
356
328
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -360,7 +332,6 @@ module Google
|
|
360
332
|
command.query['view'] = view unless view.nil?
|
361
333
|
command.query['fields'] = fields unless fields.nil?
|
362
334
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
363
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
364
335
|
execute_or_queue_command(command, &block)
|
365
336
|
end
|
366
337
|
|
@@ -378,10 +349,8 @@ module Google
|
|
378
349
|
# @param [String] fields
|
379
350
|
# Selector specifying which fields to include in a partial response.
|
380
351
|
# @param [String] quota_user
|
381
|
-
#
|
382
|
-
# characters.
|
383
|
-
# @param [String] user_ip
|
384
|
-
# Deprecated. Please use quotaUser instead.
|
352
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
353
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
385
354
|
# @param [Google::Apis::RequestOptions] options
|
386
355
|
# Request-specific options
|
387
356
|
#
|
@@ -394,8 +363,8 @@ module Google
|
|
394
363
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
395
364
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
396
365
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
397
|
-
def listlinks_account(merchant_id, account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
398
|
-
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}/listlinks', options)
|
366
|
+
def listlinks_account(merchant_id, account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
367
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/accounts/{accountId}/listlinks', options)
|
399
368
|
command.response_representation = Google::Apis::ContentV2_1::AccountsListLinksResponse::Representation
|
400
369
|
command.response_class = Google::Apis::ContentV2_1::AccountsListLinksResponse
|
401
370
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -404,7 +373,6 @@ module Google
|
|
404
373
|
command.query['pageToken'] = page_token unless page_token.nil?
|
405
374
|
command.query['fields'] = fields unless fields.nil?
|
406
375
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
407
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
408
376
|
execute_or_queue_command(command, &block)
|
409
377
|
end
|
410
378
|
|
@@ -420,10 +388,8 @@ module Google
|
|
420
388
|
# @param [String] fields
|
421
389
|
# Selector specifying which fields to include in a partial response.
|
422
390
|
# @param [String] quota_user
|
423
|
-
#
|
424
|
-
# characters.
|
425
|
-
# @param [String] user_ip
|
426
|
-
# Deprecated. Please use quotaUser instead.
|
391
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
392
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
427
393
|
# @param [Google::Apis::RequestOptions] options
|
428
394
|
# Request-specific options
|
429
395
|
#
|
@@ -436,8 +402,8 @@ module Google
|
|
436
402
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
437
403
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
438
404
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
439
|
-
def update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil,
|
440
|
-
command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
|
405
|
+
def update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
406
|
+
command = make_simple_command(:put, 'content/v2.1/{merchantId}/accounts/{accountId}', options)
|
441
407
|
command.request_representation = Google::Apis::ContentV2_1::Account::Representation
|
442
408
|
command.request_object = account_object
|
443
409
|
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
|
@@ -446,7 +412,6 @@ module Google
|
|
446
412
|
command.params['accountId'] = account_id unless account_id.nil?
|
447
413
|
command.query['fields'] = fields unless fields.nil?
|
448
414
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
449
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
450
415
|
execute_or_queue_command(command, &block)
|
451
416
|
end
|
452
417
|
|
@@ -459,10 +424,8 @@ module Google
|
|
459
424
|
# @param [String] fields
|
460
425
|
# Selector specifying which fields to include in a partial response.
|
461
426
|
# @param [String] quota_user
|
462
|
-
#
|
463
|
-
# characters.
|
464
|
-
# @param [String] user_ip
|
465
|
-
# Deprecated. Please use quotaUser instead.
|
427
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
428
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
466
429
|
# @param [Google::Apis::RequestOptions] options
|
467
430
|
# Request-specific options
|
468
431
|
#
|
@@ -475,8 +438,8 @@ module Google
|
|
475
438
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
476
439
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
477
440
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
478
|
-
def updatelabels_account(merchant_id, account_id, accounts_update_labels_request_object = nil, fields: nil, quota_user: nil,
|
479
|
-
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/updatelabels', options)
|
441
|
+
def updatelabels_account(merchant_id, account_id, accounts_update_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
442
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/accounts/{accountId}/updatelabels', options)
|
480
443
|
command.request_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsRequest::Representation
|
481
444
|
command.request_object = accounts_update_labels_request_object
|
482
445
|
command.response_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse::Representation
|
@@ -485,7 +448,147 @@ module Google
|
|
485
448
|
command.params['accountId'] = account_id unless account_id.nil?
|
486
449
|
command.query['fields'] = fields unless fields.nil?
|
487
450
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
488
|
-
command
|
451
|
+
execute_or_queue_command(command, &block)
|
452
|
+
end
|
453
|
+
|
454
|
+
# Creates a new label, not assigned to any account.
|
455
|
+
# @param [Fixnum] account_id
|
456
|
+
# Required. The id of the account this label belongs to.
|
457
|
+
# @param [Google::Apis::ContentV2_1::AccountLabel] account_label_object
|
458
|
+
# @param [String] fields
|
459
|
+
# Selector specifying which fields to include in a partial response.
|
460
|
+
# @param [String] quota_user
|
461
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
462
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
463
|
+
# @param [Google::Apis::RequestOptions] options
|
464
|
+
# Request-specific options
|
465
|
+
#
|
466
|
+
# @yield [result, err] Result & error if block supplied
|
467
|
+
# @yieldparam result [Google::Apis::ContentV2_1::AccountLabel] parsed result object
|
468
|
+
# @yieldparam err [StandardError] error object if request failed
|
469
|
+
#
|
470
|
+
# @return [Google::Apis::ContentV2_1::AccountLabel]
|
471
|
+
#
|
472
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
473
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
474
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
475
|
+
def create_account_label(account_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
476
|
+
command = make_simple_command(:post, 'content/v2.1/accounts/{accountId}/labels', options)
|
477
|
+
command.request_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
|
478
|
+
command.request_object = account_label_object
|
479
|
+
command.response_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
|
480
|
+
command.response_class = Google::Apis::ContentV2_1::AccountLabel
|
481
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
482
|
+
command.query['fields'] = fields unless fields.nil?
|
483
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
484
|
+
execute_or_queue_command(command, &block)
|
485
|
+
end
|
486
|
+
|
487
|
+
# Deletes a label and removes it from all accounts to which it was assigned.
|
488
|
+
# @param [Fixnum] account_id
|
489
|
+
# Required. The id of the account that owns the label.
|
490
|
+
# @param [Fixnum] label_id
|
491
|
+
# Required. The id of the label to delete.
|
492
|
+
# @param [String] fields
|
493
|
+
# Selector specifying which fields to include in a partial response.
|
494
|
+
# @param [String] quota_user
|
495
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
496
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
497
|
+
# @param [Google::Apis::RequestOptions] options
|
498
|
+
# Request-specific options
|
499
|
+
#
|
500
|
+
# @yield [result, err] Result & error if block supplied
|
501
|
+
# @yieldparam result [NilClass] No result returned for this method
|
502
|
+
# @yieldparam err [StandardError] error object if request failed
|
503
|
+
#
|
504
|
+
# @return [void]
|
505
|
+
#
|
506
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
507
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
508
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
509
|
+
def delete_account_label(account_id, label_id, fields: nil, quota_user: nil, options: nil, &block)
|
510
|
+
command = make_simple_command(:delete, 'content/v2.1/accounts/{accountId}/labels/{labelId}', options)
|
511
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
512
|
+
command.params['labelId'] = label_id unless label_id.nil?
|
513
|
+
command.query['fields'] = fields unless fields.nil?
|
514
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
515
|
+
execute_or_queue_command(command, &block)
|
516
|
+
end
|
517
|
+
|
518
|
+
# Lists the labels assigned to an account.
|
519
|
+
# @param [Fixnum] account_id
|
520
|
+
# Required. The account id for whose labels are to be listed.
|
521
|
+
# @param [Fixnum] page_size
|
522
|
+
# The maximum number of labels to return. The service may return fewer than this
|
523
|
+
# value. If unspecified, at most 50 labels will be returned. The maximum value
|
524
|
+
# is 1000; values above 1000 will be coerced to 1000.
|
525
|
+
# @param [String] page_token
|
526
|
+
# A page token, received from a previous `ListAccountLabels` call. Provide this
|
527
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
528
|
+
# provided to `ListAccountLabels` must match the call that provided the page
|
529
|
+
# token.
|
530
|
+
# @param [String] fields
|
531
|
+
# Selector specifying which fields to include in a partial response.
|
532
|
+
# @param [String] quota_user
|
533
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
534
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
535
|
+
# @param [Google::Apis::RequestOptions] options
|
536
|
+
# Request-specific options
|
537
|
+
#
|
538
|
+
# @yield [result, err] Result & error if block supplied
|
539
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ListAccountLabelsResponse] parsed result object
|
540
|
+
# @yieldparam err [StandardError] error object if request failed
|
541
|
+
#
|
542
|
+
# @return [Google::Apis::ContentV2_1::ListAccountLabelsResponse]
|
543
|
+
#
|
544
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
545
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
546
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
547
|
+
def list_account_labels(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
548
|
+
command = make_simple_command(:get, 'content/v2.1/accounts/{accountId}/labels', options)
|
549
|
+
command.response_representation = Google::Apis::ContentV2_1::ListAccountLabelsResponse::Representation
|
550
|
+
command.response_class = Google::Apis::ContentV2_1::ListAccountLabelsResponse
|
551
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
552
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
553
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
554
|
+
command.query['fields'] = fields unless fields.nil?
|
555
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
556
|
+
execute_or_queue_command(command, &block)
|
557
|
+
end
|
558
|
+
|
559
|
+
# Updates a label.
|
560
|
+
# @param [Fixnum] account_id
|
561
|
+
# Required. The id of the account this label belongs to.
|
562
|
+
# @param [Fixnum] label_id
|
563
|
+
# Required. The id of the label to update.
|
564
|
+
# @param [Google::Apis::ContentV2_1::AccountLabel] account_label_object
|
565
|
+
# @param [String] fields
|
566
|
+
# Selector specifying which fields to include in a partial response.
|
567
|
+
# @param [String] quota_user
|
568
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
569
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
570
|
+
# @param [Google::Apis::RequestOptions] options
|
571
|
+
# Request-specific options
|
572
|
+
#
|
573
|
+
# @yield [result, err] Result & error if block supplied
|
574
|
+
# @yieldparam result [Google::Apis::ContentV2_1::AccountLabel] parsed result object
|
575
|
+
# @yieldparam err [StandardError] error object if request failed
|
576
|
+
#
|
577
|
+
# @return [Google::Apis::ContentV2_1::AccountLabel]
|
578
|
+
#
|
579
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
580
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
581
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
582
|
+
def patch_account_label(account_id, label_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
583
|
+
command = make_simple_command(:patch, 'content/v2.1/accounts/{accountId}/labels/{labelId}', options)
|
584
|
+
command.request_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
|
585
|
+
command.request_object = account_label_object
|
586
|
+
command.response_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
|
587
|
+
command.response_class = Google::Apis::ContentV2_1::AccountLabel
|
588
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
589
|
+
command.params['labelId'] = label_id unless label_id.nil?
|
590
|
+
command.query['fields'] = fields unless fields.nil?
|
591
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
489
592
|
execute_or_queue_command(command, &block)
|
490
593
|
end
|
491
594
|
|
@@ -494,10 +597,8 @@ module Google
|
|
494
597
|
# @param [String] fields
|
495
598
|
# Selector specifying which fields to include in a partial response.
|
496
599
|
# @param [String] quota_user
|
497
|
-
#
|
498
|
-
# characters.
|
499
|
-
# @param [String] user_ip
|
500
|
-
# Deprecated. Please use quotaUser instead.
|
600
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
601
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
501
602
|
# @param [Google::Apis::RequestOptions] options
|
502
603
|
# Request-specific options
|
503
604
|
#
|
@@ -510,15 +611,14 @@ module Google
|
|
510
611
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
511
612
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
512
613
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
513
|
-
def custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
514
|
-
command = make_simple_command(:post, 'accountstatuses/batch', options)
|
614
|
+
def custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
615
|
+
command = make_simple_command(:post, 'content/v2.1/accountstatuses/batch', options)
|
515
616
|
command.request_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequest::Representation
|
516
617
|
command.request_object = accountstatuses_custom_batch_request_object
|
517
618
|
command.response_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse::Representation
|
518
619
|
command.response_class = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse
|
519
620
|
command.query['fields'] = fields unless fields.nil?
|
520
621
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
521
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
522
622
|
execute_or_queue_command(command, &block)
|
523
623
|
end
|
524
624
|
|
@@ -536,10 +636,8 @@ module Google
|
|
536
636
|
# @param [String] fields
|
537
637
|
# Selector specifying which fields to include in a partial response.
|
538
638
|
# @param [String] quota_user
|
539
|
-
#
|
540
|
-
# characters.
|
541
|
-
# @param [String] user_ip
|
542
|
-
# Deprecated. Please use quotaUser instead.
|
639
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
640
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
543
641
|
# @param [Google::Apis::RequestOptions] options
|
544
642
|
# Request-specific options
|
545
643
|
#
|
@@ -552,8 +650,8 @@ module Google
|
|
552
650
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
553
651
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
554
652
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
555
|
-
def get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil,
|
556
|
-
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
|
653
|
+
def get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
|
654
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/accountstatuses/{accountId}', options)
|
557
655
|
command.response_representation = Google::Apis::ContentV2_1::AccountStatus::Representation
|
558
656
|
command.response_class = Google::Apis::ContentV2_1::AccountStatus
|
559
657
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -561,7 +659,6 @@ module Google
|
|
561
659
|
command.query['destinations'] = destinations unless destinations.nil?
|
562
660
|
command.query['fields'] = fields unless fields.nil?
|
563
661
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
564
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
565
662
|
execute_or_queue_command(command, &block)
|
566
663
|
end
|
567
664
|
|
@@ -579,10 +676,8 @@ module Google
|
|
579
676
|
# @param [String] fields
|
580
677
|
# Selector specifying which fields to include in a partial response.
|
581
678
|
# @param [String] quota_user
|
582
|
-
#
|
583
|
-
# characters.
|
584
|
-
# @param [String] user_ip
|
585
|
-
# Deprecated. Please use quotaUser instead.
|
679
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
680
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
586
681
|
# @param [Google::Apis::RequestOptions] options
|
587
682
|
# Request-specific options
|
588
683
|
#
|
@@ -595,8 +690,8 @@ module Google
|
|
595
690
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
596
691
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
597
692
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
598
|
-
def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
599
|
-
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
|
693
|
+
def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
694
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/accountstatuses', options)
|
600
695
|
command.response_representation = Google::Apis::ContentV2_1::AccountstatusesListResponse::Representation
|
601
696
|
command.response_class = Google::Apis::ContentV2_1::AccountstatusesListResponse
|
602
697
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -605,7 +700,6 @@ module Google
|
|
605
700
|
command.query['pageToken'] = page_token unless page_token.nil?
|
606
701
|
command.query['fields'] = fields unless fields.nil?
|
607
702
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
608
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
609
703
|
execute_or_queue_command(command, &block)
|
610
704
|
end
|
611
705
|
|
@@ -614,10 +708,8 @@ module Google
|
|
614
708
|
# @param [String] fields
|
615
709
|
# Selector specifying which fields to include in a partial response.
|
616
710
|
# @param [String] quota_user
|
617
|
-
#
|
618
|
-
# characters.
|
619
|
-
# @param [String] user_ip
|
620
|
-
# Deprecated. Please use quotaUser instead.
|
711
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
712
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
621
713
|
# @param [Google::Apis::RequestOptions] options
|
622
714
|
# Request-specific options
|
623
715
|
#
|
@@ -630,15 +722,14 @@ module Google
|
|
630
722
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
631
723
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
632
724
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
633
|
-
def custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
634
|
-
command = make_simple_command(:post, 'accounttax/batch', options)
|
725
|
+
def custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
726
|
+
command = make_simple_command(:post, 'content/v2.1/accounttax/batch', options)
|
635
727
|
command.request_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchRequest::Representation
|
636
728
|
command.request_object = accounttax_custom_batch_request_object
|
637
729
|
command.response_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse::Representation
|
638
730
|
command.response_class = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse
|
639
731
|
command.query['fields'] = fields unless fields.nil?
|
640
732
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
641
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
642
733
|
execute_or_queue_command(command, &block)
|
643
734
|
end
|
644
735
|
|
@@ -652,10 +743,8 @@ module Google
|
|
652
743
|
# @param [String] fields
|
653
744
|
# Selector specifying which fields to include in a partial response.
|
654
745
|
# @param [String] quota_user
|
655
|
-
#
|
656
|
-
# characters.
|
657
|
-
# @param [String] user_ip
|
658
|
-
# Deprecated. Please use quotaUser instead.
|
746
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
747
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
659
748
|
# @param [Google::Apis::RequestOptions] options
|
660
749
|
# Request-specific options
|
661
750
|
#
|
@@ -668,15 +757,14 @@ module Google
|
|
668
757
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
669
758
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
670
759
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
671
|
-
def get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil,
|
672
|
-
command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
|
760
|
+
def get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
761
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/accounttax/{accountId}', options)
|
673
762
|
command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
|
674
763
|
command.response_class = Google::Apis::ContentV2_1::AccountTax
|
675
764
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
676
765
|
command.params['accountId'] = account_id unless account_id.nil?
|
677
766
|
command.query['fields'] = fields unless fields.nil?
|
678
767
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
679
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
680
768
|
execute_or_queue_command(command, &block)
|
681
769
|
end
|
682
770
|
|
@@ -690,10 +778,8 @@ module Google
|
|
690
778
|
# @param [String] fields
|
691
779
|
# Selector specifying which fields to include in a partial response.
|
692
780
|
# @param [String] quota_user
|
693
|
-
#
|
694
|
-
# characters.
|
695
|
-
# @param [String] user_ip
|
696
|
-
# Deprecated. Please use quotaUser instead.
|
781
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
782
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
697
783
|
# @param [Google::Apis::RequestOptions] options
|
698
784
|
# Request-specific options
|
699
785
|
#
|
@@ -706,8 +792,8 @@ module Google
|
|
706
792
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
707
793
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
708
794
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
709
|
-
def list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
710
|
-
command = make_simple_command(:get, '{merchantId}/accounttax', options)
|
795
|
+
def list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
796
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/accounttax', options)
|
711
797
|
command.response_representation = Google::Apis::ContentV2_1::AccounttaxListResponse::Representation
|
712
798
|
command.response_class = Google::Apis::ContentV2_1::AccounttaxListResponse
|
713
799
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -715,7 +801,6 @@ module Google
|
|
715
801
|
command.query['pageToken'] = page_token unless page_token.nil?
|
716
802
|
command.query['fields'] = fields unless fields.nil?
|
717
803
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
718
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
719
804
|
execute_or_queue_command(command, &block)
|
720
805
|
end
|
721
806
|
|
@@ -731,10 +816,8 @@ module Google
|
|
731
816
|
# @param [String] fields
|
732
817
|
# Selector specifying which fields to include in a partial response.
|
733
818
|
# @param [String] quota_user
|
734
|
-
#
|
735
|
-
# characters.
|
736
|
-
# @param [String] user_ip
|
737
|
-
# Deprecated. Please use quotaUser instead.
|
819
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
820
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
738
821
|
# @param [Google::Apis::RequestOptions] options
|
739
822
|
# Request-specific options
|
740
823
|
#
|
@@ -747,8 +830,8 @@ module Google
|
|
747
830
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
748
831
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
749
832
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
750
|
-
def update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil,
|
751
|
-
command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
|
833
|
+
def update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
834
|
+
command = make_simple_command(:put, 'content/v2.1/{merchantId}/accounttax/{accountId}', options)
|
752
835
|
command.request_representation = Google::Apis::ContentV2_1::AccountTax::Representation
|
753
836
|
command.request_object = account_tax_object
|
754
837
|
command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
|
@@ -757,7 +840,117 @@ module Google
|
|
757
840
|
command.params['accountId'] = account_id unless account_id.nil?
|
758
841
|
command.query['fields'] = fields unless fields.nil?
|
759
842
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
760
|
-
command
|
843
|
+
execute_or_queue_command(command, &block)
|
844
|
+
end
|
845
|
+
|
846
|
+
# Retrieves a single CSS domain by ID.
|
847
|
+
# @param [Fixnum] css_group_id
|
848
|
+
# Required. The ID of the managing account. If this parameter is not the same as
|
849
|
+
# [cssDomainId](#cssDomainId), then this ID must be a CSS group ID and `
|
850
|
+
# cssDomainId` must be the ID of a CSS domain affiliated with this group.
|
851
|
+
# @param [Fixnum] css_domain_id
|
852
|
+
# Required. The ID of the CSS domain to return.
|
853
|
+
# @param [String] fields
|
854
|
+
# Selector specifying which fields to include in a partial response.
|
855
|
+
# @param [String] quota_user
|
856
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
857
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
858
|
+
# @param [Google::Apis::RequestOptions] options
|
859
|
+
# Request-specific options
|
860
|
+
#
|
861
|
+
# @yield [result, err] Result & error if block supplied
|
862
|
+
# @yieldparam result [Google::Apis::ContentV2_1::Css] parsed result object
|
863
|
+
# @yieldparam err [StandardError] error object if request failed
|
864
|
+
#
|
865
|
+
# @return [Google::Apis::ContentV2_1::Css]
|
866
|
+
#
|
867
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
868
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
869
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
870
|
+
def get_css(css_group_id, css_domain_id, fields: nil, quota_user: nil, options: nil, &block)
|
871
|
+
command = make_simple_command(:get, 'content/v2.1/{cssGroupId}/csses/{cssDomainId}', options)
|
872
|
+
command.response_representation = Google::Apis::ContentV2_1::Css::Representation
|
873
|
+
command.response_class = Google::Apis::ContentV2_1::Css
|
874
|
+
command.params['cssGroupId'] = css_group_id unless css_group_id.nil?
|
875
|
+
command.params['cssDomainId'] = css_domain_id unless css_domain_id.nil?
|
876
|
+
command.query['fields'] = fields unless fields.nil?
|
877
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
878
|
+
execute_or_queue_command(command, &block)
|
879
|
+
end
|
880
|
+
|
881
|
+
# Lists CSS domains affiliated with a CSS group.
|
882
|
+
# @param [Fixnum] css_group_id
|
883
|
+
# Required. The CSS group ID of CSS domains to be listed.
|
884
|
+
# @param [Fixnum] page_size
|
885
|
+
# The maximum number of CSS domains to return. The service may return fewer than
|
886
|
+
# this value. If unspecified, at most 50 CSS domains will be returned. The
|
887
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
888
|
+
# @param [String] page_token
|
889
|
+
# A page token, received from a previous `ListCsses` call. Provide this to
|
890
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
891
|
+
# to `ListCsses` must match the call that provided the page token.
|
892
|
+
# @param [String] fields
|
893
|
+
# Selector specifying which fields to include in a partial response.
|
894
|
+
# @param [String] quota_user
|
895
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
896
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
897
|
+
# @param [Google::Apis::RequestOptions] options
|
898
|
+
# Request-specific options
|
899
|
+
#
|
900
|
+
# @yield [result, err] Result & error if block supplied
|
901
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ListCssesResponse] parsed result object
|
902
|
+
# @yieldparam err [StandardError] error object if request failed
|
903
|
+
#
|
904
|
+
# @return [Google::Apis::ContentV2_1::ListCssesResponse]
|
905
|
+
#
|
906
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
907
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
908
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
909
|
+
def list_csses(css_group_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
910
|
+
command = make_simple_command(:get, 'content/v2.1/{cssGroupId}/csses', options)
|
911
|
+
command.response_representation = Google::Apis::ContentV2_1::ListCssesResponse::Representation
|
912
|
+
command.response_class = Google::Apis::ContentV2_1::ListCssesResponse
|
913
|
+
command.params['cssGroupId'] = css_group_id unless css_group_id.nil?
|
914
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
915
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
916
|
+
command.query['fields'] = fields unless fields.nil?
|
917
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
918
|
+
execute_or_queue_command(command, &block)
|
919
|
+
end
|
920
|
+
|
921
|
+
# Updates labels that are assigned to a CSS domain by its CSS group.
|
922
|
+
# @param [Fixnum] css_group_id
|
923
|
+
# Required. The CSS group ID of the updated CSS domain.
|
924
|
+
# @param [Fixnum] css_domain_id
|
925
|
+
# Required. The ID of the updated CSS domain.
|
926
|
+
# @param [Google::Apis::ContentV2_1::LabelIds] label_ids_object
|
927
|
+
# @param [String] fields
|
928
|
+
# Selector specifying which fields to include in a partial response.
|
929
|
+
# @param [String] quota_user
|
930
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
931
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
932
|
+
# @param [Google::Apis::RequestOptions] options
|
933
|
+
# Request-specific options
|
934
|
+
#
|
935
|
+
# @yield [result, err] Result & error if block supplied
|
936
|
+
# @yieldparam result [Google::Apis::ContentV2_1::Css] parsed result object
|
937
|
+
# @yieldparam err [StandardError] error object if request failed
|
938
|
+
#
|
939
|
+
# @return [Google::Apis::ContentV2_1::Css]
|
940
|
+
#
|
941
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
942
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
943
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
944
|
+
def updatelabels_css(css_group_id, css_domain_id, label_ids_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
945
|
+
command = make_simple_command(:post, 'content/v2.1/{cssGroupId}/csses/{cssDomainId}/updatelabels', options)
|
946
|
+
command.request_representation = Google::Apis::ContentV2_1::LabelIds::Representation
|
947
|
+
command.request_object = label_ids_object
|
948
|
+
command.response_representation = Google::Apis::ContentV2_1::Css::Representation
|
949
|
+
command.response_class = Google::Apis::ContentV2_1::Css
|
950
|
+
command.params['cssGroupId'] = css_group_id unless css_group_id.nil?
|
951
|
+
command.params['cssDomainId'] = css_domain_id unless css_domain_id.nil?
|
952
|
+
command.query['fields'] = fields unless fields.nil?
|
953
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
761
954
|
execute_or_queue_command(command, &block)
|
762
955
|
end
|
763
956
|
|
@@ -767,10 +960,8 @@ module Google
|
|
767
960
|
# @param [String] fields
|
768
961
|
# Selector specifying which fields to include in a partial response.
|
769
962
|
# @param [String] quota_user
|
770
|
-
#
|
771
|
-
# characters.
|
772
|
-
# @param [String] user_ip
|
773
|
-
# Deprecated. Please use quotaUser instead.
|
963
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
964
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
774
965
|
# @param [Google::Apis::RequestOptions] options
|
775
966
|
# Request-specific options
|
776
967
|
#
|
@@ -783,15 +974,14 @@ module Google
|
|
783
974
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
784
975
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
785
976
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
786
|
-
def custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
787
|
-
command = make_simple_command(:post, 'datafeeds/batch', options)
|
977
|
+
def custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
978
|
+
command = make_simple_command(:post, 'content/v2.1/datafeeds/batch', options)
|
788
979
|
command.request_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchRequest::Representation
|
789
980
|
command.request_object = datafeeds_custom_batch_request_object
|
790
981
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse::Representation
|
791
982
|
command.response_class = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse
|
792
983
|
command.query['fields'] = fields unless fields.nil?
|
793
984
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
794
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
795
985
|
execute_or_queue_command(command, &block)
|
796
986
|
end
|
797
987
|
|
@@ -804,10 +994,8 @@ module Google
|
|
804
994
|
# @param [String] fields
|
805
995
|
# Selector specifying which fields to include in a partial response.
|
806
996
|
# @param [String] quota_user
|
807
|
-
#
|
808
|
-
# characters.
|
809
|
-
# @param [String] user_ip
|
810
|
-
# Deprecated. Please use quotaUser instead.
|
997
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
998
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
811
999
|
# @param [Google::Apis::RequestOptions] options
|
812
1000
|
# Request-specific options
|
813
1001
|
#
|
@@ -820,13 +1008,12 @@ module Google
|
|
820
1008
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
821
1009
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
822
1010
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
823
|
-
def delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil,
|
824
|
-
command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
|
1011
|
+
def delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
|
1012
|
+
command = make_simple_command(:delete, 'content/v2.1/{merchantId}/datafeeds/{datafeedId}', options)
|
825
1013
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
826
1014
|
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
827
1015
|
command.query['fields'] = fields unless fields.nil?
|
828
1016
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
829
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
830
1017
|
execute_or_queue_command(command, &block)
|
831
1018
|
end
|
832
1019
|
|
@@ -839,10 +1026,8 @@ module Google
|
|
839
1026
|
# @param [String] fields
|
840
1027
|
# Selector specifying which fields to include in a partial response.
|
841
1028
|
# @param [String] quota_user
|
842
|
-
#
|
843
|
-
# characters.
|
844
|
-
# @param [String] user_ip
|
845
|
-
# Deprecated. Please use quotaUser instead.
|
1029
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1030
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
846
1031
|
# @param [Google::Apis::RequestOptions] options
|
847
1032
|
# Request-specific options
|
848
1033
|
#
|
@@ -855,15 +1040,14 @@ module Google
|
|
855
1040
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
856
1041
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
857
1042
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
858
|
-
def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil,
|
859
|
-
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
|
1043
|
+
def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
|
1044
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
|
860
1045
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse::Representation
|
861
1046
|
command.response_class = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse
|
862
1047
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
863
1048
|
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
864
1049
|
command.query['fields'] = fields unless fields.nil?
|
865
1050
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
866
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
867
1051
|
execute_or_queue_command(command, &block)
|
868
1052
|
end
|
869
1053
|
|
@@ -876,10 +1060,8 @@ module Google
|
|
876
1060
|
# @param [String] fields
|
877
1061
|
# Selector specifying which fields to include in a partial response.
|
878
1062
|
# @param [String] quota_user
|
879
|
-
#
|
880
|
-
# characters.
|
881
|
-
# @param [String] user_ip
|
882
|
-
# Deprecated. Please use quotaUser instead.
|
1063
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1064
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
883
1065
|
# @param [Google::Apis::RequestOptions] options
|
884
1066
|
# Request-specific options
|
885
1067
|
#
|
@@ -892,15 +1074,14 @@ module Google
|
|
892
1074
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
893
1075
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
894
1076
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
895
|
-
def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil,
|
896
|
-
command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
|
1077
|
+
def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
|
1078
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeeds/{datafeedId}', options)
|
897
1079
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
898
1080
|
command.response_class = Google::Apis::ContentV2_1::Datafeed
|
899
1081
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
900
1082
|
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
901
1083
|
command.query['fields'] = fields unless fields.nil?
|
902
1084
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
903
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
904
1085
|
execute_or_queue_command(command, &block)
|
905
1086
|
end
|
906
1087
|
|
@@ -912,10 +1093,8 @@ module Google
|
|
912
1093
|
# @param [String] fields
|
913
1094
|
# Selector specifying which fields to include in a partial response.
|
914
1095
|
# @param [String] quota_user
|
915
|
-
#
|
916
|
-
# characters.
|
917
|
-
# @param [String] user_ip
|
918
|
-
# Deprecated. Please use quotaUser instead.
|
1096
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1097
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
919
1098
|
# @param [Google::Apis::RequestOptions] options
|
920
1099
|
# Request-specific options
|
921
1100
|
#
|
@@ -928,8 +1107,8 @@ module Google
|
|
928
1107
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
929
1108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
930
1109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
931
|
-
def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil,
|
932
|
-
command = make_simple_command(:post, '{merchantId}/datafeeds', options)
|
1110
|
+
def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1111
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/datafeeds', options)
|
933
1112
|
command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
934
1113
|
command.request_object = datafeed_object
|
935
1114
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
@@ -937,7 +1116,6 @@ module Google
|
|
937
1116
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
938
1117
|
command.query['fields'] = fields unless fields.nil?
|
939
1118
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
940
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
941
1119
|
execute_or_queue_command(command, &block)
|
942
1120
|
end
|
943
1121
|
|
@@ -952,10 +1130,8 @@ module Google
|
|
952
1130
|
# @param [String] fields
|
953
1131
|
# Selector specifying which fields to include in a partial response.
|
954
1132
|
# @param [String] quota_user
|
955
|
-
#
|
956
|
-
# characters.
|
957
|
-
# @param [String] user_ip
|
958
|
-
# Deprecated. Please use quotaUser instead.
|
1133
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1134
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
959
1135
|
# @param [Google::Apis::RequestOptions] options
|
960
1136
|
# Request-specific options
|
961
1137
|
#
|
@@ -968,8 +1144,8 @@ module Google
|
|
968
1144
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
969
1145
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
970
1146
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
971
|
-
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
972
|
-
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
|
1147
|
+
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1148
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeeds', options)
|
973
1149
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsListResponse::Representation
|
974
1150
|
command.response_class = Google::Apis::ContentV2_1::DatafeedsListResponse
|
975
1151
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -977,7 +1153,6 @@ module Google
|
|
977
1153
|
command.query['pageToken'] = page_token unless page_token.nil?
|
978
1154
|
command.query['fields'] = fields unless fields.nil?
|
979
1155
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
980
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
981
1156
|
execute_or_queue_command(command, &block)
|
982
1157
|
end
|
983
1158
|
|
@@ -992,10 +1167,8 @@ module Google
|
|
992
1167
|
# @param [String] fields
|
993
1168
|
# Selector specifying which fields to include in a partial response.
|
994
1169
|
# @param [String] quota_user
|
995
|
-
#
|
996
|
-
# characters.
|
997
|
-
# @param [String] user_ip
|
998
|
-
# Deprecated. Please use quotaUser instead.
|
1170
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1171
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
999
1172
|
# @param [Google::Apis::RequestOptions] options
|
1000
1173
|
# Request-specific options
|
1001
1174
|
#
|
@@ -1008,8 +1181,8 @@ module Google
|
|
1008
1181
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1009
1182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1010
1183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1011
|
-
def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil,
|
1012
|
-
command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
|
1184
|
+
def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1185
|
+
command = make_simple_command(:put, 'content/v2.1/{merchantId}/datafeeds/{datafeedId}', options)
|
1013
1186
|
command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
1014
1187
|
command.request_object = datafeed_object
|
1015
1188
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
@@ -1018,7 +1191,6 @@ module Google
|
|
1018
1191
|
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
1019
1192
|
command.query['fields'] = fields unless fields.nil?
|
1020
1193
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1021
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1022
1194
|
execute_or_queue_command(command, &block)
|
1023
1195
|
end
|
1024
1196
|
|
@@ -1027,10 +1199,8 @@ module Google
|
|
1027
1199
|
# @param [String] fields
|
1028
1200
|
# Selector specifying which fields to include in a partial response.
|
1029
1201
|
# @param [String] quota_user
|
1030
|
-
#
|
1031
|
-
# characters.
|
1032
|
-
# @param [String] user_ip
|
1033
|
-
# Deprecated. Please use quotaUser instead.
|
1202
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1203
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1034
1204
|
# @param [Google::Apis::RequestOptions] options
|
1035
1205
|
# Request-specific options
|
1036
1206
|
#
|
@@ -1043,15 +1213,14 @@ module Google
|
|
1043
1213
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1044
1214
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1045
1215
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1046
|
-
def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
1047
|
-
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
|
1216
|
+
def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1217
|
+
command = make_simple_command(:post, 'content/v2.1/datafeedstatuses/batch', options)
|
1048
1218
|
command.request_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequest::Representation
|
1049
1219
|
command.request_object = datafeedstatuses_custom_batch_request_object
|
1050
1220
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse::Representation
|
1051
1221
|
command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse
|
1052
1222
|
command.query['fields'] = fields unless fields.nil?
|
1053
1223
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1054
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1055
1224
|
execute_or_queue_command(command, &block)
|
1056
1225
|
end
|
1057
1226
|
|
@@ -1074,10 +1243,8 @@ module Google
|
|
1074
1243
|
# @param [String] fields
|
1075
1244
|
# Selector specifying which fields to include in a partial response.
|
1076
1245
|
# @param [String] quota_user
|
1077
|
-
#
|
1078
|
-
# characters.
|
1079
|
-
# @param [String] user_ip
|
1080
|
-
# Deprecated. Please use quotaUser instead.
|
1246
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1247
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1081
1248
|
# @param [Google::Apis::RequestOptions] options
|
1082
1249
|
# Request-specific options
|
1083
1250
|
#
|
@@ -1090,8 +1257,8 @@ module Google
|
|
1090
1257
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1091
1258
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1092
1259
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1093
|
-
def get_datafeedstatus(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil,
|
1094
|
-
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
|
1260
|
+
def get_datafeedstatus(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1261
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeedstatuses/{datafeedId}', options)
|
1095
1262
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedStatus::Representation
|
1096
1263
|
command.response_class = Google::Apis::ContentV2_1::DatafeedStatus
|
1097
1264
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1100,7 +1267,6 @@ module Google
|
|
1100
1267
|
command.query['language'] = language unless language.nil?
|
1101
1268
|
command.query['fields'] = fields unless fields.nil?
|
1102
1269
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1103
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1104
1270
|
execute_or_queue_command(command, &block)
|
1105
1271
|
end
|
1106
1272
|
|
@@ -1115,10 +1281,8 @@ module Google
|
|
1115
1281
|
# @param [String] fields
|
1116
1282
|
# Selector specifying which fields to include in a partial response.
|
1117
1283
|
# @param [String] quota_user
|
1118
|
-
#
|
1119
|
-
# characters.
|
1120
|
-
# @param [String] user_ip
|
1121
|
-
# Deprecated. Please use quotaUser instead.
|
1284
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1285
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1122
1286
|
# @param [Google::Apis::RequestOptions] options
|
1123
1287
|
# Request-specific options
|
1124
1288
|
#
|
@@ -1131,8 +1295,8 @@ module Google
|
|
1131
1295
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1132
1296
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1133
1297
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1134
|
-
def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
1135
|
-
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
|
1298
|
+
def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1299
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeedstatuses', options)
|
1136
1300
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesListResponse::Representation
|
1137
1301
|
command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesListResponse
|
1138
1302
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1140,7 +1304,6 @@ module Google
|
|
1140
1304
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1141
1305
|
command.query['fields'] = fields unless fields.nil?
|
1142
1306
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1143
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1144
1307
|
execute_or_queue_command(command, &block)
|
1145
1308
|
end
|
1146
1309
|
|
@@ -1150,10 +1313,8 @@ module Google
|
|
1150
1313
|
# @param [String] fields
|
1151
1314
|
# Selector specifying which fields to include in a partial response.
|
1152
1315
|
# @param [String] quota_user
|
1153
|
-
#
|
1154
|
-
# characters.
|
1155
|
-
# @param [String] user_ip
|
1156
|
-
# Deprecated. Please use quotaUser instead.
|
1316
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1317
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1157
1318
|
# @param [Google::Apis::RequestOptions] options
|
1158
1319
|
# Request-specific options
|
1159
1320
|
#
|
@@ -1166,15 +1327,14 @@ module Google
|
|
1166
1327
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1167
1328
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1168
1329
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1169
|
-
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
1170
|
-
command = make_simple_command(:post, 'liasettings/batch', options)
|
1330
|
+
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1331
|
+
command = make_simple_command(:post, 'content/v2.1/liasettings/batch', options)
|
1171
1332
|
command.request_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchRequest::Representation
|
1172
1333
|
command.request_object = liasettings_custom_batch_request_object
|
1173
1334
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse::Representation
|
1174
1335
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse
|
1175
1336
|
command.query['fields'] = fields unless fields.nil?
|
1176
1337
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1177
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1178
1338
|
execute_or_queue_command(command, &block)
|
1179
1339
|
end
|
1180
1340
|
|
@@ -1188,10 +1348,8 @@ module Google
|
|
1188
1348
|
# @param [String] fields
|
1189
1349
|
# Selector specifying which fields to include in a partial response.
|
1190
1350
|
# @param [String] quota_user
|
1191
|
-
#
|
1192
|
-
# characters.
|
1193
|
-
# @param [String] user_ip
|
1194
|
-
# Deprecated. Please use quotaUser instead.
|
1351
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1352
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1195
1353
|
# @param [Google::Apis::RequestOptions] options
|
1196
1354
|
# Request-specific options
|
1197
1355
|
#
|
@@ -1204,15 +1362,14 @@ module Google
|
|
1204
1362
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1205
1363
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1206
1364
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1207
|
-
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil,
|
1208
|
-
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
|
1365
|
+
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
1366
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/liasettings/{accountId}', options)
|
1209
1367
|
command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
1210
1368
|
command.response_class = Google::Apis::ContentV2_1::LiaSettings
|
1211
1369
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1212
1370
|
command.params['accountId'] = account_id unless account_id.nil?
|
1213
1371
|
command.query['fields'] = fields unless fields.nil?
|
1214
1372
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1215
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1216
1373
|
execute_or_queue_command(command, &block)
|
1217
1374
|
end
|
1218
1375
|
|
@@ -1227,10 +1384,8 @@ module Google
|
|
1227
1384
|
# @param [String] fields
|
1228
1385
|
# Selector specifying which fields to include in a partial response.
|
1229
1386
|
# @param [String] quota_user
|
1230
|
-
#
|
1231
|
-
# characters.
|
1232
|
-
# @param [String] user_ip
|
1233
|
-
# Deprecated. Please use quotaUser instead.
|
1387
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1388
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1234
1389
|
# @param [Google::Apis::RequestOptions] options
|
1235
1390
|
# Request-specific options
|
1236
1391
|
#
|
@@ -1243,15 +1398,14 @@ module Google
|
|
1243
1398
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1244
1399
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1245
1400
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1246
|
-
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil,
|
1247
|
-
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
|
1401
|
+
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
1402
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
|
1248
1403
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse::Representation
|
1249
1404
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse
|
1250
1405
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1251
1406
|
command.params['accountId'] = account_id unless account_id.nil?
|
1252
1407
|
command.query['fields'] = fields unless fields.nil?
|
1253
1408
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1254
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1255
1409
|
execute_or_queue_command(command, &block)
|
1256
1410
|
end
|
1257
1411
|
|
@@ -1265,10 +1419,8 @@ module Google
|
|
1265
1419
|
# @param [String] fields
|
1266
1420
|
# Selector specifying which fields to include in a partial response.
|
1267
1421
|
# @param [String] quota_user
|
1268
|
-
#
|
1269
|
-
# characters.
|
1270
|
-
# @param [String] user_ip
|
1271
|
-
# Deprecated. Please use quotaUser instead.
|
1422
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1423
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1272
1424
|
# @param [Google::Apis::RequestOptions] options
|
1273
1425
|
# Request-specific options
|
1274
1426
|
#
|
@@ -1281,8 +1433,8 @@ module Google
|
|
1281
1433
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1282
1434
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1283
1435
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1284
|
-
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
1285
|
-
command = make_simple_command(:get, '{merchantId}/liasettings', options)
|
1436
|
+
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1437
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/liasettings', options)
|
1286
1438
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsListResponse::Representation
|
1287
1439
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsListResponse
|
1288
1440
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1290,7 +1442,6 @@ module Google
|
|
1290
1442
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1291
1443
|
command.query['fields'] = fields unless fields.nil?
|
1292
1444
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1293
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1294
1445
|
execute_or_queue_command(command, &block)
|
1295
1446
|
end
|
1296
1447
|
|
@@ -1299,10 +1450,8 @@ module Google
|
|
1299
1450
|
# @param [String] fields
|
1300
1451
|
# Selector specifying which fields to include in a partial response.
|
1301
1452
|
# @param [String] quota_user
|
1302
|
-
#
|
1303
|
-
# characters.
|
1304
|
-
# @param [String] user_ip
|
1305
|
-
# Deprecated. Please use quotaUser instead.
|
1453
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1454
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1306
1455
|
# @param [Google::Apis::RequestOptions] options
|
1307
1456
|
# Request-specific options
|
1308
1457
|
#
|
@@ -1315,13 +1464,12 @@ module Google
|
|
1315
1464
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1316
1465
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1317
1466
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1318
|
-
def listposdataproviders_liasetting(fields: nil, quota_user: nil,
|
1319
|
-
command = make_simple_command(:get, 'liasettings/posdataproviders', options)
|
1467
|
+
def listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil, &block)
|
1468
|
+
command = make_simple_command(:get, 'content/v2.1/liasettings/posdataproviders', options)
|
1320
1469
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse::Representation
|
1321
1470
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse
|
1322
1471
|
command.query['fields'] = fields unless fields.nil?
|
1323
1472
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1324
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1325
1473
|
execute_or_queue_command(command, &block)
|
1326
1474
|
end
|
1327
1475
|
|
@@ -1337,10 +1485,8 @@ module Google
|
|
1337
1485
|
# @param [String] fields
|
1338
1486
|
# Selector specifying which fields to include in a partial response.
|
1339
1487
|
# @param [String] quota_user
|
1340
|
-
#
|
1341
|
-
# characters.
|
1342
|
-
# @param [String] user_ip
|
1343
|
-
# Deprecated. Please use quotaUser instead.
|
1488
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1489
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1344
1490
|
# @param [Google::Apis::RequestOptions] options
|
1345
1491
|
# Request-specific options
|
1346
1492
|
#
|
@@ -1353,8 +1499,8 @@ module Google
|
|
1353
1499
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1354
1500
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1355
1501
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1356
|
-
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil,
|
1357
|
-
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
1502
|
+
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil, &block)
|
1503
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
1358
1504
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse::Representation
|
1359
1505
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse
|
1360
1506
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1362,7 +1508,6 @@ module Google
|
|
1362
1508
|
command.query['gmbEmail'] = gmb_email unless gmb_email.nil?
|
1363
1509
|
command.query['fields'] = fields unless fields.nil?
|
1364
1510
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1365
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1366
1511
|
execute_or_queue_command(command, &block)
|
1367
1512
|
end
|
1368
1513
|
|
@@ -1379,10 +1524,8 @@ module Google
|
|
1379
1524
|
# @param [String] fields
|
1380
1525
|
# Selector specifying which fields to include in a partial response.
|
1381
1526
|
# @param [String] quota_user
|
1382
|
-
#
|
1383
|
-
# characters.
|
1384
|
-
# @param [String] user_ip
|
1385
|
-
# Deprecated. Please use quotaUser instead.
|
1527
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1528
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1386
1529
|
# @param [Google::Apis::RequestOptions] options
|
1387
1530
|
# Request-specific options
|
1388
1531
|
#
|
@@ -1395,8 +1538,8 @@ module Google
|
|
1395
1538
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1396
1539
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1397
1540
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1398
|
-
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil,
|
1399
|
-
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
|
1541
|
+
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil, &block)
|
1542
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
|
1400
1543
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse::Representation
|
1401
1544
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse
|
1402
1545
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1404,7 +1547,6 @@ module Google
|
|
1404
1547
|
command.params['country'] = country unless country.nil?
|
1405
1548
|
command.query['fields'] = fields unless fields.nil?
|
1406
1549
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1407
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1408
1550
|
execute_or_queue_command(command, &block)
|
1409
1551
|
end
|
1410
1552
|
|
@@ -1416,21 +1558,19 @@ module Google
|
|
1416
1558
|
# @param [Fixnum] account_id
|
1417
1559
|
# The ID of the account that manages the order. This cannot be a multi-client
|
1418
1560
|
# account.
|
1419
|
-
# @param [String] contact_email
|
1420
|
-
# The email of the inventory verification contact.
|
1421
|
-
# @param [String] contact_name
|
1422
|
-
# The name of the inventory verification contact.
|
1423
1561
|
# @param [String] country
|
1424
1562
|
# The country for which inventory verification is requested.
|
1425
1563
|
# @param [String] language
|
1426
1564
|
# The language for which inventory verification is requested.
|
1565
|
+
# @param [String] contact_name
|
1566
|
+
# The name of the inventory verification contact.
|
1567
|
+
# @param [String] contact_email
|
1568
|
+
# The email of the inventory verification contact.
|
1427
1569
|
# @param [String] fields
|
1428
1570
|
# Selector specifying which fields to include in a partial response.
|
1429
1571
|
# @param [String] quota_user
|
1430
|
-
#
|
1431
|
-
# characters.
|
1432
|
-
# @param [String] user_ip
|
1433
|
-
# Deprecated. Please use quotaUser instead.
|
1572
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1573
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1434
1574
|
# @param [Google::Apis::RequestOptions] options
|
1435
1575
|
# Request-specific options
|
1436
1576
|
#
|
@@ -1443,8 +1583,8 @@ module Google
|
|
1443
1583
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1444
1584
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1445
1585
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1446
|
-
def setinventoryverificationcontact_liasetting(merchant_id, account_id,
|
1447
|
-
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
1586
|
+
def setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil, &block)
|
1587
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
1448
1588
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse::Representation
|
1449
1589
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse
|
1450
1590
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1455,7 +1595,6 @@ module Google
|
|
1455
1595
|
command.query['language'] = language unless language.nil?
|
1456
1596
|
command.query['fields'] = fields unless fields.nil?
|
1457
1597
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1458
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1459
1598
|
execute_or_queue_command(command, &block)
|
1460
1599
|
end
|
1461
1600
|
|
@@ -1476,10 +1615,8 @@ module Google
|
|
1476
1615
|
# @param [String] fields
|
1477
1616
|
# Selector specifying which fields to include in a partial response.
|
1478
1617
|
# @param [String] quota_user
|
1479
|
-
#
|
1480
|
-
# characters.
|
1481
|
-
# @param [String] user_ip
|
1482
|
-
# Deprecated. Please use quotaUser instead.
|
1618
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1619
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1483
1620
|
# @param [Google::Apis::RequestOptions] options
|
1484
1621
|
# Request-specific options
|
1485
1622
|
#
|
@@ -1492,8 +1629,8 @@ module Google
|
|
1492
1629
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1493
1630
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1494
1631
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1495
|
-
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil,
|
1496
|
-
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
|
1632
|
+
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1633
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/setposdataprovider', options)
|
1497
1634
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse::Representation
|
1498
1635
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse
|
1499
1636
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1503,7 +1640,6 @@ module Google
|
|
1503
1640
|
command.query['posExternalAccountId'] = pos_external_account_id unless pos_external_account_id.nil?
|
1504
1641
|
command.query['fields'] = fields unless fields.nil?
|
1505
1642
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1506
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1507
1643
|
execute_or_queue_command(command, &block)
|
1508
1644
|
end
|
1509
1645
|
|
@@ -1519,10 +1655,8 @@ module Google
|
|
1519
1655
|
# @param [String] fields
|
1520
1656
|
# Selector specifying which fields to include in a partial response.
|
1521
1657
|
# @param [String] quota_user
|
1522
|
-
#
|
1523
|
-
# characters.
|
1524
|
-
# @param [String] user_ip
|
1525
|
-
# Deprecated. Please use quotaUser instead.
|
1658
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1659
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1526
1660
|
# @param [Google::Apis::RequestOptions] options
|
1527
1661
|
# Request-specific options
|
1528
1662
|
#
|
@@ -1535,8 +1669,8 @@ module Google
|
|
1535
1669
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1536
1670
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1537
1671
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1538
|
-
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil,
|
1539
|
-
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
|
1672
|
+
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1673
|
+
command = make_simple_command(:put, 'content/v2.1/{merchantId}/liasettings/{accountId}', options)
|
1540
1674
|
command.request_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
1541
1675
|
command.request_object = lia_settings_object
|
1542
1676
|
command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
@@ -1545,7 +1679,6 @@ module Google
|
|
1545
1679
|
command.params['accountId'] = account_id unless account_id.nil?
|
1546
1680
|
command.query['fields'] = fields unless fields.nil?
|
1547
1681
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1548
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1549
1682
|
execute_or_queue_command(command, &block)
|
1550
1683
|
end
|
1551
1684
|
|
@@ -1554,10 +1687,8 @@ module Google
|
|
1554
1687
|
# @param [String] fields
|
1555
1688
|
# Selector specifying which fields to include in a partial response.
|
1556
1689
|
# @param [String] quota_user
|
1557
|
-
#
|
1558
|
-
# characters.
|
1559
|
-
# @param [String] user_ip
|
1560
|
-
# Deprecated. Please use quotaUser instead.
|
1690
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1691
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1561
1692
|
# @param [Google::Apis::RequestOptions] options
|
1562
1693
|
# Request-specific options
|
1563
1694
|
#
|
@@ -1570,15 +1701,14 @@ module Google
|
|
1570
1701
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1571
1702
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1572
1703
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1573
|
-
def custombatch_localinventory(localinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
1574
|
-
command = make_simple_command(:post, 'localinventory/batch', options)
|
1704
|
+
def custombatch_localinventory(localinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1705
|
+
command = make_simple_command(:post, 'content/v2.1/localinventory/batch', options)
|
1575
1706
|
command.request_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchRequest::Representation
|
1576
1707
|
command.request_object = localinventory_custom_batch_request_object
|
1577
1708
|
command.response_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse::Representation
|
1578
1709
|
command.response_class = Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse
|
1579
1710
|
command.query['fields'] = fields unless fields.nil?
|
1580
1711
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1581
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1582
1712
|
execute_or_queue_command(command, &block)
|
1583
1713
|
end
|
1584
1714
|
|
@@ -1592,10 +1722,8 @@ module Google
|
|
1592
1722
|
# @param [String] fields
|
1593
1723
|
# Selector specifying which fields to include in a partial response.
|
1594
1724
|
# @param [String] quota_user
|
1595
|
-
#
|
1596
|
-
# characters.
|
1597
|
-
# @param [String] user_ip
|
1598
|
-
# Deprecated. Please use quotaUser instead.
|
1725
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1726
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1599
1727
|
# @param [Google::Apis::RequestOptions] options
|
1600
1728
|
# Request-specific options
|
1601
1729
|
#
|
@@ -1608,8 +1736,8 @@ module Google
|
|
1608
1736
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1609
1737
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1610
1738
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1611
|
-
def insert_localinventory(merchant_id, product_id, local_inventory_object = nil, fields: nil, quota_user: nil,
|
1612
|
-
command = make_simple_command(:post, '{merchantId}/products/{productId}/localinventory', options)
|
1739
|
+
def insert_localinventory(merchant_id, product_id, local_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1740
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/products/{productId}/localinventory', options)
|
1613
1741
|
command.request_representation = Google::Apis::ContentV2_1::LocalInventory::Representation
|
1614
1742
|
command.request_object = local_inventory_object
|
1615
1743
|
command.response_representation = Google::Apis::ContentV2_1::LocalInventory::Representation
|
@@ -1618,7 +1746,6 @@ module Google
|
|
1618
1746
|
command.params['productId'] = product_id unless product_id.nil?
|
1619
1747
|
command.query['fields'] = fields unless fields.nil?
|
1620
1748
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1621
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1622
1749
|
execute_or_queue_command(command, &block)
|
1623
1750
|
end
|
1624
1751
|
|
@@ -1633,10 +1760,8 @@ module Google
|
|
1633
1760
|
# @param [String] fields
|
1634
1761
|
# Selector specifying which fields to include in a partial response.
|
1635
1762
|
# @param [String] quota_user
|
1636
|
-
#
|
1637
|
-
# characters.
|
1638
|
-
# @param [String] user_ip
|
1639
|
-
# Deprecated. Please use quotaUser instead.
|
1763
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1764
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1640
1765
|
# @param [Google::Apis::RequestOptions] options
|
1641
1766
|
# Request-specific options
|
1642
1767
|
#
|
@@ -1649,8 +1774,8 @@ module Google
|
|
1649
1774
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1650
1775
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1651
1776
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1652
|
-
def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil,
|
1653
|
-
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
|
1777
|
+
def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1778
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
|
1654
1779
|
command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceRequest::Representation
|
1655
1780
|
command.request_object = orderinvoices_create_charge_invoice_request_object
|
1656
1781
|
command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceResponse::Representation
|
@@ -1659,7 +1784,6 @@ module Google
|
|
1659
1784
|
command.params['orderId'] = order_id unless order_id.nil?
|
1660
1785
|
command.query['fields'] = fields unless fields.nil?
|
1661
1786
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1662
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1663
1787
|
execute_or_queue_command(command, &block)
|
1664
1788
|
end
|
1665
1789
|
|
@@ -1676,10 +1800,8 @@ module Google
|
|
1676
1800
|
# @param [String] fields
|
1677
1801
|
# Selector specifying which fields to include in a partial response.
|
1678
1802
|
# @param [String] quota_user
|
1679
|
-
#
|
1680
|
-
# characters.
|
1681
|
-
# @param [String] user_ip
|
1682
|
-
# Deprecated. Please use quotaUser instead.
|
1803
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1804
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1683
1805
|
# @param [Google::Apis::RequestOptions] options
|
1684
1806
|
# Request-specific options
|
1685
1807
|
#
|
@@ -1692,8 +1814,8 @@ module Google
|
|
1692
1814
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1693
1815
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1694
1816
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1695
|
-
def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil,
|
1696
|
-
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
|
1817
|
+
def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1818
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
|
1697
1819
|
command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceRequest::Representation
|
1698
1820
|
command.request_object = orderinvoices_create_refund_invoice_request_object
|
1699
1821
|
command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceResponse::Representation
|
@@ -1702,7 +1824,6 @@ module Google
|
|
1702
1824
|
command.params['orderId'] = order_id unless order_id.nil?
|
1703
1825
|
command.query['fields'] = fields unless fields.nil?
|
1704
1826
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1705
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1706
1827
|
execute_or_queue_command(command, &block)
|
1707
1828
|
end
|
1708
1829
|
|
@@ -1710,11 +1831,11 @@ module Google
|
|
1710
1831
|
# @param [Fixnum] merchant_id
|
1711
1832
|
# The ID of the account that manages the order. This cannot be a multi-client
|
1712
1833
|
# account.
|
1713
|
-
# @param [String] disbursement_start_date
|
1714
|
-
# The first date which disbursements occurred. In ISO 8601 format.
|
1715
1834
|
# @param [String] disbursement_end_date
|
1716
1835
|
# The last date which disbursements occurred. In ISO 8601 format. Default:
|
1717
1836
|
# current date.
|
1837
|
+
# @param [String] disbursement_start_date
|
1838
|
+
# The first date which disbursements occurred. In ISO 8601 format.
|
1718
1839
|
# @param [Fixnum] max_results
|
1719
1840
|
# The maximum number of disbursements to return in the response, used for paging.
|
1720
1841
|
# @param [String] page_token
|
@@ -1722,10 +1843,8 @@ module Google
|
|
1722
1843
|
# @param [String] fields
|
1723
1844
|
# Selector specifying which fields to include in a partial response.
|
1724
1845
|
# @param [String] quota_user
|
1725
|
-
#
|
1726
|
-
# characters.
|
1727
|
-
# @param [String] user_ip
|
1728
|
-
# Deprecated. Please use quotaUser instead.
|
1846
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1847
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1729
1848
|
# @param [Google::Apis::RequestOptions] options
|
1730
1849
|
# Request-specific options
|
1731
1850
|
#
|
@@ -1738,8 +1857,8 @@ module Google
|
|
1738
1857
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1739
1858
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1740
1859
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1741
|
-
def listdisbursements_orderreport(merchant_id,
|
1742
|
-
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
|
1860
|
+
def listdisbursements_orderreport(merchant_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1861
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreports/disbursements', options)
|
1743
1862
|
command.response_representation = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse::Representation
|
1744
1863
|
command.response_class = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse
|
1745
1864
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1749,7 +1868,6 @@ module Google
|
|
1749
1868
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1750
1869
|
command.query['fields'] = fields unless fields.nil?
|
1751
1870
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1752
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1753
1871
|
execute_or_queue_command(command, &block)
|
1754
1872
|
end
|
1755
1873
|
|
@@ -1760,8 +1878,6 @@ module Google
|
|
1760
1878
|
# account.
|
1761
1879
|
# @param [String] disbursement_id
|
1762
1880
|
# The Google-provided ID of the disbursement (found in Wallet).
|
1763
|
-
# @param [String] transaction_start_date
|
1764
|
-
# The first date in which transaction occurred. In ISO 8601 format.
|
1765
1881
|
# @param [Fixnum] max_results
|
1766
1882
|
# The maximum number of disbursements to return in the response, used for paging.
|
1767
1883
|
# @param [String] page_token
|
@@ -1769,13 +1885,13 @@ module Google
|
|
1769
1885
|
# @param [String] transaction_end_date
|
1770
1886
|
# The last date in which transaction occurred. In ISO 8601 format. Default:
|
1771
1887
|
# current date.
|
1888
|
+
# @param [String] transaction_start_date
|
1889
|
+
# The first date in which transaction occurred. In ISO 8601 format.
|
1772
1890
|
# @param [String] fields
|
1773
1891
|
# Selector specifying which fields to include in a partial response.
|
1774
1892
|
# @param [String] quota_user
|
1775
|
-
#
|
1776
|
-
# characters.
|
1777
|
-
# @param [String] user_ip
|
1778
|
-
# Deprecated. Please use quotaUser instead.
|
1893
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1894
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1779
1895
|
# @param [Google::Apis::RequestOptions] options
|
1780
1896
|
# Request-specific options
|
1781
1897
|
#
|
@@ -1788,8 +1904,8 @@ module Google
|
|
1788
1904
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1789
1905
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1790
1906
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1791
|
-
def listtransactions_orderreport(merchant_id, disbursement_id,
|
1792
|
-
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
|
1907
|
+
def listtransactions_orderreport(merchant_id, disbursement_id, max_results: nil, page_token: nil, transaction_end_date: nil, transaction_start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1908
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
|
1793
1909
|
command.response_representation = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse::Representation
|
1794
1910
|
command.response_class = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse
|
1795
1911
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1800,7 +1916,6 @@ module Google
|
|
1800
1916
|
command.query['transactionStartDate'] = transaction_start_date unless transaction_start_date.nil?
|
1801
1917
|
command.query['fields'] = fields unless fields.nil?
|
1802
1918
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1803
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1804
1919
|
execute_or_queue_command(command, &block)
|
1805
1920
|
end
|
1806
1921
|
|
@@ -1814,10 +1929,8 @@ module Google
|
|
1814
1929
|
# @param [String] fields
|
1815
1930
|
# Selector specifying which fields to include in a partial response.
|
1816
1931
|
# @param [String] quota_user
|
1817
|
-
#
|
1818
|
-
# characters.
|
1819
|
-
# @param [String] user_ip
|
1820
|
-
# Deprecated. Please use quotaUser instead.
|
1932
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1933
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1821
1934
|
# @param [Google::Apis::RequestOptions] options
|
1822
1935
|
# Request-specific options
|
1823
1936
|
#
|
@@ -1830,8 +1943,8 @@ module Google
|
|
1830
1943
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1831
1944
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1832
1945
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1833
|
-
def acknowledge_orderreturn(merchant_id, return_id, orderreturns_acknowledge_request_object = nil, fields: nil, quota_user: nil,
|
1834
|
-
command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/acknowledge', options)
|
1946
|
+
def acknowledge_orderreturn(merchant_id, return_id, orderreturns_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1947
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderreturns/{returnId}/acknowledge', options)
|
1835
1948
|
command.request_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeRequest::Representation
|
1836
1949
|
command.request_object = orderreturns_acknowledge_request_object
|
1837
1950
|
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse::Representation
|
@@ -1840,7 +1953,40 @@ module Google
|
|
1840
1953
|
command.params['returnId'] = return_id unless return_id.nil?
|
1841
1954
|
command.query['fields'] = fields unless fields.nil?
|
1842
1955
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1843
|
-
command
|
1956
|
+
execute_or_queue_command(command, &block)
|
1957
|
+
end
|
1958
|
+
|
1959
|
+
# Create return in your Merchant Center account.
|
1960
|
+
# @param [Fixnum] merchant_id
|
1961
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
1962
|
+
# account.
|
1963
|
+
# @param [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest] orderreturns_create_order_return_request_object
|
1964
|
+
# @param [String] fields
|
1965
|
+
# Selector specifying which fields to include in a partial response.
|
1966
|
+
# @param [String] quota_user
|
1967
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1968
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1969
|
+
# @param [Google::Apis::RequestOptions] options
|
1970
|
+
# Request-specific options
|
1971
|
+
#
|
1972
|
+
# @yield [result, err] Result & error if block supplied
|
1973
|
+
# @yieldparam result [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse] parsed result object
|
1974
|
+
# @yieldparam err [StandardError] error object if request failed
|
1975
|
+
#
|
1976
|
+
# @return [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse]
|
1977
|
+
#
|
1978
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1979
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1980
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1981
|
+
def createorderreturn_orderreturn(merchant_id, orderreturns_create_order_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1982
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderreturns/createOrderReturn', options)
|
1983
|
+
command.request_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest::Representation
|
1984
|
+
command.request_object = orderreturns_create_order_return_request_object
|
1985
|
+
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse::Representation
|
1986
|
+
command.response_class = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse
|
1987
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1988
|
+
command.query['fields'] = fields unless fields.nil?
|
1989
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1844
1990
|
execute_or_queue_command(command, &block)
|
1845
1991
|
end
|
1846
1992
|
|
@@ -1853,10 +1999,8 @@ module Google
|
|
1853
1999
|
# @param [String] fields
|
1854
2000
|
# Selector specifying which fields to include in a partial response.
|
1855
2001
|
# @param [String] quota_user
|
1856
|
-
#
|
1857
|
-
# characters.
|
1858
|
-
# @param [String] user_ip
|
1859
|
-
# Deprecated. Please use quotaUser instead.
|
2002
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2003
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1860
2004
|
# @param [Google::Apis::RequestOptions] options
|
1861
2005
|
# Request-specific options
|
1862
2006
|
#
|
@@ -1869,15 +2013,14 @@ module Google
|
|
1869
2013
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1870
2014
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1871
2015
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1872
|
-
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil,
|
1873
|
-
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
|
2016
|
+
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, options: nil, &block)
|
2017
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreturns/{returnId}', options)
|
1874
2018
|
command.response_representation = Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
|
1875
2019
|
command.response_class = Google::Apis::ContentV2_1::MerchantOrderReturn
|
1876
2020
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1877
2021
|
command.params['returnId'] = return_id unless return_id.nil?
|
1878
2022
|
command.query['fields'] = fields unless fields.nil?
|
1879
2023
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1880
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1881
2024
|
execute_or_queue_command(command, &block)
|
1882
2025
|
end
|
1883
2026
|
|
@@ -1889,9 +2032,9 @@ module Google
|
|
1889
2032
|
# Obtains order returns that match the acknowledgement status. When set to true,
|
1890
2033
|
# obtains order returns that have been acknowledged. When false, obtains order
|
1891
2034
|
# returns that have not been acknowledged. When not provided, obtains order
|
1892
|
-
# returns regardless of their acknowledgement status.
|
1893
|
-
#
|
1894
|
-
#
|
2035
|
+
# returns regardless of their acknowledgement status. We recommend using this
|
2036
|
+
# filter set to `false`, in conjunction with the `acknowledge` call, such that
|
2037
|
+
# only un-acknowledged order returns are returned.
|
1895
2038
|
# @param [String] created_end_date
|
1896
2039
|
# Obtains order returns created before this date (inclusively), in ISO 8601
|
1897
2040
|
# format.
|
@@ -1901,10 +2044,10 @@ module Google
|
|
1901
2044
|
# @param [Array<String>, String] google_order_ids
|
1902
2045
|
# Obtains order returns with the specified order ids. If this parameter is
|
1903
2046
|
# provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus,
|
1904
|
-
# shipmentState and acknowledged parameters must be not set.
|
1905
|
-
#
|
1906
|
-
#
|
1907
|
-
#
|
2047
|
+
# shipmentState and acknowledged parameters must be not set. Note: if
|
2048
|
+
# googleOrderId and shipmentTrackingNumber parameters are provided, the obtained
|
2049
|
+
# results will include all order returns that either match the specified order
|
2050
|
+
# id or the specified tracking number.
|
1908
2051
|
# @param [Fixnum] max_results
|
1909
2052
|
# The maximum number of order returns to return in the response, used for paging.
|
1910
2053
|
# The default value is 25 returns per page, and the maximum allowed value is
|
@@ -1924,10 +2067,10 @@ module Google
|
|
1924
2067
|
# @param [Array<String>, String] shipment_tracking_numbers
|
1925
2068
|
# Obtains order returns with the specified tracking numbers. If this parameter
|
1926
2069
|
# is provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus,
|
1927
|
-
# shipmentState and acknowledged parameters must be not set.
|
1928
|
-
#
|
1929
|
-
#
|
1930
|
-
#
|
2070
|
+
# shipmentState and acknowledged parameters must be not set. Note: if
|
2071
|
+
# googleOrderId and shipmentTrackingNumber parameters are provided, the obtained
|
2072
|
+
# results will include all order returns that either match the specified order
|
2073
|
+
# id or the specified tracking number.
|
1931
2074
|
# @param [Array<String>, String] shipment_types
|
1932
2075
|
# Obtains order returns that match any shipment type provided in this parameter.
|
1933
2076
|
# When this parameter is not provided, order returns are obtained regardless of
|
@@ -1935,10 +2078,8 @@ module Google
|
|
1935
2078
|
# @param [String] fields
|
1936
2079
|
# Selector specifying which fields to include in a partial response.
|
1937
2080
|
# @param [String] quota_user
|
1938
|
-
#
|
1939
|
-
# characters.
|
1940
|
-
# @param [String] user_ip
|
1941
|
-
# Deprecated. Please use quotaUser instead.
|
2081
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2082
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1942
2083
|
# @param [Google::Apis::RequestOptions] options
|
1943
2084
|
# Request-specific options
|
1944
2085
|
#
|
@@ -1951,8 +2092,8 @@ module Google
|
|
1951
2092
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1952
2093
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1953
2094
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1954
|
-
def list_orderreturns(merchant_id, acknowledged: nil, created_end_date: nil, created_start_date: nil, google_order_ids: nil, max_results: nil, order_by: nil, page_token: nil, shipment_states: nil, shipment_status: nil, shipment_tracking_numbers: nil, shipment_types: nil, fields: nil, quota_user: nil,
|
1955
|
-
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
|
2095
|
+
def list_orderreturns(merchant_id, acknowledged: nil, created_end_date: nil, created_start_date: nil, google_order_ids: nil, max_results: nil, order_by: nil, page_token: nil, shipment_states: nil, shipment_status: nil, shipment_tracking_numbers: nil, shipment_types: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2096
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreturns', options)
|
1956
2097
|
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsListResponse::Representation
|
1957
2098
|
command.response_class = Google::Apis::ContentV2_1::OrderreturnsListResponse
|
1958
2099
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1969,7 +2110,6 @@ module Google
|
|
1969
2110
|
command.query['shipmentTypes'] = shipment_types unless shipment_types.nil?
|
1970
2111
|
command.query['fields'] = fields unless fields.nil?
|
1971
2112
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1972
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1973
2113
|
execute_or_queue_command(command, &block)
|
1974
2114
|
end
|
1975
2115
|
|
@@ -1983,10 +2123,8 @@ module Google
|
|
1983
2123
|
# @param [String] fields
|
1984
2124
|
# Selector specifying which fields to include in a partial response.
|
1985
2125
|
# @param [String] quota_user
|
1986
|
-
#
|
1987
|
-
# characters.
|
1988
|
-
# @param [String] user_ip
|
1989
|
-
# Deprecated. Please use quotaUser instead.
|
2126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1990
2128
|
# @param [Google::Apis::RequestOptions] options
|
1991
2129
|
# Request-specific options
|
1992
2130
|
#
|
@@ -1999,8 +2137,8 @@ module Google
|
|
1999
2137
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2000
2138
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2001
2139
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2002
|
-
def process_orderreturn(merchant_id, return_id, orderreturns_process_request_object = nil, fields: nil, quota_user: nil,
|
2003
|
-
command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/process', options)
|
2140
|
+
def process_orderreturn(merchant_id, return_id, orderreturns_process_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2141
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderreturns/{returnId}/process', options)
|
2004
2142
|
command.request_representation = Google::Apis::ContentV2_1::OrderreturnsProcessRequest::Representation
|
2005
2143
|
command.request_object = orderreturns_process_request_object
|
2006
2144
|
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsProcessResponse::Representation
|
@@ -2009,7 +2147,6 @@ module Google
|
|
2009
2147
|
command.params['returnId'] = return_id unless return_id.nil?
|
2010
2148
|
command.query['fields'] = fields unless fields.nil?
|
2011
2149
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2012
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2013
2150
|
execute_or_queue_command(command, &block)
|
2014
2151
|
end
|
2015
2152
|
|
@@ -2023,10 +2160,8 @@ module Google
|
|
2023
2160
|
# @param [String] fields
|
2024
2161
|
# Selector specifying which fields to include in a partial response.
|
2025
2162
|
# @param [String] quota_user
|
2026
|
-
#
|
2027
|
-
# characters.
|
2028
|
-
# @param [String] user_ip
|
2029
|
-
# Deprecated. Please use quotaUser instead.
|
2163
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2164
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2030
2165
|
# @param [Google::Apis::RequestOptions] options
|
2031
2166
|
# Request-specific options
|
2032
2167
|
#
|
@@ -2039,8 +2174,8 @@ module Google
|
|
2039
2174
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2040
2175
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2041
2176
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2042
|
-
def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil,
|
2043
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
|
2177
|
+
def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2178
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/acknowledge', options)
|
2044
2179
|
command.request_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeRequest::Representation
|
2045
2180
|
command.request_object = orders_acknowledge_request_object
|
2046
2181
|
command.response_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeResponse::Representation
|
@@ -2049,7 +2184,6 @@ module Google
|
|
2049
2184
|
command.params['orderId'] = order_id unless order_id.nil?
|
2050
2185
|
command.query['fields'] = fields unless fields.nil?
|
2051
2186
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2052
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2053
2187
|
execute_or_queue_command(command, &block)
|
2054
2188
|
end
|
2055
2189
|
|
@@ -2063,10 +2197,8 @@ module Google
|
|
2063
2197
|
# @param [String] fields
|
2064
2198
|
# Selector specifying which fields to include in a partial response.
|
2065
2199
|
# @param [String] quota_user
|
2066
|
-
#
|
2067
|
-
# characters.
|
2068
|
-
# @param [String] user_ip
|
2069
|
-
# Deprecated. Please use quotaUser instead.
|
2200
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2201
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2070
2202
|
# @param [Google::Apis::RequestOptions] options
|
2071
2203
|
# Request-specific options
|
2072
2204
|
#
|
@@ -2079,15 +2211,14 @@ module Google
|
|
2079
2211
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2080
2212
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2081
2213
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2082
|
-
def advancetestorder_order(merchant_id, order_id, fields: nil, quota_user: nil,
|
2083
|
-
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
|
2214
|
+
def advancetestorder_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
|
2215
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/testorders/{orderId}/advance', options)
|
2084
2216
|
command.response_representation = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse::Representation
|
2085
2217
|
command.response_class = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse
|
2086
2218
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2087
2219
|
command.params['orderId'] = order_id unless order_id.nil?
|
2088
2220
|
command.query['fields'] = fields unless fields.nil?
|
2089
2221
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2090
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2091
2222
|
execute_or_queue_command(command, &block)
|
2092
2223
|
end
|
2093
2224
|
|
@@ -2101,10 +2232,8 @@ module Google
|
|
2101
2232
|
# @param [String] fields
|
2102
2233
|
# Selector specifying which fields to include in a partial response.
|
2103
2234
|
# @param [String] quota_user
|
2104
|
-
#
|
2105
|
-
# characters.
|
2106
|
-
# @param [String] user_ip
|
2107
|
-
# Deprecated. Please use quotaUser instead.
|
2235
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2236
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2108
2237
|
# @param [Google::Apis::RequestOptions] options
|
2109
2238
|
# Request-specific options
|
2110
2239
|
#
|
@@ -2117,8 +2246,8 @@ module Google
|
|
2117
2246
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2118
2247
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2119
2248
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2120
|
-
def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil,
|
2121
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
|
2249
|
+
def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2250
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/cancel', options)
|
2122
2251
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelRequest::Representation
|
2123
2252
|
command.request_object = orders_cancel_request_object
|
2124
2253
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelResponse::Representation
|
@@ -2127,7 +2256,6 @@ module Google
|
|
2127
2256
|
command.params['orderId'] = order_id unless order_id.nil?
|
2128
2257
|
command.query['fields'] = fields unless fields.nil?
|
2129
2258
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2130
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2131
2259
|
execute_or_queue_command(command, &block)
|
2132
2260
|
end
|
2133
2261
|
|
@@ -2141,10 +2269,8 @@ module Google
|
|
2141
2269
|
# @param [String] fields
|
2142
2270
|
# Selector specifying which fields to include in a partial response.
|
2143
2271
|
# @param [String] quota_user
|
2144
|
-
#
|
2145
|
-
# characters.
|
2146
|
-
# @param [String] user_ip
|
2147
|
-
# Deprecated. Please use quotaUser instead.
|
2272
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2273
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2148
2274
|
# @param [Google::Apis::RequestOptions] options
|
2149
2275
|
# Request-specific options
|
2150
2276
|
#
|
@@ -2157,8 +2283,8 @@ module Google
|
|
2157
2283
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2158
2284
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2159
2285
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2160
|
-
def cancellineitem_order(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil,
|
2161
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
|
2286
|
+
def cancellineitem_order(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2287
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/cancelLineItem', options)
|
2162
2288
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemRequest::Representation
|
2163
2289
|
command.request_object = orders_cancel_line_item_request_object
|
2164
2290
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemResponse::Representation
|
@@ -2167,7 +2293,6 @@ module Google
|
|
2167
2293
|
command.params['orderId'] = order_id unless order_id.nil?
|
2168
2294
|
command.query['fields'] = fields unless fields.nil?
|
2169
2295
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2170
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2171
2296
|
execute_or_queue_command(command, &block)
|
2172
2297
|
end
|
2173
2298
|
|
@@ -2181,10 +2306,8 @@ module Google
|
|
2181
2306
|
# @param [String] fields
|
2182
2307
|
# Selector specifying which fields to include in a partial response.
|
2183
2308
|
# @param [String] quota_user
|
2184
|
-
#
|
2185
|
-
# characters.
|
2186
|
-
# @param [String] user_ip
|
2187
|
-
# Deprecated. Please use quotaUser instead.
|
2309
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2310
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2188
2311
|
# @param [Google::Apis::RequestOptions] options
|
2189
2312
|
# Request-specific options
|
2190
2313
|
#
|
@@ -2197,8 +2320,8 @@ module Google
|
|
2197
2320
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2198
2321
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2199
2322
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2200
|
-
def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil,
|
2201
|
-
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
|
2323
|
+
def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2324
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/testorders/{orderId}/cancelByCustomer', options)
|
2202
2325
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerRequest::Representation
|
2203
2326
|
command.request_object = orders_cancel_test_order_by_customer_request_object
|
2204
2327
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerResponse::Representation
|
@@ -2207,7 +2330,6 @@ module Google
|
|
2207
2330
|
command.params['orderId'] = order_id unless order_id.nil?
|
2208
2331
|
command.query['fields'] = fields unless fields.nil?
|
2209
2332
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2210
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2211
2333
|
execute_or_queue_command(command, &block)
|
2212
2334
|
end
|
2213
2335
|
|
@@ -2219,10 +2341,8 @@ module Google
|
|
2219
2341
|
# @param [String] fields
|
2220
2342
|
# Selector specifying which fields to include in a partial response.
|
2221
2343
|
# @param [String] quota_user
|
2222
|
-
#
|
2223
|
-
# characters.
|
2224
|
-
# @param [String] user_ip
|
2225
|
-
# Deprecated. Please use quotaUser instead.
|
2344
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2345
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2226
2346
|
# @param [Google::Apis::RequestOptions] options
|
2227
2347
|
# Request-specific options
|
2228
2348
|
#
|
@@ -2235,8 +2355,8 @@ module Google
|
|
2235
2355
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2236
2356
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2237
2357
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2238
|
-
def createtestorder_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil,
|
2239
|
-
command = make_simple_command(:post, '{merchantId}/testorders', options)
|
2358
|
+
def createtestorder_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2359
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/testorders', options)
|
2240
2360
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderRequest::Representation
|
2241
2361
|
command.request_object = orders_create_test_order_request_object
|
2242
2362
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderResponse::Representation
|
@@ -2244,7 +2364,6 @@ module Google
|
|
2244
2364
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2245
2365
|
command.query['fields'] = fields unless fields.nil?
|
2246
2366
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2247
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2248
2367
|
execute_or_queue_command(command, &block)
|
2249
2368
|
end
|
2250
2369
|
|
@@ -2258,10 +2377,8 @@ module Google
|
|
2258
2377
|
# @param [String] fields
|
2259
2378
|
# Selector specifying which fields to include in a partial response.
|
2260
2379
|
# @param [String] quota_user
|
2261
|
-
#
|
2262
|
-
# characters.
|
2263
|
-
# @param [String] user_ip
|
2264
|
-
# Deprecated. Please use quotaUser instead.
|
2380
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2381
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2265
2382
|
# @param [Google::Apis::RequestOptions] options
|
2266
2383
|
# Request-specific options
|
2267
2384
|
#
|
@@ -2274,8 +2391,8 @@ module Google
|
|
2274
2391
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2275
2392
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2276
2393
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2277
|
-
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil,
|
2278
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
|
2394
|
+
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2395
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/testreturn', options)
|
2279
2396
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnRequest::Representation
|
2280
2397
|
command.request_object = orders_create_test_return_request_object
|
2281
2398
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnResponse::Representation
|
@@ -2284,7 +2401,6 @@ module Google
|
|
2284
2401
|
command.params['orderId'] = order_id unless order_id.nil?
|
2285
2402
|
command.query['fields'] = fields unless fields.nil?
|
2286
2403
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2287
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2288
2404
|
execute_or_queue_command(command, &block)
|
2289
2405
|
end
|
2290
2406
|
|
@@ -2297,10 +2413,8 @@ module Google
|
|
2297
2413
|
# @param [String] fields
|
2298
2414
|
# Selector specifying which fields to include in a partial response.
|
2299
2415
|
# @param [String] quota_user
|
2300
|
-
#
|
2301
|
-
# characters.
|
2302
|
-
# @param [String] user_ip
|
2303
|
-
# Deprecated. Please use quotaUser instead.
|
2416
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2417
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2304
2418
|
# @param [Google::Apis::RequestOptions] options
|
2305
2419
|
# Request-specific options
|
2306
2420
|
#
|
@@ -2313,15 +2427,14 @@ module Google
|
|
2313
2427
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2314
2428
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2315
2429
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2316
|
-
def get_order(merchant_id, order_id, fields: nil, quota_user: nil,
|
2317
|
-
command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
|
2430
|
+
def get_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
|
2431
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/orders/{orderId}', options)
|
2318
2432
|
command.response_representation = Google::Apis::ContentV2_1::Order::Representation
|
2319
2433
|
command.response_class = Google::Apis::ContentV2_1::Order
|
2320
2434
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2321
2435
|
command.params['orderId'] = order_id unless order_id.nil?
|
2322
2436
|
command.query['fields'] = fields unless fields.nil?
|
2323
2437
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2324
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2325
2438
|
execute_or_queue_command(command, &block)
|
2326
2439
|
end
|
2327
2440
|
|
@@ -2334,10 +2447,8 @@ module Google
|
|
2334
2447
|
# @param [String] fields
|
2335
2448
|
# Selector specifying which fields to include in a partial response.
|
2336
2449
|
# @param [String] quota_user
|
2337
|
-
#
|
2338
|
-
# characters.
|
2339
|
-
# @param [String] user_ip
|
2340
|
-
# Deprecated. Please use quotaUser instead.
|
2450
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2451
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2341
2452
|
# @param [Google::Apis::RequestOptions] options
|
2342
2453
|
# Request-specific options
|
2343
2454
|
#
|
@@ -2350,15 +2461,14 @@ module Google
|
|
2350
2461
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2351
2462
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2352
2463
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2353
|
-
def getbymerchantorderid_order(merchant_id, merchant_order_id, fields: nil, quota_user: nil,
|
2354
|
-
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
|
2464
|
+
def getbymerchantorderid_order(merchant_id, merchant_order_id, fields: nil, quota_user: nil, options: nil, &block)
|
2465
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
|
2355
2466
|
command.response_representation = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse::Representation
|
2356
2467
|
command.response_class = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
|
2357
2468
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2358
2469
|
command.params['merchantOrderId'] = merchant_order_id unless merchant_order_id.nil?
|
2359
2470
|
command.query['fields'] = fields unless fields.nil?
|
2360
2471
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2361
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2362
2472
|
execute_or_queue_command(command, &block)
|
2363
2473
|
end
|
2364
2474
|
|
@@ -2374,10 +2484,8 @@ module Google
|
|
2374
2484
|
# @param [String] fields
|
2375
2485
|
# Selector specifying which fields to include in a partial response.
|
2376
2486
|
# @param [String] quota_user
|
2377
|
-
#
|
2378
|
-
# characters.
|
2379
|
-
# @param [String] user_ip
|
2380
|
-
# Deprecated. Please use quotaUser instead.
|
2487
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2488
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2381
2489
|
# @param [Google::Apis::RequestOptions] options
|
2382
2490
|
# Request-specific options
|
2383
2491
|
#
|
@@ -2390,8 +2498,8 @@ module Google
|
|
2390
2498
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2391
2499
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2392
2500
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2393
|
-
def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil,
|
2394
|
-
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
|
2501
|
+
def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2502
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/testordertemplates/{templateName}', options)
|
2395
2503
|
command.response_representation = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse::Representation
|
2396
2504
|
command.response_class = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse
|
2397
2505
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2399,19 +2507,17 @@ module Google
|
|
2399
2507
|
command.query['country'] = country unless country.nil?
|
2400
2508
|
command.query['fields'] = fields unless fields.nil?
|
2401
2509
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2402
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2403
2510
|
execute_or_queue_command(command, &block)
|
2404
2511
|
end
|
2405
2512
|
|
2406
2513
|
# Deprecated. Notifies that item return and refund was handled directly by
|
2407
2514
|
# merchant outside of Google payments processing (e.g. cash refund done in store)
|
2408
|
-
# .
|
2409
|
-
#
|
2410
|
-
#
|
2411
|
-
#
|
2412
|
-
#
|
2413
|
-
#
|
2414
|
-
# refunding via Google then via an in-store return.
|
2515
|
+
# . Note: We recommend calling the returnrefundlineitem method to refund in-
|
2516
|
+
# store returns. We will issue the refund directly to the customer. This helps
|
2517
|
+
# to prevent possible differences arising between merchant and Google
|
2518
|
+
# transaction records. We also recommend having the point of sale system
|
2519
|
+
# communicate with Google to ensure that customers do not receive a double
|
2520
|
+
# refund by first refunding via Google then via an in-store return.
|
2415
2521
|
# @param [Fixnum] merchant_id
|
2416
2522
|
# The ID of the account that manages the order. This cannot be a multi-client
|
2417
2523
|
# account.
|
@@ -2421,10 +2527,8 @@ module Google
|
|
2421
2527
|
# @param [String] fields
|
2422
2528
|
# Selector specifying which fields to include in a partial response.
|
2423
2529
|
# @param [String] quota_user
|
2424
|
-
#
|
2425
|
-
# characters.
|
2426
|
-
# @param [String] user_ip
|
2427
|
-
# Deprecated. Please use quotaUser instead.
|
2530
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2531
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2428
2532
|
# @param [Google::Apis::RequestOptions] options
|
2429
2533
|
# Request-specific options
|
2430
2534
|
#
|
@@ -2437,8 +2541,8 @@ module Google
|
|
2437
2541
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2438
2542
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2439
2543
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2440
|
-
def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil,
|
2441
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
|
2544
|
+
def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2545
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
|
2442
2546
|
command.request_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemRequest::Representation
|
2443
2547
|
command.request_object = orders_in_store_refund_line_item_request_object
|
2444
2548
|
command.response_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemResponse::Representation
|
@@ -2447,7 +2551,6 @@ module Google
|
|
2447
2551
|
command.params['orderId'] = order_id unless order_id.nil?
|
2448
2552
|
command.query['fields'] = fields unless fields.nil?
|
2449
2553
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2450
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2451
2554
|
execute_or_queue_command(command, &block)
|
2452
2555
|
end
|
2453
2556
|
|
@@ -2458,18 +2561,16 @@ module Google
|
|
2458
2561
|
# @param [Boolean] acknowledged
|
2459
2562
|
# Obtains orders that match the acknowledgement status. When set to true,
|
2460
2563
|
# obtains orders that have been acknowledged. When false, obtains orders that
|
2461
|
-
# have not been acknowledged.
|
2462
|
-
#
|
2463
|
-
#
|
2564
|
+
# have not been acknowledged. We recommend using this filter set to `false`, in
|
2565
|
+
# conjunction with the `acknowledge` call, such that only un-acknowledged orders
|
2566
|
+
# are returned.
|
2464
2567
|
# @param [Fixnum] max_results
|
2465
2568
|
# The maximum number of orders to return in the response, used for paging. The
|
2466
2569
|
# default value is 25 orders per page, and the maximum allowed value is 250
|
2467
2570
|
# orders per page.
|
2468
2571
|
# @param [String] order_by
|
2469
|
-
# Order results by placement date in descending or ascending order.
|
2470
|
-
#
|
2471
|
-
# - placedDateAsc
|
2472
|
-
# - placedDateDesc
|
2572
|
+
# Order results by placement date in descending or ascending order. Acceptable
|
2573
|
+
# values are: - placedDateAsc - placedDateDesc
|
2473
2574
|
# @param [String] page_token
|
2474
2575
|
# The token returned by the previous request.
|
2475
2576
|
# @param [String] placed_date_end
|
@@ -2484,10 +2585,8 @@ module Google
|
|
2484
2585
|
# @param [String] fields
|
2485
2586
|
# Selector specifying which fields to include in a partial response.
|
2486
2587
|
# @param [String] quota_user
|
2487
|
-
#
|
2488
|
-
# characters.
|
2489
|
-
# @param [String] user_ip
|
2490
|
-
# Deprecated. Please use quotaUser instead.
|
2588
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2589
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2491
2590
|
# @param [Google::Apis::RequestOptions] options
|
2492
2591
|
# Request-specific options
|
2493
2592
|
#
|
@@ -2500,8 +2599,8 @@ module Google
|
|
2500
2599
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2501
2600
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2502
2601
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2503
|
-
def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil,
|
2504
|
-
command = make_simple_command(:get, '{merchantId}/orders', options)
|
2602
|
+
def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2603
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/orders', options)
|
2505
2604
|
command.response_representation = Google::Apis::ContentV2_1::OrdersListResponse::Representation
|
2506
2605
|
command.response_class = Google::Apis::ContentV2_1::OrdersListResponse
|
2507
2606
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2514,7 +2613,6 @@ module Google
|
|
2514
2613
|
command.query['statuses'] = statuses unless statuses.nil?
|
2515
2614
|
command.query['fields'] = fields unless fields.nil?
|
2516
2615
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2517
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2518
2616
|
execute_or_queue_command(command, &block)
|
2519
2617
|
end
|
2520
2618
|
|
@@ -2528,10 +2626,8 @@ module Google
|
|
2528
2626
|
# @param [String] fields
|
2529
2627
|
# Selector specifying which fields to include in a partial response.
|
2530
2628
|
# @param [String] quota_user
|
2531
|
-
#
|
2532
|
-
# characters.
|
2533
|
-
# @param [String] user_ip
|
2534
|
-
# Deprecated. Please use quotaUser instead.
|
2629
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2630
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2535
2631
|
# @param [Google::Apis::RequestOptions] options
|
2536
2632
|
# Request-specific options
|
2537
2633
|
#
|
@@ -2544,8 +2640,8 @@ module Google
|
|
2544
2640
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2545
2641
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2546
2642
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2547
|
-
def refunditem_order(merchant_id, order_id, orders_refund_item_request_object = nil, fields: nil, quota_user: nil,
|
2548
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refunditem', options)
|
2643
|
+
def refunditem_order(merchant_id, order_id, orders_refund_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2644
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/refunditem', options)
|
2549
2645
|
command.request_representation = Google::Apis::ContentV2_1::OrdersRefundItemRequest::Representation
|
2550
2646
|
command.request_object = orders_refund_item_request_object
|
2551
2647
|
command.response_representation = Google::Apis::ContentV2_1::OrdersRefundItemResponse::Representation
|
@@ -2554,7 +2650,6 @@ module Google
|
|
2554
2650
|
command.params['orderId'] = order_id unless order_id.nil?
|
2555
2651
|
command.query['fields'] = fields unless fields.nil?
|
2556
2652
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2557
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2558
2653
|
execute_or_queue_command(command, &block)
|
2559
2654
|
end
|
2560
2655
|
|
@@ -2568,10 +2663,8 @@ module Google
|
|
2568
2663
|
# @param [String] fields
|
2569
2664
|
# Selector specifying which fields to include in a partial response.
|
2570
2665
|
# @param [String] quota_user
|
2571
|
-
#
|
2572
|
-
# characters.
|
2573
|
-
# @param [String] user_ip
|
2574
|
-
# Deprecated. Please use quotaUser instead.
|
2666
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2667
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2575
2668
|
# @param [Google::Apis::RequestOptions] options
|
2576
2669
|
# Request-specific options
|
2577
2670
|
#
|
@@ -2584,8 +2677,8 @@ module Google
|
|
2584
2677
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2585
2678
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2586
2679
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2587
|
-
def refundorder_order(merchant_id, order_id, orders_refund_order_request_object = nil, fields: nil, quota_user: nil,
|
2588
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refundorder', options)
|
2680
|
+
def refundorder_order(merchant_id, order_id, orders_refund_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2681
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/refundorder', options)
|
2589
2682
|
command.request_representation = Google::Apis::ContentV2_1::OrdersRefundOrderRequest::Representation
|
2590
2683
|
command.request_object = orders_refund_order_request_object
|
2591
2684
|
command.response_representation = Google::Apis::ContentV2_1::OrdersRefundOrderResponse::Representation
|
@@ -2594,7 +2687,6 @@ module Google
|
|
2594
2687
|
command.params['orderId'] = order_id unless order_id.nil?
|
2595
2688
|
command.query['fields'] = fields unless fields.nil?
|
2596
2689
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2597
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2598
2690
|
execute_or_queue_command(command, &block)
|
2599
2691
|
end
|
2600
2692
|
|
@@ -2608,10 +2700,8 @@ module Google
|
|
2608
2700
|
# @param [String] fields
|
2609
2701
|
# Selector specifying which fields to include in a partial response.
|
2610
2702
|
# @param [String] quota_user
|
2611
|
-
#
|
2612
|
-
# characters.
|
2613
|
-
# @param [String] user_ip
|
2614
|
-
# Deprecated. Please use quotaUser instead.
|
2703
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2704
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2615
2705
|
# @param [Google::Apis::RequestOptions] options
|
2616
2706
|
# Request-specific options
|
2617
2707
|
#
|
@@ -2624,8 +2714,8 @@ module Google
|
|
2624
2714
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2625
2715
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2626
2716
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2627
|
-
def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil,
|
2628
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
|
2717
|
+
def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2718
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
|
2629
2719
|
command.request_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemRequest::Representation
|
2630
2720
|
command.request_object = orders_reject_return_line_item_request_object
|
2631
2721
|
command.response_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemResponse::Representation
|
@@ -2634,7 +2724,6 @@ module Google
|
|
2634
2724
|
command.params['orderId'] = order_id unless order_id.nil?
|
2635
2725
|
command.query['fields'] = fields unless fields.nil?
|
2636
2726
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2637
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2638
2727
|
execute_or_queue_command(command, &block)
|
2639
2728
|
end
|
2640
2729
|
|
@@ -2653,10 +2742,8 @@ module Google
|
|
2653
2742
|
# @param [String] fields
|
2654
2743
|
# Selector specifying which fields to include in a partial response.
|
2655
2744
|
# @param [String] quota_user
|
2656
|
-
#
|
2657
|
-
# characters.
|
2658
|
-
# @param [String] user_ip
|
2659
|
-
# Deprecated. Please use quotaUser instead.
|
2745
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2746
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2660
2747
|
# @param [Google::Apis::RequestOptions] options
|
2661
2748
|
# Request-specific options
|
2662
2749
|
#
|
@@ -2669,8 +2756,8 @@ module Google
|
|
2669
2756
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2670
2757
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2671
2758
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2672
|
-
def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil,
|
2673
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
|
2759
|
+
def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2760
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/returnRefundLineItem', options)
|
2674
2761
|
command.request_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemRequest::Representation
|
2675
2762
|
command.request_object = orders_return_refund_line_item_request_object
|
2676
2763
|
command.response_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemResponse::Representation
|
@@ -2679,7 +2766,6 @@ module Google
|
|
2679
2766
|
command.params['orderId'] = order_id unless order_id.nil?
|
2680
2767
|
command.query['fields'] = fields unless fields.nil?
|
2681
2768
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2682
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2683
2769
|
execute_or_queue_command(command, &block)
|
2684
2770
|
end
|
2685
2771
|
|
@@ -2697,10 +2783,8 @@ module Google
|
|
2697
2783
|
# @param [String] fields
|
2698
2784
|
# Selector specifying which fields to include in a partial response.
|
2699
2785
|
# @param [String] quota_user
|
2700
|
-
#
|
2701
|
-
# characters.
|
2702
|
-
# @param [String] user_ip
|
2703
|
-
# Deprecated. Please use quotaUser instead.
|
2786
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2787
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2704
2788
|
# @param [Google::Apis::RequestOptions] options
|
2705
2789
|
# Request-specific options
|
2706
2790
|
#
|
@@ -2713,8 +2797,8 @@ module Google
|
|
2713
2797
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2714
2798
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2715
2799
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2716
|
-
def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil,
|
2717
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
|
2800
|
+
def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2801
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/setLineItemMetadata', options)
|
2718
2802
|
command.request_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataRequest::Representation
|
2719
2803
|
command.request_object = orders_set_line_item_metadata_request_object
|
2720
2804
|
command.response_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataResponse::Representation
|
@@ -2723,7 +2807,6 @@ module Google
|
|
2723
2807
|
command.params['orderId'] = order_id unless order_id.nil?
|
2724
2808
|
command.query['fields'] = fields unless fields.nil?
|
2725
2809
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2726
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2727
2810
|
execute_or_queue_command(command, &block)
|
2728
2811
|
end
|
2729
2812
|
|
@@ -2737,10 +2820,8 @@ module Google
|
|
2737
2820
|
# @param [String] fields
|
2738
2821
|
# Selector specifying which fields to include in a partial response.
|
2739
2822
|
# @param [String] quota_user
|
2740
|
-
#
|
2741
|
-
# characters.
|
2742
|
-
# @param [String] user_ip
|
2743
|
-
# Deprecated. Please use quotaUser instead.
|
2823
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2824
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2744
2825
|
# @param [Google::Apis::RequestOptions] options
|
2745
2826
|
# Request-specific options
|
2746
2827
|
#
|
@@ -2753,8 +2834,8 @@ module Google
|
|
2753
2834
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2754
2835
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2755
2836
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2756
|
-
def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil,
|
2757
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
|
2837
|
+
def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2838
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/shipLineItems', options)
|
2758
2839
|
command.request_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsRequest::Representation
|
2759
2840
|
command.request_object = orders_ship_line_items_request_object
|
2760
2841
|
command.response_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsResponse::Representation
|
@@ -2763,7 +2844,6 @@ module Google
|
|
2763
2844
|
command.params['orderId'] = order_id unless order_id.nil?
|
2764
2845
|
command.query['fields'] = fields unless fields.nil?
|
2765
2846
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2766
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2767
2847
|
execute_or_queue_command(command, &block)
|
2768
2848
|
end
|
2769
2849
|
|
@@ -2777,10 +2857,8 @@ module Google
|
|
2777
2857
|
# @param [String] fields
|
2778
2858
|
# Selector specifying which fields to include in a partial response.
|
2779
2859
|
# @param [String] quota_user
|
2780
|
-
#
|
2781
|
-
# characters.
|
2782
|
-
# @param [String] user_ip
|
2783
|
-
# Deprecated. Please use quotaUser instead.
|
2860
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2861
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2784
2862
|
# @param [Google::Apis::RequestOptions] options
|
2785
2863
|
# Request-specific options
|
2786
2864
|
#
|
@@ -2793,8 +2871,8 @@ module Google
|
|
2793
2871
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2794
2872
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2795
2873
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2796
|
-
def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil,
|
2797
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
|
2874
|
+
def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2875
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
|
2798
2876
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsRequest::Representation
|
2799
2877
|
command.request_object = orders_update_line_item_shipping_details_request_object
|
2800
2878
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsResponse::Representation
|
@@ -2803,7 +2881,6 @@ module Google
|
|
2803
2881
|
command.params['orderId'] = order_id unless order_id.nil?
|
2804
2882
|
command.query['fields'] = fields unless fields.nil?
|
2805
2883
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2806
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2807
2884
|
execute_or_queue_command(command, &block)
|
2808
2885
|
end
|
2809
2886
|
|
@@ -2817,10 +2894,8 @@ module Google
|
|
2817
2894
|
# @param [String] fields
|
2818
2895
|
# Selector specifying which fields to include in a partial response.
|
2819
2896
|
# @param [String] quota_user
|
2820
|
-
#
|
2821
|
-
# characters.
|
2822
|
-
# @param [String] user_ip
|
2823
|
-
# Deprecated. Please use quotaUser instead.
|
2897
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2898
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2824
2899
|
# @param [Google::Apis::RequestOptions] options
|
2825
2900
|
# Request-specific options
|
2826
2901
|
#
|
@@ -2833,8 +2908,8 @@ module Google
|
|
2833
2908
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2834
2909
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2835
2910
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2836
|
-
def updatemerchantorderid_order(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil,
|
2837
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
|
2911
|
+
def updatemerchantorderid_order(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2912
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
|
2838
2913
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdRequest::Representation
|
2839
2914
|
command.request_object = orders_update_merchant_order_id_request_object
|
2840
2915
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdResponse::Representation
|
@@ -2843,7 +2918,6 @@ module Google
|
|
2843
2918
|
command.params['orderId'] = order_id unless order_id.nil?
|
2844
2919
|
command.query['fields'] = fields unless fields.nil?
|
2845
2920
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2846
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2847
2921
|
execute_or_queue_command(command, &block)
|
2848
2922
|
end
|
2849
2923
|
|
@@ -2857,10 +2931,8 @@ module Google
|
|
2857
2931
|
# @param [String] fields
|
2858
2932
|
# Selector specifying which fields to include in a partial response.
|
2859
2933
|
# @param [String] quota_user
|
2860
|
-
#
|
2861
|
-
# characters.
|
2862
|
-
# @param [String] user_ip
|
2863
|
-
# Deprecated. Please use quotaUser instead.
|
2934
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2935
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2864
2936
|
# @param [Google::Apis::RequestOptions] options
|
2865
2937
|
# Request-specific options
|
2866
2938
|
#
|
@@ -2873,8 +2945,8 @@ module Google
|
|
2873
2945
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2874
2946
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2875
2947
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2876
|
-
def updateshipment_order(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil,
|
2877
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
|
2948
|
+
def updateshipment_order(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2949
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/updateShipment', options)
|
2878
2950
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentRequest::Representation
|
2879
2951
|
command.request_object = orders_update_shipment_request_object
|
2880
2952
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentResponse::Representation
|
@@ -2883,7 +2955,6 @@ module Google
|
|
2883
2955
|
command.params['orderId'] = order_id unless order_id.nil?
|
2884
2956
|
command.query['fields'] = fields unless fields.nil?
|
2885
2957
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2886
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2887
2958
|
execute_or_queue_command(command, &block)
|
2888
2959
|
end
|
2889
2960
|
|
@@ -2892,10 +2963,8 @@ module Google
|
|
2892
2963
|
# @param [String] fields
|
2893
2964
|
# Selector specifying which fields to include in a partial response.
|
2894
2965
|
# @param [String] quota_user
|
2895
|
-
#
|
2896
|
-
# characters.
|
2897
|
-
# @param [String] user_ip
|
2898
|
-
# Deprecated. Please use quotaUser instead.
|
2966
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2967
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2899
2968
|
# @param [Google::Apis::RequestOptions] options
|
2900
2969
|
# Request-specific options
|
2901
2970
|
#
|
@@ -2908,15 +2977,14 @@ module Google
|
|
2908
2977
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2909
2978
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2910
2979
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2911
|
-
def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
2912
|
-
command = make_simple_command(:post, 'pos/batch', options)
|
2980
|
+
def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2981
|
+
command = make_simple_command(:post, 'content/v2.1/pos/batch', options)
|
2913
2982
|
command.request_representation = Google::Apis::ContentV2_1::PosCustomBatchRequest::Representation
|
2914
2983
|
command.request_object = pos_custom_batch_request_object
|
2915
2984
|
command.response_representation = Google::Apis::ContentV2_1::PosCustomBatchResponse::Representation
|
2916
2985
|
command.response_class = Google::Apis::ContentV2_1::PosCustomBatchResponse
|
2917
2986
|
command.query['fields'] = fields unless fields.nil?
|
2918
2987
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2919
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2920
2988
|
execute_or_queue_command(command, &block)
|
2921
2989
|
end
|
2922
2990
|
|
@@ -2930,10 +2998,8 @@ module Google
|
|
2930
2998
|
# @param [String] fields
|
2931
2999
|
# Selector specifying which fields to include in a partial response.
|
2932
3000
|
# @param [String] quota_user
|
2933
|
-
#
|
2934
|
-
# characters.
|
2935
|
-
# @param [String] user_ip
|
2936
|
-
# Deprecated. Please use quotaUser instead.
|
3001
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3002
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2937
3003
|
# @param [Google::Apis::RequestOptions] options
|
2938
3004
|
# Request-specific options
|
2939
3005
|
#
|
@@ -2946,14 +3012,13 @@ module Google
|
|
2946
3012
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2947
3013
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2948
3014
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2949
|
-
def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil,
|
2950
|
-
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
3015
|
+
def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
|
3016
|
+
command = make_simple_command(:delete, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
2951
3017
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2952
3018
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
2953
3019
|
command.params['storeCode'] = store_code unless store_code.nil?
|
2954
3020
|
command.query['fields'] = fields unless fields.nil?
|
2955
3021
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2956
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2957
3022
|
execute_or_queue_command(command, &block)
|
2958
3023
|
end
|
2959
3024
|
|
@@ -2967,10 +3032,8 @@ module Google
|
|
2967
3032
|
# @param [String] fields
|
2968
3033
|
# Selector specifying which fields to include in a partial response.
|
2969
3034
|
# @param [String] quota_user
|
2970
|
-
#
|
2971
|
-
# characters.
|
2972
|
-
# @param [String] user_ip
|
2973
|
-
# Deprecated. Please use quotaUser instead.
|
3035
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3036
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2974
3037
|
# @param [Google::Apis::RequestOptions] options
|
2975
3038
|
# Request-specific options
|
2976
3039
|
#
|
@@ -2983,8 +3046,8 @@ module Google
|
|
2983
3046
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2984
3047
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2985
3048
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2986
|
-
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil,
|
2987
|
-
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
3049
|
+
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
|
3050
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
2988
3051
|
command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
2989
3052
|
command.response_class = Google::Apis::ContentV2_1::PosStore
|
2990
3053
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2992,7 +3055,6 @@ module Google
|
|
2992
3055
|
command.params['storeCode'] = store_code unless store_code.nil?
|
2993
3056
|
command.query['fields'] = fields unless fields.nil?
|
2994
3057
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2995
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2996
3058
|
execute_or_queue_command(command, &block)
|
2997
3059
|
end
|
2998
3060
|
|
@@ -3005,10 +3067,8 @@ module Google
|
|
3005
3067
|
# @param [String] fields
|
3006
3068
|
# Selector specifying which fields to include in a partial response.
|
3007
3069
|
# @param [String] quota_user
|
3008
|
-
#
|
3009
|
-
# characters.
|
3010
|
-
# @param [String] user_ip
|
3011
|
-
# Deprecated. Please use quotaUser instead.
|
3070
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3071
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3012
3072
|
# @param [Google::Apis::RequestOptions] options
|
3013
3073
|
# Request-specific options
|
3014
3074
|
#
|
@@ -3021,8 +3081,8 @@ module Google
|
|
3021
3081
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3022
3082
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3023
3083
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3024
|
-
def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil,
|
3025
|
-
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
|
3084
|
+
def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3085
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store', options)
|
3026
3086
|
command.request_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
3027
3087
|
command.request_object = pos_store_object
|
3028
3088
|
command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
@@ -3031,7 +3091,6 @@ module Google
|
|
3031
3091
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
3032
3092
|
command.query['fields'] = fields unless fields.nil?
|
3033
3093
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3034
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3035
3094
|
execute_or_queue_command(command, &block)
|
3036
3095
|
end
|
3037
3096
|
|
@@ -3044,10 +3103,8 @@ module Google
|
|
3044
3103
|
# @param [String] fields
|
3045
3104
|
# Selector specifying which fields to include in a partial response.
|
3046
3105
|
# @param [String] quota_user
|
3047
|
-
#
|
3048
|
-
# characters.
|
3049
|
-
# @param [String] user_ip
|
3050
|
-
# Deprecated. Please use quotaUser instead.
|
3106
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3107
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3051
3108
|
# @param [Google::Apis::RequestOptions] options
|
3052
3109
|
# Request-specific options
|
3053
3110
|
#
|
@@ -3060,8 +3117,8 @@ module Google
|
|
3060
3117
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3061
3118
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3062
3119
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3063
|
-
def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil,
|
3064
|
-
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
|
3120
|
+
def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3121
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/inventory', options)
|
3065
3122
|
command.request_representation = Google::Apis::ContentV2_1::PosInventoryRequest::Representation
|
3066
3123
|
command.request_object = pos_inventory_request_object
|
3067
3124
|
command.response_representation = Google::Apis::ContentV2_1::PosInventoryResponse::Representation
|
@@ -3070,7 +3127,6 @@ module Google
|
|
3070
3127
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
3071
3128
|
command.query['fields'] = fields unless fields.nil?
|
3072
3129
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3073
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3074
3130
|
execute_or_queue_command(command, &block)
|
3075
3131
|
end
|
3076
3132
|
|
@@ -3082,10 +3138,8 @@ module Google
|
|
3082
3138
|
# @param [String] fields
|
3083
3139
|
# Selector specifying which fields to include in a partial response.
|
3084
3140
|
# @param [String] quota_user
|
3085
|
-
#
|
3086
|
-
# characters.
|
3087
|
-
# @param [String] user_ip
|
3088
|
-
# Deprecated. Please use quotaUser instead.
|
3141
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3142
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3089
3143
|
# @param [Google::Apis::RequestOptions] options
|
3090
3144
|
# Request-specific options
|
3091
3145
|
#
|
@@ -3098,15 +3152,14 @@ module Google
|
|
3098
3152
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3099
3153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3100
3154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3101
|
-
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil,
|
3102
|
-
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
|
3155
|
+
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
3156
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store', options)
|
3103
3157
|
command.response_representation = Google::Apis::ContentV2_1::PosListResponse::Representation
|
3104
3158
|
command.response_class = Google::Apis::ContentV2_1::PosListResponse
|
3105
3159
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3106
3160
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
3107
3161
|
command.query['fields'] = fields unless fields.nil?
|
3108
3162
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3109
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3110
3163
|
execute_or_queue_command(command, &block)
|
3111
3164
|
end
|
3112
3165
|
|
@@ -3119,10 +3172,8 @@ module Google
|
|
3119
3172
|
# @param [String] fields
|
3120
3173
|
# Selector specifying which fields to include in a partial response.
|
3121
3174
|
# @param [String] quota_user
|
3122
|
-
#
|
3123
|
-
# characters.
|
3124
|
-
# @param [String] user_ip
|
3125
|
-
# Deprecated. Please use quotaUser instead.
|
3175
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3176
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3126
3177
|
# @param [Google::Apis::RequestOptions] options
|
3127
3178
|
# Request-specific options
|
3128
3179
|
#
|
@@ -3135,8 +3186,8 @@ module Google
|
|
3135
3186
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3136
3187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3137
3188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3138
|
-
def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil,
|
3139
|
-
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
|
3189
|
+
def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3190
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/sale', options)
|
3140
3191
|
command.request_representation = Google::Apis::ContentV2_1::PosSaleRequest::Representation
|
3141
3192
|
command.request_object = pos_sale_request_object
|
3142
3193
|
command.response_representation = Google::Apis::ContentV2_1::PosSaleResponse::Representation
|
@@ -3145,7 +3196,6 @@ module Google
|
|
3145
3196
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
3146
3197
|
command.query['fields'] = fields unless fields.nil?
|
3147
3198
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3148
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3149
3199
|
execute_or_queue_command(command, &block)
|
3150
3200
|
end
|
3151
3201
|
|
@@ -3154,10 +3204,8 @@ module Google
|
|
3154
3204
|
# @param [String] fields
|
3155
3205
|
# Selector specifying which fields to include in a partial response.
|
3156
3206
|
# @param [String] quota_user
|
3157
|
-
#
|
3158
|
-
# characters.
|
3159
|
-
# @param [String] user_ip
|
3160
|
-
# Deprecated. Please use quotaUser instead.
|
3207
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3208
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3161
3209
|
# @param [Google::Apis::RequestOptions] options
|
3162
3210
|
# Request-specific options
|
3163
3211
|
#
|
@@ -3170,15 +3218,14 @@ module Google
|
|
3170
3218
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3171
3219
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3172
3220
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3173
|
-
def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
3174
|
-
command = make_simple_command(:post, 'products/batch', options)
|
3221
|
+
def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3222
|
+
command = make_simple_command(:post, 'content/v2.1/products/batch', options)
|
3175
3223
|
command.request_representation = Google::Apis::ContentV2_1::ProductsCustomBatchRequest::Representation
|
3176
3224
|
command.request_object = products_custom_batch_request_object
|
3177
3225
|
command.response_representation = Google::Apis::ContentV2_1::ProductsCustomBatchResponse::Representation
|
3178
3226
|
command.response_class = Google::Apis::ContentV2_1::ProductsCustomBatchResponse
|
3179
3227
|
command.query['fields'] = fields unless fields.nil?
|
3180
3228
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3181
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3182
3229
|
execute_or_queue_command(command, &block)
|
3183
3230
|
end
|
3184
3231
|
|
@@ -3193,10 +3240,8 @@ module Google
|
|
3193
3240
|
# @param [String] fields
|
3194
3241
|
# Selector specifying which fields to include in a partial response.
|
3195
3242
|
# @param [String] quota_user
|
3196
|
-
#
|
3197
|
-
# characters.
|
3198
|
-
# @param [String] user_ip
|
3199
|
-
# Deprecated. Please use quotaUser instead.
|
3243
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3244
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3200
3245
|
# @param [Google::Apis::RequestOptions] options
|
3201
3246
|
# Request-specific options
|
3202
3247
|
#
|
@@ -3209,14 +3254,13 @@ module Google
|
|
3209
3254
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3210
3255
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3211
3256
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3212
|
-
def delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil,
|
3213
|
-
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
|
3257
|
+
def delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3258
|
+
command = make_simple_command(:delete, 'content/v2.1/{merchantId}/products/{productId}', options)
|
3214
3259
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3215
3260
|
command.params['productId'] = product_id unless product_id.nil?
|
3216
3261
|
command.query['feedId'] = feed_id unless feed_id.nil?
|
3217
3262
|
command.query['fields'] = fields unless fields.nil?
|
3218
3263
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3219
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3220
3264
|
execute_or_queue_command(command, &block)
|
3221
3265
|
end
|
3222
3266
|
|
@@ -3229,10 +3273,8 @@ module Google
|
|
3229
3273
|
# @param [String] fields
|
3230
3274
|
# Selector specifying which fields to include in a partial response.
|
3231
3275
|
# @param [String] quota_user
|
3232
|
-
#
|
3233
|
-
# characters.
|
3234
|
-
# @param [String] user_ip
|
3235
|
-
# Deprecated. Please use quotaUser instead.
|
3276
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3277
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3236
3278
|
# @param [Google::Apis::RequestOptions] options
|
3237
3279
|
# Request-specific options
|
3238
3280
|
#
|
@@ -3245,15 +3287,14 @@ module Google
|
|
3245
3287
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3246
3288
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3247
3289
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3248
|
-
def get_product(merchant_id, product_id, fields: nil, quota_user: nil,
|
3249
|
-
command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
|
3290
|
+
def get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
|
3291
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/products/{productId}', options)
|
3250
3292
|
command.response_representation = Google::Apis::ContentV2_1::Product::Representation
|
3251
3293
|
command.response_class = Google::Apis::ContentV2_1::Product
|
3252
3294
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3253
3295
|
command.params['productId'] = product_id unless product_id.nil?
|
3254
3296
|
command.query['fields'] = fields unless fields.nil?
|
3255
3297
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3256
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3257
3298
|
execute_or_queue_command(command, &block)
|
3258
3299
|
end
|
3259
3300
|
|
@@ -3269,10 +3310,8 @@ module Google
|
|
3269
3310
|
# @param [String] fields
|
3270
3311
|
# Selector specifying which fields to include in a partial response.
|
3271
3312
|
# @param [String] quota_user
|
3272
|
-
#
|
3273
|
-
# characters.
|
3274
|
-
# @param [String] user_ip
|
3275
|
-
# Deprecated. Please use quotaUser instead.
|
3313
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3314
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3276
3315
|
# @param [Google::Apis::RequestOptions] options
|
3277
3316
|
# Request-specific options
|
3278
3317
|
#
|
@@ -3285,8 +3324,8 @@ module Google
|
|
3285
3324
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3286
3325
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3287
3326
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3288
|
-
def insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil,
|
3289
|
-
command = make_simple_command(:post, '{merchantId}/products', options)
|
3327
|
+
def insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3328
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/products', options)
|
3290
3329
|
command.request_representation = Google::Apis::ContentV2_1::Product::Representation
|
3291
3330
|
command.request_object = product_object
|
3292
3331
|
command.response_representation = Google::Apis::ContentV2_1::Product::Representation
|
@@ -3295,7 +3334,6 @@ module Google
|
|
3295
3334
|
command.query['feedId'] = feed_id unless feed_id.nil?
|
3296
3335
|
command.query['fields'] = fields unless fields.nil?
|
3297
3336
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3298
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3299
3337
|
execute_or_queue_command(command, &block)
|
3300
3338
|
end
|
3301
3339
|
|
@@ -3312,10 +3350,8 @@ module Google
|
|
3312
3350
|
# @param [String] fields
|
3313
3351
|
# Selector specifying which fields to include in a partial response.
|
3314
3352
|
# @param [String] quota_user
|
3315
|
-
#
|
3316
|
-
# characters.
|
3317
|
-
# @param [String] user_ip
|
3318
|
-
# Deprecated. Please use quotaUser instead.
|
3353
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3354
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3319
3355
|
# @param [Google::Apis::RequestOptions] options
|
3320
3356
|
# Request-specific options
|
3321
3357
|
#
|
@@ -3328,8 +3364,8 @@ module Google
|
|
3328
3364
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3329
3365
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3330
3366
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3331
|
-
def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
3332
|
-
command = make_simple_command(:get, '{merchantId}/products', options)
|
3367
|
+
def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3368
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/products', options)
|
3333
3369
|
command.response_representation = Google::Apis::ContentV2_1::ProductsListResponse::Representation
|
3334
3370
|
command.response_class = Google::Apis::ContentV2_1::ProductsListResponse
|
3335
3371
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3337,7 +3373,6 @@ module Google
|
|
3337
3373
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3338
3374
|
command.query['fields'] = fields unless fields.nil?
|
3339
3375
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3340
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3341
3376
|
execute_or_queue_command(command, &block)
|
3342
3377
|
end
|
3343
3378
|
|
@@ -3346,10 +3381,8 @@ module Google
|
|
3346
3381
|
# @param [String] fields
|
3347
3382
|
# Selector specifying which fields to include in a partial response.
|
3348
3383
|
# @param [String] quota_user
|
3349
|
-
#
|
3350
|
-
# characters.
|
3351
|
-
# @param [String] user_ip
|
3352
|
-
# Deprecated. Please use quotaUser instead.
|
3384
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3385
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3353
3386
|
# @param [Google::Apis::RequestOptions] options
|
3354
3387
|
# Request-specific options
|
3355
3388
|
#
|
@@ -3362,15 +3395,14 @@ module Google
|
|
3362
3395
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3363
3396
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3364
3397
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3365
|
-
def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
3366
|
-
command = make_simple_command(:post, 'productstatuses/batch', options)
|
3398
|
+
def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3399
|
+
command = make_simple_command(:post, 'content/v2.1/productstatuses/batch', options)
|
3367
3400
|
command.request_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequest::Representation
|
3368
3401
|
command.request_object = productstatuses_custom_batch_request_object
|
3369
3402
|
command.response_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse::Representation
|
3370
3403
|
command.response_class = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse
|
3371
3404
|
command.query['fields'] = fields unless fields.nil?
|
3372
3405
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3373
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3374
3406
|
execute_or_queue_command(command, &block)
|
3375
3407
|
end
|
3376
3408
|
|
@@ -3386,10 +3418,8 @@ module Google
|
|
3386
3418
|
# @param [String] fields
|
3387
3419
|
# Selector specifying which fields to include in a partial response.
|
3388
3420
|
# @param [String] quota_user
|
3389
|
-
#
|
3390
|
-
# characters.
|
3391
|
-
# @param [String] user_ip
|
3392
|
-
# Deprecated. Please use quotaUser instead.
|
3421
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3422
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3393
3423
|
# @param [Google::Apis::RequestOptions] options
|
3394
3424
|
# Request-specific options
|
3395
3425
|
#
|
@@ -3402,8 +3432,8 @@ module Google
|
|
3402
3432
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3403
3433
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3404
3434
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3405
|
-
def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil,
|
3406
|
-
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
|
3435
|
+
def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3436
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/productstatuses/{productId}', options)
|
3407
3437
|
command.response_representation = Google::Apis::ContentV2_1::ProductStatus::Representation
|
3408
3438
|
command.response_class = Google::Apis::ContentV2_1::ProductStatus
|
3409
3439
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3411,7 +3441,6 @@ module Google
|
|
3411
3441
|
command.query['destinations'] = destinations unless destinations.nil?
|
3412
3442
|
command.query['fields'] = fields unless fields.nil?
|
3413
3443
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3414
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3415
3444
|
execute_or_queue_command(command, &block)
|
3416
3445
|
end
|
3417
3446
|
|
@@ -3430,10 +3459,8 @@ module Google
|
|
3430
3459
|
# @param [String] fields
|
3431
3460
|
# Selector specifying which fields to include in a partial response.
|
3432
3461
|
# @param [String] quota_user
|
3433
|
-
#
|
3434
|
-
# characters.
|
3435
|
-
# @param [String] user_ip
|
3436
|
-
# Deprecated. Please use quotaUser instead.
|
3462
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3463
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3437
3464
|
# @param [Google::Apis::RequestOptions] options
|
3438
3465
|
# Request-specific options
|
3439
3466
|
#
|
@@ -3446,8 +3473,8 @@ module Google
|
|
3446
3473
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3447
3474
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3448
3475
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3449
|
-
def list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
3450
|
-
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
|
3476
|
+
def list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3477
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/productstatuses', options)
|
3451
3478
|
command.response_representation = Google::Apis::ContentV2_1::ProductstatusesListResponse::Representation
|
3452
3479
|
command.response_class = Google::Apis::ContentV2_1::ProductstatusesListResponse
|
3453
3480
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3456,7 +3483,6 @@ module Google
|
|
3456
3483
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3457
3484
|
command.query['fields'] = fields unless fields.nil?
|
3458
3485
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3459
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3460
3486
|
execute_or_queue_command(command, &block)
|
3461
3487
|
end
|
3462
3488
|
|
@@ -3466,10 +3492,8 @@ module Google
|
|
3466
3492
|
# @param [String] fields
|
3467
3493
|
# Selector specifying which fields to include in a partial response.
|
3468
3494
|
# @param [String] quota_user
|
3469
|
-
#
|
3470
|
-
# characters.
|
3471
|
-
# @param [String] user_ip
|
3472
|
-
# Deprecated. Please use quotaUser instead.
|
3495
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3496
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3473
3497
|
# @param [Google::Apis::RequestOptions] options
|
3474
3498
|
# Request-specific options
|
3475
3499
|
#
|
@@ -3482,14 +3506,13 @@ module Google
|
|
3482
3506
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3483
3507
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3484
3508
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3485
|
-
def get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil,
|
3486
|
-
command = make_simple_command(:get, '{merchantId}/pubsubnotificationsettings', options)
|
3509
|
+
def get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
3510
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/pubsubnotificationsettings', options)
|
3487
3511
|
command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
|
3488
3512
|
command.response_class = Google::Apis::ContentV2_1::PubsubNotificationSettings
|
3489
3513
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3490
3514
|
command.query['fields'] = fields unless fields.nil?
|
3491
3515
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3492
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3493
3516
|
execute_or_queue_command(command, &block)
|
3494
3517
|
end
|
3495
3518
|
|
@@ -3501,10 +3524,8 @@ module Google
|
|
3501
3524
|
# @param [String] fields
|
3502
3525
|
# Selector specifying which fields to include in a partial response.
|
3503
3526
|
# @param [String] quota_user
|
3504
|
-
#
|
3505
|
-
# characters.
|
3506
|
-
# @param [String] user_ip
|
3507
|
-
# Deprecated. Please use quotaUser instead.
|
3527
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3528
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3508
3529
|
# @param [Google::Apis::RequestOptions] options
|
3509
3530
|
# Request-specific options
|
3510
3531
|
#
|
@@ -3517,8 +3538,8 @@ module Google
|
|
3517
3538
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3518
3539
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3519
3540
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3520
|
-
def update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil,
|
3521
|
-
command = make_simple_command(:put, '{merchantId}/pubsubnotificationsettings', options)
|
3541
|
+
def update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3542
|
+
command = make_simple_command(:put, 'content/v2.1/{merchantId}/pubsubnotificationsettings', options)
|
3522
3543
|
command.request_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
|
3523
3544
|
command.request_object = pubsub_notification_settings_object
|
3524
3545
|
command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
|
@@ -3526,7 +3547,6 @@ module Google
|
|
3526
3547
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3527
3548
|
command.query['fields'] = fields unless fields.nil?
|
3528
3549
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3529
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3530
3550
|
execute_or_queue_command(command, &block)
|
3531
3551
|
end
|
3532
3552
|
|
@@ -3536,10 +3556,8 @@ module Google
|
|
3536
3556
|
# @param [String] fields
|
3537
3557
|
# Selector specifying which fields to include in a partial response.
|
3538
3558
|
# @param [String] quota_user
|
3539
|
-
#
|
3540
|
-
# characters.
|
3541
|
-
# @param [String] user_ip
|
3542
|
-
# Deprecated. Please use quotaUser instead.
|
3559
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3560
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3543
3561
|
# @param [Google::Apis::RequestOptions] options
|
3544
3562
|
# Request-specific options
|
3545
3563
|
#
|
@@ -3552,15 +3570,14 @@ module Google
|
|
3552
3570
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3553
3571
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3554
3572
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3555
|
-
def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
3556
|
-
command = make_simple_command(:post, 'regionalinventory/batch', options)
|
3573
|
+
def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3574
|
+
command = make_simple_command(:post, 'content/v2.1/regionalinventory/batch', options)
|
3557
3575
|
command.request_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequest::Representation
|
3558
3576
|
command.request_object = regionalinventory_custom_batch_request_object
|
3559
3577
|
command.response_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse::Representation
|
3560
3578
|
command.response_class = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse
|
3561
3579
|
command.query['fields'] = fields unless fields.nil?
|
3562
3580
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3563
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3564
3581
|
execute_or_queue_command(command, &block)
|
3565
3582
|
end
|
3566
3583
|
|
@@ -3576,10 +3593,8 @@ module Google
|
|
3576
3593
|
# @param [String] fields
|
3577
3594
|
# Selector specifying which fields to include in a partial response.
|
3578
3595
|
# @param [String] quota_user
|
3579
|
-
#
|
3580
|
-
# characters.
|
3581
|
-
# @param [String] user_ip
|
3582
|
-
# Deprecated. Please use quotaUser instead.
|
3596
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3597
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3583
3598
|
# @param [Google::Apis::RequestOptions] options
|
3584
3599
|
# Request-specific options
|
3585
3600
|
#
|
@@ -3592,8 +3607,8 @@ module Google
|
|
3592
3607
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3593
3608
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3594
3609
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3595
|
-
def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil,
|
3596
|
-
command = make_simple_command(:post, '{merchantId}/products/{productId}/regionalinventory', options)
|
3610
|
+
def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3611
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/products/{productId}/regionalinventory', options)
|
3597
3612
|
command.request_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
|
3598
3613
|
command.request_object = regional_inventory_object
|
3599
3614
|
command.response_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
|
@@ -3602,7 +3617,194 @@ module Google
|
|
3602
3617
|
command.params['productId'] = product_id unless product_id.nil?
|
3603
3618
|
command.query['fields'] = fields unless fields.nil?
|
3604
3619
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3605
|
-
command
|
3620
|
+
execute_or_queue_command(command, &block)
|
3621
|
+
end
|
3622
|
+
|
3623
|
+
# Creates a repricing rule for your Merchant Center account.
|
3624
|
+
# @param [Fixnum] merchant_id
|
3625
|
+
# Required. The id of the merchant who owns the repricing rule.
|
3626
|
+
# @param [Google::Apis::ContentV2_1::RepricingRule] repricing_rule_object
|
3627
|
+
# @param [String] rule_id
|
3628
|
+
# Required. The id of the rule to create.
|
3629
|
+
# @param [String] fields
|
3630
|
+
# Selector specifying which fields to include in a partial response.
|
3631
|
+
# @param [String] quota_user
|
3632
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3633
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3634
|
+
# @param [Google::Apis::RequestOptions] options
|
3635
|
+
# Request-specific options
|
3636
|
+
#
|
3637
|
+
# @yield [result, err] Result & error if block supplied
|
3638
|
+
# @yieldparam result [Google::Apis::ContentV2_1::RepricingRule] parsed result object
|
3639
|
+
# @yieldparam err [StandardError] error object if request failed
|
3640
|
+
#
|
3641
|
+
# @return [Google::Apis::ContentV2_1::RepricingRule]
|
3642
|
+
#
|
3643
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3644
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3645
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3646
|
+
def create_repricingrule(merchant_id, repricing_rule_object = nil, rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3647
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/repricingrules', options)
|
3648
|
+
command.request_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
|
3649
|
+
command.request_object = repricing_rule_object
|
3650
|
+
command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
|
3651
|
+
command.response_class = Google::Apis::ContentV2_1::RepricingRule
|
3652
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3653
|
+
command.query['ruleId'] = rule_id unless rule_id.nil?
|
3654
|
+
command.query['fields'] = fields unless fields.nil?
|
3655
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3656
|
+
execute_or_queue_command(command, &block)
|
3657
|
+
end
|
3658
|
+
|
3659
|
+
# Deletes a repricing rule in your Merchant Center account.
|
3660
|
+
# @param [Fixnum] merchant_id
|
3661
|
+
# Required. The id of the merchant who owns the repricing rule.
|
3662
|
+
# @param [String] rule_id
|
3663
|
+
# Required. The id of the rule to Delete.
|
3664
|
+
# @param [String] fields
|
3665
|
+
# Selector specifying which fields to include in a partial response.
|
3666
|
+
# @param [String] quota_user
|
3667
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3668
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3669
|
+
# @param [Google::Apis::RequestOptions] options
|
3670
|
+
# Request-specific options
|
3671
|
+
#
|
3672
|
+
# @yield [result, err] Result & error if block supplied
|
3673
|
+
# @yieldparam result [NilClass] No result returned for this method
|
3674
|
+
# @yieldparam err [StandardError] error object if request failed
|
3675
|
+
#
|
3676
|
+
# @return [void]
|
3677
|
+
#
|
3678
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3679
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3680
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3681
|
+
def delete_repricingrule(merchant_id, rule_id, fields: nil, quota_user: nil, options: nil, &block)
|
3682
|
+
command = make_simple_command(:delete, 'content/v2.1/{merchantId}/repricingrules/{ruleId}', options)
|
3683
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3684
|
+
command.params['ruleId'] = rule_id unless rule_id.nil?
|
3685
|
+
command.query['fields'] = fields unless fields.nil?
|
3686
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3687
|
+
execute_or_queue_command(command, &block)
|
3688
|
+
end
|
3689
|
+
|
3690
|
+
# Retrieves a repricing rule from your Merchant Center account.
|
3691
|
+
# @param [Fixnum] merchant_id
|
3692
|
+
# Required. The id of the merchant who owns the repricing rule.
|
3693
|
+
# @param [String] rule_id
|
3694
|
+
# Required. The id of the rule to retrieve.
|
3695
|
+
# @param [String] fields
|
3696
|
+
# Selector specifying which fields to include in a partial response.
|
3697
|
+
# @param [String] quota_user
|
3698
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3699
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3700
|
+
# @param [Google::Apis::RequestOptions] options
|
3701
|
+
# Request-specific options
|
3702
|
+
#
|
3703
|
+
# @yield [result, err] Result & error if block supplied
|
3704
|
+
# @yieldparam result [Google::Apis::ContentV2_1::RepricingRule] parsed result object
|
3705
|
+
# @yieldparam err [StandardError] error object if request failed
|
3706
|
+
#
|
3707
|
+
# @return [Google::Apis::ContentV2_1::RepricingRule]
|
3708
|
+
#
|
3709
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3710
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3711
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3712
|
+
def get_repricingrule(merchant_id, rule_id, fields: nil, quota_user: nil, options: nil, &block)
|
3713
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/repricingrules/{ruleId}', options)
|
3714
|
+
command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
|
3715
|
+
command.response_class = Google::Apis::ContentV2_1::RepricingRule
|
3716
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3717
|
+
command.params['ruleId'] = rule_id unless rule_id.nil?
|
3718
|
+
command.query['fields'] = fields unless fields.nil?
|
3719
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3720
|
+
execute_or_queue_command(command, &block)
|
3721
|
+
end
|
3722
|
+
|
3723
|
+
# Lists the repricing rules in your Merchant Center account.
|
3724
|
+
# @param [Fixnum] merchant_id
|
3725
|
+
# Required. The id of the merchant who owns the repricing rule.
|
3726
|
+
# @param [String] country_code
|
3727
|
+
# CLDR country code (e.g. "US"), used as a filter on repricing rules.
|
3728
|
+
# @param [String] language_code
|
3729
|
+
# The two-letter ISO 639-1 language code associated with the repricing rule,
|
3730
|
+
# used as a filter.
|
3731
|
+
# @param [Fixnum] page_size
|
3732
|
+
# The maximum number of repricing rules to return. The service may return fewer
|
3733
|
+
# than this value. If unspecified, at most 50 rules will be returned. The
|
3734
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
3735
|
+
# @param [String] page_token
|
3736
|
+
# A page token, received from a previous `ListRepricingRules` call. Provide this
|
3737
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
3738
|
+
# provided to `ListRepricingRules` must match the call that provided the page
|
3739
|
+
# token.
|
3740
|
+
# @param [String] fields
|
3741
|
+
# Selector specifying which fields to include in a partial response.
|
3742
|
+
# @param [String] quota_user
|
3743
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3744
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3745
|
+
# @param [Google::Apis::RequestOptions] options
|
3746
|
+
# Request-specific options
|
3747
|
+
#
|
3748
|
+
# @yield [result, err] Result & error if block supplied
|
3749
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ListRepricingRulesResponse] parsed result object
|
3750
|
+
# @yieldparam err [StandardError] error object if request failed
|
3751
|
+
#
|
3752
|
+
# @return [Google::Apis::ContentV2_1::ListRepricingRulesResponse]
|
3753
|
+
#
|
3754
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3755
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3756
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3757
|
+
def list_repricingrules(merchant_id, country_code: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3758
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/repricingrules', options)
|
3759
|
+
command.response_representation = Google::Apis::ContentV2_1::ListRepricingRulesResponse::Representation
|
3760
|
+
command.response_class = Google::Apis::ContentV2_1::ListRepricingRulesResponse
|
3761
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3762
|
+
command.query['countryCode'] = country_code unless country_code.nil?
|
3763
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3764
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3765
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3766
|
+
command.query['fields'] = fields unless fields.nil?
|
3767
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3768
|
+
execute_or_queue_command(command, &block)
|
3769
|
+
end
|
3770
|
+
|
3771
|
+
# Updates a repricing rule in your Merchant Center account. All mutable fields
|
3772
|
+
# will be overwritten in each update request. In each update, you must provide
|
3773
|
+
# all required mutable fields, or an error will be thrown. If you do not provide
|
3774
|
+
# an optional field in the update request, if that field currently exists, it
|
3775
|
+
# will be deleted from the rule.
|
3776
|
+
# @param [Fixnum] merchant_id
|
3777
|
+
# Required. The id of the merchant who owns the repricing rule.
|
3778
|
+
# @param [String] rule_id
|
3779
|
+
# Required. The id of the rule to update.
|
3780
|
+
# @param [Google::Apis::ContentV2_1::RepricingRule] repricing_rule_object
|
3781
|
+
# @param [String] fields
|
3782
|
+
# Selector specifying which fields to include in a partial response.
|
3783
|
+
# @param [String] quota_user
|
3784
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3785
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3786
|
+
# @param [Google::Apis::RequestOptions] options
|
3787
|
+
# Request-specific options
|
3788
|
+
#
|
3789
|
+
# @yield [result, err] Result & error if block supplied
|
3790
|
+
# @yieldparam result [Google::Apis::ContentV2_1::RepricingRule] parsed result object
|
3791
|
+
# @yieldparam err [StandardError] error object if request failed
|
3792
|
+
#
|
3793
|
+
# @return [Google::Apis::ContentV2_1::RepricingRule]
|
3794
|
+
#
|
3795
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3796
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3797
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3798
|
+
def patch_repricingrule(merchant_id, rule_id, repricing_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3799
|
+
command = make_simple_command(:patch, 'content/v2.1/{merchantId}/repricingrules/{ruleId}', options)
|
3800
|
+
command.request_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
|
3801
|
+
command.request_object = repricing_rule_object
|
3802
|
+
command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
|
3803
|
+
command.response_class = Google::Apis::ContentV2_1::RepricingRule
|
3804
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3805
|
+
command.params['ruleId'] = rule_id unless rule_id.nil?
|
3806
|
+
command.query['fields'] = fields unless fields.nil?
|
3807
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3606
3808
|
execute_or_queue_command(command, &block)
|
3607
3809
|
end
|
3608
3810
|
|
@@ -3611,10 +3813,8 @@ module Google
|
|
3611
3813
|
# @param [String] fields
|
3612
3814
|
# Selector specifying which fields to include in a partial response.
|
3613
3815
|
# @param [String] quota_user
|
3614
|
-
#
|
3615
|
-
# characters.
|
3616
|
-
# @param [String] user_ip
|
3617
|
-
# Deprecated. Please use quotaUser instead.
|
3816
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3817
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3618
3818
|
# @param [Google::Apis::RequestOptions] options
|
3619
3819
|
# Request-specific options
|
3620
3820
|
#
|
@@ -3627,15 +3827,14 @@ module Google
|
|
3627
3827
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3628
3828
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3629
3829
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3630
|
-
def custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
3631
|
-
command = make_simple_command(:post, 'returnaddress/batch', options)
|
3830
|
+
def custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3831
|
+
command = make_simple_command(:post, 'content/v2.1/returnaddress/batch', options)
|
3632
3832
|
command.request_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest::Representation
|
3633
3833
|
command.request_object = returnaddress_custom_batch_request_object
|
3634
3834
|
command.response_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse::Representation
|
3635
3835
|
command.response_class = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse
|
3636
3836
|
command.query['fields'] = fields unless fields.nil?
|
3637
3837
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3638
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3639
3838
|
execute_or_queue_command(command, &block)
|
3640
3839
|
end
|
3641
3840
|
|
@@ -3647,10 +3846,8 @@ module Google
|
|
3647
3846
|
# @param [String] fields
|
3648
3847
|
# Selector specifying which fields to include in a partial response.
|
3649
3848
|
# @param [String] quota_user
|
3650
|
-
#
|
3651
|
-
# characters.
|
3652
|
-
# @param [String] user_ip
|
3653
|
-
# Deprecated. Please use quotaUser instead.
|
3849
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3850
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3654
3851
|
# @param [Google::Apis::RequestOptions] options
|
3655
3852
|
# Request-specific options
|
3656
3853
|
#
|
@@ -3663,13 +3860,12 @@ module Google
|
|
3663
3860
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3664
3861
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3665
3862
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3666
|
-
def delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil,
|
3667
|
-
command = make_simple_command(:delete, '{merchantId}/returnaddress/{returnAddressId}', options)
|
3863
|
+
def delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
|
3864
|
+
command = make_simple_command(:delete, 'content/v2.1/{merchantId}/returnaddress/{returnAddressId}', options)
|
3668
3865
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3669
3866
|
command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
|
3670
3867
|
command.query['fields'] = fields unless fields.nil?
|
3671
3868
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3672
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3673
3869
|
execute_or_queue_command(command, &block)
|
3674
3870
|
end
|
3675
3871
|
|
@@ -3681,10 +3877,8 @@ module Google
|
|
3681
3877
|
# @param [String] fields
|
3682
3878
|
# Selector specifying which fields to include in a partial response.
|
3683
3879
|
# @param [String] quota_user
|
3684
|
-
#
|
3685
|
-
# characters.
|
3686
|
-
# @param [String] user_ip
|
3687
|
-
# Deprecated. Please use quotaUser instead.
|
3880
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3881
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3688
3882
|
# @param [Google::Apis::RequestOptions] options
|
3689
3883
|
# Request-specific options
|
3690
3884
|
#
|
@@ -3697,15 +3891,14 @@ module Google
|
|
3697
3891
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3698
3892
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3699
3893
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3700
|
-
def get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil,
|
3701
|
-
command = make_simple_command(:get, '{merchantId}/returnaddress/{returnAddressId}', options)
|
3894
|
+
def get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
|
3895
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnaddress/{returnAddressId}', options)
|
3702
3896
|
command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
3703
3897
|
command.response_class = Google::Apis::ContentV2_1::ReturnAddress
|
3704
3898
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3705
3899
|
command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
|
3706
3900
|
command.query['fields'] = fields unless fields.nil?
|
3707
3901
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3708
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3709
3902
|
execute_or_queue_command(command, &block)
|
3710
3903
|
end
|
3711
3904
|
|
@@ -3716,10 +3909,8 @@ module Google
|
|
3716
3909
|
# @param [String] fields
|
3717
3910
|
# Selector specifying which fields to include in a partial response.
|
3718
3911
|
# @param [String] quota_user
|
3719
|
-
#
|
3720
|
-
# characters.
|
3721
|
-
# @param [String] user_ip
|
3722
|
-
# Deprecated. Please use quotaUser instead.
|
3912
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3913
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3723
3914
|
# @param [Google::Apis::RequestOptions] options
|
3724
3915
|
# Request-specific options
|
3725
3916
|
#
|
@@ -3732,8 +3923,8 @@ module Google
|
|
3732
3923
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3733
3924
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3734
3925
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3735
|
-
def insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil,
|
3736
|
-
command = make_simple_command(:post, '{merchantId}/returnaddress', options)
|
3926
|
+
def insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3927
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/returnaddress', options)
|
3737
3928
|
command.request_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
3738
3929
|
command.request_object = return_address_object
|
3739
3930
|
command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
@@ -3741,7 +3932,6 @@ module Google
|
|
3741
3932
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3742
3933
|
command.query['fields'] = fields unless fields.nil?
|
3743
3934
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3744
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3745
3935
|
execute_or_queue_command(command, &block)
|
3746
3936
|
end
|
3747
3937
|
|
@@ -3758,10 +3948,8 @@ module Google
|
|
3758
3948
|
# @param [String] fields
|
3759
3949
|
# Selector specifying which fields to include in a partial response.
|
3760
3950
|
# @param [String] quota_user
|
3761
|
-
#
|
3762
|
-
# characters.
|
3763
|
-
# @param [String] user_ip
|
3764
|
-
# Deprecated. Please use quotaUser instead.
|
3951
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3952
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3765
3953
|
# @param [Google::Apis::RequestOptions] options
|
3766
3954
|
# Request-specific options
|
3767
3955
|
#
|
@@ -3774,8 +3962,8 @@ module Google
|
|
3774
3962
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3775
3963
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3776
3964
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3777
|
-
def list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
3778
|
-
command = make_simple_command(:get, '{merchantId}/returnaddress', options)
|
3965
|
+
def list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3966
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnaddress', options)
|
3779
3967
|
command.response_representation = Google::Apis::ContentV2_1::ReturnaddressListResponse::Representation
|
3780
3968
|
command.response_class = Google::Apis::ContentV2_1::ReturnaddressListResponse
|
3781
3969
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3784,7 +3972,6 @@ module Google
|
|
3784
3972
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3785
3973
|
command.query['fields'] = fields unless fields.nil?
|
3786
3974
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3787
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3788
3975
|
execute_or_queue_command(command, &block)
|
3789
3976
|
end
|
3790
3977
|
|
@@ -3793,10 +3980,8 @@ module Google
|
|
3793
3980
|
# @param [String] fields
|
3794
3981
|
# Selector specifying which fields to include in a partial response.
|
3795
3982
|
# @param [String] quota_user
|
3796
|
-
#
|
3797
|
-
# characters.
|
3798
|
-
# @param [String] user_ip
|
3799
|
-
# Deprecated. Please use quotaUser instead.
|
3983
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3984
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3800
3985
|
# @param [Google::Apis::RequestOptions] options
|
3801
3986
|
# Request-specific options
|
3802
3987
|
#
|
@@ -3809,15 +3994,14 @@ module Google
|
|
3809
3994
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3810
3995
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3811
3996
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3812
|
-
def custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
3813
|
-
command = make_simple_command(:post, 'returnpolicy/batch', options)
|
3997
|
+
def custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3998
|
+
command = make_simple_command(:post, 'content/v2.1/returnpolicy/batch', options)
|
3814
3999
|
command.request_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequest::Representation
|
3815
4000
|
command.request_object = returnpolicy_custom_batch_request_object
|
3816
4001
|
command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse::Representation
|
3817
4002
|
command.response_class = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse
|
3818
4003
|
command.query['fields'] = fields unless fields.nil?
|
3819
4004
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3820
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3821
4005
|
execute_or_queue_command(command, &block)
|
3822
4006
|
end
|
3823
4007
|
|
@@ -3829,10 +4013,8 @@ module Google
|
|
3829
4013
|
# @param [String] fields
|
3830
4014
|
# Selector specifying which fields to include in a partial response.
|
3831
4015
|
# @param [String] quota_user
|
3832
|
-
#
|
3833
|
-
# characters.
|
3834
|
-
# @param [String] user_ip
|
3835
|
-
# Deprecated. Please use quotaUser instead.
|
4016
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4017
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3836
4018
|
# @param [Google::Apis::RequestOptions] options
|
3837
4019
|
# Request-specific options
|
3838
4020
|
#
|
@@ -3845,13 +4027,12 @@ module Google
|
|
3845
4027
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3846
4028
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3847
4029
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3848
|
-
def delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil,
|
3849
|
-
command = make_simple_command(:delete, '{merchantId}/returnpolicy/{returnPolicyId}', options)
|
4030
|
+
def delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
|
4031
|
+
command = make_simple_command(:delete, 'content/v2.1/{merchantId}/returnpolicy/{returnPolicyId}', options)
|
3850
4032
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3851
4033
|
command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
|
3852
4034
|
command.query['fields'] = fields unless fields.nil?
|
3853
4035
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3854
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3855
4036
|
execute_or_queue_command(command, &block)
|
3856
4037
|
end
|
3857
4038
|
|
@@ -3863,10 +4044,8 @@ module Google
|
|
3863
4044
|
# @param [String] fields
|
3864
4045
|
# Selector specifying which fields to include in a partial response.
|
3865
4046
|
# @param [String] quota_user
|
3866
|
-
#
|
3867
|
-
# characters.
|
3868
|
-
# @param [String] user_ip
|
3869
|
-
# Deprecated. Please use quotaUser instead.
|
4047
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4048
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3870
4049
|
# @param [Google::Apis::RequestOptions] options
|
3871
4050
|
# Request-specific options
|
3872
4051
|
#
|
@@ -3879,15 +4058,14 @@ module Google
|
|
3879
4058
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3880
4059
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3881
4060
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3882
|
-
def get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil,
|
3883
|
-
command = make_simple_command(:get, '{merchantId}/returnpolicy/{returnPolicyId}', options)
|
4061
|
+
def get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
|
4062
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnpolicy/{returnPolicyId}', options)
|
3884
4063
|
command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
3885
4064
|
command.response_class = Google::Apis::ContentV2_1::ReturnPolicy
|
3886
4065
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3887
4066
|
command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
|
3888
4067
|
command.query['fields'] = fields unless fields.nil?
|
3889
4068
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3890
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3891
4069
|
execute_or_queue_command(command, &block)
|
3892
4070
|
end
|
3893
4071
|
|
@@ -3898,10 +4076,8 @@ module Google
|
|
3898
4076
|
# @param [String] fields
|
3899
4077
|
# Selector specifying which fields to include in a partial response.
|
3900
4078
|
# @param [String] quota_user
|
3901
|
-
#
|
3902
|
-
# characters.
|
3903
|
-
# @param [String] user_ip
|
3904
|
-
# Deprecated. Please use quotaUser instead.
|
4079
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4080
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3905
4081
|
# @param [Google::Apis::RequestOptions] options
|
3906
4082
|
# Request-specific options
|
3907
4083
|
#
|
@@ -3914,8 +4090,8 @@ module Google
|
|
3914
4090
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3915
4091
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3916
4092
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3917
|
-
def insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil,
|
3918
|
-
command = make_simple_command(:post, '{merchantId}/returnpolicy', options)
|
4093
|
+
def insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4094
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/returnpolicy', options)
|
3919
4095
|
command.request_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
3920
4096
|
command.request_object = return_policy_object
|
3921
4097
|
command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
@@ -3923,7 +4099,6 @@ module Google
|
|
3923
4099
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3924
4100
|
command.query['fields'] = fields unless fields.nil?
|
3925
4101
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3926
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3927
4102
|
execute_or_queue_command(command, &block)
|
3928
4103
|
end
|
3929
4104
|
|
@@ -3933,10 +4108,8 @@ module Google
|
|
3933
4108
|
# @param [String] fields
|
3934
4109
|
# Selector specifying which fields to include in a partial response.
|
3935
4110
|
# @param [String] quota_user
|
3936
|
-
#
|
3937
|
-
# characters.
|
3938
|
-
# @param [String] user_ip
|
3939
|
-
# Deprecated. Please use quotaUser instead.
|
4111
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4112
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3940
4113
|
# @param [Google::Apis::RequestOptions] options
|
3941
4114
|
# Request-specific options
|
3942
4115
|
#
|
@@ -3949,14 +4122,13 @@ module Google
|
|
3949
4122
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3950
4123
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3951
4124
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3952
|
-
def list_returnpolicies(merchant_id, fields: nil, quota_user: nil,
|
3953
|
-
command = make_simple_command(:get, '{merchantId}/returnpolicy', options)
|
4125
|
+
def list_returnpolicies(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
4126
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnpolicy', options)
|
3954
4127
|
command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyListResponse::Representation
|
3955
4128
|
command.response_class = Google::Apis::ContentV2_1::ReturnpolicyListResponse
|
3956
4129
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3957
4130
|
command.query['fields'] = fields unless fields.nil?
|
3958
4131
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3959
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3960
4132
|
execute_or_queue_command(command, &block)
|
3961
4133
|
end
|
3962
4134
|
|
@@ -3968,10 +4140,8 @@ module Google
|
|
3968
4140
|
# @param [String] fields
|
3969
4141
|
# Selector specifying which fields to include in a partial response.
|
3970
4142
|
# @param [String] quota_user
|
3971
|
-
#
|
3972
|
-
# characters.
|
3973
|
-
# @param [String] user_ip
|
3974
|
-
# Deprecated. Please use quotaUser instead.
|
4143
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4144
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3975
4145
|
# @param [Google::Apis::RequestOptions] options
|
3976
4146
|
# Request-specific options
|
3977
4147
|
#
|
@@ -3984,15 +4154,14 @@ module Google
|
|
3984
4154
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3985
4155
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3986
4156
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3987
|
-
def get_settlementreport(merchant_id, settlement_id, fields: nil, quota_user: nil,
|
3988
|
-
command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}', options)
|
4157
|
+
def get_settlementreport(merchant_id, settlement_id, fields: nil, quota_user: nil, options: nil, &block)
|
4158
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/settlementreports/{settlementId}', options)
|
3989
4159
|
command.response_representation = Google::Apis::ContentV2_1::SettlementReport::Representation
|
3990
4160
|
command.response_class = Google::Apis::ContentV2_1::SettlementReport
|
3991
4161
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3992
4162
|
command.params['settlementId'] = settlement_id unless settlement_id.nil?
|
3993
4163
|
command.query['fields'] = fields unless fields.nil?
|
3994
4164
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3995
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3996
4165
|
execute_or_queue_command(command, &block)
|
3997
4166
|
end
|
3998
4167
|
|
@@ -4014,10 +4183,8 @@ module Google
|
|
4014
4183
|
# @param [String] fields
|
4015
4184
|
# Selector specifying which fields to include in a partial response.
|
4016
4185
|
# @param [String] quota_user
|
4017
|
-
#
|
4018
|
-
# characters.
|
4019
|
-
# @param [String] user_ip
|
4020
|
-
# Deprecated. Please use quotaUser instead.
|
4186
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4187
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4021
4188
|
# @param [Google::Apis::RequestOptions] options
|
4022
4189
|
# Request-specific options
|
4023
4190
|
#
|
@@ -4030,8 +4197,8 @@ module Google
|
|
4030
4197
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4031
4198
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4032
4199
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4033
|
-
def list_settlementreports(merchant_id, max_results: nil, page_token: nil, transfer_end_date: nil, transfer_start_date: nil, fields: nil, quota_user: nil,
|
4034
|
-
command = make_simple_command(:get, '{merchantId}/settlementreports', options)
|
4200
|
+
def list_settlementreports(merchant_id, max_results: nil, page_token: nil, transfer_end_date: nil, transfer_start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4201
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/settlementreports', options)
|
4035
4202
|
command.response_representation = Google::Apis::ContentV2_1::SettlementreportsListResponse::Representation
|
4036
4203
|
command.response_class = Google::Apis::ContentV2_1::SettlementreportsListResponse
|
4037
4204
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -4041,7 +4208,6 @@ module Google
|
|
4041
4208
|
command.query['transferStartDate'] = transfer_start_date unless transfer_start_date.nil?
|
4042
4209
|
command.query['fields'] = fields unless fields.nil?
|
4043
4210
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4044
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
4045
4211
|
execute_or_queue_command(command, &block)
|
4046
4212
|
end
|
4047
4213
|
|
@@ -4062,10 +4228,8 @@ module Google
|
|
4062
4228
|
# @param [String] fields
|
4063
4229
|
# Selector specifying which fields to include in a partial response.
|
4064
4230
|
# @param [String] quota_user
|
4065
|
-
#
|
4066
|
-
# characters.
|
4067
|
-
# @param [String] user_ip
|
4068
|
-
# Deprecated. Please use quotaUser instead.
|
4231
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4232
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4069
4233
|
# @param [Google::Apis::RequestOptions] options
|
4070
4234
|
# Request-specific options
|
4071
4235
|
#
|
@@ -4078,8 +4242,8 @@ module Google
|
|
4078
4242
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4079
4243
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4080
4244
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4081
|
-
def list_settlementtransactions(merchant_id, settlement_id, max_results: nil, page_token: nil, transaction_ids: nil, fields: nil, quota_user: nil,
|
4082
|
-
command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}/transactions', options)
|
4245
|
+
def list_settlementtransactions(merchant_id, settlement_id, max_results: nil, page_token: nil, transaction_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4246
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/settlementreports/{settlementId}/transactions', options)
|
4083
4247
|
command.response_representation = Google::Apis::ContentV2_1::SettlementtransactionsListResponse::Representation
|
4084
4248
|
command.response_class = Google::Apis::ContentV2_1::SettlementtransactionsListResponse
|
4085
4249
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -4089,7 +4253,6 @@ module Google
|
|
4089
4253
|
command.query['transactionIds'] = transaction_ids unless transaction_ids.nil?
|
4090
4254
|
command.query['fields'] = fields unless fields.nil?
|
4091
4255
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4092
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
4093
4256
|
execute_or_queue_command(command, &block)
|
4094
4257
|
end
|
4095
4258
|
|
@@ -4099,10 +4262,8 @@ module Google
|
|
4099
4262
|
# @param [String] fields
|
4100
4263
|
# Selector specifying which fields to include in a partial response.
|
4101
4264
|
# @param [String] quota_user
|
4102
|
-
#
|
4103
|
-
# characters.
|
4104
|
-
# @param [String] user_ip
|
4105
|
-
# Deprecated. Please use quotaUser instead.
|
4265
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4266
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4106
4267
|
# @param [Google::Apis::RequestOptions] options
|
4107
4268
|
# Request-specific options
|
4108
4269
|
#
|
@@ -4115,15 +4276,14 @@ module Google
|
|
4115
4276
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4116
4277
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4117
4278
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4118
|
-
def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
4119
|
-
command = make_simple_command(:post, 'shippingsettings/batch', options)
|
4279
|
+
def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4280
|
+
command = make_simple_command(:post, 'content/v2.1/shippingsettings/batch', options)
|
4120
4281
|
command.request_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest::Representation
|
4121
4282
|
command.request_object = shippingsettings_custom_batch_request_object
|
4122
4283
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse::Representation
|
4123
4284
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse
|
4124
4285
|
command.query['fields'] = fields unless fields.nil?
|
4125
4286
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4126
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
4127
4287
|
execute_or_queue_command(command, &block)
|
4128
4288
|
end
|
4129
4289
|
|
@@ -4137,10 +4297,8 @@ module Google
|
|
4137
4297
|
# @param [String] fields
|
4138
4298
|
# Selector specifying which fields to include in a partial response.
|
4139
4299
|
# @param [String] quota_user
|
4140
|
-
#
|
4141
|
-
# characters.
|
4142
|
-
# @param [String] user_ip
|
4143
|
-
# Deprecated. Please use quotaUser instead.
|
4300
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4301
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4144
4302
|
# @param [Google::Apis::RequestOptions] options
|
4145
4303
|
# Request-specific options
|
4146
4304
|
#
|
@@ -4153,15 +4311,14 @@ module Google
|
|
4153
4311
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4154
4312
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4155
4313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4156
|
-
def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil,
|
4157
|
-
command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
|
4314
|
+
def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
4315
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/shippingsettings/{accountId}', options)
|
4158
4316
|
command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|
4159
4317
|
command.response_class = Google::Apis::ContentV2_1::ShippingSettings
|
4160
4318
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
4161
4319
|
command.params['accountId'] = account_id unless account_id.nil?
|
4162
4320
|
command.query['fields'] = fields unless fields.nil?
|
4163
4321
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4164
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
4165
4322
|
execute_or_queue_command(command, &block)
|
4166
4323
|
end
|
4167
4324
|
|
@@ -4171,10 +4328,8 @@ module Google
|
|
4171
4328
|
# @param [String] fields
|
4172
4329
|
# Selector specifying which fields to include in a partial response.
|
4173
4330
|
# @param [String] quota_user
|
4174
|
-
#
|
4175
|
-
# characters.
|
4176
|
-
# @param [String] user_ip
|
4177
|
-
# Deprecated. Please use quotaUser instead.
|
4331
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4332
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4178
4333
|
# @param [Google::Apis::RequestOptions] options
|
4179
4334
|
# Request-specific options
|
4180
4335
|
#
|
@@ -4187,14 +4342,13 @@ module Google
|
|
4187
4342
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4188
4343
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4189
4344
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4190
|
-
def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil,
|
4191
|
-
command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
|
4345
|
+
def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
4346
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/supportedCarriers', options)
|
4192
4347
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse::Representation
|
4193
4348
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse
|
4194
4349
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
4195
4350
|
command.query['fields'] = fields unless fields.nil?
|
4196
4351
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4197
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
4198
4352
|
execute_or_queue_command(command, &block)
|
4199
4353
|
end
|
4200
4354
|
|
@@ -4204,10 +4358,8 @@ module Google
|
|
4204
4358
|
# @param [String] fields
|
4205
4359
|
# Selector specifying which fields to include in a partial response.
|
4206
4360
|
# @param [String] quota_user
|
4207
|
-
#
|
4208
|
-
# characters.
|
4209
|
-
# @param [String] user_ip
|
4210
|
-
# Deprecated. Please use quotaUser instead.
|
4361
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4362
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4211
4363
|
# @param [Google::Apis::RequestOptions] options
|
4212
4364
|
# Request-specific options
|
4213
4365
|
#
|
@@ -4220,14 +4372,13 @@ module Google
|
|
4220
4372
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4221
4373
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4222
4374
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4223
|
-
def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil,
|
4224
|
-
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
|
4375
|
+
def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
4376
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/supportedHolidays', options)
|
4225
4377
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse::Representation
|
4226
4378
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
|
4227
4379
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
4228
4380
|
command.query['fields'] = fields unless fields.nil?
|
4229
4381
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4230
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
4231
4382
|
execute_or_queue_command(command, &block)
|
4232
4383
|
end
|
4233
4384
|
|
@@ -4237,10 +4388,8 @@ module Google
|
|
4237
4388
|
# @param [String] fields
|
4238
4389
|
# Selector specifying which fields to include in a partial response.
|
4239
4390
|
# @param [String] quota_user
|
4240
|
-
#
|
4241
|
-
# characters.
|
4242
|
-
# @param [String] user_ip
|
4243
|
-
# Deprecated. Please use quotaUser instead.
|
4391
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4392
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4244
4393
|
# @param [Google::Apis::RequestOptions] options
|
4245
4394
|
# Request-specific options
|
4246
4395
|
#
|
@@ -4253,14 +4402,13 @@ module Google
|
|
4253
4402
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4254
4403
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4255
4404
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4256
|
-
def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil,
|
4257
|
-
command = make_simple_command(:get, '{merchantId}/supportedPickupServices', options)
|
4405
|
+
def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
4406
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/supportedPickupServices', options)
|
4258
4407
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse::Representation
|
4259
4408
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse
|
4260
4409
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
4261
4410
|
command.query['fields'] = fields unless fields.nil?
|
4262
4411
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4263
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
4264
4412
|
execute_or_queue_command(command, &block)
|
4265
4413
|
end
|
4266
4414
|
|
@@ -4276,10 +4424,8 @@ module Google
|
|
4276
4424
|
# @param [String] fields
|
4277
4425
|
# Selector specifying which fields to include in a partial response.
|
4278
4426
|
# @param [String] quota_user
|
4279
|
-
#
|
4280
|
-
# characters.
|
4281
|
-
# @param [String] user_ip
|
4282
|
-
# Deprecated. Please use quotaUser instead.
|
4427
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4428
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4283
4429
|
# @param [Google::Apis::RequestOptions] options
|
4284
4430
|
# Request-specific options
|
4285
4431
|
#
|
@@ -4292,8 +4438,8 @@ module Google
|
|
4292
4438
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4293
4439
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4294
4440
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4295
|
-
def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
4296
|
-
command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
|
4441
|
+
def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4442
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/shippingsettings', options)
|
4297
4443
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsListResponse::Representation
|
4298
4444
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsListResponse
|
4299
4445
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -4301,7 +4447,6 @@ module Google
|
|
4301
4447
|
command.query['pageToken'] = page_token unless page_token.nil?
|
4302
4448
|
command.query['fields'] = fields unless fields.nil?
|
4303
4449
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4304
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
4305
4450
|
execute_or_queue_command(command, &block)
|
4306
4451
|
end
|
4307
4452
|
|
@@ -4317,10 +4462,8 @@ module Google
|
|
4317
4462
|
# @param [String] fields
|
4318
4463
|
# Selector specifying which fields to include in a partial response.
|
4319
4464
|
# @param [String] quota_user
|
4320
|
-
#
|
4321
|
-
# characters.
|
4322
|
-
# @param [String] user_ip
|
4323
|
-
# Deprecated. Please use quotaUser instead.
|
4465
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4466
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4324
4467
|
# @param [Google::Apis::RequestOptions] options
|
4325
4468
|
# Request-specific options
|
4326
4469
|
#
|
@@ -4333,8 +4476,8 @@ module Google
|
|
4333
4476
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4334
4477
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4335
4478
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4336
|
-
def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil,
|
4337
|
-
command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
|
4479
|
+
def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4480
|
+
command = make_simple_command(:put, 'content/v2.1/{merchantId}/shippingsettings/{accountId}', options)
|
4338
4481
|
command.request_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|
4339
4482
|
command.request_object = shipping_settings_object
|
4340
4483
|
command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|
@@ -4343,7 +4486,6 @@ module Google
|
|
4343
4486
|
command.params['accountId'] = account_id unless account_id.nil?
|
4344
4487
|
command.query['fields'] = fields unless fields.nil?
|
4345
4488
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4346
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
4347
4489
|
execute_or_queue_command(command, &block)
|
4348
4490
|
end
|
4349
4491
|
|
@@ -4352,7 +4494,6 @@ module Google
|
|
4352
4494
|
def apply_command_defaults(command)
|
4353
4495
|
command.query['key'] = key unless key.nil?
|
4354
4496
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4355
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
4356
4497
|
end
|
4357
4498
|
end
|
4358
4499
|
end
|