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
@@ -34,6 +34,18 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class ArtifactHashes
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class ArtifactRule
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
37
49
|
class Attestation
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
@@ -100,6 +112,12 @@ module Google
|
|
100
112
|
include Google::Apis::Core::JsonObjectSupport
|
101
113
|
end
|
102
114
|
|
115
|
+
class ByProducts
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
103
121
|
class CvsSv3
|
104
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
123
|
|
@@ -172,6 +190,12 @@ module Google
|
|
172
190
|
include Google::Apis::Core::JsonObjectSupport
|
173
191
|
end
|
174
192
|
|
193
|
+
class Environment
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
175
199
|
class Expr
|
176
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
201
|
|
@@ -256,6 +280,24 @@ module Google
|
|
256
280
|
include Google::Apis::Core::JsonObjectSupport
|
257
281
|
end
|
258
282
|
|
283
|
+
class GrafeasV1beta1IntotoArtifact
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class GrafeasV1beta1IntotoDetails
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class GrafeasV1beta1IntotoSignature
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
259
301
|
class GrafeasV1beta1PackageDetails
|
260
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
303
|
|
@@ -280,6 +322,12 @@ module Google
|
|
280
322
|
include Google::Apis::Core::JsonObjectSupport
|
281
323
|
end
|
282
324
|
|
325
|
+
class InToto
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
283
331
|
class Installation
|
284
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
333
|
|
@@ -298,6 +346,12 @@ module Google
|
|
298
346
|
include Google::Apis::Core::JsonObjectSupport
|
299
347
|
end
|
300
348
|
|
349
|
+
class Link
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
301
355
|
class ListNoteOccurrencesResponse
|
302
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
357
|
|
@@ -406,6 +460,12 @@ module Google
|
|
406
460
|
include Google::Apis::Core::JsonObjectSupport
|
407
461
|
end
|
408
462
|
|
463
|
+
class SigningKey
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
409
469
|
class Source
|
410
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
471
|
|
@@ -483,6 +543,20 @@ module Google
|
|
483
543
|
end
|
484
544
|
end
|
485
545
|
|
546
|
+
class ArtifactHashes
|
547
|
+
# @private
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
549
|
+
property :sha256, as: 'sha256'
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
553
|
+
class ArtifactRule
|
554
|
+
# @private
|
555
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
556
|
+
collection :artifact_rule, as: 'artifactRule'
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
486
560
|
class Attestation
|
487
561
|
# @private
|
488
562
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -593,6 +667,13 @@ module Google
|
|
593
667
|
end
|
594
668
|
end
|
595
669
|
|
670
|
+
class ByProducts
|
671
|
+
# @private
|
672
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
673
|
+
hash :custom_values, as: 'customValues'
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
596
677
|
class CvsSv3
|
597
678
|
# @private
|
598
679
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -729,6 +810,13 @@ module Google
|
|
729
810
|
end
|
730
811
|
end
|
731
812
|
|
813
|
+
class Environment
|
814
|
+
# @private
|
815
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
816
|
+
hash :custom_values, as: 'customValues'
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
732
820
|
class Expr
|
733
821
|
# @private
|
734
822
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -852,6 +940,33 @@ module Google
|
|
852
940
|
end
|
853
941
|
end
|
854
942
|
|
943
|
+
class GrafeasV1beta1IntotoArtifact
|
944
|
+
# @private
|
945
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
946
|
+
property :hashes, as: 'hashes', class: Google::Apis::ContaineranalysisV1beta1::ArtifactHashes, decorator: Google::Apis::ContaineranalysisV1beta1::ArtifactHashes::Representation
|
947
|
+
|
948
|
+
property :resource_uri, as: 'resourceUri'
|
949
|
+
end
|
950
|
+
end
|
951
|
+
|
952
|
+
class GrafeasV1beta1IntotoDetails
|
953
|
+
# @private
|
954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
955
|
+
collection :signatures, as: 'signatures', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoSignature, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoSignature::Representation
|
956
|
+
|
957
|
+
property :signed, as: 'signed', class: Google::Apis::ContaineranalysisV1beta1::Link, decorator: Google::Apis::ContaineranalysisV1beta1::Link::Representation
|
958
|
+
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
962
|
+
class GrafeasV1beta1IntotoSignature
|
963
|
+
# @private
|
964
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
965
|
+
property :keyid, as: 'keyid'
|
966
|
+
property :sig, as: 'sig'
|
967
|
+
end
|
968
|
+
end
|
969
|
+
|
855
970
|
class GrafeasV1beta1PackageDetails
|
856
971
|
# @private
|
857
972
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -891,6 +1006,21 @@ module Google
|
|
891
1006
|
end
|
892
1007
|
end
|
893
1008
|
|
1009
|
+
class InToto
|
1010
|
+
# @private
|
1011
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1012
|
+
collection :expected_command, as: 'expectedCommand'
|
1013
|
+
collection :expected_materials, as: 'expectedMaterials', class: Google::Apis::ContaineranalysisV1beta1::ArtifactRule, decorator: Google::Apis::ContaineranalysisV1beta1::ArtifactRule::Representation
|
1014
|
+
|
1015
|
+
collection :expected_products, as: 'expectedProducts', class: Google::Apis::ContaineranalysisV1beta1::ArtifactRule, decorator: Google::Apis::ContaineranalysisV1beta1::ArtifactRule::Representation
|
1016
|
+
|
1017
|
+
collection :signing_keys, as: 'signingKeys', class: Google::Apis::ContaineranalysisV1beta1::SigningKey, decorator: Google::Apis::ContaineranalysisV1beta1::SigningKey::Representation
|
1018
|
+
|
1019
|
+
property :step_name, as: 'stepName'
|
1020
|
+
property :threshold, :numeric_string => true, as: 'threshold'
|
1021
|
+
end
|
1022
|
+
end
|
1023
|
+
|
894
1024
|
class Installation
|
895
1025
|
# @private
|
896
1026
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -916,6 +1046,21 @@ module Google
|
|
916
1046
|
end
|
917
1047
|
end
|
918
1048
|
|
1049
|
+
class Link
|
1050
|
+
# @private
|
1051
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1052
|
+
property :byproducts, as: 'byproducts', class: Google::Apis::ContaineranalysisV1beta1::ByProducts, decorator: Google::Apis::ContaineranalysisV1beta1::ByProducts::Representation
|
1053
|
+
|
1054
|
+
collection :command, as: 'command'
|
1055
|
+
property :environment, as: 'environment', class: Google::Apis::ContaineranalysisV1beta1::Environment, decorator: Google::Apis::ContaineranalysisV1beta1::Environment::Representation
|
1056
|
+
|
1057
|
+
collection :materials, as: 'materials', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoArtifact::Representation
|
1058
|
+
|
1059
|
+
collection :products, as: 'products', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoArtifact::Representation
|
1060
|
+
|
1061
|
+
end
|
1062
|
+
end
|
1063
|
+
|
919
1064
|
class ListNoteOccurrencesResponse
|
920
1065
|
# @private
|
921
1066
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -977,6 +1122,8 @@ module Google
|
|
977
1122
|
property :discovery, as: 'discovery', class: Google::Apis::ContaineranalysisV1beta1::Discovery, decorator: Google::Apis::ContaineranalysisV1beta1::Discovery::Representation
|
978
1123
|
|
979
1124
|
property :expiration_time, as: 'expirationTime'
|
1125
|
+
property :intoto, as: 'intoto', class: Google::Apis::ContaineranalysisV1beta1::InToto, decorator: Google::Apis::ContaineranalysisV1beta1::InToto::Representation
|
1126
|
+
|
980
1127
|
property :kind, as: 'kind'
|
981
1128
|
property :long_description, as: 'longDescription'
|
982
1129
|
property :name, as: 'name'
|
@@ -1008,6 +1155,8 @@ module Google
|
|
1008
1155
|
|
1009
1156
|
property :installation, as: 'installation', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1PackageDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1PackageDetails::Representation
|
1010
1157
|
|
1158
|
+
property :intoto, as: 'intoto', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoDetails::Representation
|
1159
|
+
|
1011
1160
|
property :kind, as: 'kind'
|
1012
1161
|
property :name, as: 'name'
|
1013
1162
|
property :note_name, as: 'noteName'
|
@@ -1121,6 +1270,16 @@ module Google
|
|
1121
1270
|
end
|
1122
1271
|
end
|
1123
1272
|
|
1273
|
+
class SigningKey
|
1274
|
+
# @private
|
1275
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1276
|
+
property :key_id, as: 'keyId'
|
1277
|
+
property :key_scheme, as: 'keyScheme'
|
1278
|
+
property :key_type, as: 'keyType'
|
1279
|
+
property :public_key_value, as: 'publicKeyValue'
|
1280
|
+
end
|
1281
|
+
end
|
1282
|
+
|
1124
1283
|
class Source
|
1125
1284
|
# @private
|
1126
1285
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200421'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -35,8 +35,8 @@ module Google
|
|
35
35
|
alias_method :adult_content?, :adult_content
|
36
36
|
|
37
37
|
# List of linked AdWords accounts that are active or pending approval. To create
|
38
|
-
# a new link request, add a new link with status active to the list. It will
|
39
|
-
# remain in a pending state until approved or rejected either in the AdWords
|
38
|
+
# a new link request, add a new link with status `active` to the list. It will
|
39
|
+
# remain in a `pending` state until approved or rejected either in the AdWords
|
40
40
|
# interface or through the AdWords API. To delete an active link, or to cancel
|
41
41
|
# a link request, remove it from the list.
|
42
42
|
# Corresponds to the JSON property `adwordsLinks`
|
@@ -59,8 +59,8 @@ module Google
|
|
59
59
|
# @return [Fixnum]
|
60
60
|
attr_accessor :id
|
61
61
|
|
62
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
63
|
-
# account"
|
62
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
63
|
+
# account`"
|
64
64
|
# Corresponds to the JSON property `kind`
|
65
65
|
# @return [String]
|
66
66
|
attr_accessor :kind
|
@@ -92,10 +92,10 @@ module Google
|
|
92
92
|
attr_accessor :website_url
|
93
93
|
|
94
94
|
# List of linked YouTube channels that are active or pending approval. To create
|
95
|
-
# a new link request, add a new link with status active to the list. It will
|
96
|
-
# remain in a pending state until approved or rejected in the YT Creator
|
97
|
-
# interface. To delete an active link, or to cancel a link request,
|
98
|
-
# from the list.
|
95
|
+
# a new link request, add a new link with status `active` to the list. It will
|
96
|
+
# remain in a `pending` state until approved or rejected in the YT Creator
|
97
|
+
# Studio interface. To delete an active link, or to cancel a link request,
|
98
|
+
# remove it from the list.
|
99
99
|
# Corresponds to the JSON property `youtubeChannelLinks`
|
100
100
|
# @return [Array<Google::Apis::ContentV2::AccountYouTubeChannelLink>]
|
101
101
|
attr_accessor :youtube_channel_links
|
@@ -177,16 +177,16 @@ module Google
|
|
177
177
|
|
178
178
|
# Status of the link between this Merchant Center account and the AdWords
|
179
179
|
# account. Upon retrieval, it represents the actual status of the link and can
|
180
|
-
# be either active if it was approved in Google AdWords or pending if it's
|
180
|
+
# be either `active` if it was approved in Google AdWords or `pending` if it's
|
181
181
|
# pending approval. Upon insertion, it represents the intended status of the
|
182
|
-
# link. Re-uploading a link with status active when it's still pending or with
|
183
|
-
# status pending when it's already active will have no effect: the status will
|
184
|
-
# remain unchanged. Re-uploading a link with deprecated status inactive is
|
182
|
+
# link. Re-uploading a link with status `active` when it's still pending or with
|
183
|
+
# status `pending` when it's already active will have no effect: the status will
|
184
|
+
# remain unchanged. Re-uploading a link with deprecated status `inactive` is
|
185
185
|
# equivalent to not submitting the link at all and will delete the link if it
|
186
186
|
# was active or cancel the link request if it was pending.
|
187
187
|
# Acceptable values are:
|
188
|
-
# - "active"
|
189
|
-
# - "pending"
|
188
|
+
# - "`active`"
|
189
|
+
# - "`pending`"
|
190
190
|
# Corresponds to the JSON property `status`
|
191
191
|
# @return [String]
|
192
192
|
attr_accessor :status
|
@@ -277,8 +277,8 @@ module Google
|
|
277
277
|
|
278
278
|
# Status of the link between this Merchant Center account and the GMB account.
|
279
279
|
# Acceptable values are:
|
280
|
-
# - "active"
|
281
|
-
# - "pending"
|
280
|
+
# - "`active`"
|
281
|
+
# - "`pending`"
|
282
282
|
# Corresponds to the JSON property `status`
|
283
283
|
# @return [String]
|
284
284
|
attr_accessor :status
|
@@ -340,8 +340,8 @@ module Google
|
|
340
340
|
# @return [Array<Google::Apis::ContentV2::AccountStatusDataQualityIssue>]
|
341
341
|
attr_accessor :data_quality_issues
|
342
342
|
|
343
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
344
|
-
# accountStatus"
|
343
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
344
|
+
# accountStatus`"
|
345
345
|
# Corresponds to the JSON property `kind`
|
346
346
|
# @return [String]
|
347
347
|
attr_accessor :kind
|
@@ -404,9 +404,9 @@ module Google
|
|
404
404
|
|
405
405
|
# Severity of the issue.
|
406
406
|
# Acceptable values are:
|
407
|
-
# - "critical"
|
408
|
-
# - "error"
|
409
|
-
# - "suggestion"
|
407
|
+
# - "`critical`"
|
408
|
+
# - "`error`"
|
409
|
+
# - "`suggestion`"
|
410
410
|
# Corresponds to the JSON property `severity`
|
411
411
|
# @return [String]
|
412
412
|
attr_accessor :severity
|
@@ -482,9 +482,9 @@ module Google
|
|
482
482
|
attr_accessor :num_items
|
483
483
|
|
484
484
|
# Acceptable values are:
|
485
|
-
# - "critical"
|
486
|
-
# - "error"
|
487
|
-
# - "suggestion"
|
485
|
+
# - "`critical`"
|
486
|
+
# - "`error`"
|
487
|
+
# - "`suggestion`"
|
488
488
|
# Corresponds to the JSON property `severity`
|
489
489
|
# @return [String]
|
490
490
|
attr_accessor :severity
|
@@ -624,8 +624,8 @@ module Google
|
|
624
624
|
|
625
625
|
# The channel the data applies to.
|
626
626
|
# Acceptable values are:
|
627
|
-
# - "local"
|
628
|
-
# - "online"
|
627
|
+
# - "`local`"
|
628
|
+
# - "`online`"
|
629
629
|
# Corresponds to the JSON property `channel`
|
630
630
|
# @return [String]
|
631
631
|
attr_accessor :channel
|
@@ -839,11 +839,11 @@ module Google
|
|
839
839
|
|
840
840
|
# Status of the link between this Merchant Center account and the YouTube
|
841
841
|
# channel. Upon retrieval, it represents the actual status of the link and can
|
842
|
-
# be either active if it was approved in YT Creator Studio or pending if it'
|
843
|
-
# pending approval. Upon insertion, it represents the intended status of the
|
844
|
-
# link. Re-uploading a link with status active when it's still pending or with
|
845
|
-
# status pending when it's already active will have no effect: the status will
|
846
|
-
# remain unchanged. Re-uploading a link with deprecated status inactive is
|
842
|
+
# be either `active` if it was approved in YT Creator Studio or `pending` if it'
|
843
|
+
# s pending approval. Upon insertion, it represents the intended status of the
|
844
|
+
# link. Re-uploading a link with status `active` when it's still pending or with
|
845
|
+
# status `pending` when it's already active will have no effect: the status will
|
846
|
+
# remain unchanged. Re-uploading a link with deprecated status `inactive` is
|
847
847
|
# equivalent to not submitting the link at all and will delete the link if it
|
848
848
|
# was active or cancel the link request if it was pending.
|
849
849
|
# Corresponds to the JSON property `status`
|
@@ -941,7 +941,7 @@ module Google
|
|
941
941
|
# @return [Google::Apis::ContentV2::Account]
|
942
942
|
attr_accessor :account
|
943
943
|
|
944
|
-
# The ID of the targeted account. Only defined if the method is not insert
|
944
|
+
# The ID of the targeted account. Only defined if the method is not `insert`.
|
945
945
|
# Corresponds to the JSON property `accountId`
|
946
946
|
# @return [Fixnum]
|
947
947
|
attr_accessor :account_id
|
@@ -952,13 +952,13 @@ module Google
|
|
952
952
|
attr_accessor :batch_id
|
953
953
|
|
954
954
|
# Whether the account should be deleted if the account has offers. Only
|
955
|
-
# applicable if the method is delete
|
955
|
+
# applicable if the method is `delete`.
|
956
956
|
# Corresponds to the JSON property `force`
|
957
957
|
# @return [Boolean]
|
958
958
|
attr_accessor :force
|
959
959
|
alias_method :force?, :force
|
960
960
|
|
961
|
-
# Details about the link request.
|
961
|
+
# Details about the `link` request.
|
962
962
|
# Corresponds to the JSON property `linkRequest`
|
963
963
|
# @return [Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest]
|
964
964
|
attr_accessor :link_request
|
@@ -970,17 +970,17 @@ module Google
|
|
970
970
|
|
971
971
|
# The method of the batch entry.
|
972
972
|
# Acceptable values are:
|
973
|
-
# - "claimWebsite"
|
974
|
-
# - "delete"
|
975
|
-
# - "get"
|
976
|
-
# - "insert"
|
977
|
-
# - "link"
|
978
|
-
# - "update"
|
973
|
+
# - "`claimWebsite`"
|
974
|
+
# - "`delete`"
|
975
|
+
# - "`get`"
|
976
|
+
# - "`insert`"
|
977
|
+
# - "`link`"
|
978
|
+
# - "`update`"
|
979
979
|
# Corresponds to the JSON property `method`
|
980
980
|
# @return [String]
|
981
981
|
attr_accessor :request_method
|
982
982
|
|
983
|
-
# Only applicable if the method is claimwebsite
|
983
|
+
# Only applicable if the method is `claimwebsite`. Indicates whether or not to
|
984
984
|
# take the claim from another account in case there is a conflict.
|
985
985
|
# Corresponds to the JSON property `overwrite`
|
986
986
|
# @return [Boolean]
|
@@ -1008,20 +1008,20 @@ module Google
|
|
1008
1008
|
class AccountsCustomBatchRequestEntryLinkRequest
|
1009
1009
|
include Google::Apis::Core::Hashable
|
1010
1010
|
|
1011
|
-
# Action to perform for this link. The "request" action is only available to
|
1011
|
+
# Action to perform for this link. The `"request"` action is only available to
|
1012
1012
|
# select merchants.
|
1013
1013
|
# Acceptable values are:
|
1014
|
-
# - "approve"
|
1015
|
-
# - "remove"
|
1016
|
-
# - "request"
|
1014
|
+
# - "`approve`"
|
1015
|
+
# - "`remove`"
|
1016
|
+
# - "`request`"
|
1017
1017
|
# Corresponds to the JSON property `action`
|
1018
1018
|
# @return [String]
|
1019
1019
|
attr_accessor :action
|
1020
1020
|
|
1021
1021
|
# Type of the link between the two accounts.
|
1022
1022
|
# Acceptable values are:
|
1023
|
-
# - "channelPartner"
|
1024
|
-
# - "eCommercePlatform"
|
1023
|
+
# - "`channelPartner`"
|
1024
|
+
# - "`eCommercePlatform`"
|
1025
1025
|
# Corresponds to the JSON property `linkType`
|
1026
1026
|
# @return [String]
|
1027
1027
|
attr_accessor :link_type
|
@@ -1090,17 +1090,17 @@ module Google
|
|
1090
1090
|
# @return [Google::Apis::ContentV2::Errors]
|
1091
1091
|
attr_accessor :errors
|
1092
1092
|
|
1093
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1094
|
-
# accountsCustomBatchResponseEntry"
|
1093
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1094
|
+
# accountsCustomBatchResponseEntry`"
|
1095
1095
|
# Corresponds to the JSON property `kind`
|
1096
1096
|
# @return [String]
|
1097
1097
|
attr_accessor :kind
|
1098
1098
|
|
1099
1099
|
# Deprecated. This field is never set.
|
1100
1100
|
# Acceptable values are:
|
1101
|
-
# - "active"
|
1102
|
-
# - "inactive"
|
1103
|
-
# - "pending"
|
1101
|
+
# - "`active`"
|
1102
|
+
# - "`inactive`"
|
1103
|
+
# - "`pending`"
|
1104
1104
|
# Corresponds to the JSON property `linkStatus`
|
1105
1105
|
# @return [String]
|
1106
1106
|
attr_accessor :link_status
|
@@ -1123,20 +1123,20 @@ module Google
|
|
1123
1123
|
class AccountsLinkRequest
|
1124
1124
|
include Google::Apis::Core::Hashable
|
1125
1125
|
|
1126
|
-
# Action to perform for this link. The "request" action is only available to
|
1126
|
+
# Action to perform for this link. The `"request"` action is only available to
|
1127
1127
|
# select merchants.
|
1128
1128
|
# Acceptable values are:
|
1129
|
-
# - "approve"
|
1130
|
-
# - "remove"
|
1131
|
-
# - "request"
|
1129
|
+
# - "`approve`"
|
1130
|
+
# - "`remove`"
|
1131
|
+
# - "`request`"
|
1132
1132
|
# Corresponds to the JSON property `action`
|
1133
1133
|
# @return [String]
|
1134
1134
|
attr_accessor :action
|
1135
1135
|
|
1136
1136
|
# Type of the link between the two accounts.
|
1137
1137
|
# Acceptable values are:
|
1138
|
-
# - "channelPartner"
|
1139
|
-
# - "eCommercePlatform"
|
1138
|
+
# - "`channelPartner`"
|
1139
|
+
# - "`eCommercePlatform`"
|
1140
1140
|
# Corresponds to the JSON property `linkType`
|
1141
1141
|
# @return [String]
|
1142
1142
|
attr_accessor :link_type
|
@@ -1256,7 +1256,7 @@ module Google
|
|
1256
1256
|
|
1257
1257
|
# The method of the batch entry.
|
1258
1258
|
# Acceptable values are:
|
1259
|
-
# - "get"
|
1259
|
+
# - "`get`"
|
1260
1260
|
# Corresponds to the JSON property `method`
|
1261
1261
|
# @return [String]
|
1262
1262
|
attr_accessor :request_method
|
@@ -1410,8 +1410,8 @@ module Google
|
|
1410
1410
|
|
1411
1411
|
# The method of the batch entry.
|
1412
1412
|
# Acceptable values are:
|
1413
|
-
# - "get"
|
1414
|
-
# - "update"
|
1413
|
+
# - "`get`"
|
1414
|
+
# - "`update`"
|
1415
1415
|
# Corresponds to the JSON property `method`
|
1416
1416
|
# @return [String]
|
1417
1417
|
attr_accessor :request_method
|
@@ -1475,8 +1475,8 @@ module Google
|
|
1475
1475
|
# @return [Google::Apis::ContentV2::Errors]
|
1476
1476
|
attr_accessor :errors
|
1477
1477
|
|
1478
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1479
|
-
# accounttaxCustomBatchResponseEntry"
|
1478
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1479
|
+
# accounttaxCustomBatchResponseEntry`"
|
1480
1480
|
# Corresponds to the JSON property `kind`
|
1481
1481
|
# @return [String]
|
1482
1482
|
attr_accessor :kind
|
@@ -1574,21 +1574,22 @@ module Google
|
|
1574
1574
|
class CarrierRate
|
1575
1575
|
include Google::Apis::Core::Hashable
|
1576
1576
|
|
1577
|
-
# Carrier service, such as "UPS" or "Fedex"
|
1578
|
-
# be retrieved via the getSupportedCarriers method. Required.
|
1577
|
+
# Carrier service, such as `"UPS"` or `"Fedex"`. The list of supported carriers
|
1578
|
+
# can be retrieved via the `getSupportedCarriers` method. Required.
|
1579
1579
|
# Corresponds to the JSON property `carrierName`
|
1580
1580
|
# @return [String]
|
1581
1581
|
attr_accessor :carrier_name
|
1582
1582
|
|
1583
|
-
# Carrier service, such as "ground" or "2 days"
|
1584
|
-
# for a carrier can be retrieved via the getSupportedCarriers method.
|
1583
|
+
# Carrier service, such as `"ground"` or `"2 days"`. The list of supported
|
1584
|
+
# services for a carrier can be retrieved via the `getSupportedCarriers` method.
|
1585
|
+
# Required.
|
1585
1586
|
# Corresponds to the JSON property `carrierService`
|
1586
1587
|
# @return [String]
|
1587
1588
|
attr_accessor :carrier_service
|
1588
1589
|
|
1589
|
-
# Additive shipping rate modifier. Can be negative. For example
|
1590
|
-
# currency" : "USD"
|
1591
|
-
# removes $3 from the rate. Optional.
|
1590
|
+
# Additive shipping rate modifier. Can be negative. For example `` "value": "1",
|
1591
|
+
# "currency" : "USD" `` adds $1 to the rate, `` "value": "-3", "currency" : "USD"
|
1592
|
+
# `` removes $3 from the rate. Optional.
|
1592
1593
|
# Corresponds to the JSON property `flatAdjustment`
|
1593
1594
|
# @return [Google::Apis::ContentV2::Price]
|
1594
1595
|
attr_accessor :flat_adjustment
|
@@ -1604,7 +1605,7 @@ module Google
|
|
1604
1605
|
attr_accessor :origin_postal_code
|
1605
1606
|
|
1606
1607
|
# Multiplicative shipping rate modifier as a number in decimal notation. Can be
|
1607
|
-
# negative. For example "5.4" increases the rate by 5.4%, "-3" decreases the
|
1608
|
+
# negative. For example `"5.4"` increases the rate by 5.4%, `"-3"` decreases the
|
1608
1609
|
# rate by 3%. Optional.
|
1609
1610
|
# Corresponds to the JSON property `percentageAdjustment`
|
1610
1611
|
# @return [String]
|
@@ -1634,12 +1635,12 @@ module Google
|
|
1634
1635
|
# @return [String]
|
1635
1636
|
attr_accessor :country
|
1636
1637
|
|
1637
|
-
# The name of the carrier (e.g., "UPS"). Always present.
|
1638
|
+
# The name of the carrier (e.g., `"UPS"`). Always present.
|
1638
1639
|
# Corresponds to the JSON property `name`
|
1639
1640
|
# @return [String]
|
1640
1641
|
attr_accessor :name
|
1641
1642
|
|
1642
|
-
# A list of supported services (e.g., "ground") for that carrier. Contains at
|
1643
|
+
# A list of supported services (e.g., `"ground"`) for that carrier. Contains at
|
1643
1644
|
# least one service.
|
1644
1645
|
# Corresponds to the JSON property `services`
|
1645
1646
|
# @return [Array<String>]
|
@@ -1669,15 +1670,15 @@ module Google
|
|
1669
1670
|
|
1670
1671
|
# The type of the attribute.
|
1671
1672
|
# Acceptable values are:
|
1672
|
-
# - "boolean"
|
1673
|
-
# - "datetimerange"
|
1674
|
-
# - "float"
|
1675
|
-
# - "group"
|
1676
|
-
# - "int"
|
1677
|
-
# - "price"
|
1678
|
-
# - "text"
|
1679
|
-
# - "time"
|
1680
|
-
# - "url"
|
1673
|
+
# - "`boolean`"
|
1674
|
+
# - "`datetimerange`"
|
1675
|
+
# - "`float`"
|
1676
|
+
# - "`group`"
|
1677
|
+
# - "`int`"
|
1678
|
+
# - "`price`"
|
1679
|
+
# - "`text`"
|
1680
|
+
# - "`time`"
|
1681
|
+
# - "`url`"
|
1681
1682
|
# Corresponds to the JSON property `type`
|
1682
1683
|
# @return [String]
|
1683
1684
|
attr_accessor :type
|
@@ -1742,20 +1743,20 @@ module Google
|
|
1742
1743
|
|
1743
1744
|
# Code of the return reason.
|
1744
1745
|
# Acceptable values are:
|
1745
|
-
# - "betterPriceFound"
|
1746
|
-
# - "changedMind"
|
1747
|
-
# - "damagedOrDefectiveItem"
|
1748
|
-
# - "didNotMatchDescription"
|
1749
|
-
# - "doesNotFit"
|
1750
|
-
# - "expiredItem"
|
1751
|
-
# - "incorrectItemReceived"
|
1752
|
-
# - "noLongerNeeded"
|
1753
|
-
# - "notSpecified"
|
1754
|
-
# - "orderedWrongItem"
|
1755
|
-
# - "other"
|
1756
|
-
# - "qualityNotExpected"
|
1757
|
-
# - "receivedTooLate"
|
1758
|
-
# - "undeliverable"
|
1746
|
+
# - "`betterPriceFound`"
|
1747
|
+
# - "`changedMind`"
|
1748
|
+
# - "`damagedOrDefectiveItem`"
|
1749
|
+
# - "`didNotMatchDescription`"
|
1750
|
+
# - "`doesNotFit`"
|
1751
|
+
# - "`expiredItem`"
|
1752
|
+
# - "`incorrectItemReceived`"
|
1753
|
+
# - "`noLongerNeeded`"
|
1754
|
+
# - "`notSpecified`"
|
1755
|
+
# - "`orderedWrongItem`"
|
1756
|
+
# - "`other`"
|
1757
|
+
# - "`qualityNotExpected`"
|
1758
|
+
# - "`receivedTooLate`"
|
1759
|
+
# - "`undeliverable`"
|
1759
1760
|
# Corresponds to the JSON property `reasonCode`
|
1760
1761
|
# @return [String]
|
1761
1762
|
attr_accessor :reason_code
|
@@ -1816,7 +1817,8 @@ module Google
|
|
1816
1817
|
attr_accessor :attribute_language
|
1817
1818
|
|
1818
1819
|
# [DEPRECATED] Please use targets[].language instead. The two-letter ISO 639-1
|
1819
|
-
# language of the items in the feed. Must be a valid language for targetCountry
|
1820
|
+
# language of the items in the feed. Must be a valid language for `targetCountry`
|
1821
|
+
# .
|
1820
1822
|
# Corresponds to the JSON property `contentLanguage`
|
1821
1823
|
# @return [String]
|
1822
1824
|
attr_accessor :content_language
|
@@ -1824,9 +1826,9 @@ module Google
|
|
1824
1826
|
# Required. The type of data feed. For product inventory feeds, only feeds for
|
1825
1827
|
# local stores, not online stores, are supported.
|
1826
1828
|
# Acceptable values are:
|
1827
|
-
# - "local products"
|
1828
|
-
# - "product inventory"
|
1829
|
-
# - "products"
|
1829
|
+
# - "`local products`"
|
1830
|
+
# - "`product inventory`"
|
1831
|
+
# - "`products`"
|
1830
1832
|
# Corresponds to the JSON property `contentType`
|
1831
1833
|
# @return [String]
|
1832
1834
|
attr_accessor :content_type
|
@@ -1854,14 +1856,14 @@ module Google
|
|
1854
1856
|
# @return [Fixnum]
|
1855
1857
|
attr_accessor :id
|
1856
1858
|
|
1857
|
-
# [DEPRECATED] Please use
|
1859
|
+
# [DEPRECATED] Please use targets[].includedDestinations instead. The list of
|
1858
1860
|
# intended destinations (corresponds to checked check boxes in Merchant Center).
|
1859
1861
|
# Corresponds to the JSON property `intendedDestinations`
|
1860
1862
|
# @return [Array<String>]
|
1861
1863
|
attr_accessor :intended_destinations
|
1862
1864
|
|
1863
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1864
|
-
# datafeed"
|
1865
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1866
|
+
# datafeed`"
|
1865
1867
|
# Corresponds to the JSON property `kind`
|
1866
1868
|
# @return [String]
|
1867
1869
|
attr_accessor :kind
|
@@ -1957,13 +1959,13 @@ module Google
|
|
1957
1959
|
|
1958
1960
|
# The day of the week the feed file should be fetched.
|
1959
1961
|
# Acceptable values are:
|
1960
|
-
# - "monday"
|
1961
|
-
# - "tuesday"
|
1962
|
-
# - "wednesday"
|
1963
|
-
# - "thursday"
|
1964
|
-
# - "friday"
|
1965
|
-
# - "saturday"
|
1966
|
-
# - "sunday"
|
1962
|
+
# - "`monday`"
|
1963
|
+
# - "`tuesday`"
|
1964
|
+
# - "`wednesday`"
|
1965
|
+
# - "`thursday`"
|
1966
|
+
# - "`friday`"
|
1967
|
+
# - "`saturday`"
|
1968
|
+
# - "`sunday`"
|
1967
1969
|
# Corresponds to the JSON property `weekday`
|
1968
1970
|
# @return [String]
|
1969
1971
|
attr_accessor :weekday
|
@@ -1994,9 +1996,9 @@ module Google
|
|
1994
1996
|
# If not specified, the delimiter will be auto-detected. Ignored for non-DSV
|
1995
1997
|
# data feeds.
|
1996
1998
|
# Acceptable values are:
|
1997
|
-
# - "pipe"
|
1998
|
-
# - "tab"
|
1999
|
-
# - "tilde"
|
1999
|
+
# - "`pipe`"
|
2000
|
+
# - "`tab`"
|
2001
|
+
# - "`tilde`"
|
2000
2002
|
# Corresponds to the JSON property `columnDelimiter`
|
2001
2003
|
# @return [String]
|
2002
2004
|
attr_accessor :column_delimiter
|
@@ -2004,11 +2006,11 @@ module Google
|
|
2004
2006
|
# Character encoding scheme of the data feed. If not specified, the encoding
|
2005
2007
|
# will be auto-detected.
|
2006
2008
|
# Acceptable values are:
|
2007
|
-
# - "latin-1"
|
2008
|
-
# - "utf-16be"
|
2009
|
-
# - "utf-16le"
|
2010
|
-
# - "utf-8"
|
2011
|
-
# - "windows-1252"
|
2009
|
+
# - "`latin-1`"
|
2010
|
+
# - "`utf-16be`"
|
2011
|
+
# - "`utf-16le`"
|
2012
|
+
# - "`utf-8`"
|
2013
|
+
# - "`windows-1252`"
|
2012
2014
|
# Corresponds to the JSON property `fileEncoding`
|
2013
2015
|
# @return [String]
|
2014
2016
|
attr_accessor :file_encoding
|
@@ -2016,8 +2018,8 @@ module Google
|
|
2016
2018
|
# Specifies how double quotes are interpreted. If not specified, the mode will
|
2017
2019
|
# be auto-detected. Ignored for non-DSV data feeds.
|
2018
2020
|
# Acceptable values are:
|
2019
|
-
# - "normal character"
|
2020
|
-
# - "value quoting"
|
2021
|
+
# - "`normal character`"
|
2022
|
+
# - "`value quoting`"
|
2021
2023
|
# Corresponds to the JSON property `quotingMode`
|
2022
2024
|
# @return [String]
|
2023
2025
|
attr_accessor :quoting_mode
|
@@ -2065,8 +2067,8 @@ module Google
|
|
2065
2067
|
# @return [Fixnum]
|
2066
2068
|
attr_accessor :items_valid
|
2067
2069
|
|
2068
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
2069
|
-
# datafeedStatus"
|
2070
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
2071
|
+
# datafeedStatus`"
|
2070
2072
|
# Corresponds to the JSON property `kind`
|
2071
2073
|
# @return [String]
|
2072
2074
|
attr_accessor :kind
|
@@ -2083,12 +2085,12 @@ module Google
|
|
2083
2085
|
|
2084
2086
|
# The processing status of the feed.
|
2085
2087
|
# Acceptable values are:
|
2086
|
-
# - ""failure": The feed could not be processed or all items had errors
|
2087
|
-
# - "in progress": The feed is being processed.
|
2088
|
-
# - "none": The feed has not yet been processed. For example, a feed that has
|
2088
|
+
# - "`"`failure`": The feed could not be processed or all items had errors.`"
|
2089
|
+
# - "`in progress`": The feed is being processed.
|
2090
|
+
# - "`none`": The feed has not yet been processed. For example, a feed that has
|
2089
2091
|
# never been uploaded will have this processing status.
|
2090
|
-
# - "success": The feed was processed successfully, though some items might
|
2091
|
-
# had errors.
|
2092
|
+
# - "`success`": The feed was processed successfully, though some items might
|
2093
|
+
# have had errors.
|
2092
2094
|
# Corresponds to the JSON property `processingStatus`
|
2093
2095
|
# @return [String]
|
2094
2096
|
attr_accessor :processing_status
|
@@ -2203,7 +2205,7 @@ module Google
|
|
2203
2205
|
|
2204
2206
|
# The list of destinations to include for this target (corresponds to checked
|
2205
2207
|
# check boxes in Merchant Center). Default destinations are always included
|
2206
|
-
# unless provided in excludedDestinations
|
2208
|
+
# unless provided in `excludedDestinations`.
|
2207
2209
|
# List of supported destinations (if available to the account):
|
2208
2210
|
# - DisplayAds
|
2209
2211
|
# - Shopping
|
@@ -2214,7 +2216,7 @@ module Google
|
|
2214
2216
|
attr_accessor :included_destinations
|
2215
2217
|
|
2216
2218
|
# The two-letter ISO 639-1 language of the items in the feed. Must be a valid
|
2217
|
-
# language for targets[].country
|
2219
|
+
# language for `targets[].country`.
|
2218
2220
|
# Corresponds to the JSON property `language`
|
2219
2221
|
# @return [String]
|
2220
2222
|
attr_accessor :language
|
@@ -2277,11 +2279,11 @@ module Google
|
|
2277
2279
|
|
2278
2280
|
# The method of the batch entry.
|
2279
2281
|
# Acceptable values are:
|
2280
|
-
# - "delete"
|
2281
|
-
# - "fetchNow"
|
2282
|
-
# - "get"
|
2283
|
-
# - "insert"
|
2284
|
-
# - "update"
|
2282
|
+
# - "`delete`"
|
2283
|
+
# - "`fetchNow`"
|
2284
|
+
# - "`get`"
|
2285
|
+
# - "`insert`"
|
2286
|
+
# - "`update`"
|
2285
2287
|
# Corresponds to the JSON property `method`
|
2286
2288
|
# @return [String]
|
2287
2289
|
attr_accessor :request_method
|
@@ -2463,7 +2465,7 @@ module Google
|
|
2463
2465
|
|
2464
2466
|
# The method of the batch entry.
|
2465
2467
|
# Acceptable values are:
|
2466
|
-
# - "get"
|
2468
|
+
# - "`get`"
|
2467
2469
|
# Corresponds to the JSON property `method`
|
2468
2470
|
# @return [String]
|
2469
2471
|
attr_accessor :request_method
|
@@ -2596,15 +2598,15 @@ module Google
|
|
2596
2598
|
attr_accessor :holiday_cutoffs
|
2597
2599
|
|
2598
2600
|
# Maximum number of business days spent before an order is shipped. 0 means same
|
2599
|
-
# day shipped, 1 means next day shipped. Must be greater than or equal to
|
2600
|
-
# minHandlingTimeInDays
|
2601
|
+
# day shipped, 1 means next day shipped. Must be greater than or equal to `
|
2602
|
+
# minHandlingTimeInDays`.
|
2601
2603
|
# Corresponds to the JSON property `maxHandlingTimeInDays`
|
2602
2604
|
# @return [Fixnum]
|
2603
2605
|
attr_accessor :max_handling_time_in_days
|
2604
2606
|
|
2605
2607
|
# Maximum number of business days that is spent in transit. 0 means same day
|
2606
|
-
# delivery, 1 means next day delivery. Must be greater than or equal to
|
2607
|
-
# minTransitTimeInDays
|
2608
|
+
# delivery, 1 means next day delivery. Must be greater than or equal to `
|
2609
|
+
# minTransitTimeInDays`.
|
2608
2610
|
# Corresponds to the JSON property `maxTransitTimeInDays`
|
2609
2611
|
# @return [Fixnum]
|
2610
2612
|
attr_accessor :max_transit_time_in_days
|
@@ -2616,8 +2618,8 @@ module Google
|
|
2616
2618
|
attr_accessor :min_handling_time_in_days
|
2617
2619
|
|
2618
2620
|
# Minimum number of business days that is spent in transit. 0 means same day
|
2619
|
-
# delivery, 1 means next day delivery. Either
|
2620
|
-
# transitTimeTable must be set, but not both.
|
2621
|
+
# delivery, 1 means next day delivery. Either ``min,max`TransitTimeInDays` or `
|
2622
|
+
# transitTimeTable` must be set, but not both.
|
2621
2623
|
# Corresponds to the JSON property `minTransitTimeInDays`
|
2622
2624
|
# @return [Fixnum]
|
2623
2625
|
attr_accessor :min_transit_time_in_days
|
@@ -2629,8 +2631,8 @@ module Google
|
|
2629
2631
|
attr_accessor :transit_business_day_config
|
2630
2632
|
|
2631
2633
|
# Transit time table, number of business days spent in transit based on row and
|
2632
|
-
# column dimensions. Either
|
2633
|
-
# be set, but not both.
|
2634
|
+
# column dimensions. Either ``min,max`TransitTimeInDays` or `transitTimeTable`
|
2635
|
+
# can be set, but not both.
|
2634
2636
|
# Corresponds to the JSON property `transitTimeTable`
|
2635
2637
|
# @return [Google::Apis::ContentV2::TransitTable]
|
2636
2638
|
attr_accessor :transit_time_table
|
@@ -2688,7 +2690,7 @@ module Google
|
|
2688
2690
|
class Errors
|
2689
2691
|
include Google::Apis::Core::Hashable
|
2690
2692
|
|
2691
|
-
# The HTTP status of the first error in errors
|
2693
|
+
# The HTTP status of the first error in `errors`.
|
2692
2694
|
# Corresponds to the JSON property `code`
|
2693
2695
|
# @return [Fixnum]
|
2694
2696
|
attr_accessor :code
|
@@ -2698,7 +2700,7 @@ module Google
|
|
2698
2700
|
# @return [Array<Google::Apis::ContentV2::Error>]
|
2699
2701
|
attr_accessor :errors
|
2700
2702
|
|
2701
|
-
# The message of the first error in errors
|
2703
|
+
# The message of the first error in `errors`.
|
2702
2704
|
# Corresponds to the JSON property `message`
|
2703
2705
|
# @return [String]
|
2704
2706
|
attr_accessor :message
|
@@ -2719,7 +2721,7 @@ module Google
|
|
2719
2721
|
class GmbAccounts
|
2720
2722
|
include Google::Apis::Core::Hashable
|
2721
2723
|
|
2722
|
-
# The ID of the account.
|
2724
|
+
# The ID of the Merchant Center account.
|
2723
2725
|
# Corresponds to the JSON property `accountId`
|
2724
2726
|
# @return [Fixnum]
|
2725
2727
|
attr_accessor :account_id
|
@@ -2777,8 +2779,8 @@ module Google
|
|
2777
2779
|
end
|
2778
2780
|
end
|
2779
2781
|
|
2780
|
-
# A non-empty list of row or column headers for a table. Exactly one of prices
|
2781
|
-
# weights
|
2782
|
+
# A non-empty list of row or column headers for a table. Exactly one of `prices`,
|
2783
|
+
# `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.
|
2782
2784
|
class Headers
|
2783
2785
|
include Google::Apis::Core::Hashable
|
2784
2786
|
|
@@ -2788,36 +2790,36 @@ module Google
|
|
2788
2790
|
# @return [Array<Google::Apis::ContentV2::LocationIdSet>]
|
2789
2791
|
attr_accessor :locations
|
2790
2792
|
|
2791
|
-
# A list of inclusive number of items upper bounds. The last value can be "
|
2792
|
-
# infinity"
|
2793
|
-
# items", " 50 items". Must be non-empty. Can only be set if all other fields
|
2793
|
+
# A list of inclusive number of items upper bounds. The last value can be `"
|
2794
|
+
# infinity"`. For example `["10", "50", "infinity"]` represents the headers "<=
|
2795
|
+
# 10 items", " 50 items". Must be non-empty. Can only be set if all other fields
|
2794
2796
|
# are not set.
|
2795
2797
|
# Corresponds to the JSON property `numberOfItems`
|
2796
2798
|
# @return [Array<String>]
|
2797
2799
|
attr_accessor :number_of_items
|
2798
2800
|
|
2799
|
-
# A list of postal group names. The last value can be "all other locations"
|
2800
|
-
# Example: ["zone 1", "zone 2", "all other locations"]
|
2801
|
-
# groups must match the delivery country of the service. Must be non-empty.
|
2802
|
-
# only be set if all other fields are not set.
|
2801
|
+
# A list of postal group names. The last value can be `"all other locations"`.
|
2802
|
+
# Example: `["zone 1", "zone 2", "all other locations"]`. The referred postal
|
2803
|
+
# code groups must match the delivery country of the service. Must be non-empty.
|
2804
|
+
# Can only be set if all other fields are not set.
|
2803
2805
|
# Corresponds to the JSON property `postalCodeGroupNames`
|
2804
2806
|
# @return [Array<String>]
|
2805
2807
|
attr_accessor :postal_code_group_names
|
2806
2808
|
|
2807
|
-
# A list of inclusive order price upper bounds. The last price's value can be "
|
2808
|
-
# infinity"
|
2809
|
-
# currency": "USD"`, `"value": "infinity", "currency": "USD"`] represents the
|
2809
|
+
# A list of inclusive order price upper bounds. The last price's value can be `"
|
2810
|
+
# infinity"`. For example `[`"value": "10", "currency": "USD"`, `"value": "500",
|
2811
|
+
# "currency": "USD"`, `"value": "infinity", "currency": "USD"`]` represents the
|
2810
2812
|
# headers "<= $10", " $500". All prices within a service must have the same
|
2811
2813
|
# currency. Must be non-empty. Can only be set if all other fields are not set.
|
2812
2814
|
# Corresponds to the JSON property `prices`
|
2813
2815
|
# @return [Array<Google::Apis::ContentV2::Price>]
|
2814
2816
|
attr_accessor :prices
|
2815
2817
|
|
2816
|
-
# A list of inclusive order weight upper bounds. The last weight's value can be
|
2817
|
-
# infinity"
|
2818
|
-
# "kg"`, `"value": "infinity", "unit": "kg"`] represents the headers "<=
|
2819
|
-
# 50kg". All weights within a service must have the same unit. Must be
|
2820
|
-
# empty. Can only be set if all other fields are not set.
|
2818
|
+
# A list of inclusive order weight upper bounds. The last weight's value can be `
|
2819
|
+
# "infinity"`. For example `[`"value": "10", "unit": "kg"`, `"value": "50", "
|
2820
|
+
# unit": "kg"`, `"value": "infinity", "unit": "kg"`]` represents the headers "<=
|
2821
|
+
# 10kg", " 50kg". All weights within a service must have the same unit. Must be
|
2822
|
+
# non-empty. Can only be set if all other fields are not set.
|
2821
2823
|
# Corresponds to the JSON property `weights`
|
2822
2824
|
# @return [Array<Google::Apis::ContentV2::Weight>]
|
2823
2825
|
attr_accessor :weights
|
@@ -2922,14 +2924,14 @@ module Google
|
|
2922
2924
|
|
2923
2925
|
# The holiday type. Always present.
|
2924
2926
|
# Acceptable values are:
|
2925
|
-
# - "Christmas"
|
2926
|
-
# - "Easter"
|
2927
|
-
# - "Father's Day"
|
2928
|
-
# - "Halloween"
|
2929
|
-
# - "Independence Day (USA)"
|
2930
|
-
# - "Mother's Day"
|
2931
|
-
# - "Thanksgiving"
|
2932
|
-
# - "Valentine's Day"
|
2927
|
+
# - "`Christmas`"
|
2928
|
+
# - "`Easter`"
|
2929
|
+
# - "`Father's Day`"
|
2930
|
+
# - "`Halloween`"
|
2931
|
+
# - "`Independence Day (USA)`"
|
2932
|
+
# - "`Mother's Day`"
|
2933
|
+
# - "`Thanksgiving`"
|
2934
|
+
# - "`Valentine's Day`"
|
2933
2935
|
# Corresponds to the JSON property `type`
|
2934
2936
|
# @return [String]
|
2935
2937
|
attr_accessor :type
|
@@ -2974,15 +2976,15 @@ module Google
|
|
2974
2976
|
end
|
2975
2977
|
end
|
2976
2978
|
|
2977
|
-
#
|
2979
|
+
# (== resource_for v2.inventory ==)
|
2978
2980
|
class Inventory
|
2979
2981
|
include Google::Apis::Core::Hashable
|
2980
2982
|
|
2981
2983
|
# The availability of the product.
|
2982
2984
|
# Acceptable values are:
|
2983
|
-
# - "in stock"
|
2984
|
-
# - "out of stock"
|
2985
|
-
# - "preorder"
|
2985
|
+
# - "`in stock`"
|
2986
|
+
# - "`out of stock`"
|
2987
|
+
# - "`preorder`"
|
2986
2988
|
# Corresponds to the JSON property `availability`
|
2987
2989
|
# @return [String]
|
2988
2990
|
attr_accessor :availability
|
@@ -3027,8 +3029,8 @@ module Google
|
|
3027
3029
|
# @return [String]
|
3028
3030
|
attr_accessor :instore_product_location
|
3029
3031
|
|
3030
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
3031
|
-
# inventory"
|
3032
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
3033
|
+
# inventory`"
|
3032
3034
|
# Corresponds to the JSON property `kind`
|
3033
3035
|
# @return [String]
|
3034
3036
|
attr_accessor :kind
|
@@ -3038,10 +3040,10 @@ module Google
|
|
3038
3040
|
# @return [Google::Apis::ContentV2::LoyaltyPoints]
|
3039
3041
|
attr_accessor :loyalty_points
|
3040
3042
|
|
3041
|
-
# Store pickup information. Only supported for local inventory. Not setting
|
3042
|
-
# pickup means "don't update" while setting it to the empty value (
|
3043
|
-
# means "delete". Otherwise, pickupMethod and pickupSla must be set
|
3044
|
-
# unless pickupMethod is "not supported".
|
3043
|
+
# Store pickup information. Only supported for local inventory. Not setting `
|
3044
|
+
# pickup` means "don't update" while setting it to the empty value (```` in JSON)
|
3045
|
+
# means "delete". Otherwise, `pickupMethod` and `pickupSla` must be set
|
3046
|
+
# together, unless `pickupMethod` is "not supported".
|
3045
3047
|
# Corresponds to the JSON property `pickup`
|
3046
3048
|
# @return [Google::Apis::ContentV2::InventoryPickup]
|
3047
3049
|
attr_accessor :pickup
|
@@ -3057,7 +3059,7 @@ module Google
|
|
3057
3059
|
# @return [Fixnum]
|
3058
3060
|
attr_accessor :quantity
|
3059
3061
|
|
3060
|
-
# The sale price of the product. Mandatory if sale_price_effective_date is
|
3062
|
+
# The sale price of the product. Mandatory if `sale_price_effective_date` is
|
3061
3063
|
# defined.
|
3062
3064
|
# Corresponds to the JSON property `salePrice`
|
3063
3065
|
# @return [Google::Apis::ContentV2::Price]
|
@@ -3128,7 +3130,7 @@ module Google
|
|
3128
3130
|
# @return [Fixnum]
|
3129
3131
|
attr_accessor :batch_id
|
3130
3132
|
|
3131
|
-
#
|
3133
|
+
# (== resource_for v2.inventory ==)
|
3132
3134
|
# Corresponds to the JSON property `inventory`
|
3133
3135
|
# @return [Google::Apis::ContentV2::Inventory]
|
3134
3136
|
attr_accessor :inventory
|
@@ -3143,7 +3145,7 @@ module Google
|
|
3143
3145
|
# @return [String]
|
3144
3146
|
attr_accessor :product_id
|
3145
3147
|
|
3146
|
-
# The code of the store for which to update price and availability. Use online
|
3148
|
+
# The code of the store for which to update price and availability. Use `online`
|
3147
3149
|
# to update price and availability of an online product.
|
3148
3150
|
# Corresponds to the JSON property `storeCode`
|
3149
3151
|
# @return [String]
|
@@ -3203,8 +3205,8 @@ module Google
|
|
3203
3205
|
# @return [Google::Apis::ContentV2::Errors]
|
3204
3206
|
attr_accessor :errors
|
3205
3207
|
|
3206
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
3207
|
-
# inventoryCustomBatchResponseEntry"
|
3208
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
3209
|
+
# inventoryCustomBatchResponseEntry`"
|
3208
3210
|
# Corresponds to the JSON property `kind`
|
3209
3211
|
# @return [String]
|
3210
3212
|
attr_accessor :kind
|
@@ -3228,30 +3230,30 @@ module Google
|
|
3228
3230
|
# Whether store pickup is available for this offer and whether the pickup option
|
3229
3231
|
# should be shown as buy, reserve, or not supported. Only supported for local
|
3230
3232
|
# inventory. Unless the value is "not supported", must be submitted together
|
3231
|
-
# with pickupSla
|
3233
|
+
# with `pickupSla`.
|
3232
3234
|
# Acceptable values are:
|
3233
|
-
# - "buy"
|
3234
|
-
# - "not supported"
|
3235
|
-
# - "reserve"
|
3236
|
-
# - "ship to store"
|
3235
|
+
# - "`buy`"
|
3236
|
+
# - "`not supported`"
|
3237
|
+
# - "`reserve`"
|
3238
|
+
# - "`ship to store`"
|
3237
3239
|
# Corresponds to the JSON property `pickupMethod`
|
3238
3240
|
# @return [String]
|
3239
3241
|
attr_accessor :pickup_method
|
3240
3242
|
|
3241
3243
|
# The expected date that an order will be ready for pickup, relative to when the
|
3242
3244
|
# order is placed. Only supported for local inventory. Must be submitted
|
3243
|
-
# together with pickupMethod
|
3244
|
-
# Acceptable values are:
|
3245
|
-
# - "five day"
|
3246
|
-
# - "four day"
|
3247
|
-
# - "multi day"
|
3248
|
-
# - "multi week"
|
3249
|
-
# - "next day"
|
3250
|
-
# - "same day"
|
3251
|
-
# - "seven day"
|
3252
|
-
# - "six day"
|
3253
|
-
# - "three day"
|
3254
|
-
# - "two day"
|
3245
|
+
# together with `pickupMethod`.
|
3246
|
+
# Acceptable values are:
|
3247
|
+
# - "`five day`"
|
3248
|
+
# - "`four day`"
|
3249
|
+
# - "`multi day`"
|
3250
|
+
# - "`multi week`"
|
3251
|
+
# - "`next day`"
|
3252
|
+
# - "`same day`"
|
3253
|
+
# - "`seven day`"
|
3254
|
+
# - "`six day`"
|
3255
|
+
# - "`three day`"
|
3256
|
+
# - "`two day`"
|
3255
3257
|
# Corresponds to the JSON property `pickupSla`
|
3256
3258
|
# @return [String]
|
3257
3259
|
attr_accessor :pickup_sla
|
@@ -3273,9 +3275,9 @@ module Google
|
|
3273
3275
|
|
3274
3276
|
# The availability of the product.
|
3275
3277
|
# Acceptable values are:
|
3276
|
-
# - "in stock"
|
3277
|
-
# - "out of stock"
|
3278
|
-
# - "preorder"
|
3278
|
+
# - "`in stock`"
|
3279
|
+
# - "`out of stock`"
|
3280
|
+
# - "`preorder`"
|
3279
3281
|
# Corresponds to the JSON property `availability`
|
3280
3282
|
# @return [String]
|
3281
3283
|
attr_accessor :availability
|
@@ -3325,10 +3327,10 @@ module Google
|
|
3325
3327
|
# @return [Google::Apis::ContentV2::LoyaltyPoints]
|
3326
3328
|
attr_accessor :loyalty_points
|
3327
3329
|
|
3328
|
-
# Store pickup information. Only supported for local inventory. Not setting
|
3329
|
-
# pickup means "don't update" while setting it to the empty value (
|
3330
|
-
# means "delete". Otherwise, pickupMethod and pickupSla must be set
|
3331
|
-
# unless pickupMethod is "not supported".
|
3330
|
+
# Store pickup information. Only supported for local inventory. Not setting `
|
3331
|
+
# pickup` means "don't update" while setting it to the empty value (```` in JSON)
|
3332
|
+
# means "delete". Otherwise, `pickupMethod` and `pickupSla` must be set
|
3333
|
+
# together, unless `pickupMethod` is "not supported".
|
3332
3334
|
# Corresponds to the JSON property `pickup`
|
3333
3335
|
# @return [Google::Apis::ContentV2::InventoryPickup]
|
3334
3336
|
attr_accessor :pickup
|
@@ -3344,7 +3346,7 @@ module Google
|
|
3344
3346
|
# @return [Fixnum]
|
3345
3347
|
attr_accessor :quantity
|
3346
3348
|
|
3347
|
-
# The sale price of the product. Mandatory if sale_price_effective_date is
|
3349
|
+
# The sale price of the product. Mandatory if `sale_price_effective_date` is
|
3348
3350
|
# defined.
|
3349
3351
|
# Corresponds to the JSON property `salePrice`
|
3350
3352
|
# @return [Google::Apis::ContentV2::Price]
|
@@ -3466,7 +3468,7 @@ module Google
|
|
3466
3468
|
|
3467
3469
|
# [required] Type of the additional charge.
|
3468
3470
|
# Acceptable values are:
|
3469
|
-
# - "shipping"
|
3471
|
+
# - "`shipping`"
|
3470
3472
|
# Corresponds to the JSON property `type`
|
3471
3473
|
# @return [String]
|
3472
3474
|
attr_accessor :type
|
@@ -3488,9 +3490,9 @@ module Google
|
|
3488
3490
|
|
3489
3491
|
# The status of the verification process for the About page.
|
3490
3492
|
# Acceptable values are:
|
3491
|
-
# - "active"
|
3492
|
-
# - "inactive"
|
3493
|
-
# - "pending"
|
3493
|
+
# - "`active`"
|
3494
|
+
# - "`inactive`"
|
3495
|
+
# - "`pending`"
|
3494
3496
|
# Corresponds to the JSON property `status`
|
3495
3497
|
# @return [String]
|
3496
3498
|
attr_accessor :status
|
@@ -3584,18 +3586,18 @@ module Google
|
|
3584
3586
|
|
3585
3587
|
# The status of the verification contact.
|
3586
3588
|
# Acceptable values are:
|
3587
|
-
# - "active"
|
3588
|
-
# - "inactive"
|
3589
|
-
# - "pending"
|
3589
|
+
# - "`active`"
|
3590
|
+
# - "`inactive`"
|
3591
|
+
# - "`pending`"
|
3590
3592
|
# Corresponds to the JSON property `inventoryVerificationContactStatus`
|
3591
3593
|
# @return [String]
|
3592
3594
|
attr_accessor :inventory_verification_contact_status
|
3593
3595
|
|
3594
3596
|
# The status of the inventory verification process.
|
3595
3597
|
# Acceptable values are:
|
3596
|
-
# - "active"
|
3597
|
-
# - "inactive"
|
3598
|
-
# - "pending"
|
3598
|
+
# - "`active`"
|
3599
|
+
# - "`inactive`"
|
3600
|
+
# - "`pending`"
|
3599
3601
|
# Corresponds to the JSON property `status`
|
3600
3602
|
# @return [String]
|
3601
3603
|
attr_accessor :status
|
@@ -3624,9 +3626,9 @@ module Google
|
|
3624
3626
|
|
3625
3627
|
# The status of the ?On display to order? feature.
|
3626
3628
|
# Acceptable values are:
|
3627
|
-
# - "active"
|
3628
|
-
# - "inactive"
|
3629
|
-
# - "pending"
|
3629
|
+
# - "`active`"
|
3630
|
+
# - "`inactive`"
|
3631
|
+
# - "`pending`"
|
3630
3632
|
# Corresponds to the JSON property `status`
|
3631
3633
|
# @return [String]
|
3632
3634
|
attr_accessor :status
|
@@ -3683,8 +3685,8 @@ module Google
|
|
3683
3685
|
# @return [Array<Google::Apis::ContentV2::LiaCountrySettings>]
|
3684
3686
|
attr_accessor :country_settings
|
3685
3687
|
|
3686
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
3687
|
-
# liaSettings"
|
3688
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
3689
|
+
# liaSettings`"
|
3688
3690
|
# Corresponds to the JSON property `kind`
|
3689
3691
|
# @return [String]
|
3690
3692
|
attr_accessor :kind
|
@@ -3724,7 +3726,7 @@ module Google
|
|
3724
3726
|
class LiasettingsCustomBatchRequestEntry
|
3725
3727
|
include Google::Apis::Core::Hashable
|
3726
3728
|
|
3727
|
-
# The ID of the account for which to get/update account
|
3729
|
+
# The ID of the account for which to get/update account LIA settings.
|
3728
3730
|
# Corresponds to the JSON property `accountId`
|
3729
3731
|
# @return [Fixnum]
|
3730
3732
|
attr_accessor :account_id
|
@@ -3769,12 +3771,12 @@ module Google
|
|
3769
3771
|
|
3770
3772
|
# The method of the batch entry.
|
3771
3773
|
# Acceptable values are:
|
3772
|
-
# - "get"
|
3773
|
-
# - "getAccessibleGmbAccounts"
|
3774
|
-
# - "requestGmbAccess"
|
3775
|
-
# - "requestInventoryVerification"
|
3776
|
-
# - "setInventoryVerificationContact"
|
3777
|
-
# - "update"
|
3774
|
+
# - "`get`"
|
3775
|
+
# - "`getAccessibleGmbAccounts`"
|
3776
|
+
# - "`requestGmbAccess`"
|
3777
|
+
# - "`requestInventoryVerification`"
|
3778
|
+
# - "`setInventoryVerificationContact`"
|
3779
|
+
# - "`update`"
|
3778
3780
|
# Corresponds to the JSON property `method`
|
3779
3781
|
# @return [String]
|
3780
3782
|
attr_accessor :method_prop
|
@@ -3854,8 +3856,8 @@ module Google
|
|
3854
3856
|
# @return [Google::Apis::ContentV2::GmbAccounts]
|
3855
3857
|
attr_accessor :gmb_accounts
|
3856
3858
|
|
3857
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
3858
|
-
# liasettingsCustomBatchResponseEntry"
|
3859
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
3860
|
+
# liasettingsCustomBatchResponseEntry`"
|
3859
3861
|
# Corresponds to the JSON property `kind`
|
3860
3862
|
# @return [String]
|
3861
3863
|
attr_accessor :kind
|
@@ -3890,7 +3892,7 @@ module Google
|
|
3890
3892
|
class LiasettingsGetAccessibleGmbAccountsResponse
|
3891
3893
|
include Google::Apis::Core::Hashable
|
3892
3894
|
|
3893
|
-
# The ID of the account.
|
3895
|
+
# The ID of the Merchant Center account.
|
3894
3896
|
# Corresponds to the JSON property `accountId`
|
3895
3897
|
# @return [Fixnum]
|
3896
3898
|
attr_accessor :account_id
|
@@ -4191,11 +4193,11 @@ module Google
|
|
4191
4193
|
|
4192
4194
|
# State of the item.
|
4193
4195
|
# Acceptable values are:
|
4194
|
-
# - "canceled"
|
4195
|
-
# - "new"
|
4196
|
-
# - "received"
|
4197
|
-
# - "refunded"
|
4198
|
-
# - "rejected"
|
4196
|
+
# - "`canceled`"
|
4197
|
+
# - "`new`"
|
4198
|
+
# - "`received`"
|
4199
|
+
# - "`refunded`"
|
4200
|
+
# - "`rejected`"
|
4199
4201
|
# Corresponds to the JSON property `state`
|
4200
4202
|
# @return [String]
|
4201
4203
|
attr_accessor :state
|
@@ -4215,8 +4217,56 @@ module Google
|
|
4215
4217
|
end
|
4216
4218
|
end
|
4217
4219
|
|
4220
|
+
#
|
4221
|
+
class MinimumOrderValueTable
|
4222
|
+
include Google::Apis::Core::Hashable
|
4223
|
+
|
4224
|
+
#
|
4225
|
+
# Corresponds to the JSON property `storeCodeSetWithMovs`
|
4226
|
+
# @return [Array<Google::Apis::ContentV2::MinimumOrderValueTableStoreCodeSetWithMov>]
|
4227
|
+
attr_accessor :store_code_set_with_movs
|
4228
|
+
|
4229
|
+
def initialize(**args)
|
4230
|
+
update!(**args)
|
4231
|
+
end
|
4232
|
+
|
4233
|
+
# Update properties of this object
|
4234
|
+
def update!(**args)
|
4235
|
+
@store_code_set_with_movs = args[:store_code_set_with_movs] if args.key?(:store_code_set_with_movs)
|
4236
|
+
end
|
4237
|
+
end
|
4238
|
+
|
4239
|
+
# A list of store code sets sharing the same minimum order value. At least two
|
4240
|
+
# sets are required and the last one must be empty, which signifies 'MOV for all
|
4241
|
+
# other stores'. Each store code can only appear once across all the sets. All
|
4242
|
+
# prices within a service must have the same currency.
|
4243
|
+
class MinimumOrderValueTableStoreCodeSetWithMov
|
4244
|
+
include Google::Apis::Core::Hashable
|
4245
|
+
|
4246
|
+
# A list of unique store codes or empty for the catch all.
|
4247
|
+
# Corresponds to the JSON property `storeCodes`
|
4248
|
+
# @return [Array<String>]
|
4249
|
+
attr_accessor :store_codes
|
4250
|
+
|
4251
|
+
# The minimum order value for the given stores.
|
4252
|
+
# Corresponds to the JSON property `value`
|
4253
|
+
# @return [Google::Apis::ContentV2::Price]
|
4254
|
+
attr_accessor :value
|
4255
|
+
|
4256
|
+
def initialize(**args)
|
4257
|
+
update!(**args)
|
4258
|
+
end
|
4259
|
+
|
4260
|
+
# Update properties of this object
|
4261
|
+
def update!(**args)
|
4262
|
+
@store_codes = args[:store_codes] if args.key?(:store_codes)
|
4263
|
+
@value = args[:value] if args.key?(:value)
|
4264
|
+
end
|
4265
|
+
end
|
4266
|
+
|
4218
4267
|
# Order. Production access (all methods) requires the order manager role.
|
4219
|
-
# Sandbox access does not.
|
4268
|
+
# Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.
|
4269
|
+
# orders ==)
|
4220
4270
|
class Order
|
4221
4271
|
include Google::Apis::Core::Hashable
|
4222
4272
|
|
@@ -4228,8 +4278,8 @@ module Google
|
|
4228
4278
|
|
4229
4279
|
# Deprecated.
|
4230
4280
|
# Acceptable values are:
|
4231
|
-
# - "googleExpress"
|
4232
|
-
# - "purchasesOnGoogle"
|
4281
|
+
# - "`googleExpress`"
|
4282
|
+
# - "`purchasesOnGoogle`"
|
4233
4283
|
# Corresponds to the JSON property `channelType`
|
4234
4284
|
# @return [String]
|
4235
4285
|
attr_accessor :channel_type
|
@@ -4239,7 +4289,7 @@ module Google
|
|
4239
4289
|
# @return [Google::Apis::ContentV2::OrderCustomer]
|
4240
4290
|
attr_accessor :customer
|
4241
4291
|
|
4242
|
-
# Delivery details for shipments of type delivery
|
4292
|
+
# Delivery details for shipments of type `delivery`.
|
4243
4293
|
# Corresponds to the JSON property `deliveryDetails`
|
4244
4294
|
# @return [Google::Apis::ContentV2::OrderDeliveryDetails]
|
4245
4295
|
attr_accessor :delivery_details
|
@@ -4249,8 +4299,8 @@ module Google
|
|
4249
4299
|
# @return [String]
|
4250
4300
|
attr_accessor :id
|
4251
4301
|
|
4252
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
4253
|
-
# order"
|
4302
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
4303
|
+
# order`"
|
4254
4304
|
# Corresponds to the JSON property `kind`
|
4255
4305
|
# @return [String]
|
4256
4306
|
attr_accessor :kind
|
@@ -4284,15 +4334,15 @@ module Google
|
|
4284
4334
|
|
4285
4335
|
# The status of the payment.
|
4286
4336
|
# Acceptable values are:
|
4287
|
-
# - "paymentCaptured"
|
4288
|
-
# - "paymentRejected"
|
4289
|
-
# - "paymentSecured"
|
4290
|
-
# - "pendingAuthorization"
|
4337
|
+
# - "`paymentCaptured`"
|
4338
|
+
# - "`paymentRejected`"
|
4339
|
+
# - "`paymentSecured`"
|
4340
|
+
# - "`pendingAuthorization`"
|
4291
4341
|
# Corresponds to the JSON property `paymentStatus`
|
4292
4342
|
# @return [String]
|
4293
4343
|
attr_accessor :payment_status
|
4294
4344
|
|
4295
|
-
# Pickup details for shipments of type pickup
|
4345
|
+
# Pickup details for shipments of type `pickup`.
|
4296
4346
|
# Corresponds to the JSON property `pickupDetails`
|
4297
4347
|
# @return [Google::Apis::ContentV2::OrderPickupDetails]
|
4298
4348
|
attr_accessor :pickup_details
|
@@ -4303,19 +4353,19 @@ module Google
|
|
4303
4353
|
attr_accessor :placed_date
|
4304
4354
|
|
4305
4355
|
# The details of the merchant provided promotions applied to the order.
|
4306
|
-
# To determine which promotions apply to which products, check the Promotions[].
|
4307
|
-
# Benefits[].OfferIds field against the LineItems[].Product.OfferId field for
|
4308
|
-
# each promotion. If a promotion is applied to more than 1 offerId
|
4356
|
+
# To determine which promotions apply to which products, check the `Promotions[].
|
4357
|
+
# Benefits[].OfferIds` field against the `LineItems[].Product.OfferId` field for
|
4358
|
+
# each promotion. If a promotion is applied to more than 1 `offerId`, divide the
|
4309
4359
|
# discount value by the number of affected offers to determine how much discount
|
4310
|
-
# to apply to each offerId
|
4360
|
+
# to apply to each `offerId`.
|
4311
4361
|
# Examples:
|
4312
4362
|
# - To calculate the line item level discount for a single specific item: For
|
4313
|
-
# each promotion, subtract the Promotions[].Benefits[].Discount.value amount
|
4314
|
-
# from the LineItems[].Price.value
|
4363
|
+
# each promotion, subtract the `Promotions[].Benefits[].Discount.value` amount
|
4364
|
+
# from the `LineItems[].Price.value`.
|
4315
4365
|
# - To calculate the line item level discount for multiple quantity of a
|
4316
|
-
# specific item: For each promotion, divide the Promotions[].Benefits[].
|
4317
|
-
# value by the quantity of products and substract it from LineItems[].
|
4318
|
-
# Price.value for each quantity item.
|
4366
|
+
# specific item: For each promotion, divide the `Promotions[].Benefits[].
|
4367
|
+
# Discount.value` by the quantity of products and substract it from `LineItems[].
|
4368
|
+
# Product.Price.value` for each quantity item.
|
4319
4369
|
# Only 1 promotion can be applied to an offerId in a given order. To refund an
|
4320
4370
|
# item which had a promotion applied to it, make sure to refund the amount after
|
4321
4371
|
# first subtracting the promotion discount from the item price.
|
@@ -4346,35 +4396,35 @@ module Google
|
|
4346
4396
|
|
4347
4397
|
# Deprecated. Shipping details are provided with line items instead.
|
4348
4398
|
# Acceptable values are:
|
4349
|
-
# - "economy"
|
4350
|
-
# - "expedited"
|
4351
|
-
# - "oneDay"
|
4352
|
-
# - "sameDay"
|
4353
|
-
# - "standard"
|
4354
|
-
# - "twoDay"
|
4399
|
+
# - "`economy`"
|
4400
|
+
# - "`expedited`"
|
4401
|
+
# - "`oneDay`"
|
4402
|
+
# - "`sameDay`"
|
4403
|
+
# - "`standard`"
|
4404
|
+
# - "`twoDay`"
|
4355
4405
|
# Corresponds to the JSON property `shippingOption`
|
4356
4406
|
# @return [String]
|
4357
4407
|
attr_accessor :shipping_option
|
4358
4408
|
|
4359
4409
|
# The status of the order.
|
4360
4410
|
# Acceptable values are:
|
4361
|
-
# - "canceled"
|
4362
|
-
# - "delivered"
|
4363
|
-
# - "inProgress"
|
4364
|
-
# - "partiallyDelivered"
|
4365
|
-
# - "partiallyReturned"
|
4366
|
-
# - "partiallyShipped"
|
4367
|
-
# - "pendingShipment"
|
4368
|
-
# - "returned"
|
4369
|
-
# - "shipped"
|
4411
|
+
# - "`canceled`"
|
4412
|
+
# - "`delivered`"
|
4413
|
+
# - "`inProgress`"
|
4414
|
+
# - "`partiallyDelivered`"
|
4415
|
+
# - "`partiallyReturned`"
|
4416
|
+
# - "`partiallyShipped`"
|
4417
|
+
# - "`pendingShipment`"
|
4418
|
+
# - "`returned`"
|
4419
|
+
# - "`shipped`"
|
4370
4420
|
# Corresponds to the JSON property `status`
|
4371
4421
|
# @return [String]
|
4372
4422
|
attr_accessor :status
|
4373
4423
|
|
4374
4424
|
# The party responsible for collecting and remitting taxes.
|
4375
4425
|
# Acceptable values are:
|
4376
|
-
# - "marketplaceFacilitator"
|
4377
|
-
# - "merchant"
|
4426
|
+
# - "`marketplaceFacilitator`"
|
4427
|
+
# - "`merchant`"
|
4378
4428
|
# Corresponds to the JSON property `taxCollector`
|
4379
4429
|
# @return [String]
|
4380
4430
|
attr_accessor :tax_collector
|
@@ -4485,12 +4535,12 @@ module Google
|
|
4485
4535
|
|
4486
4536
|
# The actor that created the cancellation.
|
4487
4537
|
# Acceptable values are:
|
4488
|
-
# - "customer"
|
4489
|
-
# - "googleBot"
|
4490
|
-
# - "googleCustomerService"
|
4491
|
-
# - "googlePayments"
|
4492
|
-
# - "googleSabre"
|
4493
|
-
# - "merchant"
|
4538
|
+
# - "`customer`"
|
4539
|
+
# - "`googleBot`"
|
4540
|
+
# - "`googleCustomerService`"
|
4541
|
+
# - "`googlePayments`"
|
4542
|
+
# - "`googleSabre`"
|
4543
|
+
# - "`merchant`"
|
4494
4544
|
# Corresponds to the JSON property `actor`
|
4495
4545
|
# @return [String]
|
4496
4546
|
attr_accessor :actor
|
@@ -4509,34 +4559,34 @@ module Google
|
|
4509
4559
|
# reason will lead to the removal of the product from Shopping Actions until you
|
4510
4560
|
# make an update to that product. This will not affect your Shopping ads.
|
4511
4561
|
# Acceptable values are:
|
4512
|
-
# - "autoPostInternal"
|
4513
|
-
# - "autoPostInvalidBillingAddress"
|
4514
|
-
# - "autoPostNoInventory"
|
4515
|
-
# - "autoPostPriceError"
|
4516
|
-
# - "autoPostUndeliverableShippingAddress"
|
4517
|
-
# - "couponAbuse"
|
4518
|
-
# - "customerCanceled"
|
4519
|
-
# - "customerInitiatedCancel"
|
4520
|
-
# - "customerSupportRequested"
|
4521
|
-
# - "failToPushOrderGoogleError"
|
4522
|
-
# - "failToPushOrderMerchantError"
|
4523
|
-
# - "failToPushOrderMerchantFulfillmentError"
|
4524
|
-
# - "failToPushOrderToMerchant"
|
4525
|
-
# - "failToPushOrderToMerchantOutOfStock"
|
4526
|
-
# - "invalidCoupon"
|
4527
|
-
# - "malformedShippingAddress"
|
4528
|
-
# - "merchantDidNotShipOnTime"
|
4529
|
-
# - "noInventory"
|
4530
|
-
# - "orderTimeout"
|
4531
|
-
# - "other"
|
4532
|
-
# - "paymentAbuse"
|
4533
|
-
# - "paymentDeclined"
|
4534
|
-
# - "priceError"
|
4535
|
-
# - "returnRefundAbuse"
|
4536
|
-
# - "shippingPriceError"
|
4537
|
-
# - "taxError"
|
4538
|
-
# - "undeliverableShippingAddress"
|
4539
|
-
# - "unsupportedPoBoxAddress"
|
4562
|
+
# - "`autoPostInternal`"
|
4563
|
+
# - "`autoPostInvalidBillingAddress`"
|
4564
|
+
# - "`autoPostNoInventory`"
|
4565
|
+
# - "`autoPostPriceError`"
|
4566
|
+
# - "`autoPostUndeliverableShippingAddress`"
|
4567
|
+
# - "`couponAbuse`"
|
4568
|
+
# - "`customerCanceled`"
|
4569
|
+
# - "`customerInitiatedCancel`"
|
4570
|
+
# - "`customerSupportRequested`"
|
4571
|
+
# - "`failToPushOrderGoogleError`"
|
4572
|
+
# - "`failToPushOrderMerchantError`"
|
4573
|
+
# - "`failToPushOrderMerchantFulfillmentError`"
|
4574
|
+
# - "`failToPushOrderToMerchant`"
|
4575
|
+
# - "`failToPushOrderToMerchantOutOfStock`"
|
4576
|
+
# - "`invalidCoupon`"
|
4577
|
+
# - "`malformedShippingAddress`"
|
4578
|
+
# - "`merchantDidNotShipOnTime`"
|
4579
|
+
# - "`noInventory`"
|
4580
|
+
# - "`orderTimeout`"
|
4581
|
+
# - "`other`"
|
4582
|
+
# - "`paymentAbuse`"
|
4583
|
+
# - "`paymentDeclined`"
|
4584
|
+
# - "`priceError`"
|
4585
|
+
# - "`returnRefundAbuse`"
|
4586
|
+
# - "`shippingPriceError`"
|
4587
|
+
# - "`taxError`"
|
4588
|
+
# - "`undeliverableShippingAddress`"
|
4589
|
+
# - "`unsupportedPoBoxAddress`"
|
4540
4590
|
# Corresponds to the JSON property `reason`
|
4541
4591
|
# @return [String]
|
4542
4592
|
attr_accessor :reason
|
@@ -4581,8 +4631,9 @@ module Google
|
|
4581
4631
|
attr_accessor :full_name
|
4582
4632
|
|
4583
4633
|
# Email address for the merchant to send value-added tax or invoice
|
4584
|
-
# documentation of the order.
|
4585
|
-
# customer.
|
4634
|
+
# documentation of the order. Only the last document sent is made available to
|
4635
|
+
# the customer. For more information, see About automated VAT invoicing for
|
4636
|
+
# Shopping Actions.
|
4586
4637
|
# Corresponds to the JSON property `invoiceReceivingEmail`
|
4587
4638
|
# @return [String]
|
4588
4639
|
attr_accessor :invoice_receiving_email
|
@@ -4615,12 +4666,12 @@ module Google
|
|
4615
4666
|
|
4616
4667
|
# Last known customer selection regarding marketing preferences. In certain
|
4617
4668
|
# cases this selection might not be known, so this field would be empty. If a
|
4618
|
-
# customer selected granted in their most recent order, they can be subscribed
|
4619
|
-
# to marketing emails. Customers who have chosen denied must not be subscribed,
|
4669
|
+
# customer selected `granted` in their most recent order, they can be subscribed
|
4670
|
+
# to marketing emails. Customers who have chosen `denied` must not be subscribed,
|
4620
4671
|
# or must be unsubscribed if already opted-in.
|
4621
4672
|
# Acceptable values are:
|
4622
|
-
# - "denied"
|
4623
|
-
# - "granted"
|
4673
|
+
# - "`denied`"
|
4674
|
+
# - "`granted`"
|
4624
4675
|
# Corresponds to the JSON property `explicitMarketingPreference`
|
4625
4676
|
# @return [String]
|
4626
4677
|
attr_accessor :explicit_marketing_preference
|
@@ -4632,8 +4683,8 @@ module Google
|
|
4632
4683
|
attr_accessor :last_updated_timestamp
|
4633
4684
|
|
4634
4685
|
# Email address that can be used for marketing purposes. The field may be empty
|
4635
|
-
# even if explicitMarketingPreference is 'granted'. This happens when
|
4636
|
-
# an old order from the customer who deleted their account.
|
4686
|
+
# even if `explicitMarketingPreference` is 'granted'. This happens when
|
4687
|
+
# retrieving an old order from the customer who deleted their account.
|
4637
4688
|
# Corresponds to the JSON property `marketingEmailAddress`
|
4638
4689
|
# @return [String]
|
4639
4690
|
attr_accessor :marketing_email_address
|
@@ -4713,15 +4764,15 @@ module Google
|
|
4713
4764
|
|
4714
4765
|
# Whether the promotion is applicable to all products or only specific products.
|
4715
4766
|
# Acceptable values are:
|
4716
|
-
# - "allProducts"
|
4717
|
-
# - "specificProducts"
|
4767
|
+
# - "`allProducts`"
|
4768
|
+
# - "`specificProducts`"
|
4718
4769
|
# Corresponds to the JSON property `productApplicability`
|
4719
4770
|
# @return [String]
|
4720
4771
|
attr_accessor :product_applicability
|
4721
4772
|
|
4722
4773
|
# Indicates that the promotion is valid online.
|
4723
4774
|
# Acceptable values are:
|
4724
|
-
# - "online"
|
4775
|
+
# - "`online`"
|
4725
4776
|
# Corresponds to the JSON property `redemptionChannel`
|
4726
4777
|
# @return [String]
|
4727
4778
|
attr_accessor :redemption_channel
|
@@ -4760,20 +4811,20 @@ module Google
|
|
4760
4811
|
# Further describes the benefit of the promotion. Note that we will expand on
|
4761
4812
|
# this enumeration as we support new promotion sub-types.
|
4762
4813
|
# Acceptable values are:
|
4763
|
-
# - "buyMGetMoneyOff"
|
4764
|
-
# - "buyMGetNMoneyOff"
|
4765
|
-
# - "buyMGetNPercentOff"
|
4766
|
-
# - "buyMGetPercentOff"
|
4767
|
-
# - "freeGift"
|
4768
|
-
# - "freeGiftWithItemId"
|
4769
|
-
# - "freeGiftWithValue"
|
4770
|
-
# - "freeOvernightShipping"
|
4771
|
-
# - "freeShipping"
|
4772
|
-
# - "freeTwoDayShipping"
|
4773
|
-
# - "moneyOff"
|
4774
|
-
# - "percentageOff"
|
4775
|
-
# - "rewardPoints"
|
4776
|
-
# - "salePrice"
|
4814
|
+
# - "`buyMGetMoneyOff`"
|
4815
|
+
# - "`buyMGetNMoneyOff`"
|
4816
|
+
# - "`buyMGetNPercentOff`"
|
4817
|
+
# - "`buyMGetPercentOff`"
|
4818
|
+
# - "`freeGift`"
|
4819
|
+
# - "`freeGiftWithItemId`"
|
4820
|
+
# - "`freeGiftWithValue`"
|
4821
|
+
# - "`freeOvernightShipping`"
|
4822
|
+
# - "`freeShipping`"
|
4823
|
+
# - "`freeTwoDayShipping`"
|
4824
|
+
# - "`moneyOff`"
|
4825
|
+
# - "`percentageOff`"
|
4826
|
+
# - "`rewardPoints`"
|
4827
|
+
# - "`salePrice`"
|
4777
4828
|
# Corresponds to the JSON property `subType`
|
4778
4829
|
# @return [String]
|
4779
4830
|
attr_accessor :sub_type
|
@@ -4786,8 +4837,8 @@ module Google
|
|
4786
4837
|
# Describes whether the promotion applies to products (e.g. 20% off) or to
|
4787
4838
|
# shipping (e.g. Free Shipping).
|
4788
4839
|
# Acceptable values are:
|
4789
|
-
# - "product"
|
4790
|
-
# - "shipping"
|
4840
|
+
# - "`product`"
|
4841
|
+
# - "`shipping`"
|
4791
4842
|
# Corresponds to the JSON property `type`
|
4792
4843
|
# @return [String]
|
4793
4844
|
attr_accessor :type
|
@@ -4930,17 +4981,17 @@ module Google
|
|
4930
4981
|
|
4931
4982
|
# The item's channel (online or local).
|
4932
4983
|
# Acceptable values are:
|
4933
|
-
# - "local"
|
4934
|
-
# - "online"
|
4984
|
+
# - "`local`"
|
4985
|
+
# - "`online`"
|
4935
4986
|
# Corresponds to the JSON property `channel`
|
4936
4987
|
# @return [String]
|
4937
4988
|
attr_accessor :channel
|
4938
4989
|
|
4939
4990
|
# Condition or state of the item.
|
4940
4991
|
# Acceptable values are:
|
4941
|
-
# - "new"
|
4942
|
-
# - "refurbished"
|
4943
|
-
# - "used"
|
4992
|
+
# - "`new`"
|
4993
|
+
# - "`refurbished`"
|
4994
|
+
# - "`used`"
|
4944
4995
|
# Corresponds to the JSON property `condition`
|
4945
4996
|
# @return [String]
|
4946
4997
|
attr_accessor :condition
|
@@ -5138,11 +5189,11 @@ module Google
|
|
5138
5189
|
# @return [String]
|
5139
5190
|
attr_accessor :ship_by_date
|
5140
5191
|
|
5141
|
-
# Type of shipment. Indicates whether deliveryDetails or pickupDetails is
|
5192
|
+
# Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is
|
5142
5193
|
# applicable for this shipment.
|
5143
5194
|
# Acceptable values are:
|
5144
|
-
# - "delivery"
|
5145
|
-
# - "pickup"
|
5195
|
+
# - "`delivery`"
|
5196
|
+
# - "`pickup`"
|
5146
5197
|
# Corresponds to the JSON property `type`
|
5147
5198
|
# @return [String]
|
5148
5199
|
attr_accessor :type
|
@@ -5164,8 +5215,8 @@ module Google
|
|
5164
5215
|
class OrderLineItemShippingDetailsMethod
|
5165
5216
|
include Google::Apis::Core::Hashable
|
5166
5217
|
|
5167
|
-
# The carrier for the shipping. Optional. See shipments[].carrier for a list
|
5168
|
-
# acceptable values.
|
5218
|
+
# The carrier for the shipping. Optional. See `shipments[].carrier` for a list
|
5219
|
+
# of acceptable values.
|
5169
5220
|
# Corresponds to the JSON property `carrier`
|
5170
5221
|
# @return [String]
|
5171
5222
|
attr_accessor :carrier
|
@@ -5256,13 +5307,13 @@ module Google
|
|
5256
5307
|
|
5257
5308
|
# The type of instrument.
|
5258
5309
|
# Acceptable values are:
|
5259
|
-
# - "AMEX"
|
5260
|
-
# - "DISCOVER"
|
5261
|
-
# - "JCB"
|
5262
|
-
# - "MASTERCARD"
|
5263
|
-
# - "UNIONPAY"
|
5264
|
-
# - "VISA"
|
5265
|
-
# - ""
|
5310
|
+
# - "`AMEX`"
|
5311
|
+
# - "`DISCOVER`"
|
5312
|
+
# - "`JCB`"
|
5313
|
+
# - "`MASTERCARD`"
|
5314
|
+
# - "`UNIONPAY`"
|
5315
|
+
# - "`VISA`"
|
5316
|
+
# - "``"
|
5266
5317
|
# Corresponds to the JSON property `type`
|
5267
5318
|
# @return [String]
|
5268
5319
|
attr_accessor :type
|
@@ -5286,8 +5337,8 @@ module Google
|
|
5286
5337
|
class OrderPickupDetails
|
5287
5338
|
include Google::Apis::Core::Hashable
|
5288
5339
|
|
5289
|
-
# Address of the pickup location where the shipment should be sent. Note that
|
5290
|
-
# recipientName in the address is the name of the business at the pickup
|
5340
|
+
# Address of the pickup location where the shipment should be sent. Note that `
|
5341
|
+
# recipientName` in the address is the name of the business at the pickup
|
5291
5342
|
# location.
|
5292
5343
|
# Corresponds to the JSON property `address`
|
5293
5344
|
# @return [Google::Apis::ContentV2::OrderAddress]
|
@@ -5346,12 +5397,12 @@ module Google
|
|
5346
5397
|
|
5347
5398
|
# The actor that created the refund.
|
5348
5399
|
# Acceptable values are:
|
5349
|
-
# - "customer"
|
5350
|
-
# - "googleBot"
|
5351
|
-
# - "googleCustomerService"
|
5352
|
-
# - "googlePayments"
|
5353
|
-
# - "googleSabre"
|
5354
|
-
# - "merchant"
|
5400
|
+
# - "`customer`"
|
5401
|
+
# - "`googleBot`"
|
5402
|
+
# - "`googleCustomerService`"
|
5403
|
+
# - "`googlePayments`"
|
5404
|
+
# - "`googleSabre`"
|
5405
|
+
# - "`merchant`"
|
5355
5406
|
# Corresponds to the JSON property `actor`
|
5356
5407
|
# @return [String]
|
5357
5408
|
attr_accessor :actor
|
@@ -5368,50 +5419,50 @@ module Google
|
|
5368
5419
|
|
5369
5420
|
# The reason for the refund.
|
5370
5421
|
# Acceptable values are:
|
5371
|
-
# - "adjustment"
|
5372
|
-
# - "autoPostInternal"
|
5373
|
-
# - "autoPostInvalidBillingAddress"
|
5374
|
-
# - "autoPostNoInventory"
|
5375
|
-
# - "autoPostPriceError"
|
5376
|
-
# - "autoPostUndeliverableShippingAddress"
|
5377
|
-
# - "couponAbuse"
|
5378
|
-
# - "courtesyAdjustment"
|
5379
|
-
# - "customerCanceled"
|
5380
|
-
# - "customerDiscretionaryReturn"
|
5381
|
-
# - "customerInitiatedMerchantCancel"
|
5382
|
-
# - "customerSupportRequested"
|
5383
|
-
# - "deliveredLateByCarrier"
|
5384
|
-
# - "deliveredTooLate"
|
5385
|
-
# - "expiredItem"
|
5386
|
-
# - "failToPushOrderGoogleError"
|
5387
|
-
# - "failToPushOrderMerchantError"
|
5388
|
-
# - "failToPushOrderMerchantFulfillmentError"
|
5389
|
-
# - "failToPushOrderToMerchant"
|
5390
|
-
# - "failToPushOrderToMerchantOutOfStock"
|
5391
|
-
# - "feeAdjustment"
|
5392
|
-
# - "invalidCoupon"
|
5393
|
-
# - "lateShipmentCredit"
|
5394
|
-
# - "malformedShippingAddress"
|
5395
|
-
# - "merchantDidNotShipOnTime"
|
5396
|
-
# - "noInventory"
|
5397
|
-
# - "orderTimeout"
|
5398
|
-
# - "other"
|
5399
|
-
# - "paymentAbuse"
|
5400
|
-
# - "paymentDeclined"
|
5401
|
-
# - "priceAdjustment"
|
5402
|
-
# - "priceError"
|
5403
|
-
# - "productArrivedDamaged"
|
5404
|
-
# - "productNotAsDescribed"
|
5405
|
-
# - "promoReallocation"
|
5406
|
-
# - "qualityNotAsExpected"
|
5407
|
-
# - "returnRefundAbuse"
|
5408
|
-
# - "shippingCostAdjustment"
|
5409
|
-
# - "shippingPriceError"
|
5410
|
-
# - "taxAdjustment"
|
5411
|
-
# - "taxError"
|
5412
|
-
# - "undeliverableShippingAddress"
|
5413
|
-
# - "unsupportedPoBoxAddress"
|
5414
|
-
# - "wrongProductShipped"
|
5422
|
+
# - "`adjustment`"
|
5423
|
+
# - "`autoPostInternal`"
|
5424
|
+
# - "`autoPostInvalidBillingAddress`"
|
5425
|
+
# - "`autoPostNoInventory`"
|
5426
|
+
# - "`autoPostPriceError`"
|
5427
|
+
# - "`autoPostUndeliverableShippingAddress`"
|
5428
|
+
# - "`couponAbuse`"
|
5429
|
+
# - "`courtesyAdjustment`"
|
5430
|
+
# - "`customerCanceled`"
|
5431
|
+
# - "`customerDiscretionaryReturn`"
|
5432
|
+
# - "`customerInitiatedMerchantCancel`"
|
5433
|
+
# - "`customerSupportRequested`"
|
5434
|
+
# - "`deliveredLateByCarrier`"
|
5435
|
+
# - "`deliveredTooLate`"
|
5436
|
+
# - "`expiredItem`"
|
5437
|
+
# - "`failToPushOrderGoogleError`"
|
5438
|
+
# - "`failToPushOrderMerchantError`"
|
5439
|
+
# - "`failToPushOrderMerchantFulfillmentError`"
|
5440
|
+
# - "`failToPushOrderToMerchant`"
|
5441
|
+
# - "`failToPushOrderToMerchantOutOfStock`"
|
5442
|
+
# - "`feeAdjustment`"
|
5443
|
+
# - "`invalidCoupon`"
|
5444
|
+
# - "`lateShipmentCredit`"
|
5445
|
+
# - "`malformedShippingAddress`"
|
5446
|
+
# - "`merchantDidNotShipOnTime`"
|
5447
|
+
# - "`noInventory`"
|
5448
|
+
# - "`orderTimeout`"
|
5449
|
+
# - "`other`"
|
5450
|
+
# - "`paymentAbuse`"
|
5451
|
+
# - "`paymentDeclined`"
|
5452
|
+
# - "`priceAdjustment`"
|
5453
|
+
# - "`priceError`"
|
5454
|
+
# - "`productArrivedDamaged`"
|
5455
|
+
# - "`productNotAsDescribed`"
|
5456
|
+
# - "`promoReallocation`"
|
5457
|
+
# - "`qualityNotAsExpected`"
|
5458
|
+
# - "`returnRefundAbuse`"
|
5459
|
+
# - "`shippingCostAdjustment`"
|
5460
|
+
# - "`shippingPriceError`"
|
5461
|
+
# - "`taxAdjustment`"
|
5462
|
+
# - "`taxError`"
|
5463
|
+
# - "`undeliverableShippingAddress`"
|
5464
|
+
# - "`unsupportedPoBoxAddress`"
|
5465
|
+
# - "`wrongProductShipped`"
|
5415
5466
|
# Corresponds to the JSON property `reason`
|
5416
5467
|
# @return [String]
|
5417
5468
|
attr_accessor :reason
|
@@ -5435,7 +5486,8 @@ module Google
|
|
5435
5486
|
end
|
5436
5487
|
end
|
5437
5488
|
|
5438
|
-
# Order disbursement. All methods require the payment analyst role.
|
5489
|
+
# Order disbursement. All methods require the payment analyst role. (==
|
5490
|
+
# resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)
|
5439
5491
|
class OrderReportDisbursement
|
5440
5492
|
include Google::Apis::Core::Hashable
|
5441
5493
|
|
@@ -5557,12 +5609,12 @@ module Google
|
|
5557
5609
|
|
5558
5610
|
# The actor that created the refund.
|
5559
5611
|
# Acceptable values are:
|
5560
|
-
# - "customer"
|
5561
|
-
# - "googleBot"
|
5562
|
-
# - "googleCustomerService"
|
5563
|
-
# - "googlePayments"
|
5564
|
-
# - "googleSabre"
|
5565
|
-
# - "merchant"
|
5612
|
+
# - "`customer`"
|
5613
|
+
# - "`googleBot`"
|
5614
|
+
# - "`googleCustomerService`"
|
5615
|
+
# - "`googlePayments`"
|
5616
|
+
# - "`googleSabre`"
|
5617
|
+
# - "`merchant`"
|
5566
5618
|
# Corresponds to the JSON property `actor`
|
5567
5619
|
# @return [String]
|
5568
5620
|
attr_accessor :actor
|
@@ -5579,19 +5631,19 @@ module Google
|
|
5579
5631
|
|
5580
5632
|
# The reason for the return.
|
5581
5633
|
# Acceptable values are:
|
5582
|
-
# - "customerDiscretionaryReturn"
|
5583
|
-
# - "customerInitiatedMerchantCancel"
|
5584
|
-
# - "deliveredTooLate"
|
5585
|
-
# - "expiredItem"
|
5586
|
-
# - "invalidCoupon"
|
5587
|
-
# - "malformedShippingAddress"
|
5588
|
-
# - "other"
|
5589
|
-
# - "productArrivedDamaged"
|
5590
|
-
# - "productNotAsDescribed"
|
5591
|
-
# - "qualityNotAsExpected"
|
5592
|
-
# - "undeliverableShippingAddress"
|
5593
|
-
# - "unsupportedPoBoxAddress"
|
5594
|
-
# - "wrongProductShipped"
|
5634
|
+
# - "`customerDiscretionaryReturn`"
|
5635
|
+
# - "`customerInitiatedMerchantCancel`"
|
5636
|
+
# - "`deliveredTooLate`"
|
5637
|
+
# - "`expiredItem`"
|
5638
|
+
# - "`invalidCoupon`"
|
5639
|
+
# - "`malformedShippingAddress`"
|
5640
|
+
# - "`other`"
|
5641
|
+
# - "`productArrivedDamaged`"
|
5642
|
+
# - "`productNotAsDescribed`"
|
5643
|
+
# - "`qualityNotAsExpected`"
|
5644
|
+
# - "`undeliverableShippingAddress`"
|
5645
|
+
# - "`unsupportedPoBoxAddress`"
|
5646
|
+
# - "`wrongProductShipped`"
|
5595
5647
|
# Corresponds to the JSON property `reason`
|
5596
5648
|
# @return [String]
|
5597
5649
|
attr_accessor :reason
|
@@ -5627,42 +5679,42 @@ module Google
|
|
5627
5679
|
# carrier name or tracking URL, and there will be no automatic order status
|
5628
5680
|
# updates.
|
5629
5681
|
# Supported carriers for US are:
|
5630
|
-
# - "ups" (United Parcel Service) automatic status updates
|
5631
|
-
# - "usps" (United States Postal Service) automatic status updates
|
5632
|
-
# - "fedex" (FedEx) automatic status updates
|
5633
|
-
# - "dhl" (DHL eCommerce) automatic status updates (US only)
|
5634
|
-
# - "ontrac" (OnTrac) automatic status updates
|
5635
|
-
# - "dhl express" (DHL Express)
|
5636
|
-
# - "deliv" (Deliv)
|
5637
|
-
# - "dynamex" (TForce)
|
5638
|
-
# - "lasership" (LaserShip)
|
5639
|
-
# - "mpx" (Military Parcel Xpress)
|
5640
|
-
# - "uds" (United Delivery Service)
|
5641
|
-
# - "efw" (Estes Forwarding Worldwide)
|
5642
|
-
# - "jd logistics" (JD Logistics)
|
5643
|
-
# - "yunexpress" (YunExpress)
|
5644
|
-
# - "china post" (China Post)
|
5645
|
-
# - "china ems" (China Post Express Mail Service)
|
5646
|
-
# - "singapore post" (Singapore Post)
|
5647
|
-
# - "pos malaysia" (Pos Malaysia)
|
5648
|
-
# - "postnl" (PostNL)
|
5649
|
-
# - "ptt" (PTT Turkish Post)
|
5650
|
-
# - "eub" (ePacket)
|
5651
|
-
# - "chukou1" (Chukou1 Logistics)
|
5682
|
+
# - "`ups`" (United Parcel Service) automatic status updates
|
5683
|
+
# - "`usps`" (United States Postal Service) automatic status updates
|
5684
|
+
# - "`fedex`" (FedEx) automatic status updates
|
5685
|
+
# - "`dhl`" (DHL eCommerce) automatic status updates (US only)
|
5686
|
+
# - "`ontrac`" (OnTrac) automatic status updates
|
5687
|
+
# - "`dhl express`" (DHL Express)
|
5688
|
+
# - "`deliv`" (Deliv)
|
5689
|
+
# - "`dynamex`" (TForce)
|
5690
|
+
# - "`lasership`" (LaserShip)
|
5691
|
+
# - "`mpx`" (Military Parcel Xpress)
|
5692
|
+
# - "`uds`" (United Delivery Service)
|
5693
|
+
# - "`efw`" (Estes Forwarding Worldwide)
|
5694
|
+
# - "`jd logistics`" (JD Logistics)
|
5695
|
+
# - "`yunexpress`" (YunExpress)
|
5696
|
+
# - "`china post`" (China Post)
|
5697
|
+
# - "`china ems`" (China Post Express Mail Service)
|
5698
|
+
# - "`singapore post`" (Singapore Post)
|
5699
|
+
# - "`pos malaysia`" (Pos Malaysia)
|
5700
|
+
# - "`postnl`" (PostNL)
|
5701
|
+
# - "`ptt`" (PTT Turkish Post)
|
5702
|
+
# - "`eub`" (ePacket)
|
5703
|
+
# - "`chukou1`" (Chukou1 Logistics)
|
5652
5704
|
# Supported carriers for FR are:
|
5653
|
-
# - "la poste" (La Poste) automatic status updates
|
5654
|
-
# - "colissimo" (Colissimo by La Poste) automatic status updates
|
5655
|
-
# - "ups" (United Parcel Service) automatic status updates
|
5656
|
-
# - "chronopost" (Chronopost by La Poste)
|
5657
|
-
# - "gls" (General Logistics Systems France)
|
5658
|
-
# - "dpd" (DPD Group by GeoPost)
|
5659
|
-
# - "bpost" (Belgian Post Group)
|
5660
|
-
# - "colis prive" (Colis Privé)
|
5661
|
-
# - "boxtal" (Boxtal)
|
5662
|
-
# - "geodis" (GEODIS)
|
5663
|
-
# - "tnt" (TNT)
|
5664
|
-
# - "db schenker" (DB Schenker)
|
5665
|
-
# - "aramex" (Aramex)
|
5705
|
+
# - "`la poste`" (La Poste) automatic status updates
|
5706
|
+
# - "`colissimo`" (Colissimo by La Poste) automatic status updates
|
5707
|
+
# - "`ups`" (United Parcel Service) automatic status updates
|
5708
|
+
# - "`chronopost`" (Chronopost by La Poste)
|
5709
|
+
# - "`gls`" (General Logistics Systems France)
|
5710
|
+
# - "`dpd`" (DPD Group by GeoPost)
|
5711
|
+
# - "`bpost`" (Belgian Post Group)
|
5712
|
+
# - "`colis prive`" (Colis Privé)
|
5713
|
+
# - "`boxtal`" (Boxtal)
|
5714
|
+
# - "`geodis`" (GEODIS)
|
5715
|
+
# - "`tnt`" (TNT)
|
5716
|
+
# - "`db schenker`" (DB Schenker)
|
5717
|
+
# - "`aramex`" (Aramex)
|
5666
5718
|
# Corresponds to the JSON property `carrier`
|
5667
5719
|
# @return [String]
|
5668
5720
|
attr_accessor :carrier
|
@@ -5673,7 +5725,7 @@ module Google
|
|
5673
5725
|
attr_accessor :creation_date
|
5674
5726
|
|
5675
5727
|
# Date on which the shipment has been delivered, in ISO 8601 format. Present
|
5676
|
-
# only if status is delivered
|
5728
|
+
# only if `status` is `delivered`
|
5677
5729
|
# Corresponds to the JSON property `deliveryDate`
|
5678
5730
|
# @return [String]
|
5679
5731
|
attr_accessor :delivery_date
|
@@ -5690,10 +5742,10 @@ module Google
|
|
5690
5742
|
|
5691
5743
|
# The status of the shipment.
|
5692
5744
|
# Acceptable values are:
|
5693
|
-
# - "delivered"
|
5694
|
-
# - "readyForPickup"
|
5695
|
-
# - "shipped"
|
5696
|
-
# - "undeliverable"
|
5745
|
+
# - "`delivered`"
|
5746
|
+
# - "`readyForPickup`"
|
5747
|
+
# - "`shipped`"
|
5748
|
+
# - "`undeliverable`"
|
5697
5749
|
# Corresponds to the JSON property `status`
|
5698
5750
|
# @return [String]
|
5699
5751
|
attr_accessor :status
|
@@ -5777,8 +5829,8 @@ module Google
|
|
5777
5829
|
# @return [String]
|
5778
5830
|
attr_accessor :operation_id
|
5779
5831
|
|
5780
|
-
# [required] ID of the shipment group. It is assigned by the merchant in the
|
5781
|
-
# shipLineItems method and is used to group multiple line items that have the
|
5832
|
+
# [required] ID of the shipment group. It is assigned by the merchant in the `
|
5833
|
+
# shipLineItems` method and is used to group multiple line items that have the
|
5782
5834
|
# same kind of shipping charges.
|
5783
5835
|
# Corresponds to the JSON property `shipmentGroupId`
|
5784
5836
|
# @return [String]
|
@@ -5804,8 +5856,8 @@ module Google
|
|
5804
5856
|
|
5805
5857
|
# The status of the execution.
|
5806
5858
|
# Acceptable values are:
|
5807
|
-
# - "duplicate"
|
5808
|
-
# - "executed"
|
5859
|
+
# - "`duplicate`"
|
5860
|
+
# - "`executed`"
|
5809
5861
|
# Corresponds to the JSON property `executionStatus`
|
5810
5862
|
# @return [String]
|
5811
5863
|
attr_accessor :execution_status
|
@@ -5842,14 +5894,15 @@ module Google
|
|
5842
5894
|
# @return [String]
|
5843
5895
|
attr_accessor :operation_id
|
5844
5896
|
|
5845
|
-
# Option to create a refund-only invoice. Exactly one of refundOnlyOption or
|
5846
|
-
# returnOption must be provided.
|
5897
|
+
# Option to create a refund-only invoice. Exactly one of `refundOnlyOption` or `
|
5898
|
+
# returnOption` must be provided.
|
5847
5899
|
# Corresponds to the JSON property `refundOnlyOption`
|
5848
5900
|
# @return [Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption]
|
5849
5901
|
attr_accessor :refund_only_option
|
5850
5902
|
|
5851
5903
|
# Option to create an invoice for a refund and mark all items within the invoice
|
5852
|
-
# as returned. Exactly one of refundOnlyOption or returnOption must be
|
5904
|
+
# as returned. Exactly one of `refundOnlyOption` or `returnOption` must be
|
5905
|
+
# provided.
|
5853
5906
|
# Corresponds to the JSON property `returnOption`
|
5854
5907
|
# @return [Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption]
|
5855
5908
|
attr_accessor :return_option
|
@@ -5879,8 +5932,8 @@ module Google
|
|
5879
5932
|
|
5880
5933
|
# The status of the execution.
|
5881
5934
|
# Acceptable values are:
|
5882
|
-
# - "duplicate"
|
5883
|
-
# - "executed"
|
5935
|
+
# - "`duplicate`"
|
5936
|
+
# - "`executed`"
|
5884
5937
|
# Corresponds to the JSON property `executionStatus`
|
5885
5938
|
# @return [String]
|
5886
5939
|
attr_accessor :execution_status
|
@@ -5913,50 +5966,50 @@ module Google
|
|
5913
5966
|
|
5914
5967
|
# [required] Reason for the refund.
|
5915
5968
|
# Acceptable values are:
|
5916
|
-
# - "adjustment"
|
5917
|
-
# - "autoPostInternal"
|
5918
|
-
# - "autoPostInvalidBillingAddress"
|
5919
|
-
# - "autoPostNoInventory"
|
5920
|
-
# - "autoPostPriceError"
|
5921
|
-
# - "autoPostUndeliverableShippingAddress"
|
5922
|
-
# - "couponAbuse"
|
5923
|
-
# - "courtesyAdjustment"
|
5924
|
-
# - "customerCanceled"
|
5925
|
-
# - "customerDiscretionaryReturn"
|
5926
|
-
# - "customerInitiatedMerchantCancel"
|
5927
|
-
# - "customerSupportRequested"
|
5928
|
-
# - "deliveredLateByCarrier"
|
5929
|
-
# - "deliveredTooLate"
|
5930
|
-
# - "expiredItem"
|
5931
|
-
# - "failToPushOrderGoogleError"
|
5932
|
-
# - "failToPushOrderMerchantError"
|
5933
|
-
# - "failToPushOrderMerchantFulfillmentError"
|
5934
|
-
# - "failToPushOrderToMerchant"
|
5935
|
-
# - "failToPushOrderToMerchantOutOfStock"
|
5936
|
-
# - "feeAdjustment"
|
5937
|
-
# - "invalidCoupon"
|
5938
|
-
# - "lateShipmentCredit"
|
5939
|
-
# - "malformedShippingAddress"
|
5940
|
-
# - "merchantDidNotShipOnTime"
|
5941
|
-
# - "noInventory"
|
5942
|
-
# - "orderTimeout"
|
5943
|
-
# - "other"
|
5944
|
-
# - "paymentAbuse"
|
5945
|
-
# - "paymentDeclined"
|
5946
|
-
# - "priceAdjustment"
|
5947
|
-
# - "priceError"
|
5948
|
-
# - "productArrivedDamaged"
|
5949
|
-
# - "productNotAsDescribed"
|
5950
|
-
# - "promoReallocation"
|
5951
|
-
# - "qualityNotAsExpected"
|
5952
|
-
# - "returnRefundAbuse"
|
5953
|
-
# - "shippingCostAdjustment"
|
5954
|
-
# - "shippingPriceError"
|
5955
|
-
# - "taxAdjustment"
|
5956
|
-
# - "taxError"
|
5957
|
-
# - "undeliverableShippingAddress"
|
5958
|
-
# - "unsupportedPoBoxAddress"
|
5959
|
-
# - "wrongProductShipped"
|
5969
|
+
# - "`adjustment`"
|
5970
|
+
# - "`autoPostInternal`"
|
5971
|
+
# - "`autoPostInvalidBillingAddress`"
|
5972
|
+
# - "`autoPostNoInventory`"
|
5973
|
+
# - "`autoPostPriceError`"
|
5974
|
+
# - "`autoPostUndeliverableShippingAddress`"
|
5975
|
+
# - "`couponAbuse`"
|
5976
|
+
# - "`courtesyAdjustment`"
|
5977
|
+
# - "`customerCanceled`"
|
5978
|
+
# - "`customerDiscretionaryReturn`"
|
5979
|
+
# - "`customerInitiatedMerchantCancel`"
|
5980
|
+
# - "`customerSupportRequested`"
|
5981
|
+
# - "`deliveredLateByCarrier`"
|
5982
|
+
# - "`deliveredTooLate`"
|
5983
|
+
# - "`expiredItem`"
|
5984
|
+
# - "`failToPushOrderGoogleError`"
|
5985
|
+
# - "`failToPushOrderMerchantError`"
|
5986
|
+
# - "`failToPushOrderMerchantFulfillmentError`"
|
5987
|
+
# - "`failToPushOrderToMerchant`"
|
5988
|
+
# - "`failToPushOrderToMerchantOutOfStock`"
|
5989
|
+
# - "`feeAdjustment`"
|
5990
|
+
# - "`invalidCoupon`"
|
5991
|
+
# - "`lateShipmentCredit`"
|
5992
|
+
# - "`malformedShippingAddress`"
|
5993
|
+
# - "`merchantDidNotShipOnTime`"
|
5994
|
+
# - "`noInventory`"
|
5995
|
+
# - "`orderTimeout`"
|
5996
|
+
# - "`other`"
|
5997
|
+
# - "`paymentAbuse`"
|
5998
|
+
# - "`paymentDeclined`"
|
5999
|
+
# - "`priceAdjustment`"
|
6000
|
+
# - "`priceError`"
|
6001
|
+
# - "`productArrivedDamaged`"
|
6002
|
+
# - "`productNotAsDescribed`"
|
6003
|
+
# - "`promoReallocation`"
|
6004
|
+
# - "`qualityNotAsExpected`"
|
6005
|
+
# - "`returnRefundAbuse`"
|
6006
|
+
# - "`shippingCostAdjustment`"
|
6007
|
+
# - "`shippingPriceError`"
|
6008
|
+
# - "`taxAdjustment`"
|
6009
|
+
# - "`taxError`"
|
6010
|
+
# - "`undeliverableShippingAddress`"
|
6011
|
+
# - "`unsupportedPoBoxAddress`"
|
6012
|
+
# - "`wrongProductShipped`"
|
5960
6013
|
# Corresponds to the JSON property `reason`
|
5961
6014
|
# @return [String]
|
5962
6015
|
attr_accessor :reason
|
@@ -5983,19 +6036,19 @@ module Google
|
|
5983
6036
|
|
5984
6037
|
# [required] Reason for the return.
|
5985
6038
|
# Acceptable values are:
|
5986
|
-
# - "customerDiscretionaryReturn"
|
5987
|
-
# - "customerInitiatedMerchantCancel"
|
5988
|
-
# - "deliveredTooLate"
|
5989
|
-
# - "expiredItem"
|
5990
|
-
# - "invalidCoupon"
|
5991
|
-
# - "malformedShippingAddress"
|
5992
|
-
# - "other"
|
5993
|
-
# - "productArrivedDamaged"
|
5994
|
-
# - "productNotAsDescribed"
|
5995
|
-
# - "qualityNotAsExpected"
|
5996
|
-
# - "undeliverableShippingAddress"
|
5997
|
-
# - "unsupportedPoBoxAddress"
|
5998
|
-
# - "wrongProductShipped"
|
6039
|
+
# - "`customerDiscretionaryReturn`"
|
6040
|
+
# - "`customerInitiatedMerchantCancel`"
|
6041
|
+
# - "`deliveredTooLate`"
|
6042
|
+
# - "`expiredItem`"
|
6043
|
+
# - "`invalidCoupon`"
|
6044
|
+
# - "`malformedShippingAddress`"
|
6045
|
+
# - "`other`"
|
6046
|
+
# - "`productArrivedDamaged`"
|
6047
|
+
# - "`productNotAsDescribed`"
|
6048
|
+
# - "`qualityNotAsExpected`"
|
6049
|
+
# - "`undeliverableShippingAddress`"
|
6050
|
+
# - "`unsupportedPoBoxAddress`"
|
6051
|
+
# - "`wrongProductShipped`"
|
5999
6052
|
# Corresponds to the JSON property `reason`
|
6000
6053
|
# @return [String]
|
6001
6054
|
attr_accessor :reason
|
@@ -6132,8 +6185,8 @@ module Google
|
|
6132
6185
|
|
6133
6186
|
# The status of the execution.
|
6134
6187
|
# Acceptable values are:
|
6135
|
-
# - "duplicate"
|
6136
|
-
# - "executed"
|
6188
|
+
# - "`duplicate`"
|
6189
|
+
# - "`executed`"
|
6137
6190
|
# Corresponds to the JSON property `executionStatus`
|
6138
6191
|
# @return [String]
|
6139
6192
|
attr_accessor :execution_status
|
@@ -6221,16 +6274,16 @@ module Google
|
|
6221
6274
|
|
6222
6275
|
# The reason for the cancellation.
|
6223
6276
|
# Acceptable values are:
|
6224
|
-
# - "customerInitiatedCancel"
|
6225
|
-
# - "invalidCoupon"
|
6226
|
-
# - "malformedShippingAddress"
|
6227
|
-
# - "noInventory"
|
6228
|
-
# - "other"
|
6229
|
-
# - "priceError"
|
6230
|
-
# - "shippingPriceError"
|
6231
|
-
# - "taxError"
|
6232
|
-
# - "undeliverableShippingAddress"
|
6233
|
-
# - "unsupportedPoBoxAddress"
|
6277
|
+
# - "`customerInitiatedCancel`"
|
6278
|
+
# - "`invalidCoupon`"
|
6279
|
+
# - "`malformedShippingAddress`"
|
6280
|
+
# - "`noInventory`"
|
6281
|
+
# - "`other`"
|
6282
|
+
# - "`priceError`"
|
6283
|
+
# - "`shippingPriceError`"
|
6284
|
+
# - "`taxError`"
|
6285
|
+
# - "`undeliverableShippingAddress`"
|
6286
|
+
# - "`unsupportedPoBoxAddress`"
|
6234
6287
|
# Corresponds to the JSON property `reason`
|
6235
6288
|
# @return [String]
|
6236
6289
|
attr_accessor :reason
|
@@ -6264,8 +6317,8 @@ module Google
|
|
6264
6317
|
|
6265
6318
|
# The status of the execution.
|
6266
6319
|
# Acceptable values are:
|
6267
|
-
# - "duplicate"
|
6268
|
-
# - "executed"
|
6320
|
+
# - "`duplicate`"
|
6321
|
+
# - "`executed`"
|
6269
6322
|
# Corresponds to the JSON property `executionStatus`
|
6270
6323
|
# @return [String]
|
6271
6324
|
attr_accessor :execution_status
|
@@ -6298,16 +6351,16 @@ module Google
|
|
6298
6351
|
|
6299
6352
|
# The reason for the cancellation.
|
6300
6353
|
# Acceptable values are:
|
6301
|
-
# - "customerInitiatedCancel"
|
6302
|
-
# - "invalidCoupon"
|
6303
|
-
# - "malformedShippingAddress"
|
6304
|
-
# - "noInventory"
|
6305
|
-
# - "other"
|
6306
|
-
# - "priceError"
|
6307
|
-
# - "shippingPriceError"
|
6308
|
-
# - "taxError"
|
6309
|
-
# - "undeliverableShippingAddress"
|
6310
|
-
# - "unsupportedPoBoxAddress"
|
6354
|
+
# - "`customerInitiatedCancel`"
|
6355
|
+
# - "`invalidCoupon`"
|
6356
|
+
# - "`malformedShippingAddress`"
|
6357
|
+
# - "`noInventory`"
|
6358
|
+
# - "`other`"
|
6359
|
+
# - "`priceError`"
|
6360
|
+
# - "`shippingPriceError`"
|
6361
|
+
# - "`taxError`"
|
6362
|
+
# - "`undeliverableShippingAddress`"
|
6363
|
+
# - "`unsupportedPoBoxAddress`"
|
6311
6364
|
# Corresponds to the JSON property `reason`
|
6312
6365
|
# @return [String]
|
6313
6366
|
attr_accessor :reason
|
@@ -6335,8 +6388,8 @@ module Google
|
|
6335
6388
|
|
6336
6389
|
# The status of the execution.
|
6337
6390
|
# Acceptable values are:
|
6338
|
-
# - "duplicate"
|
6339
|
-
# - "executed"
|
6391
|
+
# - "`duplicate`"
|
6392
|
+
# - "`executed`"
|
6340
6393
|
# Corresponds to the JSON property `executionStatus`
|
6341
6394
|
# @return [String]
|
6342
6395
|
attr_accessor :execution_status
|
@@ -6364,9 +6417,9 @@ module Google
|
|
6364
6417
|
|
6365
6418
|
# The reason for the cancellation.
|
6366
6419
|
# Acceptable values are:
|
6367
|
-
# - "changedMind"
|
6368
|
-
# - "orderedWrongItem"
|
6369
|
-
# - "other"
|
6420
|
+
# - "`changedMind`"
|
6421
|
+
# - "`orderedWrongItem`"
|
6422
|
+
# - "`other`"
|
6370
6423
|
# Corresponds to the JSON property `reason`
|
6371
6424
|
# @return [String]
|
6372
6425
|
attr_accessor :reason
|
@@ -6406,24 +6459,24 @@ module Google
|
|
6406
6459
|
include Google::Apis::Core::Hashable
|
6407
6460
|
|
6408
6461
|
# The CLDR territory code of the country of the test order to create. Affects
|
6409
|
-
# the currency and addresses of orders created via template_name
|
6410
|
-
# addresses of orders created via test_order
|
6462
|
+
# the currency and addresses of orders created via `template_name`, or the
|
6463
|
+
# addresses of orders created via `test_order`.
|
6411
6464
|
# Acceptable values are:
|
6412
|
-
# - "US"
|
6413
|
-
# - "FR" Defaults to US
|
6465
|
+
# - "`US`"
|
6466
|
+
# - "`FR`" Defaults to `US`.
|
6414
6467
|
# Corresponds to the JSON property `country`
|
6415
6468
|
# @return [String]
|
6416
6469
|
attr_accessor :country
|
6417
6470
|
|
6418
|
-
# The test order template to use. Specify as an alternative to testOrder as a
|
6471
|
+
# The test order template to use. Specify as an alternative to `testOrder` as a
|
6419
6472
|
# shortcut for retrieving a template and then creating an order using that
|
6420
6473
|
# template.
|
6421
6474
|
# Acceptable values are:
|
6422
|
-
# - "template1"
|
6423
|
-
# - "template1a"
|
6424
|
-
# - "template1b"
|
6425
|
-
# - "template2"
|
6426
|
-
# - "template3"
|
6475
|
+
# - "`template1`"
|
6476
|
+
# - "`template1a`"
|
6477
|
+
# - "`template1b`"
|
6478
|
+
# - "`template2`"
|
6479
|
+
# - "`template3`"
|
6427
6480
|
# Corresponds to the JSON property `templateName`
|
6428
6481
|
# @return [String]
|
6429
6482
|
attr_accessor :template_name
|
@@ -6544,17 +6597,17 @@ module Google
|
|
6544
6597
|
# @return [Fixnum]
|
6545
6598
|
attr_accessor :batch_id
|
6546
6599
|
|
6547
|
-
# Required for cancel method.
|
6600
|
+
# Required for `cancel` method.
|
6548
6601
|
# Corresponds to the JSON property `cancel`
|
6549
6602
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancel]
|
6550
6603
|
attr_accessor :cancel
|
6551
6604
|
|
6552
|
-
# Required for cancelLineItem method.
|
6605
|
+
# Required for `cancelLineItem` method.
|
6553
6606
|
# Corresponds to the JSON property `cancelLineItem`
|
6554
6607
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem]
|
6555
6608
|
attr_accessor :cancel_line_item
|
6556
6609
|
|
6557
|
-
# Required for inStoreReturnLineItem method.
|
6610
|
+
# Required for `inStoreReturnLineItem` method.
|
6558
6611
|
# Corresponds to the JSON property `inStoreRefundLineItem`
|
6559
6612
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryInStoreRefundLineItem]
|
6560
6613
|
attr_accessor :in_store_refund_line_item
|
@@ -6564,80 +6617,80 @@ module Google
|
|
6564
6617
|
# @return [Fixnum]
|
6565
6618
|
attr_accessor :merchant_id
|
6566
6619
|
|
6567
|
-
# The merchant order ID. Required for updateMerchantOrderId and
|
6568
|
-
# getByMerchantOrderId methods.
|
6620
|
+
# The merchant order ID. Required for `updateMerchantOrderId` and `
|
6621
|
+
# getByMerchantOrderId` methods.
|
6569
6622
|
# Corresponds to the JSON property `merchantOrderId`
|
6570
6623
|
# @return [String]
|
6571
6624
|
attr_accessor :merchant_order_id
|
6572
6625
|
|
6573
6626
|
# The method of the batch entry.
|
6574
6627
|
# Acceptable values are:
|
6575
|
-
# - "acknowledge"
|
6576
|
-
# - "cancel"
|
6577
|
-
# - "cancelLineItem"
|
6578
|
-
# - "get"
|
6579
|
-
# - "getByMerchantOrderId"
|
6580
|
-
# - "inStoreRefundLineItem"
|
6581
|
-
# - "refund"
|
6582
|
-
# - "rejectReturnLineItem"
|
6583
|
-
# - "returnLineItem"
|
6584
|
-
# - "returnRefundLineItem"
|
6585
|
-
# - "setLineItemMetadata"
|
6586
|
-
# - "shipLineItems"
|
6587
|
-
# - "updateLineItemShippingDetails"
|
6588
|
-
# - "updateMerchantOrderId"
|
6589
|
-
# - "updateShipment"
|
6628
|
+
# - "`acknowledge`"
|
6629
|
+
# - "`cancel`"
|
6630
|
+
# - "`cancelLineItem`"
|
6631
|
+
# - "`get`"
|
6632
|
+
# - "`getByMerchantOrderId`"
|
6633
|
+
# - "`inStoreRefundLineItem`"
|
6634
|
+
# - "`refund`"
|
6635
|
+
# - "`rejectReturnLineItem`"
|
6636
|
+
# - "`returnLineItem`"
|
6637
|
+
# - "`returnRefundLineItem`"
|
6638
|
+
# - "`setLineItemMetadata`"
|
6639
|
+
# - "`shipLineItems`"
|
6640
|
+
# - "`updateLineItemShippingDetails`"
|
6641
|
+
# - "`updateMerchantOrderId`"
|
6642
|
+
# - "`updateShipment`"
|
6590
6643
|
# Corresponds to the JSON property `method`
|
6591
6644
|
# @return [String]
|
6592
6645
|
attr_accessor :method_prop
|
6593
6646
|
|
6594
6647
|
# The ID of the operation. Unique across all operations for a given order.
|
6595
|
-
# Required for all methods beside get and getByMerchantOrderId
|
6648
|
+
# Required for all methods beside `get` and `getByMerchantOrderId`.
|
6596
6649
|
# Corresponds to the JSON property `operationId`
|
6597
6650
|
# @return [String]
|
6598
6651
|
attr_accessor :operation_id
|
6599
6652
|
|
6600
|
-
# The ID of the order. Required for all methods beside getByMerchantOrderId
|
6653
|
+
# The ID of the order. Required for all methods beside `getByMerchantOrderId`.
|
6601
6654
|
# Corresponds to the JSON property `orderId`
|
6602
6655
|
# @return [String]
|
6603
6656
|
attr_accessor :order_id
|
6604
6657
|
|
6605
|
-
# Required for refund method.
|
6658
|
+
# Required for `refund` method.
|
6606
6659
|
# Corresponds to the JSON property `refund`
|
6607
6660
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRefund]
|
6608
6661
|
attr_accessor :refund
|
6609
6662
|
|
6610
|
-
# Required for rejectReturnLineItem method.
|
6663
|
+
# Required for `rejectReturnLineItem` method.
|
6611
6664
|
# Corresponds to the JSON property `rejectReturnLineItem`
|
6612
6665
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRejectReturnLineItem]
|
6613
6666
|
attr_accessor :reject_return_line_item
|
6614
6667
|
|
6615
|
-
# Required for returnLineItem method.
|
6668
|
+
# Required for `returnLineItem` method.
|
6616
6669
|
# Corresponds to the JSON property `returnLineItem`
|
6617
6670
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem]
|
6618
6671
|
attr_accessor :return_line_item
|
6619
6672
|
|
6620
|
-
# Required for returnRefundLineItem method.
|
6673
|
+
# Required for `returnRefundLineItem` method.
|
6621
6674
|
# Corresponds to the JSON property `returnRefundLineItem`
|
6622
6675
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnRefundLineItem]
|
6623
6676
|
attr_accessor :return_refund_line_item
|
6624
6677
|
|
6625
|
-
# Required for setLineItemMetadata method.
|
6678
|
+
# Required for `setLineItemMetadata` method.
|
6626
6679
|
# Corresponds to the JSON property `setLineItemMetadata`
|
6627
6680
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntrySetLineItemMetadata]
|
6628
6681
|
attr_accessor :set_line_item_metadata
|
6629
6682
|
|
6630
|
-
# Required for shipLineItems method.
|
6683
|
+
# Required for `shipLineItems` method.
|
6631
6684
|
# Corresponds to the JSON property `shipLineItems`
|
6632
6685
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems]
|
6633
6686
|
attr_accessor :ship_line_items
|
6634
6687
|
|
6635
|
-
# Required for updateLineItemShippingDate method.
|
6688
|
+
# Required for `updateLineItemShippingDate` method.
|
6636
6689
|
# Corresponds to the JSON property `updateLineItemShippingDetails`
|
6637
6690
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails]
|
6638
6691
|
attr_accessor :update_line_item_shipping_details
|
6639
6692
|
|
6640
|
-
# Required for updateShipment method.
|
6693
|
+
# Required for `updateShipment` method.
|
6641
6694
|
# Corresponds to the JSON property `updateShipment`
|
6642
6695
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment]
|
6643
6696
|
attr_accessor :update_shipment
|
@@ -6674,16 +6727,16 @@ module Google
|
|
6674
6727
|
|
6675
6728
|
# The reason for the cancellation.
|
6676
6729
|
# Acceptable values are:
|
6677
|
-
# - "customerInitiatedCancel"
|
6678
|
-
# - "invalidCoupon"
|
6679
|
-
# - "malformedShippingAddress"
|
6680
|
-
# - "noInventory"
|
6681
|
-
# - "other"
|
6682
|
-
# - "priceError"
|
6683
|
-
# - "shippingPriceError"
|
6684
|
-
# - "taxError"
|
6685
|
-
# - "undeliverableShippingAddress"
|
6686
|
-
# - "unsupportedPoBoxAddress"
|
6730
|
+
# - "`customerInitiatedCancel`"
|
6731
|
+
# - "`invalidCoupon`"
|
6732
|
+
# - "`malformedShippingAddress`"
|
6733
|
+
# - "`noInventory`"
|
6734
|
+
# - "`other`"
|
6735
|
+
# - "`priceError`"
|
6736
|
+
# - "`shippingPriceError`"
|
6737
|
+
# - "`taxError`"
|
6738
|
+
# - "`undeliverableShippingAddress`"
|
6739
|
+
# - "`unsupportedPoBoxAddress`"
|
6687
6740
|
# Corresponds to the JSON property `reason`
|
6688
6741
|
# @return [String]
|
6689
6742
|
attr_accessor :reason
|
@@ -6745,16 +6798,16 @@ module Google
|
|
6745
6798
|
|
6746
6799
|
# The reason for the cancellation.
|
6747
6800
|
# Acceptable values are:
|
6748
|
-
# - "customerInitiatedCancel"
|
6749
|
-
# - "invalidCoupon"
|
6750
|
-
# - "malformedShippingAddress"
|
6751
|
-
# - "noInventory"
|
6752
|
-
# - "other"
|
6753
|
-
# - "priceError"
|
6754
|
-
# - "shippingPriceError"
|
6755
|
-
# - "taxError"
|
6756
|
-
# - "undeliverableShippingAddress"
|
6757
|
-
# - "unsupportedPoBoxAddress"
|
6801
|
+
# - "`customerInitiatedCancel`"
|
6802
|
+
# - "`invalidCoupon`"
|
6803
|
+
# - "`malformedShippingAddress`"
|
6804
|
+
# - "`noInventory`"
|
6805
|
+
# - "`other`"
|
6806
|
+
# - "`priceError`"
|
6807
|
+
# - "`shippingPriceError`"
|
6808
|
+
# - "`taxError`"
|
6809
|
+
# - "`undeliverableShippingAddress`"
|
6810
|
+
# - "`unsupportedPoBoxAddress`"
|
6758
6811
|
# Corresponds to the JSON property `reason`
|
6759
6812
|
# @return [String]
|
6760
6813
|
attr_accessor :reason
|
@@ -6838,19 +6891,19 @@ module Google
|
|
6838
6891
|
|
6839
6892
|
# The reason for the return.
|
6840
6893
|
# Acceptable values are:
|
6841
|
-
# - "customerDiscretionaryReturn"
|
6842
|
-
# - "customerInitiatedMerchantCancel"
|
6843
|
-
# - "deliveredTooLate"
|
6844
|
-
# - "expiredItem"
|
6845
|
-
# - "invalidCoupon"
|
6846
|
-
# - "malformedShippingAddress"
|
6847
|
-
# - "other"
|
6848
|
-
# - "productArrivedDamaged"
|
6849
|
-
# - "productNotAsDescribed"
|
6850
|
-
# - "qualityNotAsExpected"
|
6851
|
-
# - "undeliverableShippingAddress"
|
6852
|
-
# - "unsupportedPoBoxAddress"
|
6853
|
-
# - "wrongProductShipped"
|
6894
|
+
# - "`customerDiscretionaryReturn`"
|
6895
|
+
# - "`customerInitiatedMerchantCancel`"
|
6896
|
+
# - "`deliveredTooLate`"
|
6897
|
+
# - "`expiredItem`"
|
6898
|
+
# - "`invalidCoupon`"
|
6899
|
+
# - "`malformedShippingAddress`"
|
6900
|
+
# - "`other`"
|
6901
|
+
# - "`productArrivedDamaged`"
|
6902
|
+
# - "`productNotAsDescribed`"
|
6903
|
+
# - "`qualityNotAsExpected`"
|
6904
|
+
# - "`undeliverableShippingAddress`"
|
6905
|
+
# - "`unsupportedPoBoxAddress`"
|
6906
|
+
# - "`wrongProductShipped`"
|
6854
6907
|
# Corresponds to the JSON property `reason`
|
6855
6908
|
# @return [String]
|
6856
6909
|
attr_accessor :reason
|
@@ -6898,22 +6951,22 @@ module Google
|
|
6898
6951
|
|
6899
6952
|
# The reason for the refund.
|
6900
6953
|
# Acceptable values are:
|
6901
|
-
# - "adjustment"
|
6902
|
-
# - "courtesyAdjustment"
|
6903
|
-
# - "customerCanceled"
|
6904
|
-
# - "customerDiscretionaryReturn"
|
6905
|
-
# - "deliveredLateByCarrier"
|
6906
|
-
# - "feeAdjustment"
|
6907
|
-
# - "lateShipmentCredit"
|
6908
|
-
# - "noInventory"
|
6909
|
-
# - "other"
|
6910
|
-
# - "priceError"
|
6911
|
-
# - "productArrivedDamaged"
|
6912
|
-
# - "productNotAsDescribed"
|
6913
|
-
# - "shippingCostAdjustment"
|
6914
|
-
# - "taxAdjustment"
|
6915
|
-
# - "undeliverableShippingAddress"
|
6916
|
-
# - "wrongProductShipped"
|
6954
|
+
# - "`adjustment`"
|
6955
|
+
# - "`courtesyAdjustment`"
|
6956
|
+
# - "`customerCanceled`"
|
6957
|
+
# - "`customerDiscretionaryReturn`"
|
6958
|
+
# - "`deliveredLateByCarrier`"
|
6959
|
+
# - "`feeAdjustment`"
|
6960
|
+
# - "`lateShipmentCredit`"
|
6961
|
+
# - "`noInventory`"
|
6962
|
+
# - "`other`"
|
6963
|
+
# - "`priceError`"
|
6964
|
+
# - "`productArrivedDamaged`"
|
6965
|
+
# - "`productNotAsDescribed`"
|
6966
|
+
# - "`shippingCostAdjustment`"
|
6967
|
+
# - "`taxAdjustment`"
|
6968
|
+
# - "`undeliverableShippingAddress`"
|
6969
|
+
# - "`wrongProductShipped`"
|
6917
6970
|
# Corresponds to the JSON property `reason`
|
6918
6971
|
# @return [String]
|
6919
6972
|
attr_accessor :reason
|
@@ -6959,11 +7012,11 @@ module Google
|
|
6959
7012
|
|
6960
7013
|
# The reason for the return.
|
6961
7014
|
# Acceptable values are:
|
6962
|
-
# - "damagedOrUsed"
|
6963
|
-
# - "missingComponent"
|
6964
|
-
# - "notEligible"
|
6965
|
-
# - "other"
|
6966
|
-
# - "outOfReturnWindow"
|
7015
|
+
# - "`damagedOrUsed`"
|
7016
|
+
# - "`missingComponent`"
|
7017
|
+
# - "`notEligible`"
|
7018
|
+
# - "`other`"
|
7019
|
+
# - "`outOfReturnWindow`"
|
6967
7020
|
# Corresponds to the JSON property `reason`
|
6968
7021
|
# @return [String]
|
6969
7022
|
attr_accessor :reason
|
@@ -7009,19 +7062,19 @@ module Google
|
|
7009
7062
|
|
7010
7063
|
# The reason for the return.
|
7011
7064
|
# Acceptable values are:
|
7012
|
-
# - "customerDiscretionaryReturn"
|
7013
|
-
# - "customerInitiatedMerchantCancel"
|
7014
|
-
# - "deliveredTooLate"
|
7015
|
-
# - "expiredItem"
|
7016
|
-
# - "invalidCoupon"
|
7017
|
-
# - "malformedShippingAddress"
|
7018
|
-
# - "other"
|
7019
|
-
# - "productArrivedDamaged"
|
7020
|
-
# - "productNotAsDescribed"
|
7021
|
-
# - "qualityNotAsExpected"
|
7022
|
-
# - "undeliverableShippingAddress"
|
7023
|
-
# - "unsupportedPoBoxAddress"
|
7024
|
-
# - "wrongProductShipped"
|
7065
|
+
# - "`customerDiscretionaryReturn`"
|
7066
|
+
# - "`customerInitiatedMerchantCancel`"
|
7067
|
+
# - "`deliveredTooLate`"
|
7068
|
+
# - "`expiredItem`"
|
7069
|
+
# - "`invalidCoupon`"
|
7070
|
+
# - "`malformedShippingAddress`"
|
7071
|
+
# - "`other`"
|
7072
|
+
# - "`productArrivedDamaged`"
|
7073
|
+
# - "`productNotAsDescribed`"
|
7074
|
+
# - "`qualityNotAsExpected`"
|
7075
|
+
# - "`undeliverableShippingAddress`"
|
7076
|
+
# - "`unsupportedPoBoxAddress`"
|
7077
|
+
# - "`wrongProductShipped`"
|
7025
7078
|
# Corresponds to the JSON property `reason`
|
7026
7079
|
# @return [String]
|
7027
7080
|
attr_accessor :reason
|
@@ -7080,19 +7133,19 @@ module Google
|
|
7080
7133
|
|
7081
7134
|
# The reason for the return.
|
7082
7135
|
# Acceptable values are:
|
7083
|
-
# - "customerDiscretionaryReturn"
|
7084
|
-
# - "customerInitiatedMerchantCancel"
|
7085
|
-
# - "deliveredTooLate"
|
7086
|
-
# - "expiredItem"
|
7087
|
-
# - "invalidCoupon"
|
7088
|
-
# - "malformedShippingAddress"
|
7089
|
-
# - "other"
|
7090
|
-
# - "productArrivedDamaged"
|
7091
|
-
# - "productNotAsDescribed"
|
7092
|
-
# - "qualityNotAsExpected"
|
7093
|
-
# - "undeliverableShippingAddress"
|
7094
|
-
# - "unsupportedPoBoxAddress"
|
7095
|
-
# - "wrongProductShipped"
|
7136
|
+
# - "`customerDiscretionaryReturn`"
|
7137
|
+
# - "`customerInitiatedMerchantCancel`"
|
7138
|
+
# - "`deliveredTooLate`"
|
7139
|
+
# - "`expiredItem`"
|
7140
|
+
# - "`invalidCoupon`"
|
7141
|
+
# - "`malformedShippingAddress`"
|
7142
|
+
# - "`other`"
|
7143
|
+
# - "`productArrivedDamaged`"
|
7144
|
+
# - "`productNotAsDescribed`"
|
7145
|
+
# - "`qualityNotAsExpected`"
|
7146
|
+
# - "`undeliverableShippingAddress`"
|
7147
|
+
# - "`unsupportedPoBoxAddress`"
|
7148
|
+
# - "`wrongProductShipped`"
|
7096
7149
|
# Corresponds to the JSON property `reason`
|
7097
7150
|
# @return [String]
|
7098
7151
|
attr_accessor :reason
|
@@ -7156,8 +7209,8 @@ module Google
|
|
7156
7209
|
include Google::Apis::Core::Hashable
|
7157
7210
|
|
7158
7211
|
# Deprecated. Please use shipmentInfo instead. The carrier handling the shipment.
|
7159
|
-
# See shipments[].carrier in the Orders resource representation for a list
|
7160
|
-
# acceptable values.
|
7212
|
+
# See `shipments[].carrier` in the Orders resource representation for a list
|
7213
|
+
# of acceptable values.
|
7161
7214
|
# Corresponds to the JSON property `carrier`
|
7162
7215
|
# @return [String]
|
7163
7216
|
attr_accessor :carrier
|
@@ -7208,7 +7261,7 @@ module Google
|
|
7208
7261
|
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
7209
7262
|
include Google::Apis::Core::Hashable
|
7210
7263
|
|
7211
|
-
# The carrier handling the shipment. See shipments[].carrier in the Orders
|
7264
|
+
# The carrier handling the shipment. See `shipments[].carrier` in the Orders
|
7212
7265
|
# resource representation for a list of acceptable values.
|
7213
7266
|
# Corresponds to the JSON property `carrier`
|
7214
7267
|
# @return [String]
|
@@ -7286,14 +7339,15 @@ module Google
|
|
7286
7339
|
class OrdersCustomBatchRequestEntryUpdateShipment
|
7287
7340
|
include Google::Apis::Core::Hashable
|
7288
7341
|
|
7289
|
-
# The carrier handling the shipment. Not updated if missing. See shipments[].
|
7290
|
-
# carrier in the Orders resource representation for a list of acceptable
|
7342
|
+
# The carrier handling the shipment. Not updated if missing. See `shipments[].
|
7343
|
+
# carrier` in the Orders resource representation for a list of acceptable
|
7344
|
+
# values.
|
7291
7345
|
# Corresponds to the JSON property `carrier`
|
7292
7346
|
# @return [String]
|
7293
7347
|
attr_accessor :carrier
|
7294
7348
|
|
7295
7349
|
# Date on which the shipment has been delivered, in ISO 8601 format. Optional
|
7296
|
-
# and can be provided only if status is delivered
|
7350
|
+
# and can be provided only if `status` is `delivered`.
|
7297
7351
|
# Corresponds to the JSON property `deliveryDate`
|
7298
7352
|
# @return [String]
|
7299
7353
|
attr_accessor :delivery_date
|
@@ -7305,8 +7359,8 @@ module Google
|
|
7305
7359
|
|
7306
7360
|
# New status for the shipment. Not updated if missing.
|
7307
7361
|
# Acceptable values are:
|
7308
|
-
# - "delivered"
|
7309
|
-
# - "undeliverable"
|
7362
|
+
# - "`delivered`"
|
7363
|
+
# - "`undeliverable`"
|
7310
7364
|
# Corresponds to the JSON property `status`
|
7311
7365
|
# @return [String]
|
7312
7366
|
attr_accessor :status
|
@@ -7372,22 +7426,24 @@ module Google
|
|
7372
7426
|
|
7373
7427
|
# The status of the execution. Only defined if
|
7374
7428
|
# - the request was successful; and
|
7375
|
-
# - the method is not get
|
7429
|
+
# - the method is not `get`, `getByMerchantOrderId`, or one of the test methods.
|
7430
|
+
#
|
7376
7431
|
# Acceptable values are:
|
7377
|
-
# - "duplicate"
|
7378
|
-
# - "executed"
|
7432
|
+
# - "`duplicate`"
|
7433
|
+
# - "`executed`"
|
7379
7434
|
# Corresponds to the JSON property `executionStatus`
|
7380
7435
|
# @return [String]
|
7381
7436
|
attr_accessor :execution_status
|
7382
7437
|
|
7383
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7384
|
-
# ordersCustomBatchResponseEntry"
|
7438
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7439
|
+
# ordersCustomBatchResponseEntry`"
|
7385
7440
|
# Corresponds to the JSON property `kind`
|
7386
7441
|
# @return [String]
|
7387
7442
|
attr_accessor :kind
|
7388
7443
|
|
7389
7444
|
# Order. Production access (all methods) requires the order manager role.
|
7390
|
-
# Sandbox access does not.
|
7445
|
+
# Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.
|
7446
|
+
# orders ==)
|
7391
7447
|
# Corresponds to the JSON property `order`
|
7392
7448
|
# @return [Google::Apis::ContentV2::Order]
|
7393
7449
|
attr_accessor :order
|
@@ -7417,7 +7473,8 @@ module Google
|
|
7417
7473
|
attr_accessor :kind
|
7418
7474
|
|
7419
7475
|
# Order. Production access (all methods) requires the order manager role.
|
7420
|
-
# Sandbox access does not.
|
7476
|
+
# Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.
|
7477
|
+
# orders ==)
|
7421
7478
|
# Corresponds to the JSON property `order`
|
7422
7479
|
# @return [Google::Apis::ContentV2::Order]
|
7423
7480
|
attr_accessor :order
|
@@ -7496,19 +7553,19 @@ module Google
|
|
7496
7553
|
|
7497
7554
|
# The reason for the return.
|
7498
7555
|
# Acceptable values are:
|
7499
|
-
# - "customerDiscretionaryReturn"
|
7500
|
-
# - "customerInitiatedMerchantCancel"
|
7501
|
-
# - "deliveredTooLate"
|
7502
|
-
# - "expiredItem"
|
7503
|
-
# - "invalidCoupon"
|
7504
|
-
# - "malformedShippingAddress"
|
7505
|
-
# - "other"
|
7506
|
-
# - "productArrivedDamaged"
|
7507
|
-
# - "productNotAsDescribed"
|
7508
|
-
# - "qualityNotAsExpected"
|
7509
|
-
# - "undeliverableShippingAddress"
|
7510
|
-
# - "unsupportedPoBoxAddress"
|
7511
|
-
# - "wrongProductShipped"
|
7556
|
+
# - "`customerDiscretionaryReturn`"
|
7557
|
+
# - "`customerInitiatedMerchantCancel`"
|
7558
|
+
# - "`deliveredTooLate`"
|
7559
|
+
# - "`expiredItem`"
|
7560
|
+
# - "`invalidCoupon`"
|
7561
|
+
# - "`malformedShippingAddress`"
|
7562
|
+
# - "`other`"
|
7563
|
+
# - "`productArrivedDamaged`"
|
7564
|
+
# - "`productNotAsDescribed`"
|
7565
|
+
# - "`qualityNotAsExpected`"
|
7566
|
+
# - "`undeliverableShippingAddress`"
|
7567
|
+
# - "`unsupportedPoBoxAddress`"
|
7568
|
+
# - "`wrongProductShipped`"
|
7512
7569
|
# Corresponds to the JSON property `reason`
|
7513
7570
|
# @return [String]
|
7514
7571
|
attr_accessor :reason
|
@@ -7541,8 +7598,8 @@ module Google
|
|
7541
7598
|
|
7542
7599
|
# The status of the execution.
|
7543
7600
|
# Acceptable values are:
|
7544
|
-
# - "duplicate"
|
7545
|
-
# - "executed"
|
7601
|
+
# - "`duplicate`"
|
7602
|
+
# - "`executed`"
|
7546
7603
|
# Corresponds to the JSON property `executionStatus`
|
7547
7604
|
# @return [String]
|
7548
7605
|
attr_accessor :execution_status
|
@@ -7623,22 +7680,22 @@ module Google
|
|
7623
7680
|
|
7624
7681
|
# The reason for the refund.
|
7625
7682
|
# Acceptable values are:
|
7626
|
-
# - "adjustment"
|
7627
|
-
# - "courtesyAdjustment"
|
7628
|
-
# - "customerCanceled"
|
7629
|
-
# - "customerDiscretionaryReturn"
|
7630
|
-
# - "deliveredLateByCarrier"
|
7631
|
-
# - "feeAdjustment"
|
7632
|
-
# - "lateShipmentCredit"
|
7633
|
-
# - "noInventory"
|
7634
|
-
# - "other"
|
7635
|
-
# - "priceError"
|
7636
|
-
# - "productArrivedDamaged"
|
7637
|
-
# - "productNotAsDescribed"
|
7638
|
-
# - "shippingCostAdjustment"
|
7639
|
-
# - "taxAdjustment"
|
7640
|
-
# - "undeliverableShippingAddress"
|
7641
|
-
# - "wrongProductShipped"
|
7683
|
+
# - "`adjustment`"
|
7684
|
+
# - "`courtesyAdjustment`"
|
7685
|
+
# - "`customerCanceled`"
|
7686
|
+
# - "`customerDiscretionaryReturn`"
|
7687
|
+
# - "`deliveredLateByCarrier`"
|
7688
|
+
# - "`feeAdjustment`"
|
7689
|
+
# - "`lateShipmentCredit`"
|
7690
|
+
# - "`noInventory`"
|
7691
|
+
# - "`other`"
|
7692
|
+
# - "`priceError`"
|
7693
|
+
# - "`productArrivedDamaged`"
|
7694
|
+
# - "`productNotAsDescribed`"
|
7695
|
+
# - "`shippingCostAdjustment`"
|
7696
|
+
# - "`taxAdjustment`"
|
7697
|
+
# - "`undeliverableShippingAddress`"
|
7698
|
+
# - "`wrongProductShipped`"
|
7642
7699
|
# Corresponds to the JSON property `reason`
|
7643
7700
|
# @return [String]
|
7644
7701
|
attr_accessor :reason
|
@@ -7669,8 +7726,8 @@ module Google
|
|
7669
7726
|
|
7670
7727
|
# The status of the execution.
|
7671
7728
|
# Acceptable values are:
|
7672
|
-
# - "duplicate"
|
7673
|
-
# - "executed"
|
7729
|
+
# - "`duplicate`"
|
7730
|
+
# - "`executed`"
|
7674
7731
|
# Corresponds to the JSON property `executionStatus`
|
7675
7732
|
# @return [String]
|
7676
7733
|
attr_accessor :execution_status
|
@@ -7719,11 +7776,11 @@ module Google
|
|
7719
7776
|
|
7720
7777
|
# The reason for the return.
|
7721
7778
|
# Acceptable values are:
|
7722
|
-
# - "damagedOrUsed"
|
7723
|
-
# - "missingComponent"
|
7724
|
-
# - "notEligible"
|
7725
|
-
# - "other"
|
7726
|
-
# - "outOfReturnWindow"
|
7779
|
+
# - "`damagedOrUsed`"
|
7780
|
+
# - "`missingComponent`"
|
7781
|
+
# - "`notEligible`"
|
7782
|
+
# - "`other`"
|
7783
|
+
# - "`outOfReturnWindow`"
|
7727
7784
|
# Corresponds to the JSON property `reason`
|
7728
7785
|
# @return [String]
|
7729
7786
|
attr_accessor :reason
|
@@ -7754,8 +7811,8 @@ module Google
|
|
7754
7811
|
|
7755
7812
|
# The status of the execution.
|
7756
7813
|
# Acceptable values are:
|
7757
|
-
# - "duplicate"
|
7758
|
-
# - "executed"
|
7814
|
+
# - "`duplicate`"
|
7815
|
+
# - "`executed`"
|
7759
7816
|
# Corresponds to the JSON property `executionStatus`
|
7760
7817
|
# @return [String]
|
7761
7818
|
attr_accessor :execution_status
|
@@ -7804,19 +7861,19 @@ module Google
|
|
7804
7861
|
|
7805
7862
|
# The reason for the return.
|
7806
7863
|
# Acceptable values are:
|
7807
|
-
# - "customerDiscretionaryReturn"
|
7808
|
-
# - "customerInitiatedMerchantCancel"
|
7809
|
-
# - "deliveredTooLate"
|
7810
|
-
# - "expiredItem"
|
7811
|
-
# - "invalidCoupon"
|
7812
|
-
# - "malformedShippingAddress"
|
7813
|
-
# - "other"
|
7814
|
-
# - "productArrivedDamaged"
|
7815
|
-
# - "productNotAsDescribed"
|
7816
|
-
# - "qualityNotAsExpected"
|
7817
|
-
# - "undeliverableShippingAddress"
|
7818
|
-
# - "unsupportedPoBoxAddress"
|
7819
|
-
# - "wrongProductShipped"
|
7864
|
+
# - "`customerDiscretionaryReturn`"
|
7865
|
+
# - "`customerInitiatedMerchantCancel`"
|
7866
|
+
# - "`deliveredTooLate`"
|
7867
|
+
# - "`expiredItem`"
|
7868
|
+
# - "`invalidCoupon`"
|
7869
|
+
# - "`malformedShippingAddress`"
|
7870
|
+
# - "`other`"
|
7871
|
+
# - "`productArrivedDamaged`"
|
7872
|
+
# - "`productNotAsDescribed`"
|
7873
|
+
# - "`qualityNotAsExpected`"
|
7874
|
+
# - "`undeliverableShippingAddress`"
|
7875
|
+
# - "`unsupportedPoBoxAddress`"
|
7876
|
+
# - "`wrongProductShipped`"
|
7820
7877
|
# Corresponds to the JSON property `reason`
|
7821
7878
|
# @return [String]
|
7822
7879
|
attr_accessor :reason
|
@@ -7847,8 +7904,8 @@ module Google
|
|
7847
7904
|
|
7848
7905
|
# The status of the execution.
|
7849
7906
|
# Acceptable values are:
|
7850
|
-
# - "duplicate"
|
7851
|
-
# - "executed"
|
7907
|
+
# - "`duplicate`"
|
7908
|
+
# - "`executed`"
|
7852
7909
|
# Corresponds to the JSON property `executionStatus`
|
7853
7910
|
# @return [String]
|
7854
7911
|
attr_accessor :execution_status
|
@@ -7910,19 +7967,19 @@ module Google
|
|
7910
7967
|
|
7911
7968
|
# The reason for the return.
|
7912
7969
|
# Acceptable values are:
|
7913
|
-
# - "customerDiscretionaryReturn"
|
7914
|
-
# - "customerInitiatedMerchantCancel"
|
7915
|
-
# - "deliveredTooLate"
|
7916
|
-
# - "expiredItem"
|
7917
|
-
# - "invalidCoupon"
|
7918
|
-
# - "malformedShippingAddress"
|
7919
|
-
# - "other"
|
7920
|
-
# - "productArrivedDamaged"
|
7921
|
-
# - "productNotAsDescribed"
|
7922
|
-
# - "qualityNotAsExpected"
|
7923
|
-
# - "undeliverableShippingAddress"
|
7924
|
-
# - "unsupportedPoBoxAddress"
|
7925
|
-
# - "wrongProductShipped"
|
7970
|
+
# - "`customerDiscretionaryReturn`"
|
7971
|
+
# - "`customerInitiatedMerchantCancel`"
|
7972
|
+
# - "`deliveredTooLate`"
|
7973
|
+
# - "`expiredItem`"
|
7974
|
+
# - "`invalidCoupon`"
|
7975
|
+
# - "`malformedShippingAddress`"
|
7976
|
+
# - "`other`"
|
7977
|
+
# - "`productArrivedDamaged`"
|
7978
|
+
# - "`productNotAsDescribed`"
|
7979
|
+
# - "`qualityNotAsExpected`"
|
7980
|
+
# - "`undeliverableShippingAddress`"
|
7981
|
+
# - "`unsupportedPoBoxAddress`"
|
7982
|
+
# - "`wrongProductShipped`"
|
7926
7983
|
# Corresponds to the JSON property `reason`
|
7927
7984
|
# @return [String]
|
7928
7985
|
attr_accessor :reason
|
@@ -7955,8 +8012,8 @@ module Google
|
|
7955
8012
|
|
7956
8013
|
# The status of the execution.
|
7957
8014
|
# Acceptable values are:
|
7958
|
-
# - "duplicate"
|
7959
|
-
# - "executed"
|
8015
|
+
# - "`duplicate`"
|
8016
|
+
# - "`executed`"
|
7960
8017
|
# Corresponds to the JSON property `executionStatus`
|
7961
8018
|
# @return [String]
|
7962
8019
|
attr_accessor :execution_status
|
@@ -8023,8 +8080,8 @@ module Google
|
|
8023
8080
|
|
8024
8081
|
# The status of the execution.
|
8025
8082
|
# Acceptable values are:
|
8026
|
-
# - "duplicate"
|
8027
|
-
# - "executed"
|
8083
|
+
# - "`duplicate`"
|
8084
|
+
# - "`executed`"
|
8028
8085
|
# Corresponds to the JSON property `executionStatus`
|
8029
8086
|
# @return [String]
|
8030
8087
|
attr_accessor :execution_status
|
@@ -8051,8 +8108,8 @@ module Google
|
|
8051
8108
|
include Google::Apis::Core::Hashable
|
8052
8109
|
|
8053
8110
|
# Deprecated. Please use shipmentInfo instead. The carrier handling the shipment.
|
8054
|
-
# See shipments[].carrier in the Orders resource representation for a list
|
8055
|
-
# acceptable values.
|
8111
|
+
# See `shipments[].carrier` in the Orders resource representation for a list
|
8112
|
+
# of acceptable values.
|
8056
8113
|
# Corresponds to the JSON property `carrier`
|
8057
8114
|
# @return [String]
|
8058
8115
|
attr_accessor :carrier
|
@@ -8111,8 +8168,8 @@ module Google
|
|
8111
8168
|
|
8112
8169
|
# The status of the execution.
|
8113
8170
|
# Acceptable values are:
|
8114
|
-
# - "duplicate"
|
8115
|
-
# - "executed"
|
8171
|
+
# - "`duplicate`"
|
8172
|
+
# - "`executed`"
|
8116
8173
|
# Corresponds to the JSON property `executionStatus`
|
8117
8174
|
# @return [String]
|
8118
8175
|
attr_accessor :execution_status
|
@@ -8191,8 +8248,8 @@ module Google
|
|
8191
8248
|
|
8192
8249
|
# The status of the execution.
|
8193
8250
|
# Acceptable values are:
|
8194
|
-
# - "duplicate"
|
8195
|
-
# - "executed"
|
8251
|
+
# - "`duplicate`"
|
8252
|
+
# - "`executed`"
|
8196
8253
|
# Corresponds to the JSON property `executionStatus`
|
8197
8254
|
# @return [String]
|
8198
8255
|
attr_accessor :execution_status
|
@@ -8245,8 +8302,8 @@ module Google
|
|
8245
8302
|
|
8246
8303
|
# The status of the execution.
|
8247
8304
|
# Acceptable values are:
|
8248
|
-
# - "duplicate"
|
8249
|
-
# - "executed"
|
8305
|
+
# - "`duplicate`"
|
8306
|
+
# - "`executed`"
|
8250
8307
|
# Corresponds to the JSON property `executionStatus`
|
8251
8308
|
# @return [String]
|
8252
8309
|
attr_accessor :execution_status
|
@@ -8272,14 +8329,15 @@ module Google
|
|
8272
8329
|
class OrdersUpdateShipmentRequest
|
8273
8330
|
include Google::Apis::Core::Hashable
|
8274
8331
|
|
8275
|
-
# The carrier handling the shipment. Not updated if missing. See shipments[].
|
8276
|
-
# carrier in the Orders resource representation for a list of acceptable
|
8332
|
+
# The carrier handling the shipment. Not updated if missing. See `shipments[].
|
8333
|
+
# carrier` in the Orders resource representation for a list of acceptable
|
8334
|
+
# values.
|
8277
8335
|
# Corresponds to the JSON property `carrier`
|
8278
8336
|
# @return [String]
|
8279
8337
|
attr_accessor :carrier
|
8280
8338
|
|
8281
8339
|
# Date on which the shipment has been delivered, in ISO 8601 format. Optional
|
8282
|
-
# and can be provided only if status is delivered
|
8340
|
+
# and can be provided only if `status` is `delivered`.
|
8283
8341
|
# Corresponds to the JSON property `deliveryDate`
|
8284
8342
|
# @return [String]
|
8285
8343
|
attr_accessor :delivery_date
|
@@ -8296,8 +8354,8 @@ module Google
|
|
8296
8354
|
|
8297
8355
|
# New status for the shipment. Not updated if missing.
|
8298
8356
|
# Acceptable values are:
|
8299
|
-
# - "delivered"
|
8300
|
-
# - "undeliverable"
|
8357
|
+
# - "`delivered`"
|
8358
|
+
# - "`undeliverable`"
|
8301
8359
|
# Corresponds to the JSON property `status`
|
8302
8360
|
# @return [String]
|
8303
8361
|
attr_accessor :status
|
@@ -8328,8 +8386,8 @@ module Google
|
|
8328
8386
|
|
8329
8387
|
# The status of the execution.
|
8330
8388
|
# Acceptable values are:
|
8331
|
-
# - "duplicate"
|
8332
|
-
# - "executed"
|
8389
|
+
# - "`duplicate`"
|
8390
|
+
# - "`executed`"
|
8333
8391
|
# Corresponds to the JSON property `executionStatus`
|
8334
8392
|
# @return [String]
|
8335
8393
|
attr_accessor :execution_status
|
@@ -8355,12 +8413,12 @@ module Google
|
|
8355
8413
|
class PickupCarrierService
|
8356
8414
|
include Google::Apis::Core::Hashable
|
8357
8415
|
|
8358
|
-
# The name of the pickup carrier (e.g., "UPS"). Required.
|
8416
|
+
# The name of the pickup carrier (e.g., `"UPS"`). Required.
|
8359
8417
|
# Corresponds to the JSON property `carrierName`
|
8360
8418
|
# @return [String]
|
8361
8419
|
attr_accessor :carrier_name
|
8362
8420
|
|
8363
|
-
# The name of the pickup service (e.g., "Access point"). Required.
|
8421
|
+
# The name of the pickup service (e.g., `"Access point"`). Required.
|
8364
8422
|
# Corresponds to the JSON property `serviceName`
|
8365
8423
|
# @return [String]
|
8366
8424
|
attr_accessor :service_name
|
@@ -8380,7 +8438,7 @@ module Google
|
|
8380
8438
|
class PickupServicesPickupService
|
8381
8439
|
include Google::Apis::Core::Hashable
|
8382
8440
|
|
8383
|
-
# The name of the carrier (e.g., "UPS"). Always present.
|
8441
|
+
# The name of the carrier (e.g., `"UPS"`). Always present.
|
8384
8442
|
# Corresponds to the JSON property `carrierName`
|
8385
8443
|
# @return [String]
|
8386
8444
|
attr_accessor :carrier_name
|
@@ -8390,7 +8448,7 @@ module Google
|
|
8390
8448
|
# @return [String]
|
8391
8449
|
attr_accessor :country
|
8392
8450
|
|
8393
|
-
# The name of the pickup service (e.g., "Access point"). Always present.
|
8451
|
+
# The name of the pickup service (e.g., `"Access point"`). Always present.
|
8394
8452
|
# Corresponds to the JSON property `serviceName`
|
8395
8453
|
# @return [String]
|
8396
8454
|
attr_accessor :service_name
|
@@ -8447,11 +8505,11 @@ module Google
|
|
8447
8505
|
|
8448
8506
|
# The method of the batch entry.
|
8449
8507
|
# Acceptable values are:
|
8450
|
-
# - "delete"
|
8451
|
-
# - "get"
|
8452
|
-
# - "insert"
|
8453
|
-
# - "inventory"
|
8454
|
-
# - "sale"
|
8508
|
+
# - "`delete`"
|
8509
|
+
# - "`get`"
|
8510
|
+
# - "`insert`"
|
8511
|
+
# - "`inventory`"
|
8512
|
+
# - "`sale`"
|
8455
8513
|
# Corresponds to the JSON property `method`
|
8456
8514
|
# @return [String]
|
8457
8515
|
attr_accessor :method_prop
|
@@ -8466,7 +8524,7 @@ module Google
|
|
8466
8524
|
# @return [Google::Apis::ContentV2::PosStore]
|
8467
8525
|
attr_accessor :store
|
8468
8526
|
|
8469
|
-
# The store code. Set this only if the method is delete or get
|
8527
|
+
# The store code. Set this only if the method is `delete` or `get`.
|
8470
8528
|
# Corresponds to the JSON property `storeCode`
|
8471
8529
|
# @return [String]
|
8472
8530
|
attr_accessor :store_code
|
@@ -8538,8 +8596,8 @@ module Google
|
|
8538
8596
|
# @return [Google::Apis::ContentV2::PosInventory]
|
8539
8597
|
attr_accessor :inventory
|
8540
8598
|
|
8541
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8542
|
-
# posCustomBatchResponseEntry"
|
8599
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8600
|
+
# posCustomBatchResponseEntry`"
|
8543
8601
|
# Corresponds to the JSON property `kind`
|
8544
8602
|
# @return [String]
|
8545
8603
|
attr_accessor :kind
|
@@ -8644,8 +8702,8 @@ module Google
|
|
8644
8702
|
# @return [String]
|
8645
8703
|
attr_accessor :item_id
|
8646
8704
|
|
8647
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8648
|
-
# posInventory"
|
8705
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8706
|
+
# posInventory`"
|
8649
8707
|
# Corresponds to the JSON property `kind`
|
8650
8708
|
# @return [String]
|
8651
8709
|
attr_accessor :kind
|
@@ -8660,8 +8718,8 @@ module Google
|
|
8660
8718
|
# @return [Fixnum]
|
8661
8719
|
attr_accessor :quantity
|
8662
8720
|
|
8663
|
-
# Required. The identifier of the merchant's store. Either a storeCode
|
8664
|
-
# via the API or the code of the store in Google My Business.
|
8721
|
+
# Required. The identifier of the merchant's store. Either a `storeCode`
|
8722
|
+
# inserted via the API or the code of the store in Google My Business.
|
8665
8723
|
# Corresponds to the JSON property `storeCode`
|
8666
8724
|
# @return [String]
|
8667
8725
|
attr_accessor :store_code
|
@@ -8723,8 +8781,8 @@ module Google
|
|
8723
8781
|
# @return [Fixnum]
|
8724
8782
|
attr_accessor :quantity
|
8725
8783
|
|
8726
|
-
# Required. The identifier of the merchant's store. Either a storeCode
|
8727
|
-
# via the API or the code of the store in Google My Business.
|
8784
|
+
# Required. The identifier of the merchant's store. Either a `storeCode`
|
8785
|
+
# inserted via the API or the code of the store in Google My Business.
|
8728
8786
|
# Corresponds to the JSON property `storeCode`
|
8729
8787
|
# @return [String]
|
8730
8788
|
attr_accessor :store_code
|
@@ -8791,8 +8849,8 @@ module Google
|
|
8791
8849
|
# @return [Fixnum]
|
8792
8850
|
attr_accessor :quantity
|
8793
8851
|
|
8794
|
-
# Required. The identifier of the merchant's store. Either a storeCode
|
8795
|
-
# via the API or the code of the store in Google My Business.
|
8852
|
+
# Required. The identifier of the merchant's store. Either a `storeCode`
|
8853
|
+
# inserted via the API or the code of the store in Google My Business.
|
8796
8854
|
# Corresponds to the JSON property `storeCode`
|
8797
8855
|
# @return [String]
|
8798
8856
|
attr_accessor :store_code
|
@@ -8870,8 +8928,8 @@ module Google
|
|
8870
8928
|
# @return [String]
|
8871
8929
|
attr_accessor :item_id
|
8872
8930
|
|
8873
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8874
|
-
# posSale"
|
8931
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8932
|
+
# posSale`"
|
8875
8933
|
# Corresponds to the JSON property `kind`
|
8876
8934
|
# @return [String]
|
8877
8935
|
attr_accessor :kind
|
@@ -8892,8 +8950,8 @@ module Google
|
|
8892
8950
|
# @return [String]
|
8893
8951
|
attr_accessor :sale_id
|
8894
8952
|
|
8895
|
-
# Required. The identifier of the merchant's store. Either a storeCode
|
8896
|
-
# via the API or the code of the store in Google My Business.
|
8953
|
+
# Required. The identifier of the merchant's store. Either a `storeCode`
|
8954
|
+
# inserted via the API or the code of the store in Google My Business.
|
8897
8955
|
# Corresponds to the JSON property `storeCode`
|
8898
8956
|
# @return [String]
|
8899
8957
|
attr_accessor :store_code
|
@@ -8962,8 +9020,8 @@ module Google
|
|
8962
9020
|
# @return [String]
|
8963
9021
|
attr_accessor :sale_id
|
8964
9022
|
|
8965
|
-
# Required. The identifier of the merchant's store. Either a storeCode
|
8966
|
-
# via the API or the code of the store in Google My Business.
|
9023
|
+
# Required. The identifier of the merchant's store. Either a `storeCode`
|
9024
|
+
# inserted via the API or the code of the store in Google My Business.
|
8967
9025
|
# Corresponds to the JSON property `storeCode`
|
8968
9026
|
# @return [String]
|
8969
9027
|
attr_accessor :store_code
|
@@ -9037,8 +9095,8 @@ module Google
|
|
9037
9095
|
# @return [String]
|
9038
9096
|
attr_accessor :sale_id
|
9039
9097
|
|
9040
|
-
# Required. The identifier of the merchant's store. Either a storeCode
|
9041
|
-
# via the API or the code of the store in Google My Business.
|
9098
|
+
# Required. The identifier of the merchant's store. Either a `storeCode`
|
9099
|
+
# inserted via the API or the code of the store in Google My Business.
|
9042
9100
|
# Corresponds to the JSON property `storeCode`
|
9043
9101
|
# @return [String]
|
9044
9102
|
attr_accessor :store_code
|
@@ -9076,8 +9134,8 @@ module Google
|
|
9076
9134
|
class PosStore
|
9077
9135
|
include Google::Apis::Core::Hashable
|
9078
9136
|
|
9079
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
9080
|
-
# posStore"
|
9137
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
9138
|
+
# posStore`"
|
9081
9139
|
# Corresponds to the JSON property `kind`
|
9082
9140
|
# @return [String]
|
9083
9141
|
attr_accessor :kind
|
@@ -9140,20 +9198,20 @@ module Google
|
|
9140
9198
|
class PostalCodeRange
|
9141
9199
|
include Google::Apis::Core::Hashable
|
9142
9200
|
|
9143
|
-
# A postal code or a pattern of the form prefix
|
9144
|
-
# bound of the range defining the area. Examples values: "94108"
|
9145
|
-
# Required.
|
9201
|
+
# A postal code or a pattern of the form `prefix*` denoting the inclusive lower
|
9202
|
+
# bound of the range defining the area. Examples values: `"94108"`, `"9410*"`, `"
|
9203
|
+
# 9*"`. Required.
|
9146
9204
|
# Corresponds to the JSON property `postalCodeRangeBegin`
|
9147
9205
|
# @return [String]
|
9148
9206
|
attr_accessor :postal_code_range_begin
|
9149
9207
|
|
9150
|
-
# A postal code or a pattern of the form prefix
|
9151
|
-
# bound of the range defining the area. It must have the same length as
|
9152
|
-
# postalCodeRangeBegin
|
9153
|
-
# postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a
|
9154
|
-
# pattern then postalCodeRangeEnd must be a pattern with the same prefix
|
9155
|
-
# Optional: if not set, then the area is defined as being all the postal
|
9156
|
-
# matching postalCodeRangeBegin
|
9208
|
+
# A postal code or a pattern of the form `prefix*` denoting the inclusive upper
|
9209
|
+
# bound of the range defining the area. It must have the same length as `
|
9210
|
+
# postalCodeRangeBegin`: if `postalCodeRangeBegin` is a postal code then `
|
9211
|
+
# postalCodeRangeEnd` must be a postal code too; if `postalCodeRangeBegin` is a
|
9212
|
+
# pattern then `postalCodeRangeEnd` must be a pattern with the same prefix
|
9213
|
+
# length. Optional: if not set, then the area is defined as being all the postal
|
9214
|
+
# codes matching `postalCodeRangeBegin`.
|
9157
9215
|
# Corresponds to the JSON property `postalCodeRangeEnd`
|
9158
9216
|
# @return [String]
|
9159
9217
|
attr_accessor :postal_code_range_end
|
@@ -9194,6 +9252,11 @@ module Google
|
|
9194
9252
|
end
|
9195
9253
|
end
|
9196
9254
|
|
9255
|
+
# Required product attributes are primarily defined by the products data
|
9256
|
+
# specification. See the Products Data Specification Help Center article for
|
9257
|
+
# information.
|
9258
|
+
# Some attributes are country-specific, so make sure you select the appropriate
|
9259
|
+
# country in the drop-down selector at the top of the page.
|
9197
9260
|
# Product data. After inserting, updating, or deleting a product, it may take
|
9198
9261
|
# several minutes before changes take effect.
|
9199
9262
|
class Product
|
@@ -9234,12 +9297,12 @@ module Google
|
|
9234
9297
|
|
9235
9298
|
# Target age group of the item.
|
9236
9299
|
# Acceptable values are:
|
9237
|
-
# - "adult"
|
9238
|
-
# - "infant"
|
9239
|
-
# - "kids"
|
9240
|
-
# - "newborn"
|
9241
|
-
# - "toddler"
|
9242
|
-
# - "youngAdult"
|
9300
|
+
# - "`adult`"
|
9301
|
+
# - "`infant`"
|
9302
|
+
# - "`kids`"
|
9303
|
+
# - "`newborn`"
|
9304
|
+
# - "`toddler`"
|
9305
|
+
# - "`youngAdult`"
|
9243
9306
|
# Corresponds to the JSON property `ageGroup`
|
9244
9307
|
# @return [String]
|
9245
9308
|
attr_accessor :age_group
|
@@ -9251,9 +9314,9 @@ module Google
|
|
9251
9314
|
|
9252
9315
|
# Availability status of the item.
|
9253
9316
|
# Acceptable values are:
|
9254
|
-
# - "in stock"
|
9255
|
-
# - "out of stock"
|
9256
|
-
# - "preorder"
|
9317
|
+
# - "`in stock`"
|
9318
|
+
# - "`out of stock`"
|
9319
|
+
# - "`preorder`"
|
9257
9320
|
# Corresponds to the JSON property `availability`
|
9258
9321
|
# @return [String]
|
9259
9322
|
attr_accessor :availability
|
@@ -9271,8 +9334,8 @@ module Google
|
|
9271
9334
|
|
9272
9335
|
# Required. The item's channel (online or local).
|
9273
9336
|
# Acceptable values are:
|
9274
|
-
# - "local"
|
9275
|
-
# - "online"
|
9337
|
+
# - "`local`"
|
9338
|
+
# - "`online`"
|
9276
9339
|
# Corresponds to the JSON property `channel`
|
9277
9340
|
# @return [String]
|
9278
9341
|
attr_accessor :channel
|
@@ -9284,8 +9347,8 @@ module Google
|
|
9284
9347
|
|
9285
9348
|
# Condition or state of the item.
|
9286
9349
|
# Acceptable values are:
|
9287
|
-
# - "local"
|
9288
|
-
# - "online"
|
9350
|
+
# - "`local`"
|
9351
|
+
# - "`online`"
|
9289
9352
|
# Corresponds to the JSON property `condition`
|
9290
9353
|
# @return [String]
|
9291
9354
|
attr_accessor :condition
|
@@ -9302,7 +9365,7 @@ module Google
|
|
9302
9365
|
|
9303
9366
|
# A list of custom (merchant-provided) attributes. It can also be used for
|
9304
9367
|
# submitting any attribute of the feed specification in its generic form (e.g., `
|
9305
|
-
# "name": "size type", "value": "regular"
|
9368
|
+
# ` "name": "size type", "value": "regular" ``). This is useful for submitting
|
9306
9369
|
# attributes not explicitly exposed by the API, such as additional attributes
|
9307
9370
|
# used for Shopping Actions.
|
9308
9371
|
# Corresponds to the JSON property `customAttributes`
|
@@ -9376,33 +9439,33 @@ module Google
|
|
9376
9439
|
|
9377
9440
|
# The energy efficiency class as defined in EU directive 2010/30/EU.
|
9378
9441
|
# Acceptable values are:
|
9379
|
-
# - "A"
|
9380
|
-
# - "A
|
9381
|
-
# - "A
|
9382
|
-
# - "A
|
9383
|
-
# - "B"
|
9384
|
-
# - "C"
|
9385
|
-
# - "D"
|
9386
|
-
# - "E"
|
9387
|
-
# - "F"
|
9388
|
-
# - "G"
|
9442
|
+
# - "`A`"
|
9443
|
+
# - "`A+`"
|
9444
|
+
# - "`A++`"
|
9445
|
+
# - "`A+++`"
|
9446
|
+
# - "`B`"
|
9447
|
+
# - "`C`"
|
9448
|
+
# - "`D`"
|
9449
|
+
# - "`E`"
|
9450
|
+
# - "`F`"
|
9451
|
+
# - "`G`"
|
9389
9452
|
# Corresponds to the JSON property `energyEfficiencyClass`
|
9390
9453
|
# @return [String]
|
9391
9454
|
attr_accessor :energy_efficiency_class
|
9392
9455
|
|
9393
9456
|
# Date on which the item should expire, as specified upon insertion, in ISO 8601
|
9394
|
-
# format. The actual expiration date in Google Shopping is exposed in
|
9395
|
-
# productstatuses as googleExpirationDate and might be earlier if
|
9396
|
-
# is too far in the future.
|
9457
|
+
# format. The actual expiration date in Google Shopping is exposed in `
|
9458
|
+
# productstatuses` as `googleExpirationDate` and might be earlier if `
|
9459
|
+
# expirationDate` is too far in the future.
|
9397
9460
|
# Corresponds to the JSON property `expirationDate`
|
9398
9461
|
# @return [String]
|
9399
9462
|
attr_accessor :expiration_date
|
9400
9463
|
|
9401
9464
|
# Target gender of the item.
|
9402
9465
|
# Acceptable values are:
|
9403
|
-
# - "female"
|
9404
|
-
# - "male"
|
9405
|
-
# - "unisex"
|
9466
|
+
# - "`female`"
|
9467
|
+
# - "`male`"
|
9468
|
+
# - "`unisex`"
|
9406
9469
|
# Corresponds to the JSON property `gender`
|
9407
9470
|
# @return [String]
|
9408
9471
|
attr_accessor :gender
|
@@ -9418,7 +9481,7 @@ module Google
|
|
9418
9481
|
attr_accessor :gtin
|
9419
9482
|
|
9420
9483
|
# The REST ID of the product. Content API methods that operate on products take
|
9421
|
-
# this as their productId parameter.
|
9484
|
+
# this as their `productId` parameter.
|
9422
9485
|
# The REST ID for a product is of the form channel:contentLanguage:targetCountry:
|
9423
9486
|
# offerId.
|
9424
9487
|
# Corresponds to the JSON property `id`
|
@@ -9455,8 +9518,8 @@ module Google
|
|
9455
9518
|
# @return [String]
|
9456
9519
|
attr_accessor :item_group_id
|
9457
9520
|
|
9458
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
9459
|
-
# product"
|
9521
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
9522
|
+
# product`"
|
9460
9523
|
# Corresponds to the JSON property `kind`
|
9461
9524
|
# @return [String]
|
9462
9525
|
attr_accessor :kind
|
@@ -9478,16 +9541,16 @@ module Google
|
|
9478
9541
|
|
9479
9542
|
# The energy efficiency class as defined in EU directive 2010/30/EU.
|
9480
9543
|
# Acceptable values are:
|
9481
|
-
# - "A"
|
9482
|
-
# - "A
|
9483
|
-
# - "A
|
9484
|
-
# - "A
|
9485
|
-
# - "B"
|
9486
|
-
# - "C"
|
9487
|
-
# - "D"
|
9488
|
-
# - "E"
|
9489
|
-
# - "F"
|
9490
|
-
# - "G"
|
9544
|
+
# - "`A`"
|
9545
|
+
# - "`A+`"
|
9546
|
+
# - "`A++`"
|
9547
|
+
# - "`A+++`"
|
9548
|
+
# - "`B`"
|
9549
|
+
# - "`C`"
|
9550
|
+
# - "`D`"
|
9551
|
+
# - "`E`"
|
9552
|
+
# - "`F`"
|
9553
|
+
# - "`G`"
|
9491
9554
|
# Corresponds to the JSON property `maxEnergyEfficiencyClass`
|
9492
9555
|
# @return [String]
|
9493
9556
|
attr_accessor :max_energy_efficiency_class
|
@@ -9499,16 +9562,16 @@ module Google
|
|
9499
9562
|
|
9500
9563
|
# The energy efficiency class as defined in EU directive 2010/30/EU.
|
9501
9564
|
# Acceptable values are:
|
9502
|
-
# - "A"
|
9503
|
-
# - "A
|
9504
|
-
# - "A
|
9505
|
-
# - "A
|
9506
|
-
# - "B"
|
9507
|
-
# - "C"
|
9508
|
-
# - "D"
|
9509
|
-
# - "E"
|
9510
|
-
# - "F"
|
9511
|
-
# - "G"
|
9565
|
+
# - "`A`"
|
9566
|
+
# - "`A+`"
|
9567
|
+
# - "`A++`"
|
9568
|
+
# - "`A+++`"
|
9569
|
+
# - "`B`"
|
9570
|
+
# - "`C`"
|
9571
|
+
# - "`D`"
|
9572
|
+
# - "`E`"
|
9573
|
+
# - "`F`"
|
9574
|
+
# - "`G`"
|
9512
9575
|
# Corresponds to the JSON property `minEnergyEfficiencyClass`
|
9513
9576
|
# @return [String]
|
9514
9577
|
attr_accessor :min_energy_efficiency_class
|
@@ -9543,7 +9606,7 @@ module Google
|
|
9543
9606
|
# @return [String]
|
9544
9607
|
attr_accessor :offer_id
|
9545
9608
|
|
9546
|
-
# Deprecated.
|
9609
|
+
# Deprecated.
|
9547
9610
|
# Corresponds to the JSON property `onlineOnly`
|
9548
9611
|
# @return [Boolean]
|
9549
9612
|
attr_accessor :online_only
|
@@ -9618,45 +9681,45 @@ module Google
|
|
9618
9681
|
|
9619
9682
|
# System in which the size is specified. Recommended for apparel items.
|
9620
9683
|
# Acceptable values are:
|
9621
|
-
# - "AU"
|
9622
|
-
# - "BR"
|
9623
|
-
# - "CN"
|
9624
|
-
# - "DE"
|
9625
|
-
# - "EU"
|
9626
|
-
# - "FR"
|
9627
|
-
# - "IT"
|
9628
|
-
# - "JP"
|
9629
|
-
# - "MEX"
|
9630
|
-
# - "UK"
|
9631
|
-
# - "US"
|
9684
|
+
# - "`AU`"
|
9685
|
+
# - "`BR`"
|
9686
|
+
# - "`CN`"
|
9687
|
+
# - "`DE`"
|
9688
|
+
# - "`EU`"
|
9689
|
+
# - "`FR`"
|
9690
|
+
# - "`IT`"
|
9691
|
+
# - "`JP`"
|
9692
|
+
# - "`MEX`"
|
9693
|
+
# - "`UK`"
|
9694
|
+
# - "`US`"
|
9632
9695
|
# Corresponds to the JSON property `sizeSystem`
|
9633
9696
|
# @return [String]
|
9634
9697
|
attr_accessor :size_system
|
9635
9698
|
|
9636
9699
|
# The cut of the item. Recommended for apparel items.
|
9637
9700
|
# Acceptable values are:
|
9638
|
-
# - "big and tall"
|
9639
|
-
# - "maternity"
|
9640
|
-
# - "oversize"
|
9641
|
-
# - "petite"
|
9642
|
-
# - "plus"
|
9643
|
-
# - "regular"
|
9701
|
+
# - "`big and tall`"
|
9702
|
+
# - "`maternity`"
|
9703
|
+
# - "`oversize`"
|
9704
|
+
# - "`petite`"
|
9705
|
+
# - "`plus`"
|
9706
|
+
# - "`regular`"
|
9644
9707
|
# Corresponds to the JSON property `sizeType`
|
9645
9708
|
# @return [String]
|
9646
9709
|
attr_accessor :size_type
|
9647
9710
|
|
9648
9711
|
# Size of the item. Only one value is allowed. For variants with different sizes,
|
9649
|
-
# insert a separate product for each size with the same itemGroupId value (
|
9650
|
-
# size definition).
|
9712
|
+
# insert a separate product for each size with the same `itemGroupId` value (
|
9713
|
+
# see size definition).
|
9651
9714
|
# Corresponds to the JSON property `sizes`
|
9652
9715
|
# @return [Array<String>]
|
9653
9716
|
attr_accessor :sizes
|
9654
9717
|
|
9655
9718
|
# The source of the offer, i.e., how the offer was created.
|
9656
9719
|
# Acceptable values are:
|
9657
|
-
# - "api"
|
9658
|
-
# - "crawl"
|
9659
|
-
# - "feed"
|
9720
|
+
# - "`api`"
|
9721
|
+
# - "`crawl`"
|
9722
|
+
# - "`feed`"
|
9660
9723
|
# Corresponds to the JSON property `source`
|
9661
9724
|
# @return [String]
|
9662
9725
|
attr_accessor :source
|
@@ -9819,17 +9882,17 @@ module Google
|
|
9819
9882
|
class ProductAspect
|
9820
9883
|
include Google::Apis::Core::Hashable
|
9821
9884
|
|
9822
|
-
#
|
9885
|
+
# Deprecated.
|
9823
9886
|
# Corresponds to the JSON property `aspectName`
|
9824
9887
|
# @return [String]
|
9825
9888
|
attr_accessor :aspect_name
|
9826
9889
|
|
9827
|
-
#
|
9890
|
+
# Deprecated.
|
9828
9891
|
# Corresponds to the JSON property `destinationName`
|
9829
9892
|
# @return [String]
|
9830
9893
|
attr_accessor :destination_name
|
9831
9894
|
|
9832
|
-
#
|
9895
|
+
# Deprecated.
|
9833
9896
|
# Corresponds to the JSON property `intention`
|
9834
9897
|
# @return [String]
|
9835
9898
|
attr_accessor :intention
|
@@ -9857,10 +9920,10 @@ module Google
|
|
9857
9920
|
|
9858
9921
|
# Whether the destination is required, excluded or should be validated.
|
9859
9922
|
# Acceptable values are:
|
9860
|
-
# - "default"
|
9861
|
-
# - "excluded"
|
9862
|
-
# - "optional"
|
9863
|
-
# - "required"
|
9923
|
+
# - "`default`"
|
9924
|
+
# - "`excluded`"
|
9925
|
+
# - "`optional`"
|
9926
|
+
# - "`required`"
|
9864
9927
|
# Corresponds to the JSON property `intention`
|
9865
9928
|
# @return [String]
|
9866
9929
|
attr_accessor :intention
|
@@ -10015,8 +10078,8 @@ module Google
|
|
10015
10078
|
# @return [Array<Google::Apis::ContentV2::ProductStatusItemLevelIssue>]
|
10016
10079
|
attr_accessor :item_level_issues
|
10017
10080
|
|
10018
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
10019
|
-
# productStatus"
|
10081
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
10082
|
+
# productStatus`"
|
10020
10083
|
# Corresponds to the JSON property `kind`
|
10021
10084
|
# @return [String]
|
10022
10085
|
attr_accessor :kind
|
@@ -10031,6 +10094,11 @@ module Google
|
|
10031
10094
|
# @return [String]
|
10032
10095
|
attr_accessor :link
|
10033
10096
|
|
10097
|
+
# Required product attributes are primarily defined by the products data
|
10098
|
+
# specification. See the Products Data Specification Help Center article for
|
10099
|
+
# information.
|
10100
|
+
# Some attributes are country-specific, so make sure you select the appropriate
|
10101
|
+
# country in the drop-down selector at the top of the page.
|
10034
10102
|
# Product data. After inserting, updating, or deleting a product, it may take
|
10035
10103
|
# several minutes before changes take effect.
|
10036
10104
|
# Corresponds to the JSON property `product`
|
@@ -10146,8 +10214,8 @@ module Google
|
|
10146
10214
|
|
10147
10215
|
# The destination's approval status.
|
10148
10216
|
# Acceptable values are:
|
10149
|
-
# - "approved"
|
10150
|
-
# - "disapproved"
|
10217
|
+
# - "`approved`"
|
10218
|
+
# - "`disapproved`"
|
10151
10219
|
# Corresponds to the JSON property `approvalStatus`
|
10152
10220
|
# @return [String]
|
10153
10221
|
attr_accessor :approval_status
|
@@ -10159,10 +10227,10 @@ module Google
|
|
10159
10227
|
|
10160
10228
|
# Provided for backward compatibility only. Always set to "required".
|
10161
10229
|
# Acceptable values are:
|
10162
|
-
# - "default"
|
10163
|
-
# - "excluded"
|
10164
|
-
# - "optional"
|
10165
|
-
# - "required"
|
10230
|
+
# - "`default`"
|
10231
|
+
# - "`excluded`"
|
10232
|
+
# - "`optional`"
|
10233
|
+
# - "`required`"
|
10166
10234
|
# Corresponds to the JSON property `intention`
|
10167
10235
|
# @return [String]
|
10168
10236
|
attr_accessor :intention
|
@@ -10379,21 +10447,26 @@ module Google
|
|
10379
10447
|
|
10380
10448
|
# The method of the batch entry.
|
10381
10449
|
# Acceptable values are:
|
10382
|
-
# - "delete"
|
10383
|
-
# - "get"
|
10384
|
-
# - "insert"
|
10450
|
+
# - "`delete`"
|
10451
|
+
# - "`get`"
|
10452
|
+
# - "`insert`"
|
10385
10453
|
# Corresponds to the JSON property `method`
|
10386
10454
|
# @return [String]
|
10387
10455
|
attr_accessor :request_method
|
10388
10456
|
|
10457
|
+
# Required product attributes are primarily defined by the products data
|
10458
|
+
# specification. See the Products Data Specification Help Center article for
|
10459
|
+
# information.
|
10460
|
+
# Some attributes are country-specific, so make sure you select the appropriate
|
10461
|
+
# country in the drop-down selector at the top of the page.
|
10389
10462
|
# Product data. After inserting, updating, or deleting a product, it may take
|
10390
10463
|
# several minutes before changes take effect.
|
10391
10464
|
# Corresponds to the JSON property `product`
|
10392
10465
|
# @return [Google::Apis::ContentV2::Product]
|
10393
10466
|
attr_accessor :product
|
10394
10467
|
|
10395
|
-
# The ID of the product to get or delete. Only defined if the method is get or
|
10396
|
-
# delete
|
10468
|
+
# The ID of the product to get or delete. Only defined if the method is `get` or
|
10469
|
+
# `delete`.
|
10397
10470
|
# Corresponds to the JSON property `productId`
|
10398
10471
|
# @return [String]
|
10399
10472
|
attr_accessor :product_id
|
@@ -10452,12 +10525,17 @@ module Google
|
|
10452
10525
|
# @return [Google::Apis::ContentV2::Errors]
|
10453
10526
|
attr_accessor :errors
|
10454
10527
|
|
10455
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
10456
|
-
# productsCustomBatchResponseEntry"
|
10528
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
10529
|
+
# productsCustomBatchResponseEntry`"
|
10457
10530
|
# Corresponds to the JSON property `kind`
|
10458
10531
|
# @return [String]
|
10459
10532
|
attr_accessor :kind
|
10460
10533
|
|
10534
|
+
# Required product attributes are primarily defined by the products data
|
10535
|
+
# specification. See the Products Data Specification Help Center article for
|
10536
|
+
# information.
|
10537
|
+
# Some attributes are country-specific, so make sure you select the appropriate
|
10538
|
+
# country in the drop-down selector at the top of the page.
|
10461
10539
|
# Product data. After inserting, updating, or deleting a product, it may take
|
10462
10540
|
# several minutes before changes take effect.
|
10463
10541
|
# Corresponds to the JSON property `product`
|
@@ -10556,7 +10634,7 @@ module Google
|
|
10556
10634
|
|
10557
10635
|
# The method of the batch entry.
|
10558
10636
|
# Acceptable values are:
|
10559
|
-
# - "get"
|
10637
|
+
# - "`get`"
|
10560
10638
|
# Corresponds to the JSON property `method`
|
10561
10639
|
# @return [String]
|
10562
10640
|
attr_accessor :request_method
|
@@ -10621,8 +10699,8 @@ module Google
|
|
10621
10699
|
# @return [Google::Apis::ContentV2::Errors]
|
10622
10700
|
attr_accessor :errors
|
10623
10701
|
|
10624
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
10625
|
-
# productstatusesCustomBatchResponseEntry"
|
10702
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
10703
|
+
# productstatusesCustomBatchResponseEntry`"
|
10626
10704
|
# Corresponds to the JSON property `kind`
|
10627
10705
|
# @return [String]
|
10628
10706
|
attr_accessor :kind
|
@@ -10716,13 +10794,14 @@ module Google
|
|
10716
10794
|
# @return [Array<String>]
|
10717
10795
|
attr_accessor :applicable_shipping_labels
|
10718
10796
|
|
10719
|
-
# A list of carrier rates that can be referred to by mainTable or singleValue
|
10797
|
+
# A list of carrier rates that can be referred to by `mainTable` or `singleValue`
|
10798
|
+
# .
|
10720
10799
|
# Corresponds to the JSON property `carrierRates`
|
10721
10800
|
# @return [Array<Google::Apis::ContentV2::CarrierRate>]
|
10722
10801
|
attr_accessor :carrier_rates
|
10723
10802
|
|
10724
|
-
# A table defining the rate group, when singleValue is not expressive enough.
|
10725
|
-
# Can only be set if singleValue is not set.
|
10803
|
+
# A table defining the rate group, when `singleValue` is not expressive enough.
|
10804
|
+
# Can only be set if `singleValue` is not set.
|
10726
10805
|
# Corresponds to the JSON property `mainTable`
|
10727
10806
|
# @return [Google::Apis::ContentV2::Table]
|
10728
10807
|
attr_accessor :main_table
|
@@ -10734,14 +10813,14 @@ module Google
|
|
10734
10813
|
attr_accessor :name
|
10735
10814
|
|
10736
10815
|
# The single value of a rate group or the value of a rate group table's cell.
|
10737
|
-
# Exactly one of noShipping
|
10738
|
-
# subtableName must be set.
|
10816
|
+
# Exactly one of `noShipping`, `flatRate`, `pricePercentage`, `carrierRateName`,
|
10817
|
+
# `subtableName` must be set.
|
10739
10818
|
# Corresponds to the JSON property `singleValue`
|
10740
10819
|
# @return [Google::Apis::ContentV2::Value]
|
10741
10820
|
attr_accessor :single_value
|
10742
10821
|
|
10743
|
-
# A list of subtables referred to by mainTable
|
10744
|
-
# set.
|
10822
|
+
# A list of subtables referred to by `mainTable`. Can only be set if `mainTable`
|
10823
|
+
# is set.
|
10745
10824
|
# Corresponds to the JSON property `subtables`
|
10746
10825
|
# @return [Array<Google::Apis::ContentV2::Table>]
|
10747
10826
|
attr_accessor :subtables
|
@@ -10772,50 +10851,50 @@ module Google
|
|
10772
10851
|
|
10773
10852
|
# Code of the refund reason.
|
10774
10853
|
# Acceptable values are:
|
10775
|
-
# - "adjustment"
|
10776
|
-
# - "autoPostInternal"
|
10777
|
-
# - "autoPostInvalidBillingAddress"
|
10778
|
-
# - "autoPostNoInventory"
|
10779
|
-
# - "autoPostPriceError"
|
10780
|
-
# - "autoPostUndeliverableShippingAddress"
|
10781
|
-
# - "couponAbuse"
|
10782
|
-
# - "courtesyAdjustment"
|
10783
|
-
# - "customerCanceled"
|
10784
|
-
# - "customerDiscretionaryReturn"
|
10785
|
-
# - "customerInitiatedMerchantCancel"
|
10786
|
-
# - "customerSupportRequested"
|
10787
|
-
# - "deliveredLateByCarrier"
|
10788
|
-
# - "deliveredTooLate"
|
10789
|
-
# - "expiredItem"
|
10790
|
-
# - "failToPushOrderGoogleError"
|
10791
|
-
# - "failToPushOrderMerchantError"
|
10792
|
-
# - "failToPushOrderMerchantFulfillmentError"
|
10793
|
-
# - "failToPushOrderToMerchant"
|
10794
|
-
# - "failToPushOrderToMerchantOutOfStock"
|
10795
|
-
# - "feeAdjustment"
|
10796
|
-
# - "invalidCoupon"
|
10797
|
-
# - "lateShipmentCredit"
|
10798
|
-
# - "malformedShippingAddress"
|
10799
|
-
# - "merchantDidNotShipOnTime"
|
10800
|
-
# - "noInventory"
|
10801
|
-
# - "orderTimeout"
|
10802
|
-
# - "other"
|
10803
|
-
# - "paymentAbuse"
|
10804
|
-
# - "paymentDeclined"
|
10805
|
-
# - "priceAdjustment"
|
10806
|
-
# - "priceError"
|
10807
|
-
# - "productArrivedDamaged"
|
10808
|
-
# - "productNotAsDescribed"
|
10809
|
-
# - "promoReallocation"
|
10810
|
-
# - "qualityNotAsExpected"
|
10811
|
-
# - "returnRefundAbuse"
|
10812
|
-
# - "shippingCostAdjustment"
|
10813
|
-
# - "shippingPriceError"
|
10814
|
-
# - "taxAdjustment"
|
10815
|
-
# - "taxError"
|
10816
|
-
# - "undeliverableShippingAddress"
|
10817
|
-
# - "unsupportedPoBoxAddress"
|
10818
|
-
# - "wrongProductShipped"
|
10854
|
+
# - "`adjustment`"
|
10855
|
+
# - "`autoPostInternal`"
|
10856
|
+
# - "`autoPostInvalidBillingAddress`"
|
10857
|
+
# - "`autoPostNoInventory`"
|
10858
|
+
# - "`autoPostPriceError`"
|
10859
|
+
# - "`autoPostUndeliverableShippingAddress`"
|
10860
|
+
# - "`couponAbuse`"
|
10861
|
+
# - "`courtesyAdjustment`"
|
10862
|
+
# - "`customerCanceled`"
|
10863
|
+
# - "`customerDiscretionaryReturn`"
|
10864
|
+
# - "`customerInitiatedMerchantCancel`"
|
10865
|
+
# - "`customerSupportRequested`"
|
10866
|
+
# - "`deliveredLateByCarrier`"
|
10867
|
+
# - "`deliveredTooLate`"
|
10868
|
+
# - "`expiredItem`"
|
10869
|
+
# - "`failToPushOrderGoogleError`"
|
10870
|
+
# - "`failToPushOrderMerchantError`"
|
10871
|
+
# - "`failToPushOrderMerchantFulfillmentError`"
|
10872
|
+
# - "`failToPushOrderToMerchant`"
|
10873
|
+
# - "`failToPushOrderToMerchantOutOfStock`"
|
10874
|
+
# - "`feeAdjustment`"
|
10875
|
+
# - "`invalidCoupon`"
|
10876
|
+
# - "`lateShipmentCredit`"
|
10877
|
+
# - "`malformedShippingAddress`"
|
10878
|
+
# - "`merchantDidNotShipOnTime`"
|
10879
|
+
# - "`noInventory`"
|
10880
|
+
# - "`orderTimeout`"
|
10881
|
+
# - "`other`"
|
10882
|
+
# - "`paymentAbuse`"
|
10883
|
+
# - "`paymentDeclined`"
|
10884
|
+
# - "`priceAdjustment`"
|
10885
|
+
# - "`priceError`"
|
10886
|
+
# - "`productArrivedDamaged`"
|
10887
|
+
# - "`productNotAsDescribed`"
|
10888
|
+
# - "`promoReallocation`"
|
10889
|
+
# - "`qualityNotAsExpected`"
|
10890
|
+
# - "`returnRefundAbuse`"
|
10891
|
+
# - "`shippingCostAdjustment`"
|
10892
|
+
# - "`shippingPriceError`"
|
10893
|
+
# - "`taxAdjustment`"
|
10894
|
+
# - "`taxError`"
|
10895
|
+
# - "`undeliverableShippingAddress`"
|
10896
|
+
# - "`unsupportedPoBoxAddress`"
|
10897
|
+
# - "`wrongProductShipped`"
|
10819
10898
|
# Corresponds to the JSON property `reasonCode`
|
10820
10899
|
# @return [String]
|
10821
10900
|
attr_accessor :reason_code
|
@@ -10847,9 +10926,9 @@ module Google
|
|
10847
10926
|
|
10848
10927
|
# Type of the return method.
|
10849
10928
|
# Acceptable values are:
|
10850
|
-
# - "byMail"
|
10851
|
-
# - "contactCustomerSupport"
|
10852
|
-
# - "returnless"
|
10929
|
+
# - "`byMail`"
|
10930
|
+
# - "`contactCustomerSupport`"
|
10931
|
+
# - "`returnless`"
|
10853
10932
|
# Corresponds to the JSON property `returnMethodType`
|
10854
10933
|
# @return [String]
|
10855
10934
|
attr_accessor :return_method_type
|
@@ -10872,10 +10951,10 @@ module Google
|
|
10872
10951
|
|
10873
10952
|
# State of the shipment.
|
10874
10953
|
# Acceptable values are:
|
10875
|
-
# - "completed"
|
10876
|
-
# - "new"
|
10877
|
-
# - "shipped"
|
10878
|
-
# - "undeliverable"
|
10954
|
+
# - "`completed`"
|
10955
|
+
# - "`new`"
|
10956
|
+
# - "`shipped`"
|
10957
|
+
# - "`undeliverable`"
|
10879
10958
|
# Corresponds to the JSON property `state`
|
10880
10959
|
# @return [String]
|
10881
10960
|
attr_accessor :state
|
@@ -10900,8 +10979,8 @@ module Google
|
|
10900
10979
|
class Row
|
10901
10980
|
include Google::Apis::Core::Hashable
|
10902
10981
|
|
10903
|
-
# The list of cells that constitute the row. Must have the same length as
|
10904
|
-
# columnHeaders for two-dimensional tables, a length of 1 for one-dimensional
|
10982
|
+
# The list of cells that constitute the row. Must have the same length as `
|
10983
|
+
# columnHeaders` for two-dimensional tables, a length of 1 for one-dimensional
|
10905
10984
|
# tables. Required.
|
10906
10985
|
# Corresponds to the JSON property `cells`
|
10907
10986
|
# @return [Array<Google::Apis::ContentV2::Value>]
|
@@ -10946,43 +11025,49 @@ module Google
|
|
10946
11025
|
|
10947
11026
|
# Eligibility for this service.
|
10948
11027
|
# Acceptable values are:
|
10949
|
-
# - "All scenarios"
|
10950
|
-
# - "All scenarios except Shopping Actions"
|
10951
|
-
# - "Shopping Actions"
|
11028
|
+
# - "`All scenarios`"
|
11029
|
+
# - "`All scenarios except Shopping Actions`"
|
11030
|
+
# - "`Shopping Actions`"
|
10952
11031
|
# Corresponds to the JSON property `eligibility`
|
10953
11032
|
# @return [String]
|
10954
11033
|
attr_accessor :eligibility
|
10955
11034
|
|
10956
11035
|
# Minimum order value for this service. If set, indicates that customers will
|
10957
11036
|
# have to spend at least this amount. All prices within a service must have the
|
10958
|
-
# same currency.
|
11037
|
+
# same currency. Cannot be set together with minimum_order_value_table.
|
10959
11038
|
# Corresponds to the JSON property `minimumOrderValue`
|
10960
11039
|
# @return [Google::Apis::ContentV2::Price]
|
10961
11040
|
attr_accessor :minimum_order_value
|
10962
11041
|
|
11042
|
+
# Table of per store minimum order values for the pickup fulfillment type.
|
11043
|
+
# Cannot be set together with minimum_order_value.
|
11044
|
+
# Corresponds to the JSON property `minimumOrderValueTable`
|
11045
|
+
# @return [Google::Apis::ContentV2::MinimumOrderValueTable]
|
11046
|
+
attr_accessor :minimum_order_value_table
|
11047
|
+
|
10963
11048
|
# Free-form name of the service. Must be unique within target account. Required.
|
10964
11049
|
# Corresponds to the JSON property `name`
|
10965
11050
|
# @return [String]
|
10966
11051
|
attr_accessor :name
|
10967
11052
|
|
10968
11053
|
# The carrier-service pair delivering items to collection points. The list of
|
10969
|
-
# supported pickup services can be retrieved via the getSupportedPickupServices
|
10970
|
-
# method. Required if and only if the service delivery type is pickup
|
11054
|
+
# supported pickup services can be retrieved via the `getSupportedPickupServices`
|
11055
|
+
# method. Required if and only if the service delivery type is `pickup`.
|
10971
11056
|
# Corresponds to the JSON property `pickupService`
|
10972
11057
|
# @return [Google::Apis::ContentV2::PickupCarrierService]
|
10973
11058
|
attr_accessor :pickup_service
|
10974
11059
|
|
10975
11060
|
# Shipping rate group definitions. Only the last one is allowed to have an empty
|
10976
|
-
# applicableShippingLabels
|
10977
|
-
# applicableShippingLabels must not overlap.
|
11061
|
+
# `applicableShippingLabels`, which means "everything else". The other `
|
11062
|
+
# applicableShippingLabels` must not overlap.
|
10978
11063
|
# Corresponds to the JSON property `rateGroups`
|
10979
11064
|
# @return [Array<Google::Apis::ContentV2::RateGroup>]
|
10980
11065
|
attr_accessor :rate_groups
|
10981
11066
|
|
10982
11067
|
# Type of locations this service ships orders to.
|
10983
11068
|
# Acceptable values are:
|
10984
|
-
# - "delivery"
|
10985
|
-
# - "pickup"
|
11069
|
+
# - "`delivery`"
|
11070
|
+
# - "`pickup`"
|
10986
11071
|
# Corresponds to the JSON property `shipmentType`
|
10987
11072
|
# @return [String]
|
10988
11073
|
attr_accessor :shipment_type
|
@@ -10999,6 +11084,7 @@ module Google
|
|
10999
11084
|
@delivery_time = args[:delivery_time] if args.key?(:delivery_time)
|
11000
11085
|
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
11001
11086
|
@minimum_order_value = args[:minimum_order_value] if args.key?(:minimum_order_value)
|
11087
|
+
@minimum_order_value_table = args[:minimum_order_value_table] if args.key?(:minimum_order_value_table)
|
11002
11088
|
@name = args[:name] if args.key?(:name)
|
11003
11089
|
@pickup_service = args[:pickup_service] if args.key?(:pickup_service)
|
11004
11090
|
@rate_groups = args[:rate_groups] if args.key?(:rate_groups)
|
@@ -11020,8 +11106,8 @@ module Google
|
|
11020
11106
|
# @return [Array<Google::Apis::ContentV2::ShipmentInvoiceLineItemInvoice>]
|
11021
11107
|
attr_accessor :line_item_invoices
|
11022
11108
|
|
11023
|
-
# [required] ID of the shipment group. It is assigned by the merchant in the
|
11024
|
-
# shipLineItems method and is used to group multiple line items that have the
|
11109
|
+
# [required] ID of the shipment group. It is assigned by the merchant in the `
|
11110
|
+
# shipLineItems` method and is used to group multiple line items that have the
|
11025
11111
|
# same kind of shipping charges.
|
11026
11112
|
# Corresponds to the JSON property `shipmentGroupId`
|
11027
11113
|
# @return [String]
|
@@ -11086,36 +11172,36 @@ module Google
|
|
11086
11172
|
|
11087
11173
|
# The shipping carrier that handles the package.
|
11088
11174
|
# Acceptable values are:
|
11089
|
-
# - "boxtal"
|
11090
|
-
# - "bpost"
|
11091
|
-
# - "chronopost"
|
11092
|
-
# - "colisPrive"
|
11093
|
-
# - "colissimo"
|
11094
|
-
# - "cxt"
|
11095
|
-
# - "deliv"
|
11096
|
-
# - "dhl"
|
11097
|
-
# - "dpd"
|
11098
|
-
# - "dynamex"
|
11099
|
-
# - "eCourier"
|
11100
|
-
# - "easypost"
|
11101
|
-
# - "efw"
|
11102
|
-
# - "fedex"
|
11103
|
-
# - "fedexSmartpost"
|
11104
|
-
# - "geodis"
|
11105
|
-
# - "gls"
|
11106
|
-
# - "googleCourier"
|
11107
|
-
# - "gsx"
|
11108
|
-
# - "jdLogistics"
|
11109
|
-
# - "laPoste"
|
11110
|
-
# - "lasership"
|
11111
|
-
# - "manual"
|
11112
|
-
# - "mpx"
|
11113
|
-
# - "onTrac"
|
11114
|
-
# - "other"
|
11115
|
-
# - "tnt"
|
11116
|
-
# - "uds"
|
11117
|
-
# - "ups"
|
11118
|
-
# - "usps"
|
11175
|
+
# - "`boxtal`"
|
11176
|
+
# - "`bpost`"
|
11177
|
+
# - "`chronopost`"
|
11178
|
+
# - "`colisPrive`"
|
11179
|
+
# - "`colissimo`"
|
11180
|
+
# - "`cxt`"
|
11181
|
+
# - "`deliv`"
|
11182
|
+
# - "`dhl`"
|
11183
|
+
# - "`dpd`"
|
11184
|
+
# - "`dynamex`"
|
11185
|
+
# - "`eCourier`"
|
11186
|
+
# - "`easypost`"
|
11187
|
+
# - "`efw`"
|
11188
|
+
# - "`fedex`"
|
11189
|
+
# - "`fedexSmartpost`"
|
11190
|
+
# - "`geodis`"
|
11191
|
+
# - "`gls`"
|
11192
|
+
# - "`googleCourier`"
|
11193
|
+
# - "`gsx`"
|
11194
|
+
# - "`jdLogistics`"
|
11195
|
+
# - "`laPoste`"
|
11196
|
+
# - "`lasership`"
|
11197
|
+
# - "`manual`"
|
11198
|
+
# - "`mpx`"
|
11199
|
+
# - "`onTrac`"
|
11200
|
+
# - "`other`"
|
11201
|
+
# - "`tnt`"
|
11202
|
+
# - "`uds`"
|
11203
|
+
# - "`ups`"
|
11204
|
+
# - "`usps`"
|
11119
11205
|
# Corresponds to the JSON property `carrier`
|
11120
11206
|
# @return [String]
|
11121
11207
|
attr_accessor :carrier
|
@@ -11147,7 +11233,7 @@ module Google
|
|
11147
11233
|
# @return [Fixnum]
|
11148
11234
|
attr_accessor :account_id
|
11149
11235
|
|
11150
|
-
# A list of postal code groups that can be referred to in services
|
11236
|
+
# A list of postal code groups that can be referred to in `services`. Optional.
|
11151
11237
|
# Corresponds to the JSON property `postalCodeGroups`
|
11152
11238
|
# @return [Array<Google::Apis::ContentV2::PostalCodeGroup>]
|
11153
11239
|
attr_accessor :postal_code_groups
|
@@ -11209,8 +11295,8 @@ module Google
|
|
11209
11295
|
|
11210
11296
|
# The method of the batch entry.
|
11211
11297
|
# Acceptable values are:
|
11212
|
-
# - "get"
|
11213
|
-
# - "update"
|
11298
|
+
# - "`get`"
|
11299
|
+
# - "`update`"
|
11214
11300
|
# Corresponds to the JSON property `method`
|
11215
11301
|
# @return [String]
|
11216
11302
|
attr_accessor :method_prop
|
@@ -11275,8 +11361,8 @@ module Google
|
|
11275
11361
|
# @return [Google::Apis::ContentV2::Errors]
|
11276
11362
|
attr_accessor :errors
|
11277
11363
|
|
11278
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
11279
|
-
# shippingsettingsCustomBatchResponseEntry"
|
11364
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
11365
|
+
# shippingsettingsCustomBatchResponseEntry`"
|
11280
11366
|
# Corresponds to the JSON property `kind`
|
11281
11367
|
# @return [String]
|
11282
11368
|
attr_accessor :kind
|
@@ -11414,8 +11500,8 @@ module Google
|
|
11414
11500
|
class Table
|
11415
11501
|
include Google::Apis::Core::Hashable
|
11416
11502
|
|
11417
|
-
# A non-empty list of row or column headers for a table. Exactly one of prices
|
11418
|
-
# weights
|
11503
|
+
# A non-empty list of row or column headers for a table. Exactly one of `prices`,
|
11504
|
+
# `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.
|
11419
11505
|
# Corresponds to the JSON property `columnHeaders`
|
11420
11506
|
# @return [Google::Apis::ContentV2::Headers]
|
11421
11507
|
attr_accessor :column_headers
|
@@ -11425,14 +11511,14 @@ module Google
|
|
11425
11511
|
# @return [String]
|
11426
11512
|
attr_accessor :name
|
11427
11513
|
|
11428
|
-
# A non-empty list of row or column headers for a table. Exactly one of prices
|
11429
|
-
# weights
|
11514
|
+
# A non-empty list of row or column headers for a table. Exactly one of `prices`,
|
11515
|
+
# `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.
|
11430
11516
|
# Corresponds to the JSON property `rowHeaders`
|
11431
11517
|
# @return [Google::Apis::ContentV2::Headers]
|
11432
11518
|
attr_accessor :row_headers
|
11433
11519
|
|
11434
|
-
# The list of rows that constitute the table. Must have the same length as
|
11435
|
-
# rowHeaders
|
11520
|
+
# The list of rows that constitute the table. Must have the same length as `
|
11521
|
+
# rowHeaders`. Required.
|
11436
11522
|
# Corresponds to the JSON property `rows`
|
11437
11523
|
# @return [Array<Google::Apis::ContentV2::Row>]
|
11438
11524
|
attr_accessor :rows
|
@@ -11465,8 +11551,8 @@ module Google
|
|
11465
11551
|
attr_accessor :enable_orderinvoices
|
11466
11552
|
alias_method :enable_orderinvoices?, :enable_orderinvoices
|
11467
11553
|
|
11468
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
11469
|
-
# testOrder"
|
11554
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
11555
|
+
# testOrder`"
|
11470
11556
|
# Corresponds to the JSON property `kind`
|
11471
11557
|
# @return [String]
|
11472
11558
|
attr_accessor :kind
|
@@ -11476,11 +11562,7 @@ module Google
|
|
11476
11562
|
# @return [Array<Google::Apis::ContentV2::TestOrderLineItem>]
|
11477
11563
|
attr_accessor :line_items
|
11478
11564
|
|
11479
|
-
#
|
11480
|
-
# push integration.
|
11481
|
-
# Acceptable values are:
|
11482
|
-
# - "checkoutIntegration"
|
11483
|
-
# - "merchantPull"
|
11565
|
+
# Restricted. Do not use.
|
11484
11566
|
# Corresponds to the JSON property `notificationMode`
|
11485
11567
|
# @return [String]
|
11486
11568
|
attr_accessor :notification_mode
|
@@ -11493,19 +11575,19 @@ module Google
|
|
11493
11575
|
# Required. Identifier of one of the predefined delivery addresses for the
|
11494
11576
|
# delivery.
|
11495
11577
|
# Acceptable values are:
|
11496
|
-
# - "dwight"
|
11497
|
-
# - "jim"
|
11498
|
-
# - "pam"
|
11578
|
+
# - "`dwight`"
|
11579
|
+
# - "`jim`"
|
11580
|
+
# - "`pam`"
|
11499
11581
|
# Corresponds to the JSON property `predefinedDeliveryAddress`
|
11500
11582
|
# @return [String]
|
11501
11583
|
attr_accessor :predefined_delivery_address
|
11502
11584
|
|
11503
11585
|
# Identifier of one of the predefined pickup details. Required for orders
|
11504
|
-
# containing line items with shipping type pickup
|
11586
|
+
# containing line items with shipping type `pickup`.
|
11505
11587
|
# Acceptable values are:
|
11506
|
-
# - "dwight"
|
11507
|
-
# - "jim"
|
11508
|
-
# - "pam"
|
11588
|
+
# - "`dwight`"
|
11589
|
+
# - "`jim`"
|
11590
|
+
# - "`pam`"
|
11509
11591
|
# Corresponds to the JSON property `predefinedPickupDetails`
|
11510
11592
|
# @return [String]
|
11511
11593
|
attr_accessor :predefined_pickup_details
|
@@ -11530,12 +11612,12 @@ module Google
|
|
11530
11612
|
|
11531
11613
|
# Required. The requested shipping option.
|
11532
11614
|
# Acceptable values are:
|
11533
|
-
# - "economy"
|
11534
|
-
# - "expedited"
|
11535
|
-
# - "oneDay"
|
11536
|
-
# - "sameDay"
|
11537
|
-
# - "standard"
|
11538
|
-
# - "twoDay"
|
11615
|
+
# - "`economy`"
|
11616
|
+
# - "`expedited`"
|
11617
|
+
# - "`oneDay`"
|
11618
|
+
# - "`sameDay`"
|
11619
|
+
# - "`standard`"
|
11620
|
+
# - "`twoDay`"
|
11539
11621
|
# Corresponds to the JSON property `shippingOption`
|
11540
11622
|
# @return [String]
|
11541
11623
|
attr_accessor :shipping_option
|
@@ -11567,9 +11649,9 @@ module Google
|
|
11567
11649
|
|
11568
11650
|
# Required. Email address of the customer.
|
11569
11651
|
# Acceptable values are:
|
11570
|
-
# - "pog.dwight.schrute@gmail.com"
|
11571
|
-
# - "pog.jim.halpert@gmail.com"
|
11572
|
-
# - "penpog.pam.beesly@gmail.comding"
|
11652
|
+
# - "`pog.dwight.schrute@gmail.com`"
|
11653
|
+
# - "`pog.jim.halpert@gmail.com`"
|
11654
|
+
# - "`penpog.pam.beesly@gmail.comding`"
|
11573
11655
|
# Corresponds to the JSON property `email`
|
11574
11656
|
# @return [String]
|
11575
11657
|
attr_accessor :email
|
@@ -11610,8 +11692,8 @@ module Google
|
|
11610
11692
|
# Last know user use selection regards marketing preferences. In certain cases
|
11611
11693
|
# selection might not be known, so this field would be empty.
|
11612
11694
|
# Acceptable values are:
|
11613
|
-
# - "denied"
|
11614
|
-
# - "granted"
|
11695
|
+
# - "`denied`"
|
11696
|
+
# - "`granted`"
|
11615
11697
|
# Corresponds to the JSON property `explicitMarketingPreference`
|
11616
11698
|
# @return [String]
|
11617
11699
|
attr_accessor :explicit_marketing_preference
|
@@ -11687,22 +11769,22 @@ module Google
|
|
11687
11769
|
|
11688
11770
|
# Deprecated.
|
11689
11771
|
# Acceptable values are:
|
11690
|
-
# - "online"
|
11772
|
+
# - "`online`"
|
11691
11773
|
# Corresponds to the JSON property `channel`
|
11692
11774
|
# @return [String]
|
11693
11775
|
attr_accessor :channel
|
11694
11776
|
|
11695
11777
|
# Required. Condition or state of the item.
|
11696
11778
|
# Acceptable values are:
|
11697
|
-
# - "new"
|
11779
|
+
# - "`new`"
|
11698
11780
|
# Corresponds to the JSON property `condition`
|
11699
11781
|
# @return [String]
|
11700
11782
|
attr_accessor :condition
|
11701
11783
|
|
11702
11784
|
# Required. The two-letter ISO 639-1 language code for the item.
|
11703
11785
|
# Acceptable values are:
|
11704
|
-
# - "en"
|
11705
|
-
# - "fr"
|
11786
|
+
# - "`en`"
|
11787
|
+
# - "`fr`"
|
11706
11788
|
# Corresponds to the JSON property `contentLanguage`
|
11707
11789
|
# @return [String]
|
11708
11790
|
attr_accessor :content_language
|
@@ -11803,20 +11885,20 @@ module Google
|
|
11803
11885
|
|
11804
11886
|
# The billing address.
|
11805
11887
|
# Acceptable values are:
|
11806
|
-
# - "dwight"
|
11807
|
-
# - "jim"
|
11808
|
-
# - "pam"
|
11888
|
+
# - "`dwight`"
|
11889
|
+
# - "`jim`"
|
11890
|
+
# - "`pam`"
|
11809
11891
|
# Corresponds to the JSON property `predefinedBillingAddress`
|
11810
11892
|
# @return [String]
|
11811
11893
|
attr_accessor :predefined_billing_address
|
11812
11894
|
|
11813
11895
|
# The type of instrument. Note that real orders might have different values than
|
11814
|
-
# the four values accepted by createTestOrder
|
11896
|
+
# the four values accepted by `createTestOrder`.
|
11815
11897
|
# Acceptable values are:
|
11816
|
-
# - "AMEX"
|
11817
|
-
# - "DISCOVER"
|
11818
|
-
# - "MASTERCARD"
|
11819
|
-
# - "VISA"
|
11898
|
+
# - "`AMEX`"
|
11899
|
+
# - "`DISCOVER`"
|
11900
|
+
# - "`MASTERCARD`"
|
11901
|
+
# - "`VISA`"
|
11820
11902
|
# Corresponds to the JSON property `type`
|
11821
11903
|
# @return [String]
|
11822
11904
|
attr_accessor :type
|
@@ -11839,9 +11921,9 @@ module Google
|
|
11839
11921
|
class TransitTable
|
11840
11922
|
include Google::Apis::Core::Hashable
|
11841
11923
|
|
11842
|
-
# A list of postal group names. The last value can be "all other locations"
|
11843
|
-
# Example: ["zone 1", "zone 2", "all other locations"]
|
11844
|
-
# groups must match the delivery country of the service.
|
11924
|
+
# A list of postal group names. The last value can be `"all other locations"`.
|
11925
|
+
# Example: `["zone 1", "zone 2", "all other locations"]`. The referred postal
|
11926
|
+
# code groups must match the delivery country of the service.
|
11845
11927
|
# Corresponds to the JSON property `postalCodeGroupNames`
|
11846
11928
|
# @return [Array<String>]
|
11847
11929
|
attr_accessor :postal_code_group_names
|
@@ -11851,8 +11933,8 @@ module Google
|
|
11851
11933
|
# @return [Array<Google::Apis::ContentV2::TransitTableTransitTimeRow>]
|
11852
11934
|
attr_accessor :rows
|
11853
11935
|
|
11854
|
-
# A list of transit time labels. The last value can be "all other labels"
|
11855
|
-
# Example: ["food", "electronics", "all other labels"]
|
11936
|
+
# A list of transit time labels. The last value can be `"all other labels"`.
|
11937
|
+
# Example: `["food", "electronics", "all other labels"]`.
|
11856
11938
|
# Corresponds to the JSON property `transitTimeLabels`
|
11857
11939
|
# @return [Array<String>]
|
11858
11940
|
attr_accessor :transit_time_labels
|
@@ -11892,7 +11974,7 @@ module Google
|
|
11892
11974
|
class TransitTableTransitTimeRowTransitTimeValue
|
11893
11975
|
include Google::Apis::Core::Hashable
|
11894
11976
|
|
11895
|
-
# Must be greater than or equal to minTransitTimeInDays
|
11977
|
+
# Must be greater than or equal to `minTransitTimeInDays`.
|
11896
11978
|
# Corresponds to the JSON property `maxTransitTimeInDays`
|
11897
11979
|
# @return [Fixnum]
|
11898
11980
|
attr_accessor :max_transit_time_in_days
|
@@ -11967,7 +12049,7 @@ module Google
|
|
11967
12049
|
|
11968
12050
|
# [required] Type of the additional charge.
|
11969
12051
|
# Acceptable values are:
|
11970
|
-
# - "shipping"
|
12052
|
+
# - "`shipping`"
|
11971
12053
|
# Corresponds to the JSON property `type`
|
11972
12054
|
# @return [String]
|
11973
12055
|
attr_accessor :type
|
@@ -11993,17 +12075,17 @@ module Google
|
|
11993
12075
|
# @return [Google::Apis::ContentV2::Price]
|
11994
12076
|
attr_accessor :tax_amount
|
11995
12077
|
|
11996
|
-
# Optional name of the tax type. This should only be provided if taxType is
|
11997
|
-
# otherFeeTax
|
12078
|
+
# Optional name of the tax type. This should only be provided if `taxType` is `
|
12079
|
+
# otherFeeTax`.
|
11998
12080
|
# Corresponds to the JSON property `taxName`
|
11999
12081
|
# @return [String]
|
12000
12082
|
attr_accessor :tax_name
|
12001
12083
|
|
12002
12084
|
# [required] Type of the tax.
|
12003
12085
|
# Acceptable values are:
|
12004
|
-
# - "otherFee"
|
12005
|
-
# - "otherFeeTax"
|
12006
|
-
# - "sales"
|
12086
|
+
# - "`otherFee`"
|
12087
|
+
# - "`otherFeeTax`"
|
12088
|
+
# - "`sales`"
|
12007
12089
|
# Corresponds to the JSON property `taxType`
|
12008
12090
|
# @return [String]
|
12009
12091
|
attr_accessor :tax_type
|
@@ -12021,8 +12103,8 @@ module Google
|
|
12021
12103
|
end
|
12022
12104
|
|
12023
12105
|
# The single value of a rate group or the value of a rate group table's cell.
|
12024
|
-
# Exactly one of noShipping
|
12025
|
-
# subtableName must be set.
|
12106
|
+
# Exactly one of `noShipping`, `flatRate`, `pricePercentage`, `carrierRateName`,
|
12107
|
+
# `subtableName` must be set.
|
12026
12108
|
class Value
|
12027
12109
|
include Google::Apis::Core::Hashable
|
12028
12110
|
|
@@ -12044,8 +12126,8 @@ module Google
|
|
12044
12126
|
attr_accessor :no_shipping
|
12045
12127
|
alias_method :no_shipping?, :no_shipping
|
12046
12128
|
|
12047
|
-
# A percentage of the price represented as a number in decimal notation (e.g., "
|
12048
|
-
# 5.4"). Can only be set if all other fields are not set.
|
12129
|
+
# A percentage of the price represented as a number in decimal notation (e.g., `"
|
12130
|
+
# 5.4"`). Can only be set if all other fields are not set.
|
12049
12131
|
# Corresponds to the JSON property `pricePercentage`
|
12050
12132
|
# @return [String]
|
12051
12133
|
attr_accessor :price_percentage
|
@@ -12076,8 +12158,8 @@ module Google
|
|
12076
12158
|
|
12077
12159
|
# Required. The weight unit.
|
12078
12160
|
# Acceptable values are:
|
12079
|
-
# - "kg"
|
12080
|
-
# - "lb"
|
12161
|
+
# - "`kg`"
|
12162
|
+
# - "`lb`"
|
12081
12163
|
# Corresponds to the JSON property `unit`
|
12082
12164
|
# @return [String]
|
12083
12165
|
attr_accessor :unit
|