google-api-client 0.30.8 → 0.30.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +108 -0
- data/README.md +1 -1
- data/api_names.yaml +16 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +51 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +16 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +30 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +2 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +55 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +6 -0
- data/generated/google/apis/admin_directory_v1/service.rb +11 -10
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +235 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +95 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +99 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +6 -0
- data/generated/google/apis/analytics_v3/representations.rb +1 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +65 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -2
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +12 -12
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +39 -2
- data/generated/google/apis/androidpublisher_v3/representations.rb +4 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +25 -13
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +137 -5
- data/generated/google/apis/bigquery_v2/representations.rb +64 -0
- data/generated/google/apis/bigquery_v2/service.rb +5 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +4 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +216 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +112 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +139 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +514 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +237 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +714 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +0 -9
- data/generated/google/apis/cloudasset_v1/representations.rb +0 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -9
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +14 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -22
- data/generated/google/apis/cloudfunctions_v1/service.rb +7 -1
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -11
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +26 -11
- data/generated/google/apis/cloudkms_v1/representations.rb +2 -0
- data/generated/google/apis/cloudkms_v1/service.rb +28 -16
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +0 -9
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -4
- data/generated/google/apis/cloudscheduler_v1/service.rb +7 -14
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -4
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +7 -14
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +0 -18
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +17 -9
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +59 -17
- data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +12 -24
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +35 -12
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +16 -32
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +30 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +12 -24
- data/generated/google/apis/compute_v1/service.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +138 -138
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +54 -32
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +19 -135
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +2 -32
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +10 -5
- data/generated/google/apis/content_v2/service.rb +3 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +618 -6
- data/generated/google/apis/content_v2_1/representations.rb +271 -0
- data/generated/google/apis/content_v2_1/service.rb +357 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +69 -8
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1/service.rb +121 -57
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +203 -97
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/service.rb +94 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +51 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +1989 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +6 -6
- data/generated/google/apis/drive_v3/service.rb +6 -6
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +419 -0
- data/generated/google/apis/fcm_v1/representations.rb +45 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +12 -1
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +12 -1
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +164 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +71 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +165 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +27 -6
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +3 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +6 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +1 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +18 -7
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +367 -99
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +4 -21
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -2
- data/generated/google/apis/healthcare_v1alpha2/service.rb +101 -117
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -13
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +90 -22
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +31 -1
- data/generated/google/apis/iam_v1/representations.rb +14 -0
- data/generated/google/apis/iam_v1/service.rb +45 -4
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +2 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +5 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +63 -9
- data/generated/google/apis/ml_v1/representations.rb +16 -1
- data/generated/google/apis/ml_v1/service.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +29 -2
- data/generated/google/apis/monitoring_v3/representations.rb +4 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +7 -0
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +5 -4
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +12 -11
- data/generated/google/apis/pubsub_v1/service.rb +3 -3
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +16 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +25 -0
- data/generated/google/apis/run_v1/representations.rb +15 -0
- data/generated/google/apis/run_v1/service.rb +39 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +338 -22
- data/generated/google/apis/run_v1alpha1/representations.rb +141 -1
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +16 -13
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1/service.rb +19 -6
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -10
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +4 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +54 -19
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -20
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -2
- data/generated/google/apis/serviceusage_v1/service.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +53 -10
- data/generated/google/apis/sheets_v4/representations.rb +17 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +50 -54
- data/generated/google/apis/spanner_v1/service.rb +8 -15
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +9 -16
- data/generated/google/apis/{run_v1beta1.rb → speech_v2beta.rb} +9 -10
- data/generated/google/apis/speech_v2beta/classes.rb +355 -0
- data/generated/google/apis/speech_v2beta/representations.rb +152 -0
- data/generated/google/apis/speech_v2beta/service.rb +138 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -12
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +44 -9
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +3 -6
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +12 -0
- data/generated/google/apis/tpu_v1/representations.rb +2 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +12 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +72 -0
- data/generated/google/apis/translate_v3beta1/representations.rb +32 -0
- data/generated/google/apis/translate_v3beta1/service.rb +82 -7
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +579 -0
- data/generated/google/apis/vision_v1/representations.rb +172 -0
- data/generated/google/apis/vision_v1/service.rb +404 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +523 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +143 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +352 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +187 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +23 -0
- data/generated/google/apis/vision_v1p2beta1/service.rb +352 -0
- data/generated/google/apis/websecurityscanner_v1.rb +4 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +924 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +426 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +487 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +322 -0
- data/generated/google/apis/youtube_v3/representations.rb +139 -0
- data/generated/google/apis/youtube_v3/service.rb +85 -0
- data/lib/google/api_client/client_secrets.rb +1 -2
- data/lib/google/apis/core/api_command.rb +12 -0
- data/lib/google/apis/core/batch.rb +2 -0
- data/lib/google/apis/core/http_command.rb +8 -1
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/generator/annotator.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -6
- data/generated/google/apis/run_v1beta1/classes.rb +0 -98
- data/generated/google/apis/run_v1beta1/representations.rb +0 -58
- data/generated/google/apis/run_v1beta1/service.rb +0 -99
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
27
27
|
module ContaineranalysisV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190820'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -121,122 +121,6 @@ module Google
|
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
124
|
-
# Specifies the audit configuration for a service.
|
125
|
-
# The configuration determines which permission types are logged, and what
|
126
|
-
# identities, if any, are exempted from logging.
|
127
|
-
# An AuditConfig must have one or more AuditLogConfigs.
|
128
|
-
# If there are AuditConfigs for both `allServices` and a specific service,
|
129
|
-
# the union of the two AuditConfigs is used for that service: the log_types
|
130
|
-
# specified in each AuditConfig are enabled, and the exempted_members in each
|
131
|
-
# AuditLogConfig are exempted.
|
132
|
-
# Example Policy with multiple AuditConfigs:
|
133
|
-
# `
|
134
|
-
# "audit_configs": [
|
135
|
-
# `
|
136
|
-
# "service": "allServices"
|
137
|
-
# "audit_log_configs": [
|
138
|
-
# `
|
139
|
-
# "log_type": "DATA_READ",
|
140
|
-
# "exempted_members": [
|
141
|
-
# "user:foo@gmail.com"
|
142
|
-
# ]
|
143
|
-
# `,
|
144
|
-
# `
|
145
|
-
# "log_type": "DATA_WRITE",
|
146
|
-
# `,
|
147
|
-
# `
|
148
|
-
# "log_type": "ADMIN_READ",
|
149
|
-
# `
|
150
|
-
# ]
|
151
|
-
# `,
|
152
|
-
# `
|
153
|
-
# "service": "fooservice.googleapis.com"
|
154
|
-
# "audit_log_configs": [
|
155
|
-
# `
|
156
|
-
# "log_type": "DATA_READ",
|
157
|
-
# `,
|
158
|
-
# `
|
159
|
-
# "log_type": "DATA_WRITE",
|
160
|
-
# "exempted_members": [
|
161
|
-
# "user:bar@gmail.com"
|
162
|
-
# ]
|
163
|
-
# `
|
164
|
-
# ]
|
165
|
-
# `
|
166
|
-
# ]
|
167
|
-
# `
|
168
|
-
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
169
|
-
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
170
|
-
# bar@gmail.com from DATA_WRITE logging.
|
171
|
-
class AuditConfig
|
172
|
-
include Google::Apis::Core::Hashable
|
173
|
-
|
174
|
-
# The configuration for logging of each type of permission.
|
175
|
-
# Corresponds to the JSON property `auditLogConfigs`
|
176
|
-
# @return [Array<Google::Apis::ContaineranalysisV1beta1::AuditLogConfig>]
|
177
|
-
attr_accessor :audit_log_configs
|
178
|
-
|
179
|
-
# Specifies a service that will be enabled for audit logging.
|
180
|
-
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
181
|
-
# `allServices` is a special value that covers all services.
|
182
|
-
# Corresponds to the JSON property `service`
|
183
|
-
# @return [String]
|
184
|
-
attr_accessor :service
|
185
|
-
|
186
|
-
def initialize(**args)
|
187
|
-
update!(**args)
|
188
|
-
end
|
189
|
-
|
190
|
-
# Update properties of this object
|
191
|
-
def update!(**args)
|
192
|
-
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
193
|
-
@service = args[:service] if args.key?(:service)
|
194
|
-
end
|
195
|
-
end
|
196
|
-
|
197
|
-
# Provides the configuration for logging a type of permissions.
|
198
|
-
# Example:
|
199
|
-
# `
|
200
|
-
# "audit_log_configs": [
|
201
|
-
# `
|
202
|
-
# "log_type": "DATA_READ",
|
203
|
-
# "exempted_members": [
|
204
|
-
# "user:foo@gmail.com"
|
205
|
-
# ]
|
206
|
-
# `,
|
207
|
-
# `
|
208
|
-
# "log_type": "DATA_WRITE",
|
209
|
-
# `
|
210
|
-
# ]
|
211
|
-
# `
|
212
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
213
|
-
# foo@gmail.com from DATA_READ logging.
|
214
|
-
class AuditLogConfig
|
215
|
-
include Google::Apis::Core::Hashable
|
216
|
-
|
217
|
-
# Specifies the identities that do not cause logging for this type of
|
218
|
-
# permission.
|
219
|
-
# Follows the same format of Binding.members.
|
220
|
-
# Corresponds to the JSON property `exemptedMembers`
|
221
|
-
# @return [Array<String>]
|
222
|
-
attr_accessor :exempted_members
|
223
|
-
|
224
|
-
# The log type that this config enables.
|
225
|
-
# Corresponds to the JSON property `logType`
|
226
|
-
# @return [String]
|
227
|
-
attr_accessor :log_type
|
228
|
-
|
229
|
-
def initialize(**args)
|
230
|
-
update!(**args)
|
231
|
-
end
|
232
|
-
|
233
|
-
# Update properties of this object
|
234
|
-
def update!(**args)
|
235
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
236
|
-
@log_type = args[:log_type] if args.key?(:log_type)
|
237
|
-
end
|
238
|
-
end
|
239
|
-
|
240
124
|
# Note kind that represents a logical attestation "role" or "authority". For
|
241
125
|
# example, an organization might have one `Authority` for "QA" and one for
|
242
126
|
# "build". This note is intended to act strictly as a grouping mechanism for
|
@@ -394,7 +278,7 @@ module Google
|
|
394
278
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
395
279
|
# who is authenticated with a Google account or a service account.
|
396
280
|
# * `user:`emailid``: An email address that represents a specific Google
|
397
|
-
# account. For example, `alice@
|
281
|
+
# account. For example, `alice@example.com` .
|
398
282
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
399
283
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
400
284
|
# * `group:`emailid``: An email address that represents a Google group.
|
@@ -938,6 +822,13 @@ module Google
|
|
938
822
|
# @return [String]
|
939
823
|
attr_accessor :severity_name
|
940
824
|
|
825
|
+
# The time this information was last changed at the source. This is an
|
826
|
+
# upstream timestamp from the underlying information source - e.g. Ubuntu
|
827
|
+
# security tracker.
|
828
|
+
# Corresponds to the JSON property `sourceUpdateTime`
|
829
|
+
# @return [String]
|
830
|
+
attr_accessor :source_update_time
|
831
|
+
|
941
832
|
def initialize(**args)
|
942
833
|
update!(**args)
|
943
834
|
end
|
@@ -953,6 +844,7 @@ module Google
|
|
953
844
|
@package = args[:package] if args.key?(:package)
|
954
845
|
@package_type = args[:package_type] if args.key?(:package_type)
|
955
846
|
@severity_name = args[:severity_name] if args.key?(:severity_name)
|
847
|
+
@source_update_time = args[:source_update_time] if args.key?(:source_update_time)
|
956
848
|
end
|
957
849
|
end
|
958
850
|
|
@@ -1363,7 +1255,7 @@ module Google
|
|
1363
1255
|
include Google::Apis::Core::Hashable
|
1364
1256
|
|
1365
1257
|
# Optional. The policy format version to be returned.
|
1366
|
-
# Acceptable values are 0 and
|
1258
|
+
# Acceptable values are 0, 1, and 3.
|
1367
1259
|
# If the value is 0, or the field is omitted, policy format version 1 will be
|
1368
1260
|
# returned.
|
1369
1261
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
@@ -2271,11 +2163,6 @@ module Google
|
|
2271
2163
|
class Policy
|
2272
2164
|
include Google::Apis::Core::Hashable
|
2273
2165
|
|
2274
|
-
# Specifies cloud audit logging configuration for this policy.
|
2275
|
-
# Corresponds to the JSON property `auditConfigs`
|
2276
|
-
# @return [Array<Google::Apis::ContaineranalysisV1beta1::AuditConfig>]
|
2277
|
-
attr_accessor :audit_configs
|
2278
|
-
|
2279
2166
|
# Associates a list of `members` to a `role`.
|
2280
2167
|
# `bindings` with no members will result in an error.
|
2281
2168
|
# Corresponds to the JSON property `bindings`
|
@@ -2290,7 +2177,7 @@ module Google
|
|
2290
2177
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
2291
2178
|
# ensure that their change will be applied to the same version of the policy.
|
2292
2179
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
2293
|
-
# policy is overwritten
|
2180
|
+
# policy is overwritten.
|
2294
2181
|
# Corresponds to the JSON property `etag`
|
2295
2182
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2296
2183
|
# @return [String]
|
@@ -2307,7 +2194,6 @@ module Google
|
|
2307
2194
|
|
2308
2195
|
# Update properties of this object
|
2309
2196
|
def update!(**args)
|
2310
|
-
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
2311
2197
|
@bindings = args[:bindings] if args.key?(:bindings)
|
2312
2198
|
@etag = args[:etag] if args.key?(:etag)
|
2313
2199
|
@version = args[:version] if args.key?(:version)
|
@@ -2518,15 +2404,6 @@ module Google
|
|
2518
2404
|
# @return [Google::Apis::ContaineranalysisV1beta1::Policy]
|
2519
2405
|
attr_accessor :policy
|
2520
2406
|
|
2521
|
-
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
2522
|
-
# the fields in the mask will be modified. If no mask is provided, the
|
2523
|
-
# following default mask is used:
|
2524
|
-
# paths: "bindings, etag"
|
2525
|
-
# This field is only used by Cloud IAM.
|
2526
|
-
# Corresponds to the JSON property `updateMask`
|
2527
|
-
# @return [String]
|
2528
|
-
attr_accessor :update_mask
|
2529
|
-
|
2530
2407
|
def initialize(**args)
|
2531
2408
|
update!(**args)
|
2532
2409
|
end
|
@@ -2534,7 +2411,6 @@ module Google
|
|
2534
2411
|
# Update properties of this object
|
2535
2412
|
def update!(**args)
|
2536
2413
|
@policy = args[:policy] if args.key?(:policy)
|
2537
|
-
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
2538
2414
|
end
|
2539
2415
|
end
|
2540
2416
|
|
@@ -2836,6 +2712,13 @@ module Google
|
|
2836
2712
|
# @return [String]
|
2837
2713
|
attr_accessor :severity
|
2838
2714
|
|
2715
|
+
# The time this information was last changed at the source. This is an
|
2716
|
+
# upstream timestamp from the underlying information source - e.g. Ubuntu
|
2717
|
+
# security tracker.
|
2718
|
+
# Corresponds to the JSON property `sourceUpdateTime`
|
2719
|
+
# @return [String]
|
2720
|
+
attr_accessor :source_update_time
|
2721
|
+
|
2839
2722
|
# Windows details get their own format because the information format and
|
2840
2723
|
# model don't match a normal detail. Specifically Windows updates are done as
|
2841
2724
|
# patches, thus Windows vulnerabilities really are a missing package, rather
|
@@ -2854,6 +2737,7 @@ module Google
|
|
2854
2737
|
@cvss_v3 = args[:cvss_v3] if args.key?(:cvss_v3)
|
2855
2738
|
@details = args[:details] if args.key?(:details)
|
2856
2739
|
@severity = args[:severity] if args.key?(:severity)
|
2740
|
+
@source_update_time = args[:source_update_time] if args.key?(:source_update_time)
|
2857
2741
|
@windows_details = args[:windows_details] if args.key?(:windows_details)
|
2858
2742
|
end
|
2859
2743
|
end
|
@@ -40,18 +40,6 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class AuditConfig
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
|
-
class AuditLogConfig
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
-
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
53
|
-
end
|
54
|
-
|
55
43
|
class Authority
|
56
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
45
|
|
@@ -505,23 +493,6 @@ module Google
|
|
505
493
|
end
|
506
494
|
end
|
507
495
|
|
508
|
-
class AuditConfig
|
509
|
-
# @private
|
510
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
511
|
-
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ContaineranalysisV1beta1::AuditLogConfig, decorator: Google::Apis::ContaineranalysisV1beta1::AuditLogConfig::Representation
|
512
|
-
|
513
|
-
property :service, as: 'service'
|
514
|
-
end
|
515
|
-
end
|
516
|
-
|
517
|
-
class AuditLogConfig
|
518
|
-
# @private
|
519
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
520
|
-
collection :exempted_members, as: 'exemptedMembers'
|
521
|
-
property :log_type, as: 'logType'
|
522
|
-
end
|
523
|
-
end
|
524
|
-
|
525
496
|
class Authority
|
526
497
|
# @private
|
527
498
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -709,6 +680,7 @@ module Google
|
|
709
680
|
property :package, as: 'package'
|
710
681
|
property :package_type, as: 'packageType'
|
711
682
|
property :severity_name, as: 'severityName'
|
683
|
+
property :source_update_time, as: 'sourceUpdateTime'
|
712
684
|
end
|
713
685
|
end
|
714
686
|
|
@@ -1080,8 +1052,6 @@ module Google
|
|
1080
1052
|
class Policy
|
1081
1053
|
# @private
|
1082
1054
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1083
|
-
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ContaineranalysisV1beta1::AuditConfig, decorator: Google::Apis::ContaineranalysisV1beta1::AuditConfig::Representation
|
1084
|
-
|
1085
1055
|
collection :bindings, as: 'bindings', class: Google::Apis::ContaineranalysisV1beta1::Binding, decorator: Google::Apis::ContaineranalysisV1beta1::Binding::Representation
|
1086
1056
|
|
1087
1057
|
property :etag, :base64 => true, as: 'etag'
|
@@ -1140,7 +1110,6 @@ module Google
|
|
1140
1110
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1141
1111
|
property :policy, as: 'policy', class: Google::Apis::ContaineranalysisV1beta1::Policy, decorator: Google::Apis::ContaineranalysisV1beta1::Policy::Representation
|
1142
1112
|
|
1143
|
-
property :update_mask, as: 'updateMask'
|
1144
1113
|
end
|
1145
1114
|
end
|
1146
1115
|
|
@@ -1220,6 +1189,7 @@ module Google
|
|
1220
1189
|
collection :details, as: 'details', class: Google::Apis::ContaineranalysisV1beta1::Detail, decorator: Google::Apis::ContaineranalysisV1beta1::Detail::Representation
|
1221
1190
|
|
1222
1191
|
property :severity, as: 'severity'
|
1192
|
+
property :source_update_time, as: 'sourceUpdateTime'
|
1223
1193
|
collection :windows_details, as: 'windowsDetails', class: Google::Apis::ContaineranalysisV1beta1::WindowsDetail, decorator: Google::Apis::ContaineranalysisV1beta1::WindowsDetail::Representation
|
1224
1194
|
|
1225
1195
|
end
|
@@ -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 = '20190805'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -2100,7 +2100,7 @@ module Google
|
|
2100
2100
|
|
2101
2101
|
# The list of destinations to include for this target (corresponds to checked
|
2102
2102
|
# check boxes in Merchant Center). Default destinations are always included
|
2103
|
-
# unless provided in
|
2103
|
+
# unless provided in excludedDestinations.
|
2104
2104
|
# Corresponds to the JSON property `includedDestinations`
|
2105
2105
|
# @return [Array<String>]
|
2106
2106
|
attr_accessor :included_destinations
|
@@ -5187,6 +5187,9 @@ module Google
|
|
5187
5187
|
# - "gls"
|
5188
5188
|
# - "dpd"
|
5189
5189
|
# - "bpost"
|
5190
|
+
# - "colis priv�"
|
5191
|
+
# - "boxtal"
|
5192
|
+
# - "geodis"
|
5190
5193
|
# Corresponds to the JSON property `carrier`
|
5191
5194
|
# @return [String]
|
5192
5195
|
attr_accessor :carrier
|
@@ -10612,8 +10615,9 @@ module Google
|
|
10612
10615
|
attr_accessor :promotions
|
10613
10616
|
|
10614
10617
|
# The price of shipping for all items. Shipping tax is automatically calculated
|
10615
|
-
# for
|
10616
|
-
# applied. Note that shipping is not taxed
|
10618
|
+
# for orders where marketplace facilitator tax laws are applicable. Otherwise,
|
10619
|
+
# tax settings from Merchant Center are applied. Note that shipping is not taxed
|
10620
|
+
# in certain states.
|
10617
10621
|
# Corresponds to the JSON property `shippingCost`
|
10618
10622
|
# @return [Google::Apis::ContentV2::Price]
|
10619
10623
|
attr_accessor :shipping_cost
|
@@ -10810,8 +10814,9 @@ module Google
|
|
10810
10814
|
# @return [String]
|
10811
10815
|
attr_accessor :offer_id
|
10812
10816
|
|
10813
|
-
# The price for the product. Tax is automatically calculated for
|
10814
|
-
#
|
10817
|
+
# The price for the product. Tax is automatically calculated for orders where
|
10818
|
+
# marketplace facilitator tax laws are applicable. Otherwise, tax settings from
|
10819
|
+
# Merchant Center are applied.
|
10815
10820
|
# Corresponds to the JSON property `price`
|
10816
10821
|
# @return [Google::Apis::ContentV2::Price]
|
10817
10822
|
attr_accessor :price
|
@@ -2623,8 +2623,9 @@ module Google
|
|
2623
2623
|
execute_or_queue_command(command, &block)
|
2624
2624
|
end
|
2625
2625
|
|
2626
|
-
# Notifies that item return and refund was handled directly by
|
2627
|
-
# of Google payments processing (e.g. cash refund done in store)
|
2626
|
+
# Deprecated. Notifies that item return and refund was handled directly by
|
2627
|
+
# merchant outside of Google payments processing (e.g. cash refund done in store)
|
2628
|
+
# .
|
2628
2629
|
# Note: We recommend calling the returnrefundlineitem method to refund in-store
|
2629
2630
|
# returns. We will issue the refund directly to the customer. This helps to
|
2630
2631
|
# prevent possible differences arising between merchant and Google transaction
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2_1
|
28
28
|
VERSION = 'V2_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190809'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -1908,7 +1908,7 @@ module Google
|
|
1908
1908
|
|
1909
1909
|
# The list of destinations to include for this target (corresponds to checked
|
1910
1910
|
# check boxes in Merchant Center). Default destinations are always included
|
1911
|
-
# unless provided in
|
1911
|
+
# unless provided in excludedDestinations.
|
1912
1912
|
# Corresponds to the JSON property `includedDestinations`
|
1913
1913
|
# @return [Array<String>]
|
1914
1914
|
attr_accessor :included_destinations
|
@@ -3671,6 +3671,17 @@ module Google
|
|
3671
3671
|
# @return [String]
|
3672
3672
|
attr_accessor :full_name
|
3673
3673
|
|
3674
|
+
# Email address for receiving merchant issued value-added tax or invoice
|
3675
|
+
# documentation of this order.
|
3676
|
+
# Corresponds to the JSON property `invoiceReceivingEmail`
|
3677
|
+
# @return [String]
|
3678
|
+
attr_accessor :invoice_receiving_email
|
3679
|
+
|
3680
|
+
# Loyalty program information.
|
3681
|
+
# Corresponds to the JSON property `loyaltyInfo`
|
3682
|
+
# @return [Google::Apis::ContentV2_1::OrderCustomerLoyaltyInfo]
|
3683
|
+
attr_accessor :loyalty_info
|
3684
|
+
|
3674
3685
|
# Customer's marketing preferences. Contains the marketing opt-in information
|
3675
3686
|
# that is current at the time that the merchant call. User preference selections
|
3676
3687
|
# can change from one order to the next so preferences must be checked with
|
@@ -3686,10 +3697,37 @@ module Google
|
|
3686
3697
|
# Update properties of this object
|
3687
3698
|
def update!(**args)
|
3688
3699
|
@full_name = args[:full_name] if args.key?(:full_name)
|
3700
|
+
@invoice_receiving_email = args[:invoice_receiving_email] if args.key?(:invoice_receiving_email)
|
3701
|
+
@loyalty_info = args[:loyalty_info] if args.key?(:loyalty_info)
|
3689
3702
|
@marketing_rights_info = args[:marketing_rights_info] if args.key?(:marketing_rights_info)
|
3690
3703
|
end
|
3691
3704
|
end
|
3692
3705
|
|
3706
|
+
#
|
3707
|
+
class OrderCustomerLoyaltyInfo
|
3708
|
+
include Google::Apis::Core::Hashable
|
3709
|
+
|
3710
|
+
# The loyalty card/membership number.
|
3711
|
+
# Corresponds to the JSON property `loyaltyNumber`
|
3712
|
+
# @return [String]
|
3713
|
+
attr_accessor :loyalty_number
|
3714
|
+
|
3715
|
+
# Name of card/membership holder, this field will be populated when
|
3716
|
+
# Corresponds to the JSON property `name`
|
3717
|
+
# @return [String]
|
3718
|
+
attr_accessor :name
|
3719
|
+
|
3720
|
+
def initialize(**args)
|
3721
|
+
update!(**args)
|
3722
|
+
end
|
3723
|
+
|
3724
|
+
# Update properties of this object
|
3725
|
+
def update!(**args)
|
3726
|
+
@loyalty_number = args[:loyalty_number] if args.key?(:loyalty_number)
|
3727
|
+
@name = args[:name] if args.key?(:name)
|
3728
|
+
end
|
3729
|
+
end
|
3730
|
+
|
3693
3731
|
#
|
3694
3732
|
class OrderCustomerMarketingRightsInfo
|
3695
3733
|
include Google::Apis::Core::Hashable
|
@@ -3820,6 +3858,11 @@ module Google
|
|
3820
3858
|
# @return [Fixnum]
|
3821
3859
|
attr_accessor :quantity_shipped
|
3822
3860
|
|
3861
|
+
# Number of items undeliverable.
|
3862
|
+
# Corresponds to the JSON property `quantityUndeliverable`
|
3863
|
+
# @return [Fixnum]
|
3864
|
+
attr_accessor :quantity_undeliverable
|
3865
|
+
|
3823
3866
|
# Details of the return policy for the line item.
|
3824
3867
|
# Corresponds to the JSON property `returnInfo`
|
3825
3868
|
# @return [Google::Apis::ContentV2_1::OrderLineItemReturnInfo]
|
@@ -3859,6 +3902,7 @@ module Google
|
|
3859
3902
|
@quantity_pending = args[:quantity_pending] if args.key?(:quantity_pending)
|
3860
3903
|
@quantity_returned = args[:quantity_returned] if args.key?(:quantity_returned)
|
3861
3904
|
@quantity_shipped = args[:quantity_shipped] if args.key?(:quantity_shipped)
|
3905
|
+
@quantity_undeliverable = args[:quantity_undeliverable] if args.key?(:quantity_undeliverable)
|
3862
3906
|
@return_info = args[:return_info] if args.key?(:return_info)
|
3863
3907
|
@returns = args[:returns] if args.key?(:returns)
|
3864
3908
|
@shipping_details = args[:shipping_details] if args.key?(:shipping_details)
|
@@ -4511,6 +4555,9 @@ module Google
|
|
4511
4555
|
# - "gls"
|
4512
4556
|
# - "dpd"
|
4513
4557
|
# - "bpost"
|
4558
|
+
# - "colis priv�"
|
4559
|
+
# - "boxtal"
|
4560
|
+
# - "geodis"
|
4514
4561
|
# Corresponds to the JSON property `carrier`
|
4515
4562
|
# @return [String]
|
4516
4563
|
attr_accessor :carrier
|
@@ -4536,6 +4583,11 @@ module Google
|
|
4536
4583
|
# @return [Array<Google::Apis::ContentV2_1::OrderShipmentLineItemShipment>]
|
4537
4584
|
attr_accessor :line_items
|
4538
4585
|
|
4586
|
+
# The shipment group ID of the shipment. This is set in shiplineitems request.
|
4587
|
+
# Corresponds to the JSON property `shipmentGroupId`
|
4588
|
+
# @return [String]
|
4589
|
+
attr_accessor :shipment_group_id
|
4590
|
+
|
4539
4591
|
# The status of the shipment.
|
4540
4592
|
# Corresponds to the JSON property `status`
|
4541
4593
|
# @return [String]
|
@@ -4557,6 +4609,7 @@ module Google
|
|
4557
4609
|
@delivery_date = args[:delivery_date] if args.key?(:delivery_date)
|
4558
4610
|
@id = args[:id] if args.key?(:id)
|
4559
4611
|
@line_items = args[:line_items] if args.key?(:line_items)
|
4612
|
+
@shipment_group_id = args[:shipment_group_id] if args.key?(:shipment_group_id)
|
4560
4613
|
@status = args[:status] if args.key?(:status)
|
4561
4614
|
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
4562
4615
|
end
|
@@ -6939,7 +6992,7 @@ module Google
|
|
6939
6992
|
|
6940
6993
|
# The list of destinations to include for this target (corresponds to checked
|
6941
6994
|
# check boxes in Merchant Center). Default destinations are always included
|
6942
|
-
# unless provided in
|
6995
|
+
# unless provided in excludedDestinations.
|
6943
6996
|
# Corresponds to the JSON property `includedDestinations`
|
6944
6997
|
# @return [Array<String>]
|
6945
6998
|
attr_accessor :included_destinations
|
@@ -8237,6 +8290,253 @@ module Google
|
|
8237
8290
|
end
|
8238
8291
|
end
|
8239
8292
|
|
8293
|
+
# Return address resource.
|
8294
|
+
class ReturnAddress
|
8295
|
+
include Google::Apis::Core::Hashable
|
8296
|
+
|
8297
|
+
# The address.
|
8298
|
+
# Corresponds to the JSON property `address`
|
8299
|
+
# @return [Google::Apis::ContentV2_1::ReturnAddressAddress]
|
8300
|
+
attr_accessor :address
|
8301
|
+
|
8302
|
+
# The country of sale where the return address is applicable.
|
8303
|
+
# Corresponds to the JSON property `country`
|
8304
|
+
# @return [String]
|
8305
|
+
attr_accessor :country
|
8306
|
+
|
8307
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8308
|
+
# returnAddress".
|
8309
|
+
# Corresponds to the JSON property `kind`
|
8310
|
+
# @return [String]
|
8311
|
+
attr_accessor :kind
|
8312
|
+
|
8313
|
+
# The user-defined label of the return address. For the default address, use the
|
8314
|
+
# label "default".
|
8315
|
+
# Corresponds to the JSON property `label`
|
8316
|
+
# @return [String]
|
8317
|
+
attr_accessor :label
|
8318
|
+
|
8319
|
+
# The merchant's contact phone number regarding the return.
|
8320
|
+
# Corresponds to the JSON property `phoneNumber`
|
8321
|
+
# @return [String]
|
8322
|
+
attr_accessor :phone_number
|
8323
|
+
|
8324
|
+
# Return address ID generated by Google.
|
8325
|
+
# Corresponds to the JSON property `returnAddressId`
|
8326
|
+
# @return [String]
|
8327
|
+
attr_accessor :return_address_id
|
8328
|
+
|
8329
|
+
def initialize(**args)
|
8330
|
+
update!(**args)
|
8331
|
+
end
|
8332
|
+
|
8333
|
+
# Update properties of this object
|
8334
|
+
def update!(**args)
|
8335
|
+
@address = args[:address] if args.key?(:address)
|
8336
|
+
@country = args[:country] if args.key?(:country)
|
8337
|
+
@kind = args[:kind] if args.key?(:kind)
|
8338
|
+
@label = args[:label] if args.key?(:label)
|
8339
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
8340
|
+
@return_address_id = args[:return_address_id] if args.key?(:return_address_id)
|
8341
|
+
end
|
8342
|
+
end
|
8343
|
+
|
8344
|
+
#
|
8345
|
+
class ReturnAddressAddress
|
8346
|
+
include Google::Apis::Core::Hashable
|
8347
|
+
|
8348
|
+
# CLDR country code (e.g. "US").
|
8349
|
+
# Corresponds to the JSON property `country`
|
8350
|
+
# @return [String]
|
8351
|
+
attr_accessor :country
|
8352
|
+
|
8353
|
+
# City, town or commune. May also include dependent localities or sublocalities (
|
8354
|
+
# e.g. neighborhoods or suburbs).
|
8355
|
+
# Corresponds to the JSON property `locality`
|
8356
|
+
# @return [String]
|
8357
|
+
attr_accessor :locality
|
8358
|
+
|
8359
|
+
# Postal code or ZIP (e.g. "94043").
|
8360
|
+
# Corresponds to the JSON property `postalCode`
|
8361
|
+
# @return [String]
|
8362
|
+
attr_accessor :postal_code
|
8363
|
+
|
8364
|
+
# Name of the recipient to address returns to.
|
8365
|
+
# Corresponds to the JSON property `recipientName`
|
8366
|
+
# @return [String]
|
8367
|
+
attr_accessor :recipient_name
|
8368
|
+
|
8369
|
+
# Top-level administrative subdivision of the country. For example, a state like
|
8370
|
+
# California ("CA") or a province like Quebec ("QC").
|
8371
|
+
# Corresponds to the JSON property `region`
|
8372
|
+
# @return [String]
|
8373
|
+
attr_accessor :region
|
8374
|
+
|
8375
|
+
# Street-level part of the address. May be up to two lines, each line specified
|
8376
|
+
# as an array element.
|
8377
|
+
# Corresponds to the JSON property `streetAddress`
|
8378
|
+
# @return [Array<String>]
|
8379
|
+
attr_accessor :street_address
|
8380
|
+
|
8381
|
+
def initialize(**args)
|
8382
|
+
update!(**args)
|
8383
|
+
end
|
8384
|
+
|
8385
|
+
# Update properties of this object
|
8386
|
+
def update!(**args)
|
8387
|
+
@country = args[:country] if args.key?(:country)
|
8388
|
+
@locality = args[:locality] if args.key?(:locality)
|
8389
|
+
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
8390
|
+
@recipient_name = args[:recipient_name] if args.key?(:recipient_name)
|
8391
|
+
@region = args[:region] if args.key?(:region)
|
8392
|
+
@street_address = args[:street_address] if args.key?(:street_address)
|
8393
|
+
end
|
8394
|
+
end
|
8395
|
+
|
8396
|
+
# Return policy resource.
|
8397
|
+
class ReturnPolicy
|
8398
|
+
include Google::Apis::Core::Hashable
|
8399
|
+
|
8400
|
+
# The country of sale where the return policy is applicable.
|
8401
|
+
# Corresponds to the JSON property `country`
|
8402
|
+
# @return [String]
|
8403
|
+
attr_accessor :country
|
8404
|
+
|
8405
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8406
|
+
# returnPolicy".
|
8407
|
+
# Corresponds to the JSON property `kind`
|
8408
|
+
# @return [String]
|
8409
|
+
attr_accessor :kind
|
8410
|
+
|
8411
|
+
# The user-defined label of the return policy. For the default policy, use the
|
8412
|
+
# label "default".
|
8413
|
+
# Corresponds to the JSON property `label`
|
8414
|
+
# @return [String]
|
8415
|
+
attr_accessor :label
|
8416
|
+
|
8417
|
+
# The name of the policy as shown in Merchant Center.
|
8418
|
+
# Corresponds to the JSON property `name`
|
8419
|
+
# @return [String]
|
8420
|
+
attr_accessor :name
|
8421
|
+
|
8422
|
+
# Return reasons that will incur return fees.
|
8423
|
+
# Corresponds to the JSON property `nonFreeReturnReasons`
|
8424
|
+
# @return [Array<String>]
|
8425
|
+
attr_accessor :non_free_return_reasons
|
8426
|
+
|
8427
|
+
# The policy.
|
8428
|
+
# Corresponds to the JSON property `policy`
|
8429
|
+
# @return [Google::Apis::ContentV2_1::ReturnPolicyPolicy]
|
8430
|
+
attr_accessor :policy
|
8431
|
+
|
8432
|
+
# Return policy ID generated by Google.
|
8433
|
+
# Corresponds to the JSON property `returnPolicyId`
|
8434
|
+
# @return [String]
|
8435
|
+
attr_accessor :return_policy_id
|
8436
|
+
|
8437
|
+
# An optional list of seasonal overrides.
|
8438
|
+
# Corresponds to the JSON property `seasonalOverrides`
|
8439
|
+
# @return [Array<Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride>]
|
8440
|
+
attr_accessor :seasonal_overrides
|
8441
|
+
|
8442
|
+
def initialize(**args)
|
8443
|
+
update!(**args)
|
8444
|
+
end
|
8445
|
+
|
8446
|
+
# Update properties of this object
|
8447
|
+
def update!(**args)
|
8448
|
+
@country = args[:country] if args.key?(:country)
|
8449
|
+
@kind = args[:kind] if args.key?(:kind)
|
8450
|
+
@label = args[:label] if args.key?(:label)
|
8451
|
+
@name = args[:name] if args.key?(:name)
|
8452
|
+
@non_free_return_reasons = args[:non_free_return_reasons] if args.key?(:non_free_return_reasons)
|
8453
|
+
@policy = args[:policy] if args.key?(:policy)
|
8454
|
+
@return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id)
|
8455
|
+
@seasonal_overrides = args[:seasonal_overrides] if args.key?(:seasonal_overrides)
|
8456
|
+
end
|
8457
|
+
end
|
8458
|
+
|
8459
|
+
#
|
8460
|
+
class ReturnPolicyPolicy
|
8461
|
+
include Google::Apis::Core::Hashable
|
8462
|
+
|
8463
|
+
# Last day for returning the items. In ISO 8601 format. When specifying the
|
8464
|
+
# return window like this, set the policy type to "lastReturnDate". Use this for
|
8465
|
+
# seasonal overrides only.
|
8466
|
+
# Corresponds to the JSON property `lastReturnDate`
|
8467
|
+
# @return [String]
|
8468
|
+
attr_accessor :last_return_date
|
8469
|
+
|
8470
|
+
# The number of days items can be returned after delivery, where one day is
|
8471
|
+
# defined to be 24 hours after the delivery timestamp. When specifying the
|
8472
|
+
# return window like this, set the policy type to "numberOfDaysAfterDelivery".
|
8473
|
+
# Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default
|
8474
|
+
# policy. Additional policies further allow 14, 15, 21 and 28 days, but note
|
8475
|
+
# that for most items a minimum of 30 days is required for returns. Exceptions
|
8476
|
+
# may be made for electronics. A policy of less than 30 days can only be applied
|
8477
|
+
# to those items.
|
8478
|
+
# Corresponds to the JSON property `numberOfDays`
|
8479
|
+
# @return [Fixnum]
|
8480
|
+
attr_accessor :number_of_days
|
8481
|
+
|
8482
|
+
# Policy type. Use "lastReturnDate" for seasonal overrides only. Note that for
|
8483
|
+
# most items a minimum of 30 days is required for returns. Exceptions may be
|
8484
|
+
# made for electronics or non-returnable items such as food, perishables, and
|
8485
|
+
# living things. A policy of less than 30 days can only be applied to those
|
8486
|
+
# items.
|
8487
|
+
# Corresponds to the JSON property `type`
|
8488
|
+
# @return [String]
|
8489
|
+
attr_accessor :type
|
8490
|
+
|
8491
|
+
def initialize(**args)
|
8492
|
+
update!(**args)
|
8493
|
+
end
|
8494
|
+
|
8495
|
+
# Update properties of this object
|
8496
|
+
def update!(**args)
|
8497
|
+
@last_return_date = args[:last_return_date] if args.key?(:last_return_date)
|
8498
|
+
@number_of_days = args[:number_of_days] if args.key?(:number_of_days)
|
8499
|
+
@type = args[:type] if args.key?(:type)
|
8500
|
+
end
|
8501
|
+
end
|
8502
|
+
|
8503
|
+
#
|
8504
|
+
class ReturnPolicySeasonalOverride
|
8505
|
+
include Google::Apis::Core::Hashable
|
8506
|
+
|
8507
|
+
# Last day on which the override applies. In ISO 8601 format.
|
8508
|
+
# Corresponds to the JSON property `endDate`
|
8509
|
+
# @return [String]
|
8510
|
+
attr_accessor :end_date
|
8511
|
+
|
8512
|
+
# The name of the seasonal override as shown in Merchant Center.
|
8513
|
+
# Corresponds to the JSON property `name`
|
8514
|
+
# @return [String]
|
8515
|
+
attr_accessor :name
|
8516
|
+
|
8517
|
+
# The policy which is in effect during that time.
|
8518
|
+
# Corresponds to the JSON property `policy`
|
8519
|
+
# @return [Google::Apis::ContentV2_1::ReturnPolicyPolicy]
|
8520
|
+
attr_accessor :policy
|
8521
|
+
|
8522
|
+
# First day on which the override applies. In ISO 8601 format.
|
8523
|
+
# Corresponds to the JSON property `startDate`
|
8524
|
+
# @return [String]
|
8525
|
+
attr_accessor :start_date
|
8526
|
+
|
8527
|
+
def initialize(**args)
|
8528
|
+
update!(**args)
|
8529
|
+
end
|
8530
|
+
|
8531
|
+
# Update properties of this object
|
8532
|
+
def update!(**args)
|
8533
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
8534
|
+
@name = args[:name] if args.key?(:name)
|
8535
|
+
@policy = args[:policy] if args.key?(:policy)
|
8536
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
8537
|
+
end
|
8538
|
+
end
|
8539
|
+
|
8240
8540
|
#
|
8241
8541
|
class ReturnShipment
|
8242
8542
|
include Google::Apis::Core::Hashable
|
@@ -8292,6 +8592,316 @@ module Google
|
|
8292
8592
|
end
|
8293
8593
|
end
|
8294
8594
|
|
8595
|
+
#
|
8596
|
+
class ReturnaddressCustomBatchRequest
|
8597
|
+
include Google::Apis::Core::Hashable
|
8598
|
+
|
8599
|
+
# The request entries to be processed in the batch.
|
8600
|
+
# Corresponds to the JSON property `entries`
|
8601
|
+
# @return [Array<Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry>]
|
8602
|
+
attr_accessor :entries
|
8603
|
+
|
8604
|
+
def initialize(**args)
|
8605
|
+
update!(**args)
|
8606
|
+
end
|
8607
|
+
|
8608
|
+
# Update properties of this object
|
8609
|
+
def update!(**args)
|
8610
|
+
@entries = args[:entries] if args.key?(:entries)
|
8611
|
+
end
|
8612
|
+
end
|
8613
|
+
|
8614
|
+
#
|
8615
|
+
class ReturnaddressCustomBatchRequestEntry
|
8616
|
+
include Google::Apis::Core::Hashable
|
8617
|
+
|
8618
|
+
# An entry ID, unique within the batch request.
|
8619
|
+
# Corresponds to the JSON property `batchId`
|
8620
|
+
# @return [Fixnum]
|
8621
|
+
attr_accessor :batch_id
|
8622
|
+
|
8623
|
+
# The Merchant Center account ID.
|
8624
|
+
# Corresponds to the JSON property `merchantId`
|
8625
|
+
# @return [Fixnum]
|
8626
|
+
attr_accessor :merchant_id
|
8627
|
+
|
8628
|
+
#
|
8629
|
+
# Corresponds to the JSON property `method`
|
8630
|
+
# @return [String]
|
8631
|
+
attr_accessor :method_prop
|
8632
|
+
|
8633
|
+
# Return address resource.
|
8634
|
+
# Corresponds to the JSON property `returnAddress`
|
8635
|
+
# @return [Google::Apis::ContentV2_1::ReturnAddress]
|
8636
|
+
attr_accessor :return_address
|
8637
|
+
|
8638
|
+
# The return address ID. Set this only if the method is delete or get.
|
8639
|
+
# Corresponds to the JSON property `returnAddressId`
|
8640
|
+
# @return [String]
|
8641
|
+
attr_accessor :return_address_id
|
8642
|
+
|
8643
|
+
def initialize(**args)
|
8644
|
+
update!(**args)
|
8645
|
+
end
|
8646
|
+
|
8647
|
+
# Update properties of this object
|
8648
|
+
def update!(**args)
|
8649
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
8650
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
8651
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
8652
|
+
@return_address = args[:return_address] if args.key?(:return_address)
|
8653
|
+
@return_address_id = args[:return_address_id] if args.key?(:return_address_id)
|
8654
|
+
end
|
8655
|
+
end
|
8656
|
+
|
8657
|
+
#
|
8658
|
+
class ReturnaddressCustomBatchResponse
|
8659
|
+
include Google::Apis::Core::Hashable
|
8660
|
+
|
8661
|
+
# The result of the execution of the batch requests.
|
8662
|
+
# Corresponds to the JSON property `entries`
|
8663
|
+
# @return [Array<Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponseEntry>]
|
8664
|
+
attr_accessor :entries
|
8665
|
+
|
8666
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8667
|
+
# returnaddressCustomBatchResponse".
|
8668
|
+
# Corresponds to the JSON property `kind`
|
8669
|
+
# @return [String]
|
8670
|
+
attr_accessor :kind
|
8671
|
+
|
8672
|
+
def initialize(**args)
|
8673
|
+
update!(**args)
|
8674
|
+
end
|
8675
|
+
|
8676
|
+
# Update properties of this object
|
8677
|
+
def update!(**args)
|
8678
|
+
@entries = args[:entries] if args.key?(:entries)
|
8679
|
+
@kind = args[:kind] if args.key?(:kind)
|
8680
|
+
end
|
8681
|
+
end
|
8682
|
+
|
8683
|
+
#
|
8684
|
+
class ReturnaddressCustomBatchResponseEntry
|
8685
|
+
include Google::Apis::Core::Hashable
|
8686
|
+
|
8687
|
+
# The ID of the request entry to which this entry responds.
|
8688
|
+
# Corresponds to the JSON property `batchId`
|
8689
|
+
# @return [Fixnum]
|
8690
|
+
attr_accessor :batch_id
|
8691
|
+
|
8692
|
+
# A list of errors returned by a failed batch entry.
|
8693
|
+
# Corresponds to the JSON property `errors`
|
8694
|
+
# @return [Google::Apis::ContentV2_1::Errors]
|
8695
|
+
attr_accessor :errors
|
8696
|
+
|
8697
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8698
|
+
# returnaddressCustomBatchResponseEntry".
|
8699
|
+
# Corresponds to the JSON property `kind`
|
8700
|
+
# @return [String]
|
8701
|
+
attr_accessor :kind
|
8702
|
+
|
8703
|
+
# Return address resource.
|
8704
|
+
# Corresponds to the JSON property `returnAddress`
|
8705
|
+
# @return [Google::Apis::ContentV2_1::ReturnAddress]
|
8706
|
+
attr_accessor :return_address
|
8707
|
+
|
8708
|
+
def initialize(**args)
|
8709
|
+
update!(**args)
|
8710
|
+
end
|
8711
|
+
|
8712
|
+
# Update properties of this object
|
8713
|
+
def update!(**args)
|
8714
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
8715
|
+
@errors = args[:errors] if args.key?(:errors)
|
8716
|
+
@kind = args[:kind] if args.key?(:kind)
|
8717
|
+
@return_address = args[:return_address] if args.key?(:return_address)
|
8718
|
+
end
|
8719
|
+
end
|
8720
|
+
|
8721
|
+
#
|
8722
|
+
class ReturnaddressListResponse
|
8723
|
+
include Google::Apis::Core::Hashable
|
8724
|
+
|
8725
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8726
|
+
# returnaddressListResponse".
|
8727
|
+
# Corresponds to the JSON property `kind`
|
8728
|
+
# @return [String]
|
8729
|
+
attr_accessor :kind
|
8730
|
+
|
8731
|
+
# The token for the retrieval of the next page of addresses.
|
8732
|
+
# Corresponds to the JSON property `nextPageToken`
|
8733
|
+
# @return [String]
|
8734
|
+
attr_accessor :next_page_token
|
8735
|
+
|
8736
|
+
#
|
8737
|
+
# Corresponds to the JSON property `resources`
|
8738
|
+
# @return [Array<Google::Apis::ContentV2_1::ReturnAddress>]
|
8739
|
+
attr_accessor :resources
|
8740
|
+
|
8741
|
+
def initialize(**args)
|
8742
|
+
update!(**args)
|
8743
|
+
end
|
8744
|
+
|
8745
|
+
# Update properties of this object
|
8746
|
+
def update!(**args)
|
8747
|
+
@kind = args[:kind] if args.key?(:kind)
|
8748
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
8749
|
+
@resources = args[:resources] if args.key?(:resources)
|
8750
|
+
end
|
8751
|
+
end
|
8752
|
+
|
8753
|
+
#
|
8754
|
+
class ReturnpolicyCustomBatchRequest
|
8755
|
+
include Google::Apis::Core::Hashable
|
8756
|
+
|
8757
|
+
# The request entries to be processed in the batch.
|
8758
|
+
# Corresponds to the JSON property `entries`
|
8759
|
+
# @return [Array<Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequestEntry>]
|
8760
|
+
attr_accessor :entries
|
8761
|
+
|
8762
|
+
def initialize(**args)
|
8763
|
+
update!(**args)
|
8764
|
+
end
|
8765
|
+
|
8766
|
+
# Update properties of this object
|
8767
|
+
def update!(**args)
|
8768
|
+
@entries = args[:entries] if args.key?(:entries)
|
8769
|
+
end
|
8770
|
+
end
|
8771
|
+
|
8772
|
+
#
|
8773
|
+
class ReturnpolicyCustomBatchRequestEntry
|
8774
|
+
include Google::Apis::Core::Hashable
|
8775
|
+
|
8776
|
+
# An entry ID, unique within the batch request.
|
8777
|
+
# Corresponds to the JSON property `batchId`
|
8778
|
+
# @return [Fixnum]
|
8779
|
+
attr_accessor :batch_id
|
8780
|
+
|
8781
|
+
# The Merchant Center account ID.
|
8782
|
+
# Corresponds to the JSON property `merchantId`
|
8783
|
+
# @return [Fixnum]
|
8784
|
+
attr_accessor :merchant_id
|
8785
|
+
|
8786
|
+
#
|
8787
|
+
# Corresponds to the JSON property `method`
|
8788
|
+
# @return [String]
|
8789
|
+
attr_accessor :method_prop
|
8790
|
+
|
8791
|
+
# Return policy resource.
|
8792
|
+
# Corresponds to the JSON property `returnPolicy`
|
8793
|
+
# @return [Google::Apis::ContentV2_1::ReturnPolicy]
|
8794
|
+
attr_accessor :return_policy
|
8795
|
+
|
8796
|
+
# The return policy ID. Set this only if the method is delete or get.
|
8797
|
+
# Corresponds to the JSON property `returnPolicyId`
|
8798
|
+
# @return [String]
|
8799
|
+
attr_accessor :return_policy_id
|
8800
|
+
|
8801
|
+
def initialize(**args)
|
8802
|
+
update!(**args)
|
8803
|
+
end
|
8804
|
+
|
8805
|
+
# Update properties of this object
|
8806
|
+
def update!(**args)
|
8807
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
8808
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
8809
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
8810
|
+
@return_policy = args[:return_policy] if args.key?(:return_policy)
|
8811
|
+
@return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id)
|
8812
|
+
end
|
8813
|
+
end
|
8814
|
+
|
8815
|
+
#
|
8816
|
+
class ReturnpolicyCustomBatchResponse
|
8817
|
+
include Google::Apis::Core::Hashable
|
8818
|
+
|
8819
|
+
# The result of the execution of the batch requests.
|
8820
|
+
# Corresponds to the JSON property `entries`
|
8821
|
+
# @return [Array<Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry>]
|
8822
|
+
attr_accessor :entries
|
8823
|
+
|
8824
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8825
|
+
# returnpolicyCustomBatchResponse".
|
8826
|
+
# Corresponds to the JSON property `kind`
|
8827
|
+
# @return [String]
|
8828
|
+
attr_accessor :kind
|
8829
|
+
|
8830
|
+
def initialize(**args)
|
8831
|
+
update!(**args)
|
8832
|
+
end
|
8833
|
+
|
8834
|
+
# Update properties of this object
|
8835
|
+
def update!(**args)
|
8836
|
+
@entries = args[:entries] if args.key?(:entries)
|
8837
|
+
@kind = args[:kind] if args.key?(:kind)
|
8838
|
+
end
|
8839
|
+
end
|
8840
|
+
|
8841
|
+
#
|
8842
|
+
class ReturnpolicyCustomBatchResponseEntry
|
8843
|
+
include Google::Apis::Core::Hashable
|
8844
|
+
|
8845
|
+
# The ID of the request entry to which this entry responds.
|
8846
|
+
# Corresponds to the JSON property `batchId`
|
8847
|
+
# @return [Fixnum]
|
8848
|
+
attr_accessor :batch_id
|
8849
|
+
|
8850
|
+
# A list of errors returned by a failed batch entry.
|
8851
|
+
# Corresponds to the JSON property `errors`
|
8852
|
+
# @return [Google::Apis::ContentV2_1::Errors]
|
8853
|
+
attr_accessor :errors
|
8854
|
+
|
8855
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8856
|
+
# returnpolicyCustomBatchResponseEntry".
|
8857
|
+
# Corresponds to the JSON property `kind`
|
8858
|
+
# @return [String]
|
8859
|
+
attr_accessor :kind
|
8860
|
+
|
8861
|
+
# Return policy resource.
|
8862
|
+
# Corresponds to the JSON property `returnPolicy`
|
8863
|
+
# @return [Google::Apis::ContentV2_1::ReturnPolicy]
|
8864
|
+
attr_accessor :return_policy
|
8865
|
+
|
8866
|
+
def initialize(**args)
|
8867
|
+
update!(**args)
|
8868
|
+
end
|
8869
|
+
|
8870
|
+
# Update properties of this object
|
8871
|
+
def update!(**args)
|
8872
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
8873
|
+
@errors = args[:errors] if args.key?(:errors)
|
8874
|
+
@kind = args[:kind] if args.key?(:kind)
|
8875
|
+
@return_policy = args[:return_policy] if args.key?(:return_policy)
|
8876
|
+
end
|
8877
|
+
end
|
8878
|
+
|
8879
|
+
#
|
8880
|
+
class ReturnpolicyListResponse
|
8881
|
+
include Google::Apis::Core::Hashable
|
8882
|
+
|
8883
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8884
|
+
# returnpolicyListResponse".
|
8885
|
+
# Corresponds to the JSON property `kind`
|
8886
|
+
# @return [String]
|
8887
|
+
attr_accessor :kind
|
8888
|
+
|
8889
|
+
#
|
8890
|
+
# Corresponds to the JSON property `resources`
|
8891
|
+
# @return [Array<Google::Apis::ContentV2_1::ReturnPolicy>]
|
8892
|
+
attr_accessor :resources
|
8893
|
+
|
8894
|
+
def initialize(**args)
|
8895
|
+
update!(**args)
|
8896
|
+
end
|
8897
|
+
|
8898
|
+
# Update properties of this object
|
8899
|
+
def update!(**args)
|
8900
|
+
@kind = args[:kind] if args.key?(:kind)
|
8901
|
+
@resources = args[:resources] if args.key?(:resources)
|
8902
|
+
end
|
8903
|
+
end
|
8904
|
+
|
8295
8905
|
#
|
8296
8906
|
class Row
|
8297
8907
|
include Google::Apis::Core::Hashable
|
@@ -8813,8 +9423,9 @@ module Google
|
|
8813
9423
|
attr_accessor :promotions
|
8814
9424
|
|
8815
9425
|
# The price of shipping for all items. Shipping tax is automatically calculated
|
8816
|
-
# for
|
8817
|
-
# applied. Note that shipping is not taxed
|
9426
|
+
# for orders where marketplace facilitator tax laws are applicable. Otherwise,
|
9427
|
+
# tax settings from Merchant Center are applied. Note that shipping is not taxed
|
9428
|
+
# in certain states.
|
8818
9429
|
# Corresponds to the JSON property `shippingCost`
|
8819
9430
|
# @return [Google::Apis::ContentV2_1::Price]
|
8820
9431
|
attr_accessor :shipping_cost
|
@@ -8929,8 +9540,9 @@ module Google
|
|
8929
9540
|
# @return [String]
|
8930
9541
|
attr_accessor :offer_id
|
8931
9542
|
|
8932
|
-
# The price for the product. Tax is automatically calculated for
|
8933
|
-
#
|
9543
|
+
# The price for the product. Tax is automatically calculated for orders where
|
9544
|
+
# marketplace facilitator tax laws are applicable. Otherwise, tax settings from
|
9545
|
+
# Merchant Center are applied.
|
8934
9546
|
# Corresponds to the JSON property `price`
|
8935
9547
|
# @return [Google::Apis::ContentV2_1::Price]
|
8936
9548
|
attr_accessor :price
|