google-api-client 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +124 -0
- data/api_list_config.yaml +1 -2
- data/bin/generate-api +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/apigee_v1/classes.rb +5205 -0
- data/generated/google/apis/apigee_v1/representations.rb +1944 -0
- data/generated/google/apis/apigee_v1/service.rb +6068 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +51 -19
- data/generated/google/apis/bigquery_v2/representations.rb +21 -4
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +5 -5
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
- data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
- data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
- data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +414 -29
- data/generated/google/apis/compute_alpha/representations.rb +141 -0
- data/generated/google/apis/compute_alpha/service.rb +351 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +34 -29
- data/generated/google/apis/compute_beta/service.rb +3 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +129 -10
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +3 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +145 -132
- data/generated/google/apis/container_v1/service.rb +168 -159
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +186 -134
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/container_v1beta1/service.rb +169 -160
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1176 -1094
- data/generated/google/apis/content_v2/representations.rb +31 -0
- data/generated/google/apis/content_v2/service.rb +45 -45
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1801 -931
- data/generated/google/apis/content_v2_1/representations.rb +351 -0
- data/generated/google/apis/content_v2_1/service.rb +299 -47
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +69 -36
- data/generated/google/apis/dataproc_v1/service.rb +14 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
- data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
- data/generated/google/apis/dialogflow_v2/service.rb +39 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
- data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
- data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +6 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +51 -57
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +28 -29
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1/service.rb +5 -5
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1/service.rb +10 -7
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +0 -6
- data/generated/google/apis/games_management_v1management/representations.rb +0 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -7
- data/generated/google/apis/games_v1/representations.rb +0 -1
- data/generated/google/apis/games_v1/service.rb +3 -12
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
- data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +9 -7
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +8 -6
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
- data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +41 -38
- data/generated/google/apis/ml_v1/service.rb +17 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +27 -38
- data/generated/google/apis/monitoring_v3/representations.rb +3 -16
- data/generated/google/apis/monitoring_v3/service.rb +6 -5
- data/generated/google/apis/people_v1.rb +7 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +22 -46
- data/generated/google/apis/run_v1/representations.rb +5 -19
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +4 -22
- 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/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
- 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 +182 -1
- data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +21 -0
- data/generated/google/apis/storage_v1/representations.rb +5 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +9 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
- data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
- data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +6 -6
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -11
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
- data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -628,6 +628,30 @@ module Google
|
|
628
628
|
include Google::Apis::Core::JsonObjectSupport
|
629
629
|
end
|
630
630
|
|
631
|
+
class MerchantRejectionReason
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
|
+
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
635
|
+
end
|
636
|
+
|
637
|
+
class MinimumOrderValueTable
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
|
+
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
641
|
+
end
|
642
|
+
|
643
|
+
class MinimumOrderValueTableStoreCodeSetWithMov
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
649
|
+
class MonetaryAmount
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
|
+
|
652
|
+
include Google::Apis::Core::JsonObjectSupport
|
653
|
+
end
|
654
|
+
|
631
655
|
class Order
|
632
656
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
657
|
|
@@ -832,12 +856,60 @@ module Google
|
|
832
856
|
include Google::Apis::Core::JsonObjectSupport
|
833
857
|
end
|
834
858
|
|
859
|
+
class OrderreturnsAcknowledgeRequest
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
861
|
+
|
862
|
+
include Google::Apis::Core::JsonObjectSupport
|
863
|
+
end
|
864
|
+
|
865
|
+
class OrderreturnsAcknowledgeResponse
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
835
871
|
class OrderreturnsListResponse
|
836
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
837
873
|
|
838
874
|
include Google::Apis::Core::JsonObjectSupport
|
839
875
|
end
|
840
876
|
|
877
|
+
class OrderreturnsPartialRefund
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
883
|
+
class OrderreturnsProcessRequest
|
884
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
|
+
|
886
|
+
include Google::Apis::Core::JsonObjectSupport
|
887
|
+
end
|
888
|
+
|
889
|
+
class OrderreturnsProcessResponse
|
890
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
891
|
+
|
892
|
+
include Google::Apis::Core::JsonObjectSupport
|
893
|
+
end
|
894
|
+
|
895
|
+
class OrderreturnsRefundOperation
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
897
|
+
|
898
|
+
include Google::Apis::Core::JsonObjectSupport
|
899
|
+
end
|
900
|
+
|
901
|
+
class OrderreturnsRejectOperation
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
|
+
|
904
|
+
include Google::Apis::Core::JsonObjectSupport
|
905
|
+
end
|
906
|
+
|
907
|
+
class OrderreturnsReturnItem
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
841
913
|
class OrdersAcknowledgeRequest
|
842
914
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
843
915
|
|
@@ -1360,6 +1432,12 @@ module Google
|
|
1360
1432
|
include Google::Apis::Core::JsonObjectSupport
|
1361
1433
|
end
|
1362
1434
|
|
1435
|
+
class ReturnPricingInfo
|
1436
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1437
|
+
|
1438
|
+
include Google::Apis::Core::JsonObjectSupport
|
1439
|
+
end
|
1440
|
+
|
1363
1441
|
class ReturnShipment
|
1364
1442
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1365
1443
|
|
@@ -1438,6 +1516,54 @@ module Google
|
|
1438
1516
|
include Google::Apis::Core::JsonObjectSupport
|
1439
1517
|
end
|
1440
1518
|
|
1519
|
+
class SettlementReport
|
1520
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1521
|
+
|
1522
|
+
include Google::Apis::Core::JsonObjectSupport
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
class SettlementTransaction
|
1526
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1527
|
+
|
1528
|
+
include Google::Apis::Core::JsonObjectSupport
|
1529
|
+
end
|
1530
|
+
|
1531
|
+
class SettlementTransactionAmount
|
1532
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1533
|
+
|
1534
|
+
include Google::Apis::Core::JsonObjectSupport
|
1535
|
+
end
|
1536
|
+
|
1537
|
+
class SettlementTransactionAmountCommission
|
1538
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1539
|
+
|
1540
|
+
include Google::Apis::Core::JsonObjectSupport
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
class SettlementTransactionIdentifiers
|
1544
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1545
|
+
|
1546
|
+
include Google::Apis::Core::JsonObjectSupport
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
class SettlementTransactionTransaction
|
1550
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1551
|
+
|
1552
|
+
include Google::Apis::Core::JsonObjectSupport
|
1553
|
+
end
|
1554
|
+
|
1555
|
+
class SettlementreportsListResponse
|
1556
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1557
|
+
|
1558
|
+
include Google::Apis::Core::JsonObjectSupport
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
class SettlementtransactionsListResponse
|
1562
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1563
|
+
|
1564
|
+
include Google::Apis::Core::JsonObjectSupport
|
1565
|
+
end
|
1566
|
+
|
1441
1567
|
class ShipmentInvoice
|
1442
1568
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1443
1569
|
|
@@ -1646,6 +1772,7 @@ module Google
|
|
1646
1772
|
class AccountGoogleMyBusinessLink
|
1647
1773
|
# @private
|
1648
1774
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1775
|
+
property :gmb_account_id, as: 'gmbAccountId'
|
1649
1776
|
property :gmb_email, as: 'gmbEmail'
|
1650
1777
|
property :status, as: 'status'
|
1651
1778
|
end
|
@@ -2624,6 +2751,8 @@ module Google
|
|
2624
2751
|
property :order_return_id, as: 'orderReturnId'
|
2625
2752
|
collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2_1::MerchantOrderReturnItem, decorator: Google::Apis::ContentV2_1::MerchantOrderReturnItem::Representation
|
2626
2753
|
|
2754
|
+
property :return_pricing_info, as: 'returnPricingInfo', class: Google::Apis::ContentV2_1::ReturnPricingInfo, decorator: Google::Apis::ContentV2_1::ReturnPricingInfo::Representation
|
2755
|
+
|
2627
2756
|
collection :return_shipments, as: 'returnShipments', class: Google::Apis::ContentV2_1::ReturnShipment, decorator: Google::Apis::ContentV2_1::ReturnShipment::Representation
|
2628
2757
|
|
2629
2758
|
end
|
@@ -2635,15 +2764,57 @@ module Google
|
|
2635
2764
|
property :customer_return_reason, as: 'customerReturnReason', class: Google::Apis::ContentV2_1::CustomerReturnReason, decorator: Google::Apis::ContentV2_1::CustomerReturnReason::Representation
|
2636
2765
|
|
2637
2766
|
property :item_id, as: 'itemId'
|
2767
|
+
property :merchant_rejection_reason, as: 'merchantRejectionReason', class: Google::Apis::ContentV2_1::MerchantRejectionReason, decorator: Google::Apis::ContentV2_1::MerchantRejectionReason::Representation
|
2768
|
+
|
2638
2769
|
property :merchant_return_reason, as: 'merchantReturnReason', class: Google::Apis::ContentV2_1::RefundReason, decorator: Google::Apis::ContentV2_1::RefundReason::Representation
|
2639
2770
|
|
2640
2771
|
property :product, as: 'product', class: Google::Apis::ContentV2_1::OrderLineItemProduct, decorator: Google::Apis::ContentV2_1::OrderLineItemProduct::Representation
|
2641
2772
|
|
2773
|
+
property :refundable_amount, as: 'refundableAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
2774
|
+
|
2775
|
+
property :return_item_id, as: 'returnItemId'
|
2642
2776
|
collection :return_shipment_ids, as: 'returnShipmentIds'
|
2777
|
+
property :shipment_group_id, as: 'shipmentGroupId'
|
2778
|
+
property :shipment_unit_id, as: 'shipmentUnitId'
|
2643
2779
|
property :state, as: 'state'
|
2644
2780
|
end
|
2645
2781
|
end
|
2646
2782
|
|
2783
|
+
class MerchantRejectionReason
|
2784
|
+
# @private
|
2785
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2786
|
+
property :description, as: 'description'
|
2787
|
+
property :reason_code, as: 'reasonCode'
|
2788
|
+
end
|
2789
|
+
end
|
2790
|
+
|
2791
|
+
class MinimumOrderValueTable
|
2792
|
+
# @private
|
2793
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2794
|
+
collection :store_code_set_with_movs, as: 'storeCodeSetWithMovs', class: Google::Apis::ContentV2_1::MinimumOrderValueTableStoreCodeSetWithMov, decorator: Google::Apis::ContentV2_1::MinimumOrderValueTableStoreCodeSetWithMov::Representation
|
2795
|
+
|
2796
|
+
end
|
2797
|
+
end
|
2798
|
+
|
2799
|
+
class MinimumOrderValueTableStoreCodeSetWithMov
|
2800
|
+
# @private
|
2801
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2802
|
+
collection :store_codes, as: 'storeCodes'
|
2803
|
+
property :value, as: 'value', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
2804
|
+
|
2805
|
+
end
|
2806
|
+
end
|
2807
|
+
|
2808
|
+
class MonetaryAmount
|
2809
|
+
# @private
|
2810
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2811
|
+
property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
2812
|
+
|
2813
|
+
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
2814
|
+
|
2815
|
+
end
|
2816
|
+
end
|
2817
|
+
|
2647
2818
|
class Order
|
2648
2819
|
# @private
|
2649
2820
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3075,6 +3246,21 @@ module Google
|
|
3075
3246
|
end
|
3076
3247
|
end
|
3077
3248
|
|
3249
|
+
class OrderreturnsAcknowledgeRequest
|
3250
|
+
# @private
|
3251
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3252
|
+
property :operation_id, as: 'operationId'
|
3253
|
+
end
|
3254
|
+
end
|
3255
|
+
|
3256
|
+
class OrderreturnsAcknowledgeResponse
|
3257
|
+
# @private
|
3258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3259
|
+
property :execution_status, as: 'executionStatus'
|
3260
|
+
property :kind, as: 'kind'
|
3261
|
+
end
|
3262
|
+
end
|
3263
|
+
|
3078
3264
|
class OrderreturnsListResponse
|
3079
3265
|
# @private
|
3080
3266
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3085,6 +3271,66 @@ module Google
|
|
3085
3271
|
end
|
3086
3272
|
end
|
3087
3273
|
|
3274
|
+
class OrderreturnsPartialRefund
|
3275
|
+
# @private
|
3276
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3277
|
+
property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
3278
|
+
|
3279
|
+
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
3280
|
+
|
3281
|
+
end
|
3282
|
+
end
|
3283
|
+
|
3284
|
+
class OrderreturnsProcessRequest
|
3285
|
+
# @private
|
3286
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3287
|
+
property :full_charge_return_shipping_cost, as: 'fullChargeReturnShippingCost'
|
3288
|
+
property :operation_id, as: 'operationId'
|
3289
|
+
property :refund_shipping_fee, as: 'refundShippingFee', class: Google::Apis::ContentV2_1::OrderreturnsRefundOperation, decorator: Google::Apis::ContentV2_1::OrderreturnsRefundOperation::Representation
|
3290
|
+
|
3291
|
+
collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2_1::OrderreturnsReturnItem, decorator: Google::Apis::ContentV2_1::OrderreturnsReturnItem::Representation
|
3292
|
+
|
3293
|
+
end
|
3294
|
+
end
|
3295
|
+
|
3296
|
+
class OrderreturnsProcessResponse
|
3297
|
+
# @private
|
3298
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3299
|
+
property :execution_status, as: 'executionStatus'
|
3300
|
+
property :kind, as: 'kind'
|
3301
|
+
end
|
3302
|
+
end
|
3303
|
+
|
3304
|
+
class OrderreturnsRefundOperation
|
3305
|
+
# @private
|
3306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3307
|
+
property :full_refund, as: 'fullRefund'
|
3308
|
+
property :partial_refund, as: 'partialRefund', class: Google::Apis::ContentV2_1::OrderreturnsPartialRefund, decorator: Google::Apis::ContentV2_1::OrderreturnsPartialRefund::Representation
|
3309
|
+
|
3310
|
+
property :reason_text, as: 'reasonText'
|
3311
|
+
property :return_refund_reason, as: 'returnRefundReason'
|
3312
|
+
end
|
3313
|
+
end
|
3314
|
+
|
3315
|
+
class OrderreturnsRejectOperation
|
3316
|
+
# @private
|
3317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3318
|
+
property :reason, as: 'reason'
|
3319
|
+
property :reason_text, as: 'reasonText'
|
3320
|
+
end
|
3321
|
+
end
|
3322
|
+
|
3323
|
+
class OrderreturnsReturnItem
|
3324
|
+
# @private
|
3325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3326
|
+
property :refund, as: 'refund', class: Google::Apis::ContentV2_1::OrderreturnsRefundOperation, decorator: Google::Apis::ContentV2_1::OrderreturnsRefundOperation::Representation
|
3327
|
+
|
3328
|
+
property :reject, as: 'reject', class: Google::Apis::ContentV2_1::OrderreturnsRejectOperation, decorator: Google::Apis::ContentV2_1::OrderreturnsRejectOperation::Representation
|
3329
|
+
|
3330
|
+
property :return_item_id, as: 'returnItemId'
|
3331
|
+
end
|
3332
|
+
end
|
3333
|
+
|
3088
3334
|
class OrdersAcknowledgeRequest
|
3089
3335
|
# @private
|
3090
3336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4083,6 +4329,21 @@ module Google
|
|
4083
4329
|
end
|
4084
4330
|
end
|
4085
4331
|
|
4332
|
+
class ReturnPricingInfo
|
4333
|
+
# @private
|
4334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4335
|
+
property :charge_return_shipping_fee, as: 'chargeReturnShippingFee'
|
4336
|
+
property :max_return_shipping_fee, as: 'maxReturnShippingFee', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
4337
|
+
|
4338
|
+
property :refundable_items_total_amount, as: 'refundableItemsTotalAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
4339
|
+
|
4340
|
+
property :refundable_shipping_amount, as: 'refundableShippingAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
4341
|
+
|
4342
|
+
property :total_refunded_amount, as: 'totalRefundedAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
4343
|
+
|
4344
|
+
end
|
4345
|
+
end
|
4346
|
+
|
4086
4347
|
class ReturnShipment
|
4087
4348
|
# @private
|
4088
4349
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4217,6 +4478,8 @@ module Google
|
|
4217
4478
|
property :eligibility, as: 'eligibility'
|
4218
4479
|
property :minimum_order_value, as: 'minimumOrderValue', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
4219
4480
|
|
4481
|
+
property :minimum_order_value_table, as: 'minimumOrderValueTable', class: Google::Apis::ContentV2_1::MinimumOrderValueTable, decorator: Google::Apis::ContentV2_1::MinimumOrderValueTable::Representation
|
4482
|
+
|
4220
4483
|
property :name, as: 'name'
|
4221
4484
|
property :pickup_service, as: 'pickupService', class: Google::Apis::ContentV2_1::PickupCarrierService, decorator: Google::Apis::ContentV2_1::PickupCarrierService::Representation
|
4222
4485
|
|
@@ -4226,6 +4489,94 @@ module Google
|
|
4226
4489
|
end
|
4227
4490
|
end
|
4228
4491
|
|
4492
|
+
class SettlementReport
|
4493
|
+
# @private
|
4494
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4495
|
+
property :end_date, as: 'endDate'
|
4496
|
+
property :kind, as: 'kind'
|
4497
|
+
property :previous_balance, as: 'previousBalance', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
4498
|
+
|
4499
|
+
property :settlement_id, as: 'settlementId'
|
4500
|
+
property :start_date, as: 'startDate'
|
4501
|
+
property :transfer_amount, as: 'transferAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
4502
|
+
|
4503
|
+
property :transfer_date, as: 'transferDate'
|
4504
|
+
collection :transfer_ids, as: 'transferIds'
|
4505
|
+
end
|
4506
|
+
end
|
4507
|
+
|
4508
|
+
class SettlementTransaction
|
4509
|
+
# @private
|
4510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4511
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::SettlementTransactionAmount, decorator: Google::Apis::ContentV2_1::SettlementTransactionAmount::Representation
|
4512
|
+
|
4513
|
+
property :identifiers, as: 'identifiers', class: Google::Apis::ContentV2_1::SettlementTransactionIdentifiers, decorator: Google::Apis::ContentV2_1::SettlementTransactionIdentifiers::Representation
|
4514
|
+
|
4515
|
+
property :kind, as: 'kind'
|
4516
|
+
property :transaction, as: 'transaction', class: Google::Apis::ContentV2_1::SettlementTransactionTransaction, decorator: Google::Apis::ContentV2_1::SettlementTransactionTransaction::Representation
|
4517
|
+
|
4518
|
+
end
|
4519
|
+
end
|
4520
|
+
|
4521
|
+
class SettlementTransactionAmount
|
4522
|
+
# @private
|
4523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4524
|
+
property :commission, as: 'commission', class: Google::Apis::ContentV2_1::SettlementTransactionAmountCommission, decorator: Google::Apis::ContentV2_1::SettlementTransactionAmountCommission::Representation
|
4525
|
+
|
4526
|
+
property :description, as: 'description'
|
4527
|
+
property :transaction_amount, as: 'transactionAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
4528
|
+
|
4529
|
+
property :type, as: 'type'
|
4530
|
+
end
|
4531
|
+
end
|
4532
|
+
|
4533
|
+
class SettlementTransactionAmountCommission
|
4534
|
+
# @private
|
4535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4536
|
+
property :category, as: 'category'
|
4537
|
+
property :rate, as: 'rate'
|
4538
|
+
end
|
4539
|
+
end
|
4540
|
+
|
4541
|
+
class SettlementTransactionIdentifiers
|
4542
|
+
# @private
|
4543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4544
|
+
property :adjustment_id, as: 'adjustmentId'
|
4545
|
+
property :merchant_order_id, as: 'merchantOrderId'
|
4546
|
+
property :settlement_entry_id, as: 'settlementEntryId'
|
4547
|
+
collection :shipment_ids, as: 'shipmentIds'
|
4548
|
+
property :transaction_id, as: 'transactionId'
|
4549
|
+
end
|
4550
|
+
end
|
4551
|
+
|
4552
|
+
class SettlementTransactionTransaction
|
4553
|
+
# @private
|
4554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4555
|
+
property :post_date, as: 'postDate'
|
4556
|
+
property :type, as: 'type'
|
4557
|
+
end
|
4558
|
+
end
|
4559
|
+
|
4560
|
+
class SettlementreportsListResponse
|
4561
|
+
# @private
|
4562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4563
|
+
property :kind, as: 'kind'
|
4564
|
+
property :next_page_token, as: 'nextPageToken'
|
4565
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::SettlementReport, decorator: Google::Apis::ContentV2_1::SettlementReport::Representation
|
4566
|
+
|
4567
|
+
end
|
4568
|
+
end
|
4569
|
+
|
4570
|
+
class SettlementtransactionsListResponse
|
4571
|
+
# @private
|
4572
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4573
|
+
property :kind, as: 'kind'
|
4574
|
+
property :next_page_token, as: 'nextPageToken'
|
4575
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::SettlementTransaction, decorator: Google::Apis::ContentV2_1::SettlementTransaction::Representation
|
4576
|
+
|
4577
|
+
end
|
4578
|
+
end
|
4579
|
+
|
4229
4580
|
class ShipmentInvoice
|
4230
4581
|
# @private
|
4231
4582
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -85,13 +85,13 @@ module Google
|
|
85
85
|
# Claims the website of a Merchant Center sub-account.
|
86
86
|
# @param [Fixnum] merchant_id
|
87
87
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
88
|
-
# then this account must be a multi-client account and accountId must be the
|
89
|
-
# of a sub-account of this account.
|
88
|
+
# then this account must be a multi-client account and `accountId` must be the
|
89
|
+
# ID of a sub-account of this account.
|
90
90
|
# @param [Fixnum] account_id
|
91
91
|
# The ID of the account whose website is claimed.
|
92
92
|
# @param [Boolean] overwrite
|
93
|
-
# Only available to selected merchants. When set to True
|
94
|
-
# existing claim on the requested website by another account and replaces it
|
93
|
+
# Only available to selected merchants. When set to `True`, this flag removes
|
94
|
+
# any existing claim on the requested website by another account and replaces it
|
95
95
|
# with a claim from this account.
|
96
96
|
# @param [String] fields
|
97
97
|
# Selector specifying which fields to include in a partial response.
|
@@ -200,8 +200,8 @@ module Google
|
|
200
200
|
# Retrieves a Merchant Center account.
|
201
201
|
# @param [Fixnum] merchant_id
|
202
202
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
203
|
-
# then this account must be a multi-client account and accountId must be the
|
204
|
-
# of a sub-account of this account.
|
203
|
+
# then this account must be a multi-client account and `accountId` must be the
|
204
|
+
# ID of a sub-account of this account.
|
205
205
|
# @param [Fixnum] account_id
|
206
206
|
# The ID of the account.
|
207
207
|
# @param [String] fields
|
@@ -275,8 +275,8 @@ module Google
|
|
275
275
|
# accountId and linkedAccountId.
|
276
276
|
# @param [Fixnum] merchant_id
|
277
277
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
278
|
-
# then this account must be a multi-client account and accountId must be the
|
279
|
-
# of a sub-account of this account.
|
278
|
+
# then this account must be a multi-client account and `accountId` must be the
|
279
|
+
# ID of a sub-account of this account.
|
280
280
|
# @param [Fixnum] account_id
|
281
281
|
# The ID of the account that should be linked.
|
282
282
|
# @param [Google::Apis::ContentV2_1::AccountsLinkRequest] accounts_link_request_object
|
@@ -355,8 +355,8 @@ module Google
|
|
355
355
|
# Returns the list of accounts linked to your Merchant Center account.
|
356
356
|
# @param [Fixnum] merchant_id
|
357
357
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
358
|
-
# then this account must be a multi-client account and accountId must be the
|
359
|
-
# of a sub-account of this account.
|
358
|
+
# then this account must be a multi-client account and `accountId` must be the
|
359
|
+
# ID of a sub-account of this account.
|
360
360
|
# @param [Fixnum] account_id
|
361
361
|
# The ID of the account for which to list links.
|
362
362
|
# @param [Fixnum] max_results
|
@@ -399,8 +399,8 @@ module Google
|
|
399
399
|
# Updates a Merchant Center account.
|
400
400
|
# @param [Fixnum] merchant_id
|
401
401
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
402
|
-
# then this account must be a multi-client account and accountId must be the
|
403
|
-
# of a sub-account of this account.
|
402
|
+
# then this account must be a multi-client account and `accountId` must be the
|
403
|
+
# ID of a sub-account of this account.
|
404
404
|
# @param [Fixnum] account_id
|
405
405
|
# The ID of the account.
|
406
406
|
# @param [Google::Apis::ContentV2_1::Account] account_object
|
@@ -474,8 +474,8 @@ module Google
|
|
474
474
|
# returned for multi-client accounts.
|
475
475
|
# @param [Fixnum] merchant_id
|
476
476
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
477
|
-
# then this account must be a multi-client account and accountId must be the
|
478
|
-
# of a sub-account of this account.
|
477
|
+
# then this account must be a multi-client account and `accountId` must be the
|
478
|
+
# ID of a sub-account of this account.
|
479
479
|
# @param [Fixnum] account_id
|
480
480
|
# The ID of the account.
|
481
481
|
# @param [Array<String>, String] destinations
|
@@ -593,8 +593,8 @@ module Google
|
|
593
593
|
# Retrieves the tax settings of the account.
|
594
594
|
# @param [Fixnum] merchant_id
|
595
595
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
596
|
-
# then this account must be a multi-client account and accountId must be the
|
597
|
-
# of a sub-account of this account.
|
596
|
+
# then this account must be a multi-client account and `accountId` must be the
|
597
|
+
# ID of a sub-account of this account.
|
598
598
|
# @param [Fixnum] account_id
|
599
599
|
# The ID of the account for which to get/update account tax settings.
|
600
600
|
# @param [String] fields
|
@@ -670,8 +670,8 @@ module Google
|
|
670
670
|
# Updates the tax settings of the account.
|
671
671
|
# @param [Fixnum] merchant_id
|
672
672
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
673
|
-
# then this account must be a multi-client account and accountId must be the
|
674
|
-
# of a sub-account of this account.
|
673
|
+
# then this account must be a multi-client account and `accountId` must be the
|
674
|
+
# ID of a sub-account of this account.
|
675
675
|
# @param [Fixnum] account_id
|
676
676
|
# The ID of the account for which to get/update account tax settings.
|
677
677
|
# @param [Google::Apis::ContentV2_1::AccountTax] account_tax_object
|
@@ -1127,8 +1127,8 @@ module Google
|
|
1127
1127
|
# Retrieves the LIA settings of the account.
|
1128
1128
|
# @param [Fixnum] merchant_id
|
1129
1129
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
1130
|
-
# then this account must be a multi-client account and accountId must be the
|
1131
|
-
# of a sub-account of this account.
|
1130
|
+
# then this account must be a multi-client account and `accountId` must be the
|
1131
|
+
# ID of a sub-account of this account.
|
1132
1132
|
# @param [Fixnum] account_id
|
1133
1133
|
# The ID of the account for which to get or update LIA settings.
|
1134
1134
|
# @param [String] fields
|
@@ -1165,8 +1165,8 @@ module Google
|
|
1165
1165
|
# Retrieves the list of accessible Google My Business accounts.
|
1166
1166
|
# @param [Fixnum] merchant_id
|
1167
1167
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
1168
|
-
# then this account must be a multi-client account and accountId must be the
|
1169
|
-
# of a sub-account of this account.
|
1168
|
+
# then this account must be a multi-client account and `accountId` must be the
|
1169
|
+
# ID of a sub-account of this account.
|
1170
1170
|
# @param [Fixnum] account_id
|
1171
1171
|
# The ID of the account for which to retrieve accessible Google My Business
|
1172
1172
|
# accounts.
|
@@ -1274,8 +1274,8 @@ module Google
|
|
1274
1274
|
# Requests access to a specified Google My Business account.
|
1275
1275
|
# @param [Fixnum] merchant_id
|
1276
1276
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
1277
|
-
# then this account must be a multi-client account and accountId must be the
|
1278
|
-
# of a sub-account of this account.
|
1277
|
+
# then this account must be a multi-client account and `accountId` must be the
|
1278
|
+
# ID of a sub-account of this account.
|
1279
1279
|
# @param [Fixnum] account_id
|
1280
1280
|
# The ID of the account for which GMB access is requested.
|
1281
1281
|
# @param [String] gmb_email
|
@@ -1315,8 +1315,8 @@ module Google
|
|
1315
1315
|
# Requests inventory validation for the specified country.
|
1316
1316
|
# @param [Fixnum] merchant_id
|
1317
1317
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
1318
|
-
# then this account must be a multi-client account and accountId must be the
|
1319
|
-
# of a sub-account of this account.
|
1318
|
+
# then this account must be a multi-client account and `accountId` must be the
|
1319
|
+
# ID of a sub-account of this account.
|
1320
1320
|
# @param [Fixnum] account_id
|
1321
1321
|
# The ID of the account that manages the order. This cannot be a multi-client
|
1322
1322
|
# account.
|
@@ -1357,8 +1357,8 @@ module Google
|
|
1357
1357
|
# Sets the inventory verification contract for the specified country.
|
1358
1358
|
# @param [Fixnum] merchant_id
|
1359
1359
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
1360
|
-
# then this account must be a multi-client account and accountId must be the
|
1361
|
-
# of a sub-account of this account.
|
1360
|
+
# then this account must be a multi-client account and `accountId` must be the
|
1361
|
+
# ID of a sub-account of this account.
|
1362
1362
|
# @param [Fixnum] account_id
|
1363
1363
|
# The ID of the account that manages the order. This cannot be a multi-client
|
1364
1364
|
# account.
|
@@ -1408,8 +1408,8 @@ module Google
|
|
1408
1408
|
# Sets the POS data provider for the specified country.
|
1409
1409
|
# @param [Fixnum] merchant_id
|
1410
1410
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
1411
|
-
# then this account must be a multi-client account and accountId must be the
|
1412
|
-
# of a sub-account of this account.
|
1411
|
+
# then this account must be a multi-client account and `accountId` must be the
|
1412
|
+
# ID of a sub-account of this account.
|
1413
1413
|
# @param [Fixnum] account_id
|
1414
1414
|
# The ID of the account for which to retrieve accessible Google My Business
|
1415
1415
|
# accounts.
|
@@ -1456,8 +1456,8 @@ module Google
|
|
1456
1456
|
# Updates the LIA settings of the account.
|
1457
1457
|
# @param [Fixnum] merchant_id
|
1458
1458
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
1459
|
-
# then this account must be a multi-client account and accountId must be the
|
1460
|
-
# of a sub-account of this account.
|
1459
|
+
# then this account must be a multi-client account and `accountId` must be the
|
1460
|
+
# ID of a sub-account of this account.
|
1461
1461
|
# @param [Fixnum] account_id
|
1462
1462
|
# The ID of the account for which to get or update LIA settings.
|
1463
1463
|
# @param [Google::Apis::ContentV2_1::LiaSettings] lia_settings_object
|
@@ -1610,7 +1610,7 @@ module Google
|
|
1610
1610
|
|
1611
1611
|
# Creates a refund invoice for one or more shipment groups, and triggers a
|
1612
1612
|
# refund for orderinvoice enabled orders. This can only be used for line items
|
1613
|
-
# that have previously been charged using createChargeInvoice
|
1613
|
+
# that have previously been charged using `createChargeInvoice`. All amounts (
|
1614
1614
|
# except for the summary) are incremental with respect to the previous invoice.
|
1615
1615
|
# @param [Fixnum] merchant_id
|
1616
1616
|
# The ID of the account that manages the order. This cannot be a multi-client
|
@@ -1749,6 +1749,46 @@ module Google
|
|
1749
1749
|
execute_or_queue_command(command, &block)
|
1750
1750
|
end
|
1751
1751
|
|
1752
|
+
# Acks an order return in your Merchant Center account.
|
1753
|
+
# @param [Fixnum] merchant_id
|
1754
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
1755
|
+
# account.
|
1756
|
+
# @param [String] return_id
|
1757
|
+
# The ID of the return.
|
1758
|
+
# @param [Google::Apis::ContentV2_1::OrderreturnsAcknowledgeRequest] orderreturns_acknowledge_request_object
|
1759
|
+
# @param [String] fields
|
1760
|
+
# Selector specifying which fields to include in a partial response.
|
1761
|
+
# @param [String] quota_user
|
1762
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1763
|
+
# characters.
|
1764
|
+
# @param [String] user_ip
|
1765
|
+
# Deprecated. Please use quotaUser instead.
|
1766
|
+
# @param [Google::Apis::RequestOptions] options
|
1767
|
+
# Request-specific options
|
1768
|
+
#
|
1769
|
+
# @yield [result, err] Result & error if block supplied
|
1770
|
+
# @yieldparam result [Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse] parsed result object
|
1771
|
+
# @yieldparam err [StandardError] error object if request failed
|
1772
|
+
#
|
1773
|
+
# @return [Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse]
|
1774
|
+
#
|
1775
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1776
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1777
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1778
|
+
def acknowledge_orderreturn(merchant_id, return_id, orderreturns_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1779
|
+
command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/acknowledge', options)
|
1780
|
+
command.request_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeRequest::Representation
|
1781
|
+
command.request_object = orderreturns_acknowledge_request_object
|
1782
|
+
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse::Representation
|
1783
|
+
command.response_class = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse
|
1784
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1785
|
+
command.params['returnId'] = return_id unless return_id.nil?
|
1786
|
+
command.query['fields'] = fields unless fields.nil?
|
1787
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1788
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
1789
|
+
execute_or_queue_command(command, &block)
|
1790
|
+
end
|
1791
|
+
|
1752
1792
|
# Retrieves an order return from your Merchant Center account.
|
1753
1793
|
# @param [Fixnum] merchant_id
|
1754
1794
|
# The ID of the account that manages the order. This cannot be a multi-client
|
@@ -1790,12 +1830,26 @@ module Google
|
|
1790
1830
|
# @param [Fixnum] merchant_id
|
1791
1831
|
# The ID of the account that manages the order. This cannot be a multi-client
|
1792
1832
|
# account.
|
1833
|
+
# @param [Boolean] acknowledged
|
1834
|
+
# Obtains order returns that match the acknowledgement status. When set to true,
|
1835
|
+
# obtains order returns that have been acknowledged. When false, obtains order
|
1836
|
+
# returns that have not been acknowledged. When not provided, obtains order
|
1837
|
+
# returns regardless of their acknowledgement status.
|
1838
|
+
# We recommend using this filter set to `false`, in conjunction with the `
|
1839
|
+
# acknowledge` call, such that only un-acknowledged order returns are returned.
|
1793
1840
|
# @param [String] created_end_date
|
1794
1841
|
# Obtains order returns created before this date (inclusively), in ISO 8601
|
1795
1842
|
# format.
|
1796
1843
|
# @param [String] created_start_date
|
1797
1844
|
# Obtains order returns created after this date (inclusively), in ISO 8601
|
1798
1845
|
# format.
|
1846
|
+
# @param [Array<String>, String] google_order_ids
|
1847
|
+
# Obtains order returns with the specified order ids. If this parameter is
|
1848
|
+
# provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus,
|
1849
|
+
# shipmentState and acknowledged parameters must be not set.
|
1850
|
+
# Note: if googleOrderId and shipmentTrackingNumber parameters are provided, the
|
1851
|
+
# obtained results will include all order returns that either match the
|
1852
|
+
# specified order id or the specified tracking number.
|
1799
1853
|
# @param [Fixnum] max_results
|
1800
1854
|
# The maximum number of order returns to return in the response, used for paging.
|
1801
1855
|
# The default value is 25 returns per page, and the maximum allowed value is
|
@@ -1804,6 +1858,25 @@ module Google
|
|
1804
1858
|
# Return the results in the specified order.
|
1805
1859
|
# @param [String] page_token
|
1806
1860
|
# The token returned by the previous request.
|
1861
|
+
# @param [Array<String>, String] shipment_states
|
1862
|
+
# Obtains order returns that match any shipment state provided in this parameter.
|
1863
|
+
# When this parameter is not provided, order returns are obtained regardless of
|
1864
|
+
# their shipment states.
|
1865
|
+
# @param [Array<String>, String] shipment_status
|
1866
|
+
# Obtains order returns that match any shipment status provided in this
|
1867
|
+
# parameter. When this parameter is not provided, order returns are obtained
|
1868
|
+
# regardless of their shipment statuses.
|
1869
|
+
# @param [Array<String>, String] shipment_tracking_numbers
|
1870
|
+
# Obtains order returns with the specified tracking numbers. If this parameter
|
1871
|
+
# is provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus,
|
1872
|
+
# shipmentState and acknowledged parameters must be not set.
|
1873
|
+
# Note: if googleOrderId and shipmentTrackingNumber parameters are provided, the
|
1874
|
+
# obtained results will include all order returns that either match the
|
1875
|
+
# specified order id or the specified tracking number.
|
1876
|
+
# @param [Array<String>, String] shipment_types
|
1877
|
+
# Obtains order returns that match any shipment type provided in this parameter.
|
1878
|
+
# When this parameter is not provided, order returns are obtained regardless of
|
1879
|
+
# their shipment types.
|
1807
1880
|
# @param [String] fields
|
1808
1881
|
# Selector specifying which fields to include in a partial response.
|
1809
1882
|
# @param [String] quota_user
|
@@ -1823,16 +1896,62 @@ module Google
|
|
1823
1896
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1824
1897
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1825
1898
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1826
|
-
def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1899
|
+
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, user_ip: nil, options: nil, &block)
|
1827
1900
|
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
|
1828
1901
|
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsListResponse::Representation
|
1829
1902
|
command.response_class = Google::Apis::ContentV2_1::OrderreturnsListResponse
|
1830
1903
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1904
|
+
command.query['acknowledged'] = acknowledged unless acknowledged.nil?
|
1831
1905
|
command.query['createdEndDate'] = created_end_date unless created_end_date.nil?
|
1832
1906
|
command.query['createdStartDate'] = created_start_date unless created_start_date.nil?
|
1907
|
+
command.query['googleOrderIds'] = google_order_ids unless google_order_ids.nil?
|
1833
1908
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1834
1909
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1835
1910
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1911
|
+
command.query['shipmentStates'] = shipment_states unless shipment_states.nil?
|
1912
|
+
command.query['shipmentStatus'] = shipment_status unless shipment_status.nil?
|
1913
|
+
command.query['shipmentTrackingNumbers'] = shipment_tracking_numbers unless shipment_tracking_numbers.nil?
|
1914
|
+
command.query['shipmentTypes'] = shipment_types unless shipment_types.nil?
|
1915
|
+
command.query['fields'] = fields unless fields.nil?
|
1916
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1917
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
1918
|
+
execute_or_queue_command(command, &block)
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
# Processes return in your Merchant Center account.
|
1922
|
+
# @param [Fixnum] merchant_id
|
1923
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
1924
|
+
# account.
|
1925
|
+
# @param [String] return_id
|
1926
|
+
# The ID of the return.
|
1927
|
+
# @param [Google::Apis::ContentV2_1::OrderreturnsProcessRequest] orderreturns_process_request_object
|
1928
|
+
# @param [String] fields
|
1929
|
+
# Selector specifying which fields to include in a partial response.
|
1930
|
+
# @param [String] quota_user
|
1931
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1932
|
+
# characters.
|
1933
|
+
# @param [String] user_ip
|
1934
|
+
# Deprecated. Please use quotaUser instead.
|
1935
|
+
# @param [Google::Apis::RequestOptions] options
|
1936
|
+
# Request-specific options
|
1937
|
+
#
|
1938
|
+
# @yield [result, err] Result & error if block supplied
|
1939
|
+
# @yieldparam result [Google::Apis::ContentV2_1::OrderreturnsProcessResponse] parsed result object
|
1940
|
+
# @yieldparam err [StandardError] error object if request failed
|
1941
|
+
#
|
1942
|
+
# @return [Google::Apis::ContentV2_1::OrderreturnsProcessResponse]
|
1943
|
+
#
|
1944
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1945
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1946
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1947
|
+
def process_orderreturn(merchant_id, return_id, orderreturns_process_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1948
|
+
command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/process', options)
|
1949
|
+
command.request_representation = Google::Apis::ContentV2_1::OrderreturnsProcessRequest::Representation
|
1950
|
+
command.request_object = orderreturns_process_request_object
|
1951
|
+
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsProcessResponse::Representation
|
1952
|
+
command.response_class = Google::Apis::ContentV2_1::OrderreturnsProcessResponse
|
1953
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1954
|
+
command.params['returnId'] = return_id unless return_id.nil?
|
1836
1955
|
command.query['fields'] = fields unless fields.nil?
|
1837
1956
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1838
1957
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -1879,8 +1998,8 @@ module Google
|
|
1879
1998
|
execute_or_queue_command(command, &block)
|
1880
1999
|
end
|
1881
2000
|
|
1882
|
-
# Sandbox only. Moves a test order from state "inProgress" to state "
|
1883
|
-
# pendingShipment".
|
2001
|
+
# Sandbox only. Moves a test order from state "`inProgress`" to state "`
|
2002
|
+
# pendingShipment`".
|
1884
2003
|
# @param [Fixnum] merchant_id
|
1885
2004
|
# The ID of the account that manages the order. This cannot be a multi-client
|
1886
2005
|
# account.
|
@@ -2196,7 +2315,7 @@ module Google
|
|
2196
2315
|
# @param [String] template_name
|
2197
2316
|
# The name of the template to retrieve.
|
2198
2317
|
# @param [String] country
|
2199
|
-
# The country of the template to retrieve. Defaults to US
|
2318
|
+
# The country of the template to retrieve. Defaults to `US`.
|
2200
2319
|
# @param [String] fields
|
2201
2320
|
# Selector specifying which fields to include in a partial response.
|
2202
2321
|
# @param [String] quota_user
|
@@ -2285,8 +2404,8 @@ module Google
|
|
2285
2404
|
# Obtains orders that match the acknowledgement status. When set to true,
|
2286
2405
|
# obtains orders that have been acknowledged. When false, obtains orders that
|
2287
2406
|
# have not been acknowledged.
|
2288
|
-
# We recommend using this filter set to false
|
2289
|
-
# acknowledge call, such that only un-acknowledged orders are returned.
|
2407
|
+
# We recommend using this filter set to `false`, in conjunction with the `
|
2408
|
+
# acknowledge` call, such that only un-acknowledged orders are returned.
|
2290
2409
|
# @param [Fixnum] max_results
|
2291
2410
|
# The maximum number of orders to return in the response, used for paging. The
|
2292
2411
|
# default value is 25 orders per page, and the maximum allowed value is 250
|
@@ -2303,10 +2422,10 @@ module Google
|
|
2303
2422
|
# @param [String] placed_date_start
|
2304
2423
|
# Obtains orders placed after this date (inclusively), in ISO 8601 format.
|
2305
2424
|
# @param [Array<String>, String] statuses
|
2306
|
-
# Obtains orders that match any of the specified statuses. Please note that
|
2307
|
-
# active is a shortcut for pendingShipment and partiallyShipped
|
2308
|
-
# is a shortcut for shipped
|
2309
|
-
# returned
|
2425
|
+
# Obtains orders that match any of the specified statuses. Please note that `
|
2426
|
+
# active` is a shortcut for `pendingShipment` and `partiallyShipped`, and `
|
2427
|
+
# completed` is a shortcut for `shipped`, `partiallyDelivered`, `delivered`, `
|
2428
|
+
# partiallyReturned`, `returned`, and `canceled`.
|
2310
2429
|
# @param [String] fields
|
2311
2430
|
# Selector specifying which fields to include in a partial response.
|
2312
2431
|
# @param [String] quota_user
|
@@ -3702,6 +3821,139 @@ module Google
|
|
3702
3821
|
execute_or_queue_command(command, &block)
|
3703
3822
|
end
|
3704
3823
|
|
3824
|
+
# Retrieves a settlement report from your Merchant Center account.
|
3825
|
+
# @param [Fixnum] merchant_id
|
3826
|
+
# The Merchant Center account of the settlement report.
|
3827
|
+
# @param [String] settlement_id
|
3828
|
+
# The Google-provided ID of the settlement.
|
3829
|
+
# @param [String] fields
|
3830
|
+
# Selector specifying which fields to include in a partial response.
|
3831
|
+
# @param [String] quota_user
|
3832
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3833
|
+
# characters.
|
3834
|
+
# @param [String] user_ip
|
3835
|
+
# Deprecated. Please use quotaUser instead.
|
3836
|
+
# @param [Google::Apis::RequestOptions] options
|
3837
|
+
# Request-specific options
|
3838
|
+
#
|
3839
|
+
# @yield [result, err] Result & error if block supplied
|
3840
|
+
# @yieldparam result [Google::Apis::ContentV2_1::SettlementReport] parsed result object
|
3841
|
+
# @yieldparam err [StandardError] error object if request failed
|
3842
|
+
#
|
3843
|
+
# @return [Google::Apis::ContentV2_1::SettlementReport]
|
3844
|
+
#
|
3845
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3846
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3847
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3848
|
+
def get_settlementreport(merchant_id, settlement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3849
|
+
command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}', options)
|
3850
|
+
command.response_representation = Google::Apis::ContentV2_1::SettlementReport::Representation
|
3851
|
+
command.response_class = Google::Apis::ContentV2_1::SettlementReport
|
3852
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3853
|
+
command.params['settlementId'] = settlement_id unless settlement_id.nil?
|
3854
|
+
command.query['fields'] = fields unless fields.nil?
|
3855
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3856
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3857
|
+
execute_or_queue_command(command, &block)
|
3858
|
+
end
|
3859
|
+
|
3860
|
+
# Retrieves a list of settlement reports from your Merchant Center account.
|
3861
|
+
# @param [Fixnum] merchant_id
|
3862
|
+
# The Merchant Center account to list settlements for.
|
3863
|
+
# @param [Fixnum] max_results
|
3864
|
+
# The maximum number of settlements to return in the response, used for paging.
|
3865
|
+
# The default value is 200 returns per page, and the maximum allowed value is
|
3866
|
+
# 5000 returns per page.
|
3867
|
+
# @param [String] page_token
|
3868
|
+
# The token returned by the previous request.
|
3869
|
+
# @param [String] transfer_end_date
|
3870
|
+
# Obtains settlements which have transactions before this date (inclusively), in
|
3871
|
+
# ISO 8601 format.
|
3872
|
+
# @param [String] transfer_start_date
|
3873
|
+
# Obtains settlements which have transactions after this date (inclusively), in
|
3874
|
+
# ISO 8601 format.
|
3875
|
+
# @param [String] fields
|
3876
|
+
# Selector specifying which fields to include in a partial response.
|
3877
|
+
# @param [String] quota_user
|
3878
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3879
|
+
# characters.
|
3880
|
+
# @param [String] user_ip
|
3881
|
+
# Deprecated. Please use quotaUser instead.
|
3882
|
+
# @param [Google::Apis::RequestOptions] options
|
3883
|
+
# Request-specific options
|
3884
|
+
#
|
3885
|
+
# @yield [result, err] Result & error if block supplied
|
3886
|
+
# @yieldparam result [Google::Apis::ContentV2_1::SettlementreportsListResponse] parsed result object
|
3887
|
+
# @yieldparam err [StandardError] error object if request failed
|
3888
|
+
#
|
3889
|
+
# @return [Google::Apis::ContentV2_1::SettlementreportsListResponse]
|
3890
|
+
#
|
3891
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3892
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3893
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3894
|
+
def list_settlementreports(merchant_id, max_results: nil, page_token: nil, transfer_end_date: nil, transfer_start_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3895
|
+
command = make_simple_command(:get, '{merchantId}/settlementreports', options)
|
3896
|
+
command.response_representation = Google::Apis::ContentV2_1::SettlementreportsListResponse::Representation
|
3897
|
+
command.response_class = Google::Apis::ContentV2_1::SettlementreportsListResponse
|
3898
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3899
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
3900
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3901
|
+
command.query['transferEndDate'] = transfer_end_date unless transfer_end_date.nil?
|
3902
|
+
command.query['transferStartDate'] = transfer_start_date unless transfer_start_date.nil?
|
3903
|
+
command.query['fields'] = fields unless fields.nil?
|
3904
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3905
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3906
|
+
execute_or_queue_command(command, &block)
|
3907
|
+
end
|
3908
|
+
|
3909
|
+
# Retrieves a list of transactions for the settlement.
|
3910
|
+
# @param [Fixnum] merchant_id
|
3911
|
+
# The Merchant Center account to list transactions for.
|
3912
|
+
# @param [String] settlement_id
|
3913
|
+
# The Google-provided ID of the settlement.
|
3914
|
+
# @param [Fixnum] max_results
|
3915
|
+
# The maximum number of transactions to return in the response, used for paging.
|
3916
|
+
# The default value is 200 transactions per page, and the maximum allowed value
|
3917
|
+
# is 5000 transactions per page.
|
3918
|
+
# @param [String] page_token
|
3919
|
+
# The token returned by the previous request.
|
3920
|
+
# @param [Array<String>, String] transaction_ids
|
3921
|
+
# The list of transactions to return. If not set, all transactions will be
|
3922
|
+
# returned.
|
3923
|
+
# @param [String] fields
|
3924
|
+
# Selector specifying which fields to include in a partial response.
|
3925
|
+
# @param [String] quota_user
|
3926
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3927
|
+
# characters.
|
3928
|
+
# @param [String] user_ip
|
3929
|
+
# Deprecated. Please use quotaUser instead.
|
3930
|
+
# @param [Google::Apis::RequestOptions] options
|
3931
|
+
# Request-specific options
|
3932
|
+
#
|
3933
|
+
# @yield [result, err] Result & error if block supplied
|
3934
|
+
# @yieldparam result [Google::Apis::ContentV2_1::SettlementtransactionsListResponse] parsed result object
|
3935
|
+
# @yieldparam err [StandardError] error object if request failed
|
3936
|
+
#
|
3937
|
+
# @return [Google::Apis::ContentV2_1::SettlementtransactionsListResponse]
|
3938
|
+
#
|
3939
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3940
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3941
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3942
|
+
def list_settlementtransactions(merchant_id, settlement_id, max_results: nil, page_token: nil, transaction_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3943
|
+
command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}/transactions', options)
|
3944
|
+
command.response_representation = Google::Apis::ContentV2_1::SettlementtransactionsListResponse::Representation
|
3945
|
+
command.response_class = Google::Apis::ContentV2_1::SettlementtransactionsListResponse
|
3946
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3947
|
+
command.params['settlementId'] = settlement_id unless settlement_id.nil?
|
3948
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
3949
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3950
|
+
command.query['transactionIds'] = transaction_ids unless transaction_ids.nil?
|
3951
|
+
command.query['fields'] = fields unless fields.nil?
|
3952
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3953
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3954
|
+
execute_or_queue_command(command, &block)
|
3955
|
+
end
|
3956
|
+
|
3705
3957
|
# Retrieves and updates the shipping settings of multiple accounts in a single
|
3706
3958
|
# request.
|
3707
3959
|
# @param [Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest] shippingsettings_custom_batch_request_object
|
@@ -3739,8 +3991,8 @@ module Google
|
|
3739
3991
|
# Retrieves the shipping settings of the account.
|
3740
3992
|
# @param [Fixnum] merchant_id
|
3741
3993
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
3742
|
-
# then this account must be a multi-client account and accountId must be the
|
3743
|
-
# of a sub-account of this account.
|
3994
|
+
# then this account must be a multi-client account and `accountId` must be the
|
3995
|
+
# ID of a sub-account of this account.
|
3744
3996
|
# @param [Fixnum] account_id
|
3745
3997
|
# The ID of the account for which to get/update shipping settings.
|
3746
3998
|
# @param [String] fields
|
@@ -3917,8 +4169,8 @@ module Google
|
|
3917
4169
|
# Updates the shipping settings of the account.
|
3918
4170
|
# @param [Fixnum] merchant_id
|
3919
4171
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
3920
|
-
# then this account must be a multi-client account and accountId must be the
|
3921
|
-
# of a sub-account of this account.
|
4172
|
+
# then this account must be a multi-client account and `accountId` must be the
|
4173
|
+
# ID of a sub-account of this account.
|
3922
4174
|
# @param [Fixnum] account_id
|
3923
4175
|
# The ID of the account for which to get/update shipping settings.
|
3924
4176
|
# @param [Google::Apis::ContentV2_1::ShippingSettings] shipping_settings_object
|