google-api-client 0.30.8 → 0.30.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +108 -0
- data/README.md +1 -1
- data/api_names.yaml +16 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +51 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +16 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +30 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +2 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +55 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +6 -0
- data/generated/google/apis/admin_directory_v1/service.rb +11 -10
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +235 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +95 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +99 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +6 -0
- data/generated/google/apis/analytics_v3/representations.rb +1 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +65 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -2
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +12 -12
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +39 -2
- data/generated/google/apis/androidpublisher_v3/representations.rb +4 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +25 -13
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +137 -5
- data/generated/google/apis/bigquery_v2/representations.rb +64 -0
- data/generated/google/apis/bigquery_v2/service.rb +5 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +4 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +216 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +112 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +139 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +514 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +237 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +714 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +0 -9
- data/generated/google/apis/cloudasset_v1/representations.rb +0 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -9
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +14 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -22
- data/generated/google/apis/cloudfunctions_v1/service.rb +7 -1
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -11
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +26 -11
- data/generated/google/apis/cloudkms_v1/representations.rb +2 -0
- data/generated/google/apis/cloudkms_v1/service.rb +28 -16
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +0 -9
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -4
- data/generated/google/apis/cloudscheduler_v1/service.rb +7 -14
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -4
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +7 -14
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +0 -18
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +17 -9
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +59 -17
- data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +12 -24
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +35 -12
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +16 -32
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +30 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +12 -24
- data/generated/google/apis/compute_v1/service.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +138 -138
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +54 -32
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +19 -135
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +2 -32
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +10 -5
- data/generated/google/apis/content_v2/service.rb +3 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +618 -6
- data/generated/google/apis/content_v2_1/representations.rb +271 -0
- data/generated/google/apis/content_v2_1/service.rb +357 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +69 -8
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1/service.rb +121 -57
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +203 -97
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/service.rb +94 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +51 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +1989 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +6 -6
- data/generated/google/apis/drive_v3/service.rb +6 -6
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +419 -0
- data/generated/google/apis/fcm_v1/representations.rb +45 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +12 -1
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +12 -1
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +164 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +71 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +165 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +27 -6
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +3 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +6 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +1 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +18 -7
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +367 -99
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +4 -21
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -2
- data/generated/google/apis/healthcare_v1alpha2/service.rb +101 -117
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -13
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +90 -22
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +31 -1
- data/generated/google/apis/iam_v1/representations.rb +14 -0
- data/generated/google/apis/iam_v1/service.rb +45 -4
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +2 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +5 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +63 -9
- data/generated/google/apis/ml_v1/representations.rb +16 -1
- data/generated/google/apis/ml_v1/service.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +29 -2
- data/generated/google/apis/monitoring_v3/representations.rb +4 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +7 -0
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +5 -4
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +12 -11
- data/generated/google/apis/pubsub_v1/service.rb +3 -3
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +16 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +25 -0
- data/generated/google/apis/run_v1/representations.rb +15 -0
- data/generated/google/apis/run_v1/service.rb +39 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +338 -22
- data/generated/google/apis/run_v1alpha1/representations.rb +141 -1
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +16 -13
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1/service.rb +19 -6
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -10
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +4 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +54 -19
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -20
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -2
- data/generated/google/apis/serviceusage_v1/service.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +53 -10
- data/generated/google/apis/sheets_v4/representations.rb +17 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +50 -54
- data/generated/google/apis/spanner_v1/service.rb +8 -15
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +9 -16
- data/generated/google/apis/{run_v1beta1.rb → speech_v2beta.rb} +9 -10
- data/generated/google/apis/speech_v2beta/classes.rb +355 -0
- data/generated/google/apis/speech_v2beta/representations.rb +152 -0
- data/generated/google/apis/speech_v2beta/service.rb +138 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -12
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +44 -9
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +3 -6
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +12 -0
- data/generated/google/apis/tpu_v1/representations.rb +2 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +12 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +72 -0
- data/generated/google/apis/translate_v3beta1/representations.rb +32 -0
- data/generated/google/apis/translate_v3beta1/service.rb +82 -7
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +579 -0
- data/generated/google/apis/vision_v1/representations.rb +172 -0
- data/generated/google/apis/vision_v1/service.rb +404 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +523 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +143 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +352 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +187 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +23 -0
- data/generated/google/apis/vision_v1p2beta1/service.rb +352 -0
- data/generated/google/apis/websecurityscanner_v1.rb +4 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +924 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +426 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +487 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +322 -0
- data/generated/google/apis/youtube_v3/representations.rb +139 -0
- data/generated/google/apis/youtube_v3/service.rb +85 -0
- data/lib/google/api_client/client_secrets.rb +1 -2
- data/lib/google/apis/core/api_command.rb +12 -0
- data/lib/google/apis/core/batch.rb +2 -0
- data/lib/google/apis/core/http_command.rb +8 -1
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/generator/annotator.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -6
- data/generated/google/apis/run_v1beta1/classes.rb +0 -98
- data/generated/google/apis/run_v1beta1/representations.rb +0 -58
- data/generated/google/apis/run_v1beta1/service.rb +0 -99
@@ -604,6 +604,12 @@ module Google
|
|
604
604
|
include Google::Apis::Core::JsonObjectSupport
|
605
605
|
end
|
606
606
|
|
607
|
+
class OrderCustomerLoyaltyInfo
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
607
613
|
class OrderCustomerMarketingRightsInfo
|
608
614
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
615
|
|
@@ -1246,12 +1252,102 @@ module Google
|
|
1246
1252
|
include Google::Apis::Core::JsonObjectSupport
|
1247
1253
|
end
|
1248
1254
|
|
1255
|
+
class ReturnAddress
|
1256
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1257
|
+
|
1258
|
+
include Google::Apis::Core::JsonObjectSupport
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
class ReturnAddressAddress
|
1262
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1263
|
+
|
1264
|
+
include Google::Apis::Core::JsonObjectSupport
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
class ReturnPolicy
|
1268
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1269
|
+
|
1270
|
+
include Google::Apis::Core::JsonObjectSupport
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
class ReturnPolicyPolicy
|
1274
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1275
|
+
|
1276
|
+
include Google::Apis::Core::JsonObjectSupport
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
class ReturnPolicySeasonalOverride
|
1280
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1281
|
+
|
1282
|
+
include Google::Apis::Core::JsonObjectSupport
|
1283
|
+
end
|
1284
|
+
|
1249
1285
|
class ReturnShipment
|
1250
1286
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1251
1287
|
|
1252
1288
|
include Google::Apis::Core::JsonObjectSupport
|
1253
1289
|
end
|
1254
1290
|
|
1291
|
+
class ReturnaddressCustomBatchRequest
|
1292
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1293
|
+
|
1294
|
+
include Google::Apis::Core::JsonObjectSupport
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
class ReturnaddressCustomBatchRequestEntry
|
1298
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1299
|
+
|
1300
|
+
include Google::Apis::Core::JsonObjectSupport
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
class ReturnaddressCustomBatchResponse
|
1304
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1305
|
+
|
1306
|
+
include Google::Apis::Core::JsonObjectSupport
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
class ReturnaddressCustomBatchResponseEntry
|
1310
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1311
|
+
|
1312
|
+
include Google::Apis::Core::JsonObjectSupport
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
class ReturnaddressListResponse
|
1316
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1317
|
+
|
1318
|
+
include Google::Apis::Core::JsonObjectSupport
|
1319
|
+
end
|
1320
|
+
|
1321
|
+
class ReturnpolicyCustomBatchRequest
|
1322
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1323
|
+
|
1324
|
+
include Google::Apis::Core::JsonObjectSupport
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
class ReturnpolicyCustomBatchRequestEntry
|
1328
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1329
|
+
|
1330
|
+
include Google::Apis::Core::JsonObjectSupport
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
class ReturnpolicyCustomBatchResponse
|
1334
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1335
|
+
|
1336
|
+
include Google::Apis::Core::JsonObjectSupport
|
1337
|
+
end
|
1338
|
+
|
1339
|
+
class ReturnpolicyCustomBatchResponseEntry
|
1340
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1341
|
+
|
1342
|
+
include Google::Apis::Core::JsonObjectSupport
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
class ReturnpolicyListResponse
|
1346
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1347
|
+
|
1348
|
+
include Google::Apis::Core::JsonObjectSupport
|
1349
|
+
end
|
1350
|
+
|
1255
1351
|
class Row
|
1256
1352
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1257
1353
|
|
@@ -2444,11 +2540,22 @@ module Google
|
|
2444
2540
|
# @private
|
2445
2541
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2446
2542
|
property :full_name, as: 'fullName'
|
2543
|
+
property :invoice_receiving_email, as: 'invoiceReceivingEmail'
|
2544
|
+
property :loyalty_info, as: 'loyaltyInfo', class: Google::Apis::ContentV2_1::OrderCustomerLoyaltyInfo, decorator: Google::Apis::ContentV2_1::OrderCustomerLoyaltyInfo::Representation
|
2545
|
+
|
2447
2546
|
property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2_1::OrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2_1::OrderCustomerMarketingRightsInfo::Representation
|
2448
2547
|
|
2449
2548
|
end
|
2450
2549
|
end
|
2451
2550
|
|
2551
|
+
class OrderCustomerLoyaltyInfo
|
2552
|
+
# @private
|
2553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2554
|
+
property :loyalty_number, as: 'loyaltyNumber'
|
2555
|
+
property :name, as: 'name'
|
2556
|
+
end
|
2557
|
+
end
|
2558
|
+
|
2452
2559
|
class OrderCustomerMarketingRightsInfo
|
2453
2560
|
# @private
|
2454
2561
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2487,6 +2594,7 @@ module Google
|
|
2487
2594
|
property :quantity_pending, as: 'quantityPending'
|
2488
2595
|
property :quantity_returned, as: 'quantityReturned'
|
2489
2596
|
property :quantity_shipped, as: 'quantityShipped'
|
2597
|
+
property :quantity_undeliverable, as: 'quantityUndeliverable'
|
2490
2598
|
property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2_1::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2_1::OrderLineItemReturnInfo::Representation
|
2491
2599
|
|
2492
2600
|
collection :returns, as: 'returns', class: Google::Apis::ContentV2_1::OrderReturn, decorator: Google::Apis::ContentV2_1::OrderReturn::Representation
|
@@ -2677,6 +2785,7 @@ module Google
|
|
2677
2785
|
property :id, as: 'id'
|
2678
2786
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2_1::OrderShipmentLineItemShipment::Representation
|
2679
2787
|
|
2788
|
+
property :shipment_group_id, as: 'shipmentGroupId'
|
2680
2789
|
property :status, as: 'status'
|
2681
2790
|
property :tracking_id, as: 'trackingId'
|
2682
2791
|
end
|
@@ -3691,6 +3800,67 @@ module Google
|
|
3691
3800
|
end
|
3692
3801
|
end
|
3693
3802
|
|
3803
|
+
class ReturnAddress
|
3804
|
+
# @private
|
3805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3806
|
+
property :address, as: 'address', class: Google::Apis::ContentV2_1::ReturnAddressAddress, decorator: Google::Apis::ContentV2_1::ReturnAddressAddress::Representation
|
3807
|
+
|
3808
|
+
property :country, as: 'country'
|
3809
|
+
property :kind, as: 'kind'
|
3810
|
+
property :label, as: 'label'
|
3811
|
+
property :phone_number, as: 'phoneNumber'
|
3812
|
+
property :return_address_id, as: 'returnAddressId'
|
3813
|
+
end
|
3814
|
+
end
|
3815
|
+
|
3816
|
+
class ReturnAddressAddress
|
3817
|
+
# @private
|
3818
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3819
|
+
property :country, as: 'country'
|
3820
|
+
property :locality, as: 'locality'
|
3821
|
+
property :postal_code, as: 'postalCode'
|
3822
|
+
property :recipient_name, as: 'recipientName'
|
3823
|
+
property :region, as: 'region'
|
3824
|
+
collection :street_address, as: 'streetAddress'
|
3825
|
+
end
|
3826
|
+
end
|
3827
|
+
|
3828
|
+
class ReturnPolicy
|
3829
|
+
# @private
|
3830
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3831
|
+
property :country, as: 'country'
|
3832
|
+
property :kind, as: 'kind'
|
3833
|
+
property :label, as: 'label'
|
3834
|
+
property :name, as: 'name'
|
3835
|
+
collection :non_free_return_reasons, as: 'nonFreeReturnReasons'
|
3836
|
+
property :policy, as: 'policy', class: Google::Apis::ContentV2_1::ReturnPolicyPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicyPolicy::Representation
|
3837
|
+
|
3838
|
+
property :return_policy_id, as: 'returnPolicyId'
|
3839
|
+
collection :seasonal_overrides, as: 'seasonalOverrides', class: Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride, decorator: Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride::Representation
|
3840
|
+
|
3841
|
+
end
|
3842
|
+
end
|
3843
|
+
|
3844
|
+
class ReturnPolicyPolicy
|
3845
|
+
# @private
|
3846
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3847
|
+
property :last_return_date, as: 'lastReturnDate'
|
3848
|
+
property :number_of_days, :numeric_string => true, as: 'numberOfDays'
|
3849
|
+
property :type, as: 'type'
|
3850
|
+
end
|
3851
|
+
end
|
3852
|
+
|
3853
|
+
class ReturnPolicySeasonalOverride
|
3854
|
+
# @private
|
3855
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3856
|
+
property :end_date, as: 'endDate'
|
3857
|
+
property :name, as: 'name'
|
3858
|
+
property :policy, as: 'policy', class: Google::Apis::ContentV2_1::ReturnPolicyPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicyPolicy::Representation
|
3859
|
+
|
3860
|
+
property :start_date, as: 'startDate'
|
3861
|
+
end
|
3862
|
+
end
|
3863
|
+
|
3694
3864
|
class ReturnShipment
|
3695
3865
|
# @private
|
3696
3866
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3705,6 +3875,107 @@ module Google
|
|
3705
3875
|
end
|
3706
3876
|
end
|
3707
3877
|
|
3878
|
+
class ReturnaddressCustomBatchRequest
|
3879
|
+
# @private
|
3880
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3881
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry::Representation
|
3882
|
+
|
3883
|
+
end
|
3884
|
+
end
|
3885
|
+
|
3886
|
+
class ReturnaddressCustomBatchRequestEntry
|
3887
|
+
# @private
|
3888
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3889
|
+
property :batch_id, as: 'batchId'
|
3890
|
+
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
3891
|
+
property :method_prop, as: 'method'
|
3892
|
+
property :return_address, as: 'returnAddress', class: Google::Apis::ContentV2_1::ReturnAddress, decorator: Google::Apis::ContentV2_1::ReturnAddress::Representation
|
3893
|
+
|
3894
|
+
property :return_address_id, as: 'returnAddressId'
|
3895
|
+
end
|
3896
|
+
end
|
3897
|
+
|
3898
|
+
class ReturnaddressCustomBatchResponse
|
3899
|
+
# @private
|
3900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3901
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponseEntry::Representation
|
3902
|
+
|
3903
|
+
property :kind, as: 'kind'
|
3904
|
+
end
|
3905
|
+
end
|
3906
|
+
|
3907
|
+
class ReturnaddressCustomBatchResponseEntry
|
3908
|
+
# @private
|
3909
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3910
|
+
property :batch_id, as: 'batchId'
|
3911
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
3912
|
+
|
3913
|
+
property :kind, as: 'kind'
|
3914
|
+
property :return_address, as: 'returnAddress', class: Google::Apis::ContentV2_1::ReturnAddress, decorator: Google::Apis::ContentV2_1::ReturnAddress::Representation
|
3915
|
+
|
3916
|
+
end
|
3917
|
+
end
|
3918
|
+
|
3919
|
+
class ReturnaddressListResponse
|
3920
|
+
# @private
|
3921
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3922
|
+
property :kind, as: 'kind'
|
3923
|
+
property :next_page_token, as: 'nextPageToken'
|
3924
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::ReturnAddress, decorator: Google::Apis::ContentV2_1::ReturnAddress::Representation
|
3925
|
+
|
3926
|
+
end
|
3927
|
+
end
|
3928
|
+
|
3929
|
+
class ReturnpolicyCustomBatchRequest
|
3930
|
+
# @private
|
3931
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3932
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequestEntry::Representation
|
3933
|
+
|
3934
|
+
end
|
3935
|
+
end
|
3936
|
+
|
3937
|
+
class ReturnpolicyCustomBatchRequestEntry
|
3938
|
+
# @private
|
3939
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3940
|
+
property :batch_id, as: 'batchId'
|
3941
|
+
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
3942
|
+
property :method_prop, as: 'method'
|
3943
|
+
property :return_policy, as: 'returnPolicy', class: Google::Apis::ContentV2_1::ReturnPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
3944
|
+
|
3945
|
+
property :return_policy_id, as: 'returnPolicyId'
|
3946
|
+
end
|
3947
|
+
end
|
3948
|
+
|
3949
|
+
class ReturnpolicyCustomBatchResponse
|
3950
|
+
# @private
|
3951
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3952
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry::Representation
|
3953
|
+
|
3954
|
+
property :kind, as: 'kind'
|
3955
|
+
end
|
3956
|
+
end
|
3957
|
+
|
3958
|
+
class ReturnpolicyCustomBatchResponseEntry
|
3959
|
+
# @private
|
3960
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3961
|
+
property :batch_id, as: 'batchId'
|
3962
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
3963
|
+
|
3964
|
+
property :kind, as: 'kind'
|
3965
|
+
property :return_policy, as: 'returnPolicy', class: Google::Apis::ContentV2_1::ReturnPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
3966
|
+
|
3967
|
+
end
|
3968
|
+
end
|
3969
|
+
|
3970
|
+
class ReturnpolicyListResponse
|
3971
|
+
# @private
|
3972
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3973
|
+
property :kind, as: 'kind'
|
3974
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::ReturnPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
3975
|
+
|
3976
|
+
end
|
3977
|
+
end
|
3978
|
+
|
3708
3979
|
class Row
|
3709
3980
|
# @private
|
3710
3981
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2112,8 +2112,9 @@ module Google
|
|
2112
2112
|
execute_or_queue_command(command, &block)
|
2113
2113
|
end
|
2114
2114
|
|
2115
|
-
# Notifies that item return and refund was handled directly by
|
2116
|
-
# of Google payments processing (e.g. cash refund done in store)
|
2115
|
+
# Deprecated. Notifies that item return and refund was handled directly by
|
2116
|
+
# merchant outside of Google payments processing (e.g. cash refund done in store)
|
2117
|
+
# .
|
2117
2118
|
# Note: We recommend calling the returnrefundlineitem method to refund in-store
|
2118
2119
|
# returns. We will issue the refund directly to the customer. This helps to
|
2119
2120
|
# prevent possible differences arising between merchant and Google transaction
|
@@ -3158,6 +3159,360 @@ module Google
|
|
3158
3159
|
execute_or_queue_command(command, &block)
|
3159
3160
|
end
|
3160
3161
|
|
3162
|
+
# Batches multiple return address related calls in a single request.
|
3163
|
+
# @param [Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest] returnaddress_custom_batch_request_object
|
3164
|
+
# @param [String] fields
|
3165
|
+
# Selector specifying which fields to include in a partial response.
|
3166
|
+
# @param [String] quota_user
|
3167
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3168
|
+
# characters.
|
3169
|
+
# @param [String] user_ip
|
3170
|
+
# Deprecated. Please use quotaUser instead.
|
3171
|
+
# @param [Google::Apis::RequestOptions] options
|
3172
|
+
# Request-specific options
|
3173
|
+
#
|
3174
|
+
# @yield [result, err] Result & error if block supplied
|
3175
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse] parsed result object
|
3176
|
+
# @yieldparam err [StandardError] error object if request failed
|
3177
|
+
#
|
3178
|
+
# @return [Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse]
|
3179
|
+
#
|
3180
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3181
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3182
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3183
|
+
def custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3184
|
+
command = make_simple_command(:post, 'returnaddress/batch', options)
|
3185
|
+
command.request_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest::Representation
|
3186
|
+
command.request_object = returnaddress_custom_batch_request_object
|
3187
|
+
command.response_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse::Representation
|
3188
|
+
command.response_class = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse
|
3189
|
+
command.query['fields'] = fields unless fields.nil?
|
3190
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3191
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3192
|
+
execute_or_queue_command(command, &block)
|
3193
|
+
end
|
3194
|
+
|
3195
|
+
# Deletes a return address for the given Merchant Center account.
|
3196
|
+
# @param [Fixnum] merchant_id
|
3197
|
+
# The Merchant Center account from which to delete the given return address.
|
3198
|
+
# @param [String] return_address_id
|
3199
|
+
# Return address ID generated by Google.
|
3200
|
+
# @param [String] fields
|
3201
|
+
# Selector specifying which fields to include in a partial response.
|
3202
|
+
# @param [String] quota_user
|
3203
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3204
|
+
# characters.
|
3205
|
+
# @param [String] user_ip
|
3206
|
+
# Deprecated. Please use quotaUser instead.
|
3207
|
+
# @param [Google::Apis::RequestOptions] options
|
3208
|
+
# Request-specific options
|
3209
|
+
#
|
3210
|
+
# @yield [result, err] Result & error if block supplied
|
3211
|
+
# @yieldparam result [NilClass] No result returned for this method
|
3212
|
+
# @yieldparam err [StandardError] error object if request failed
|
3213
|
+
#
|
3214
|
+
# @return [void]
|
3215
|
+
#
|
3216
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3217
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3218
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3219
|
+
def delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3220
|
+
command = make_simple_command(:delete, '{merchantId}/returnaddress/{returnAddressId}', options)
|
3221
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3222
|
+
command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
|
3223
|
+
command.query['fields'] = fields unless fields.nil?
|
3224
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3225
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3226
|
+
execute_or_queue_command(command, &block)
|
3227
|
+
end
|
3228
|
+
|
3229
|
+
# Gets a return address of the Merchant Center account.
|
3230
|
+
# @param [Fixnum] merchant_id
|
3231
|
+
# The Merchant Center account to get a return address for.
|
3232
|
+
# @param [String] return_address_id
|
3233
|
+
# Return address ID generated by Google.
|
3234
|
+
# @param [String] fields
|
3235
|
+
# Selector specifying which fields to include in a partial response.
|
3236
|
+
# @param [String] quota_user
|
3237
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3238
|
+
# characters.
|
3239
|
+
# @param [String] user_ip
|
3240
|
+
# Deprecated. Please use quotaUser instead.
|
3241
|
+
# @param [Google::Apis::RequestOptions] options
|
3242
|
+
# Request-specific options
|
3243
|
+
#
|
3244
|
+
# @yield [result, err] Result & error if block supplied
|
3245
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ReturnAddress] parsed result object
|
3246
|
+
# @yieldparam err [StandardError] error object if request failed
|
3247
|
+
#
|
3248
|
+
# @return [Google::Apis::ContentV2_1::ReturnAddress]
|
3249
|
+
#
|
3250
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3251
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3252
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3253
|
+
def get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3254
|
+
command = make_simple_command(:get, '{merchantId}/returnaddress/{returnAddressId}', options)
|
3255
|
+
command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
3256
|
+
command.response_class = Google::Apis::ContentV2_1::ReturnAddress
|
3257
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3258
|
+
command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
|
3259
|
+
command.query['fields'] = fields unless fields.nil?
|
3260
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3261
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3262
|
+
execute_or_queue_command(command, &block)
|
3263
|
+
end
|
3264
|
+
|
3265
|
+
# Inserts a return address for the Merchant Center account.
|
3266
|
+
# @param [Fixnum] merchant_id
|
3267
|
+
# The Merchant Center account to insert a return address for.
|
3268
|
+
# @param [Google::Apis::ContentV2_1::ReturnAddress] return_address_object
|
3269
|
+
# @param [String] fields
|
3270
|
+
# Selector specifying which fields to include in a partial response.
|
3271
|
+
# @param [String] quota_user
|
3272
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3273
|
+
# characters.
|
3274
|
+
# @param [String] user_ip
|
3275
|
+
# Deprecated. Please use quotaUser instead.
|
3276
|
+
# @param [Google::Apis::RequestOptions] options
|
3277
|
+
# Request-specific options
|
3278
|
+
#
|
3279
|
+
# @yield [result, err] Result & error if block supplied
|
3280
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ReturnAddress] parsed result object
|
3281
|
+
# @yieldparam err [StandardError] error object if request failed
|
3282
|
+
#
|
3283
|
+
# @return [Google::Apis::ContentV2_1::ReturnAddress]
|
3284
|
+
#
|
3285
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3286
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3287
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3288
|
+
def insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3289
|
+
command = make_simple_command(:post, '{merchantId}/returnaddress', options)
|
3290
|
+
command.request_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
3291
|
+
command.request_object = return_address_object
|
3292
|
+
command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
3293
|
+
command.response_class = Google::Apis::ContentV2_1::ReturnAddress
|
3294
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3295
|
+
command.query['fields'] = fields unless fields.nil?
|
3296
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3297
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3298
|
+
execute_or_queue_command(command, &block)
|
3299
|
+
end
|
3300
|
+
|
3301
|
+
# Lists the return addresses of the Merchant Center account.
|
3302
|
+
# @param [Fixnum] merchant_id
|
3303
|
+
# The Merchant Center account to list return addresses for.
|
3304
|
+
# @param [String] country
|
3305
|
+
# List only return addresses applicable to the given country of sale. When
|
3306
|
+
# omitted, all return addresses are listed.
|
3307
|
+
# @param [Fixnum] max_results
|
3308
|
+
# The maximum number of addresses in the response, used for paging.
|
3309
|
+
# @param [String] page_token
|
3310
|
+
# The token returned by the previous request.
|
3311
|
+
# @param [String] fields
|
3312
|
+
# Selector specifying which fields to include in a partial response.
|
3313
|
+
# @param [String] quota_user
|
3314
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3315
|
+
# characters.
|
3316
|
+
# @param [String] user_ip
|
3317
|
+
# Deprecated. Please use quotaUser instead.
|
3318
|
+
# @param [Google::Apis::RequestOptions] options
|
3319
|
+
# Request-specific options
|
3320
|
+
#
|
3321
|
+
# @yield [result, err] Result & error if block supplied
|
3322
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ReturnaddressListResponse] parsed result object
|
3323
|
+
# @yieldparam err [StandardError] error object if request failed
|
3324
|
+
#
|
3325
|
+
# @return [Google::Apis::ContentV2_1::ReturnaddressListResponse]
|
3326
|
+
#
|
3327
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3328
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3329
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3330
|
+
def list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3331
|
+
command = make_simple_command(:get, '{merchantId}/returnaddress', options)
|
3332
|
+
command.response_representation = Google::Apis::ContentV2_1::ReturnaddressListResponse::Representation
|
3333
|
+
command.response_class = Google::Apis::ContentV2_1::ReturnaddressListResponse
|
3334
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3335
|
+
command.query['country'] = country unless country.nil?
|
3336
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
3337
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3338
|
+
command.query['fields'] = fields unless fields.nil?
|
3339
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3340
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3341
|
+
execute_or_queue_command(command, &block)
|
3342
|
+
end
|
3343
|
+
|
3344
|
+
# Batches multiple return policy related calls in a single request.
|
3345
|
+
# @param [Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequest] returnpolicy_custom_batch_request_object
|
3346
|
+
# @param [String] fields
|
3347
|
+
# Selector specifying which fields to include in a partial response.
|
3348
|
+
# @param [String] quota_user
|
3349
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3350
|
+
# characters.
|
3351
|
+
# @param [String] user_ip
|
3352
|
+
# Deprecated. Please use quotaUser instead.
|
3353
|
+
# @param [Google::Apis::RequestOptions] options
|
3354
|
+
# Request-specific options
|
3355
|
+
#
|
3356
|
+
# @yield [result, err] Result & error if block supplied
|
3357
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse] parsed result object
|
3358
|
+
# @yieldparam err [StandardError] error object if request failed
|
3359
|
+
#
|
3360
|
+
# @return [Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse]
|
3361
|
+
#
|
3362
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3363
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3364
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3365
|
+
def custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3366
|
+
command = make_simple_command(:post, 'returnpolicy/batch', options)
|
3367
|
+
command.request_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequest::Representation
|
3368
|
+
command.request_object = returnpolicy_custom_batch_request_object
|
3369
|
+
command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse::Representation
|
3370
|
+
command.response_class = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse
|
3371
|
+
command.query['fields'] = fields unless fields.nil?
|
3372
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3373
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3374
|
+
execute_or_queue_command(command, &block)
|
3375
|
+
end
|
3376
|
+
|
3377
|
+
# Deletes a return policy for the given Merchant Center account.
|
3378
|
+
# @param [Fixnum] merchant_id
|
3379
|
+
# The Merchant Center account from which to delete the given return policy.
|
3380
|
+
# @param [String] return_policy_id
|
3381
|
+
# Return policy ID generated by Google.
|
3382
|
+
# @param [String] fields
|
3383
|
+
# Selector specifying which fields to include in a partial response.
|
3384
|
+
# @param [String] quota_user
|
3385
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3386
|
+
# characters.
|
3387
|
+
# @param [String] user_ip
|
3388
|
+
# Deprecated. Please use quotaUser instead.
|
3389
|
+
# @param [Google::Apis::RequestOptions] options
|
3390
|
+
# Request-specific options
|
3391
|
+
#
|
3392
|
+
# @yield [result, err] Result & error if block supplied
|
3393
|
+
# @yieldparam result [NilClass] No result returned for this method
|
3394
|
+
# @yieldparam err [StandardError] error object if request failed
|
3395
|
+
#
|
3396
|
+
# @return [void]
|
3397
|
+
#
|
3398
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3399
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3400
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3401
|
+
def delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3402
|
+
command = make_simple_command(:delete, '{merchantId}/returnpolicy/{returnPolicyId}', options)
|
3403
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3404
|
+
command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
|
3405
|
+
command.query['fields'] = fields unless fields.nil?
|
3406
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3407
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3408
|
+
execute_or_queue_command(command, &block)
|
3409
|
+
end
|
3410
|
+
|
3411
|
+
# Gets a return policy of the Merchant Center account.
|
3412
|
+
# @param [Fixnum] merchant_id
|
3413
|
+
# The Merchant Center account to get a return policy for.
|
3414
|
+
# @param [String] return_policy_id
|
3415
|
+
# Return policy ID generated by Google.
|
3416
|
+
# @param [String] fields
|
3417
|
+
# Selector specifying which fields to include in a partial response.
|
3418
|
+
# @param [String] quota_user
|
3419
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3420
|
+
# characters.
|
3421
|
+
# @param [String] user_ip
|
3422
|
+
# Deprecated. Please use quotaUser instead.
|
3423
|
+
# @param [Google::Apis::RequestOptions] options
|
3424
|
+
# Request-specific options
|
3425
|
+
#
|
3426
|
+
# @yield [result, err] Result & error if block supplied
|
3427
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ReturnPolicy] parsed result object
|
3428
|
+
# @yieldparam err [StandardError] error object if request failed
|
3429
|
+
#
|
3430
|
+
# @return [Google::Apis::ContentV2_1::ReturnPolicy]
|
3431
|
+
#
|
3432
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3433
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3434
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3435
|
+
def get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3436
|
+
command = make_simple_command(:get, '{merchantId}/returnpolicy/{returnPolicyId}', options)
|
3437
|
+
command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
3438
|
+
command.response_class = Google::Apis::ContentV2_1::ReturnPolicy
|
3439
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3440
|
+
command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
|
3441
|
+
command.query['fields'] = fields unless fields.nil?
|
3442
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3443
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3444
|
+
execute_or_queue_command(command, &block)
|
3445
|
+
end
|
3446
|
+
|
3447
|
+
# Inserts a return policy for the Merchant Center account.
|
3448
|
+
# @param [Fixnum] merchant_id
|
3449
|
+
# The Merchant Center account to insert a return policy for.
|
3450
|
+
# @param [Google::Apis::ContentV2_1::ReturnPolicy] return_policy_object
|
3451
|
+
# @param [String] fields
|
3452
|
+
# Selector specifying which fields to include in a partial response.
|
3453
|
+
# @param [String] quota_user
|
3454
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3455
|
+
# characters.
|
3456
|
+
# @param [String] user_ip
|
3457
|
+
# Deprecated. Please use quotaUser instead.
|
3458
|
+
# @param [Google::Apis::RequestOptions] options
|
3459
|
+
# Request-specific options
|
3460
|
+
#
|
3461
|
+
# @yield [result, err] Result & error if block supplied
|
3462
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ReturnPolicy] parsed result object
|
3463
|
+
# @yieldparam err [StandardError] error object if request failed
|
3464
|
+
#
|
3465
|
+
# @return [Google::Apis::ContentV2_1::ReturnPolicy]
|
3466
|
+
#
|
3467
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3468
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3469
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3470
|
+
def insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3471
|
+
command = make_simple_command(:post, '{merchantId}/returnpolicy', options)
|
3472
|
+
command.request_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
3473
|
+
command.request_object = return_policy_object
|
3474
|
+
command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
3475
|
+
command.response_class = Google::Apis::ContentV2_1::ReturnPolicy
|
3476
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3477
|
+
command.query['fields'] = fields unless fields.nil?
|
3478
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3479
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3480
|
+
execute_or_queue_command(command, &block)
|
3481
|
+
end
|
3482
|
+
|
3483
|
+
# Lists the return policies of the Merchant Center account.
|
3484
|
+
# @param [Fixnum] merchant_id
|
3485
|
+
# The Merchant Center account to list return policies for.
|
3486
|
+
# @param [String] fields
|
3487
|
+
# Selector specifying which fields to include in a partial response.
|
3488
|
+
# @param [String] quota_user
|
3489
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3490
|
+
# characters.
|
3491
|
+
# @param [String] user_ip
|
3492
|
+
# Deprecated. Please use quotaUser instead.
|
3493
|
+
# @param [Google::Apis::RequestOptions] options
|
3494
|
+
# Request-specific options
|
3495
|
+
#
|
3496
|
+
# @yield [result, err] Result & error if block supplied
|
3497
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ReturnpolicyListResponse] parsed result object
|
3498
|
+
# @yieldparam err [StandardError] error object if request failed
|
3499
|
+
#
|
3500
|
+
# @return [Google::Apis::ContentV2_1::ReturnpolicyListResponse]
|
3501
|
+
#
|
3502
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3503
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3504
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3505
|
+
def list_returnpolicies(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3506
|
+
command = make_simple_command(:get, '{merchantId}/returnpolicy', options)
|
3507
|
+
command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyListResponse::Representation
|
3508
|
+
command.response_class = Google::Apis::ContentV2_1::ReturnpolicyListResponse
|
3509
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3510
|
+
command.query['fields'] = fields unless fields.nil?
|
3511
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3512
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3513
|
+
execute_or_queue_command(command, &block)
|
3514
|
+
end
|
3515
|
+
|
3161
3516
|
# Retrieves and updates the shipping settings of multiple accounts in a single
|
3162
3517
|
# request.
|
3163
3518
|
# @param [Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest] shippingsettings_custom_batch_request_object
|