google-api-client 0.42.2 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +129 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -270
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +733 -1180
- data/generated/google/apis/apigee_v1/service.rb +879 -1133
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +3 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +350 -20
- data/generated/google/apis/compute_alpha/representations.rb +100 -0
- data/generated/google/apis/compute_alpha/service.rb +15 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +39 -14
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +15 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +65 -42
- data/generated/google/apis/compute_v1/representations.rb +18 -15
- data/generated/google/apis/compute_v1/service.rb +63 -19
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +26 -0
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -492
- data/generated/google/apis/customsearch_v1/service.rb +184 -341
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +572 -380
- data/generated/google/apis/datacatalog_v1beta1/service.rb +440 -319
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/datafusion_v1/representations.rb +390 -0
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +192 -316
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1238 -1589
- data/generated/google/apis/dialogflow_v2/service.rb +324 -448
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1313 -1681
- data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -998
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +104 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +36 -0
- data/generated/google/apis/displayvideo_v1/service.rb +104 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -4
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -7
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -345
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +60 -70
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +257 -286
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +26 -14
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/memcache_v1.rb +35 -0
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/memcache_v1/service.rb +558 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +12 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +31 -14
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +721 -0
- data/generated/google/apis/osconfig_v1/representations.rb +337 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +148 -13
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +60 -48
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -2
- data/generated/google/apis/run_v1/service.rb +38 -2
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1149 -1783
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +111 -138
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +665 -931
- data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +937 -1175
- data/generated/google/apis/youtube_v3/service.rb +975 -1284
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -7
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/genomics
|
|
26
26
|
module GenomicsV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200727'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/genomics
|
|
26
26
|
module GenomicsV1alpha2
|
|
27
27
|
VERSION = 'V1alpha2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200727'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/genomics
|
|
26
26
|
module GenomicsV2alpha1
|
|
27
27
|
VERSION = 'V2alpha1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200727'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -602,67 +602,6 @@ module Google
|
|
|
602
602
|
end
|
|
603
603
|
end
|
|
604
604
|
|
|
605
|
-
# Message that represents an arbitrary HTTP body. It should only be used for
|
|
606
|
-
# payload formats that can't be represented as JSON, such as raw binary or
|
|
607
|
-
# an HTML page.
|
|
608
|
-
# This message can be used both in streaming and non-streaming API methods in
|
|
609
|
-
# the request as well as the response.
|
|
610
|
-
# It can be used as a top-level request field, which is convenient if one
|
|
611
|
-
# wants to extract parameters from either the URL or HTTP template into the
|
|
612
|
-
# request fields and also want access to the raw HTTP body.
|
|
613
|
-
# Example:
|
|
614
|
-
# message GetResourceRequest `
|
|
615
|
-
# // A unique request id.
|
|
616
|
-
# string request_id = 1;
|
|
617
|
-
# // The raw HTTP body is bound to this field.
|
|
618
|
-
# google.api.HttpBody http_body = 2;
|
|
619
|
-
# `
|
|
620
|
-
# service ResourceService `
|
|
621
|
-
# rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
|
|
622
|
-
# rpc UpdateResource(google.api.HttpBody) returns
|
|
623
|
-
# (google.protobuf.Empty);
|
|
624
|
-
# `
|
|
625
|
-
# Example with streaming methods:
|
|
626
|
-
# service CaldavService `
|
|
627
|
-
# rpc GetCalendar(stream google.api.HttpBody)
|
|
628
|
-
# returns (stream google.api.HttpBody);
|
|
629
|
-
# rpc UpdateCalendar(stream google.api.HttpBody)
|
|
630
|
-
# returns (stream google.api.HttpBody);
|
|
631
|
-
# `
|
|
632
|
-
# Use of this type only changes how the request and response bodies are
|
|
633
|
-
# handled, all other features will continue to work unchanged.
|
|
634
|
-
class HttpBody
|
|
635
|
-
include Google::Apis::Core::Hashable
|
|
636
|
-
|
|
637
|
-
# The HTTP Content-Type header value specifying the content type of the body.
|
|
638
|
-
# Corresponds to the JSON property `contentType`
|
|
639
|
-
# @return [String]
|
|
640
|
-
attr_accessor :content_type
|
|
641
|
-
|
|
642
|
-
# The HTTP request/response body as raw binary.
|
|
643
|
-
# Corresponds to the JSON property `data`
|
|
644
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
645
|
-
# @return [String]
|
|
646
|
-
attr_accessor :data
|
|
647
|
-
|
|
648
|
-
# Application specific response metadata. Must be set in the first response
|
|
649
|
-
# for streaming APIs.
|
|
650
|
-
# Corresponds to the JSON property `extensions`
|
|
651
|
-
# @return [Array<Hash<String,Object>>]
|
|
652
|
-
attr_accessor :extensions
|
|
653
|
-
|
|
654
|
-
def initialize(**args)
|
|
655
|
-
update!(**args)
|
|
656
|
-
end
|
|
657
|
-
|
|
658
|
-
# Update properties of this object
|
|
659
|
-
def update!(**args)
|
|
660
|
-
@content_type = args[:content_type] if args.key?(:content_type)
|
|
661
|
-
@data = args[:data] if args.key?(:data)
|
|
662
|
-
@extensions = args[:extensions] if args.key?(:extensions)
|
|
663
|
-
end
|
|
664
|
-
end
|
|
665
|
-
|
|
666
605
|
# The response message for Operations.ListOperations.
|
|
667
606
|
class ListOperationsResponse
|
|
668
607
|
include Google::Apis::Core::Hashable
|
|
@@ -1314,19 +1253,6 @@ module Google
|
|
|
1314
1253
|
end
|
|
1315
1254
|
end
|
|
1316
1255
|
|
|
1317
|
-
# The response to the UploadSOSReport method.
|
|
1318
|
-
class UploadSosReportResponse
|
|
1319
|
-
include Google::Apis::Core::Hashable
|
|
1320
|
-
|
|
1321
|
-
def initialize(**args)
|
|
1322
|
-
update!(**args)
|
|
1323
|
-
end
|
|
1324
|
-
|
|
1325
|
-
# Update properties of this object
|
|
1326
|
-
def update!(**args)
|
|
1327
|
-
end
|
|
1328
|
-
end
|
|
1329
|
-
|
|
1330
1256
|
# Carries information about a Compute Engine VM resource.
|
|
1331
1257
|
class VirtualMachine
|
|
1332
1258
|
include Google::Apis::Core::Hashable
|
|
@@ -1377,7 +1303,9 @@ module Google
|
|
|
1377
1303
|
# mounted into the Docker folder in a way that the images present in the
|
|
1378
1304
|
# cache will not need to be pulled. The digests of the cached images must
|
|
1379
1305
|
# match those of the tags used or the latest version will still be pulled.
|
|
1380
|
-
#
|
|
1306
|
+
# The root directory of the ext4 image must contain `image` and `overlay2`
|
|
1307
|
+
# directories copied from the Docker directory of a VM where the desired
|
|
1308
|
+
# Docker images have already been pulled. Only a single image is supported.
|
|
1381
1309
|
# Corresponds to the JSON property `dockerCacheImages`
|
|
1382
1310
|
# @return [Array<String>]
|
|
1383
1311
|
attr_accessor :docker_cache_images
|
|
@@ -112,12 +112,6 @@ module Google
|
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
class HttpBody
|
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
-
|
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
-
end
|
|
120
|
-
|
|
121
115
|
class ListOperationsResponse
|
|
122
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
117
|
|
|
@@ -232,12 +226,6 @@ module Google
|
|
|
232
226
|
include Google::Apis::Core::JsonObjectSupport
|
|
233
227
|
end
|
|
234
228
|
|
|
235
|
-
class UploadSosReportResponse
|
|
236
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
|
-
|
|
238
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
239
|
-
end
|
|
240
|
-
|
|
241
229
|
class VirtualMachine
|
|
242
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
231
|
|
|
@@ -403,15 +391,6 @@ module Google
|
|
|
403
391
|
end
|
|
404
392
|
end
|
|
405
393
|
|
|
406
|
-
class HttpBody
|
|
407
|
-
# @private
|
|
408
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
409
|
-
property :content_type, as: 'contentType'
|
|
410
|
-
property :data, :base64 => true, as: 'data'
|
|
411
|
-
collection :extensions, as: 'extensions'
|
|
412
|
-
end
|
|
413
|
-
end
|
|
414
|
-
|
|
415
394
|
class ListOperationsResponse
|
|
416
395
|
# @private
|
|
417
396
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -591,12 +570,6 @@ module Google
|
|
|
591
570
|
end
|
|
592
571
|
end
|
|
593
572
|
|
|
594
|
-
class UploadSosReportResponse
|
|
595
|
-
# @private
|
|
596
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
597
|
-
end
|
|
598
|
-
end
|
|
599
|
-
|
|
600
573
|
class VirtualMachine
|
|
601
574
|
# @private
|
|
602
575
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -303,40 +303,6 @@ module Google
|
|
|
303
303
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
304
304
|
execute_or_queue_command(command, &block)
|
|
305
305
|
end
|
|
306
|
-
|
|
307
|
-
# The worker uses this method to upload SOS reports for unexpected errors.
|
|
308
|
-
# @param [String] id
|
|
309
|
-
# The VM identity token for authenticating the VM instance.
|
|
310
|
-
# https://cloud.google.com/compute/docs/instances/verifying-instance-identity
|
|
311
|
-
# @param [Google::Apis::GenomicsV2alpha1::HttpBody] http_body_object
|
|
312
|
-
# @param [String] fields
|
|
313
|
-
# Selector specifying which fields to include in a partial response.
|
|
314
|
-
# @param [String] quota_user
|
|
315
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
316
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
317
|
-
# @param [Google::Apis::RequestOptions] options
|
|
318
|
-
# Request-specific options
|
|
319
|
-
#
|
|
320
|
-
# @yield [result, err] Result & error if block supplied
|
|
321
|
-
# @yieldparam result [Google::Apis::GenomicsV2alpha1::UploadSosReportResponse] parsed result object
|
|
322
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
323
|
-
#
|
|
324
|
-
# @return [Google::Apis::GenomicsV2alpha1::UploadSosReportResponse]
|
|
325
|
-
#
|
|
326
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
327
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
328
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
329
|
-
def upload_worker_project_worker_sos_report(id, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
330
|
-
command = make_simple_command(:post, 'v2alpha1/workers/{+id}:uploadSosReport', options)
|
|
331
|
-
command.request_representation = Google::Apis::GenomicsV2alpha1::HttpBody::Representation
|
|
332
|
-
command.request_object = http_body_object
|
|
333
|
-
command.response_representation = Google::Apis::GenomicsV2alpha1::UploadSosReportResponse::Representation
|
|
334
|
-
command.response_class = Google::Apis::GenomicsV2alpha1::UploadSosReportResponse
|
|
335
|
-
command.params['id'] = id unless id.nil?
|
|
336
|
-
command.query['fields'] = fields unless fields.nil?
|
|
337
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
338
|
-
execute_or_queue_command(command, &block)
|
|
339
|
-
end
|
|
340
306
|
|
|
341
307
|
protected
|
|
342
308
|
|
|
@@ -20,13 +20,13 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Gmail API
|
|
22
22
|
#
|
|
23
|
-
# The Gmail API lets you view and manage Gmail mailbox data like
|
|
24
|
-
#
|
|
23
|
+
# The Gmail API lets you view and manage Gmail mailbox data like threads,
|
|
24
|
+
# messages, and labels.
|
|
25
25
|
#
|
|
26
26
|
# @see https://developers.google.com/gmail/api/
|
|
27
27
|
module GmailV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200803'
|
|
30
30
|
|
|
31
31
|
# Read, compose, send, and permanently delete all your email from Gmail
|
|
32
32
|
AUTH_SCOPE = 'https://mail.google.com/'
|
|
@@ -31,8 +31,8 @@ module Google
|
|
|
31
31
|
# @return [String]
|
|
32
32
|
attr_accessor :disposition
|
|
33
33
|
|
|
34
|
-
# Email address to which all incoming messages are forwarded.
|
|
35
|
-
#
|
|
34
|
+
# Email address to which all incoming messages are forwarded. This email address
|
|
35
|
+
# must be a verified member of the forwarding addresses.
|
|
36
36
|
# Corresponds to the JSON property `emailAddress`
|
|
37
37
|
# @return [String]
|
|
38
38
|
attr_accessor :email_address
|
|
@@ -83,8 +83,7 @@ module Google
|
|
|
83
83
|
# @return [Array<String>]
|
|
84
84
|
attr_accessor :add_label_ids
|
|
85
85
|
|
|
86
|
-
# The IDs of the messages to modify. There is a limit of 1000 ids per
|
|
87
|
-
# request.
|
|
86
|
+
# The IDs of the messages to modify. There is a limit of 1000 ids per request.
|
|
88
87
|
# Corresponds to the JSON property `ids`
|
|
89
88
|
# @return [Array<String>]
|
|
90
89
|
attr_accessor :ids
|
|
@@ -107,9 +106,8 @@ module Google
|
|
|
107
106
|
end
|
|
108
107
|
|
|
109
108
|
# Settings for a delegate. Delegates can read, send, and delete messages, as
|
|
110
|
-
# well as view and add contacts, for the delegator's account. See
|
|
111
|
-
#
|
|
112
|
-
# mail delegation"</a> for more information about delegates.
|
|
109
|
+
# well as view and add contacts, for the delegator's account. See "Set up mail
|
|
110
|
+
# delegation" for more information about delegates.
|
|
113
111
|
class Delegate
|
|
114
112
|
include Google::Apis::Core::Hashable
|
|
115
113
|
|
|
@@ -118,8 +116,8 @@ module Google
|
|
|
118
116
|
# @return [String]
|
|
119
117
|
attr_accessor :delegate_email
|
|
120
118
|
|
|
121
|
-
# Indicates whether this address has been verified and can act as a delegate
|
|
122
|
-
#
|
|
119
|
+
# Indicates whether this address has been verified and can act as a delegate for
|
|
120
|
+
# the account. Read-only.
|
|
123
121
|
# Corresponds to the JSON property `verificationStatus`
|
|
124
122
|
# @return [String]
|
|
125
123
|
attr_accessor :verification_status
|
|
@@ -244,18 +242,16 @@ module Google
|
|
|
244
242
|
attr_accessor :has_attachment
|
|
245
243
|
alias_method :has_attachment?, :has_attachment
|
|
246
244
|
|
|
247
|
-
# Only return messages not matching the specified query. Supports the same
|
|
248
|
-
#
|
|
249
|
-
#
|
|
250
|
-
# is:unread"`.
|
|
245
|
+
# Only return messages not matching the specified query. Supports the same query
|
|
246
|
+
# format as the Gmail search box. For example, `"from:someuser@example.com
|
|
247
|
+
# rfc822msgid: is:unread"`.
|
|
251
248
|
# Corresponds to the JSON property `negatedQuery`
|
|
252
249
|
# @return [String]
|
|
253
250
|
attr_accessor :negated_query
|
|
254
251
|
|
|
255
|
-
# Only return messages matching the specified query. Supports the same
|
|
256
|
-
#
|
|
257
|
-
#
|
|
258
|
-
# is:unread"`.
|
|
252
|
+
# Only return messages matching the specified query. Supports the same query
|
|
253
|
+
# format as the Gmail search box. For example, `"from:someuser@example.com
|
|
254
|
+
# rfc822msgid: is:unread"`.
|
|
259
255
|
# Corresponds to the JSON property `query`
|
|
260
256
|
# @return [String]
|
|
261
257
|
attr_accessor :query
|
|
@@ -271,16 +267,16 @@ module Google
|
|
|
271
267
|
# @return [String]
|
|
272
268
|
attr_accessor :size_comparison
|
|
273
269
|
|
|
274
|
-
# Case-insensitive phrase found in the message's subject. Trailing and
|
|
275
|
-
#
|
|
270
|
+
# Case-insensitive phrase found in the message's subject. Trailing and leading
|
|
271
|
+
# whitespace are be trimmed and adjacent spaces are collapsed.
|
|
276
272
|
# Corresponds to the JSON property `subject`
|
|
277
273
|
# @return [String]
|
|
278
274
|
attr_accessor :subject
|
|
279
275
|
|
|
280
|
-
# The recipient's display name or email address. Includes recipients in the
|
|
281
|
-
# "
|
|
282
|
-
#
|
|
283
|
-
#
|
|
276
|
+
# The recipient's display name or email address. Includes recipients in the "to",
|
|
277
|
+
# "cc", and "bcc" header fields. You can use simply the local part of the email
|
|
278
|
+
# address. For example, "example" and "example@" both match "example@gmail.com".
|
|
279
|
+
# This field is case-insensitive.
|
|
284
280
|
# Corresponds to the JSON property `to`
|
|
285
281
|
# @return [String]
|
|
286
282
|
attr_accessor :to
|
|
@@ -312,8 +308,8 @@ module Google
|
|
|
312
308
|
# @return [String]
|
|
313
309
|
attr_accessor :forwarding_email
|
|
314
310
|
|
|
315
|
-
# Indicates whether this address has been verified and is usable for
|
|
316
|
-
#
|
|
311
|
+
# Indicates whether this address has been verified and is usable for forwarding.
|
|
312
|
+
# Read-only.
|
|
317
313
|
# Corresponds to the JSON property `verificationStatus`
|
|
318
314
|
# @return [String]
|
|
319
315
|
attr_accessor :verification_status
|
|
@@ -349,10 +345,9 @@ module Google
|
|
|
349
345
|
# @return [Array<Google::Apis::GmailV1::HistoryLabelRemoved>]
|
|
350
346
|
attr_accessor :labels_removed
|
|
351
347
|
|
|
352
|
-
# List of messages changed in this history record.
|
|
353
|
-
# change types, such as `messagesAdded` may duplicate messages in
|
|
354
|
-
#
|
|
355
|
-
# of this.
|
|
348
|
+
# List of messages changed in this history record. The fields for specific
|
|
349
|
+
# change types, such as `messagesAdded` may duplicate messages in this field. We
|
|
350
|
+
# recommend using the specific change-type fields instead of this.
|
|
356
351
|
# Corresponds to the JSON property `messages`
|
|
357
352
|
# @return [Array<Google::Apis::GmailV1::Message>]
|
|
358
353
|
attr_accessor :messages
|
|
@@ -475,8 +470,8 @@ module Google
|
|
|
475
470
|
include Google::Apis::Core::Hashable
|
|
476
471
|
|
|
477
472
|
# If this value is true, Gmail will immediately expunge a message when it is
|
|
478
|
-
# marked as deleted in IMAP.
|
|
479
|
-
#
|
|
473
|
+
# marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the
|
|
474
|
+
# client before expunging messages marked as deleted.
|
|
480
475
|
# Corresponds to the JSON property `autoExpunge`
|
|
481
476
|
# @return [Boolean]
|
|
482
477
|
attr_accessor :auto_expunge
|
|
@@ -488,15 +483,15 @@ module Google
|
|
|
488
483
|
attr_accessor :enabled
|
|
489
484
|
alias_method :enabled?, :enabled
|
|
490
485
|
|
|
491
|
-
# The action that will be executed on a message when it is marked as deleted
|
|
492
|
-
#
|
|
486
|
+
# The action that will be executed on a message when it is marked as deleted and
|
|
487
|
+
# expunged from the last visible IMAP folder.
|
|
493
488
|
# Corresponds to the JSON property `expungeBehavior`
|
|
494
489
|
# @return [String]
|
|
495
490
|
attr_accessor :expunge_behavior
|
|
496
491
|
|
|
497
|
-
# An optional limit on the number of messages that an IMAP folder may
|
|
498
|
-
#
|
|
499
|
-
#
|
|
492
|
+
# An optional limit on the number of messages that an IMAP folder may contain.
|
|
493
|
+
# Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is interpreted
|
|
494
|
+
# to mean that there is no limit.
|
|
500
495
|
# Corresponds to the JSON property `maxFolderSize`
|
|
501
496
|
# @return [Fixnum]
|
|
502
497
|
attr_accessor :max_folder_size
|
|
@@ -514,14 +509,13 @@ module Google
|
|
|
514
509
|
end
|
|
515
510
|
end
|
|
516
511
|
|
|
517
|
-
# Labels are used to categorize messages and threads within the
|
|
518
|
-
# user's mailbox.
|
|
512
|
+
# Labels are used to categorize messages and threads within the user's mailbox.
|
|
519
513
|
class Label
|
|
520
514
|
include Google::Apis::Core::Hashable
|
|
521
515
|
|
|
522
|
-
# The color to assign to the label. Color is only available for labels that
|
|
523
|
-
#
|
|
524
|
-
#
|
|
516
|
+
# The color to assign to the label. Color is only available for labels that have
|
|
517
|
+
# their `type` set to `user`. @mutable gmail.users.labels.create gmail.users.
|
|
518
|
+
# labels.update
|
|
525
519
|
# Corresponds to the JSON property `color`
|
|
526
520
|
# @return [Google::Apis::GmailV1::LabelColor]
|
|
527
521
|
attr_accessor :color
|
|
@@ -531,15 +525,14 @@ module Google
|
|
|
531
525
|
# @return [String]
|
|
532
526
|
attr_accessor :id
|
|
533
527
|
|
|
534
|
-
# The visibility of the label in the label list in the Gmail web interface.
|
|
535
|
-
#
|
|
528
|
+
# The visibility of the label in the label list in the Gmail web interface. @
|
|
529
|
+
# mutable gmail.users.labels.create gmail.users.labels.update
|
|
536
530
|
# Corresponds to the JSON property `labelListVisibility`
|
|
537
531
|
# @return [String]
|
|
538
532
|
attr_accessor :label_list_visibility
|
|
539
533
|
|
|
540
|
-
# The visibility of messages with this label in the message list
|
|
541
|
-
#
|
|
542
|
-
# @mutable gmail.users.labels.create gmail.users.labels.update
|
|
534
|
+
# The visibility of messages with this label in the message list in the Gmail
|
|
535
|
+
# web interface. @mutable gmail.users.labels.create gmail.users.labels.update
|
|
543
536
|
# Corresponds to the JSON property `messageListVisibility`
|
|
544
537
|
# @return [String]
|
|
545
538
|
attr_accessor :message_list_visibility
|
|
@@ -554,8 +547,8 @@ module Google
|
|
|
554
547
|
# @return [Fixnum]
|
|
555
548
|
attr_accessor :messages_unread
|
|
556
549
|
|
|
557
|
-
# The display name of the label.
|
|
558
|
-
#
|
|
550
|
+
# The display name of the label. @mutable gmail.users.labels.create gmail.users.
|
|
551
|
+
# labels.update
|
|
559
552
|
# Corresponds to the JSON property `name`
|
|
560
553
|
# @return [String]
|
|
561
554
|
attr_accessor :name
|
|
@@ -570,15 +563,14 @@ module Google
|
|
|
570
563
|
# @return [Fixnum]
|
|
571
564
|
attr_accessor :threads_unread
|
|
572
565
|
|
|
573
|
-
# The owner type for the label. User labels are created by the user and
|
|
574
|
-
#
|
|
575
|
-
#
|
|
576
|
-
#
|
|
577
|
-
#
|
|
578
|
-
#
|
|
579
|
-
# `
|
|
580
|
-
#
|
|
581
|
-
# `SENT` labels from messages or threads.
|
|
566
|
+
# The owner type for the label. User labels are created by the user and can be
|
|
567
|
+
# modified and deleted by the user and can be applied to any message or thread.
|
|
568
|
+
# System labels are internally created and cannot be added, modified, or deleted.
|
|
569
|
+
# System labels may be able to be applied to or removed from messages and
|
|
570
|
+
# threads under some circumstances but this is not guaranteed. For example,
|
|
571
|
+
# users can apply and remove the `INBOX` and `UNREAD` labels from messages and
|
|
572
|
+
# threads, but cannot apply or remove the `DRAFTS` or `SENT` labels from
|
|
573
|
+
# messages or threads.
|
|
582
574
|
# Corresponds to the JSON property `type`
|
|
583
575
|
# @return [String]
|
|
584
576
|
attr_accessor :type
|
|
@@ -606,46 +598,42 @@ module Google
|
|
|
606
598
|
class LabelColor
|
|
607
599
|
include Google::Apis::Core::Hashable
|
|
608
600
|
|
|
609
|
-
# The background color represented as hex string #RRGGBB (ex #000000).
|
|
610
|
-
#
|
|
611
|
-
#
|
|
612
|
-
#
|
|
613
|
-
# #
|
|
614
|
-
# #
|
|
615
|
-
# #
|
|
616
|
-
# #
|
|
617
|
-
# #
|
|
618
|
-
# #
|
|
619
|
-
#
|
|
620
|
-
# #
|
|
621
|
-
# #
|
|
622
|
-
# #
|
|
623
|
-
# #
|
|
624
|
-
#
|
|
625
|
-
# # 662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765
|
|
626
|
-
# @mutable gmail.users.labels.create gmail.users.labels.update
|
|
601
|
+
# The background color represented as hex string #RRGGBB (ex #000000). This
|
|
602
|
+
# field is required in order to set the color of a label. Only the following
|
|
603
|
+
# predefined set of color values are allowed: # 000000, #434343, #666666, #
|
|
604
|
+
# 999999, #cccccc, #efefef, #f3f3f3, #ffffff, # fb4c2f, #ffad47, #fad165, #
|
|
605
|
+
# 16a766, #43d692, #4a86e8, #a479e2, #f691b3, # f6c5be, #ffe6c7, #fef1d1, #
|
|
606
|
+
# b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, # efa093, #ffd6a2, #fce8b3, #
|
|
607
|
+
# 89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, # e66550, #ffbc6b, #fcda83, #
|
|
608
|
+
# 44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, # cc3a21, #eaa041, #f2c960, #
|
|
609
|
+
# 149e60, #3dc789, #3c78d8, #8e63ce, #e07798, # ac2b16, #cf8933, #d5ae49, #
|
|
610
|
+
# 0b804b, #2a9c68, #285bac, #653e9b, #b65775, # 822111, #a46a21, #aa8831, #
|
|
611
|
+
# 076239, #1a764d, #1c4587, #41236d, #83334c # 464646, #e7e7e7, #0d3472, #b6cff5,
|
|
612
|
+
# #0d3b44, #98d7e4, #3d188e, #e3d7ff, # 711a36, #fbd3e0, #8a1c0a, #f2b2a8, #
|
|
613
|
+
# 7a2e0b, #ffc8af, #7a4706, #ffdeb5, # 594c05, #fbe983, #684e07, #fdedc1, #
|
|
614
|
+
# 0b4f30, #b3efd3, #04502e, #a2dcc1, # c2c2c2, #4986e7, #2da2bb, #b99aff, #
|
|
615
|
+
# 994a64, #f691b2, #ff7537, #ffad46, # 662e37, #ebdbde, #cca6ac, #094228, #
|
|
616
|
+
# 42d692, #16a765 @mutable gmail.users.labels.create gmail.users.labels.update
|
|
627
617
|
# Corresponds to the JSON property `backgroundColor`
|
|
628
618
|
# @return [String]
|
|
629
619
|
attr_accessor :background_color
|
|
630
620
|
|
|
631
|
-
# The text color of the label, represented as hex string.
|
|
632
|
-
#
|
|
633
|
-
#
|
|
634
|
-
#
|
|
635
|
-
# #
|
|
636
|
-
# #
|
|
637
|
-
# #
|
|
638
|
-
# #
|
|
639
|
-
# #
|
|
640
|
-
# #
|
|
641
|
-
#
|
|
642
|
-
# #
|
|
643
|
-
# #
|
|
644
|
-
# #
|
|
645
|
-
#
|
|
646
|
-
#
|
|
647
|
-
# # 662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765
|
|
648
|
-
# @mutable gmail.users.labels.create gmail.users.labels.update
|
|
621
|
+
# The text color of the label, represented as hex string. This field is required
|
|
622
|
+
# in order to set the color of a label. Only the following predefined set of
|
|
623
|
+
# color values are allowed: # 000000, #434343, #666666, #999999, #cccccc, #
|
|
624
|
+
# efefef, #f3f3f3, #ffffff, # fb4c2f, #ffad47, #fad165, #16a766, #43d692, #
|
|
625
|
+
# 4a86e8, #a479e2, #f691b3, # f6c5be, #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #
|
|
626
|
+
# c9daf8, #e4d7f5, #fcdee8, # efa093, #ffd6a2, #fce8b3, #89d3b2, #a0eac9, #
|
|
627
|
+
# a4c2f4, #d0bcf1, #fbc8d9, # e66550, #ffbc6b, #fcda83, #44b984, #68dfa9, #
|
|
628
|
+
# 6d9eeb, #b694e8, #f7a7c0, # cc3a21, #eaa041, #f2c960, #149e60, #3dc789, #
|
|
629
|
+
# 3c78d8, #8e63ce, #e07798, # ac2b16, #cf8933, #d5ae49, #0b804b, #2a9c68, #
|
|
630
|
+
# 285bac, #653e9b, #b65775, # 822111, #a46a21, #aa8831, #076239, #1a764d, #
|
|
631
|
+
# 1c4587, #41236d, #83334c # 464646, #e7e7e7, #0d3472, #b6cff5, #0d3b44, #98d7e4,
|
|
632
|
+
# #3d188e, #e3d7ff, # 711a36, #fbd3e0, #8a1c0a, #f2b2a8, #7a2e0b, #ffc8af, #
|
|
633
|
+
# 7a4706, #ffdeb5, # 594c05, #fbe983, #684e07, #fdedc1, #0b4f30, #b3efd3, #
|
|
634
|
+
# 04502e, #a2dcc1, # c2c2c2, #4986e7, #2da2bb, #b99aff, #994a64, #f691b2, #
|
|
635
|
+
# ff7537, #ffad46, # 662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765 @
|
|
636
|
+
# mutable gmail.users.labels.create gmail.users.labels.update
|
|
649
637
|
# Corresponds to the JSON property `textColor`
|
|
650
638
|
# @return [String]
|
|
651
639
|
attr_accessor :text_color
|
|
@@ -661,28 +649,21 @@ module Google
|
|
|
661
649
|
end
|
|
662
650
|
end
|
|
663
651
|
|
|
664
|
-
# Language settings for an account. These settings correspond to
|
|
665
|
-
# the
|
|
666
|
-
# settings"</a> feature in the web interface.
|
|
652
|
+
# Language settings for an account. These settings correspond to the "Language
|
|
653
|
+
# settings" feature in the web interface.
|
|
667
654
|
class LanguageSettings
|
|
668
655
|
include Google::Apis::Core::Hashable
|
|
669
656
|
|
|
670
|
-
# The language to display Gmail in, formatted as an
|
|
671
|
-
#
|
|
672
|
-
#
|
|
673
|
-
#
|
|
674
|
-
#
|
|
675
|
-
#
|
|
676
|
-
#
|
|
677
|
-
#
|
|
678
|
-
#
|
|
679
|
-
#
|
|
680
|
-
# <a href="/gmail/api/guides/language_settings#display_language">Managing
|
|
681
|
-
# Language Settings guide</a>
|
|
682
|
-
# Not all Gmail clients can display the same set of languages. In the case
|
|
683
|
-
# that a user's display language is not available for use on a particular
|
|
684
|
-
# client, said client automatically chooses to display in the closest
|
|
685
|
-
# supported variant (or a reasonable default).
|
|
657
|
+
# The language to display Gmail in, formatted as an RFC 3066 Language Tag (for
|
|
658
|
+
# example `en-GB`, `fr` or `ja` for British English, French, or Japanese
|
|
659
|
+
# respectively). The set of languages supported by Gmail evolves over time, so
|
|
660
|
+
# please refer to the "Language" dropdown in the Gmail settings for all
|
|
661
|
+
# available options, as described in the language settings help article. A table
|
|
662
|
+
# of sample values is also provided in the Managing Language Settings guide Not
|
|
663
|
+
# all Gmail clients can display the same set of languages. In the case that a
|
|
664
|
+
# user's display language is not available for use on a particular client, said
|
|
665
|
+
# client automatically chooses to display in the closest supported variant (or a
|
|
666
|
+
# reasonable default).
|
|
686
667
|
# Corresponds to the JSON property `displayLanguage`
|
|
687
668
|
# @return [String]
|
|
688
669
|
attr_accessor :display_language
|
|
@@ -720,11 +701,9 @@ module Google
|
|
|
720
701
|
class ListDraftsResponse
|
|
721
702
|
include Google::Apis::Core::Hashable
|
|
722
703
|
|
|
723
|
-
# List of drafts. Note that the `Message` property in each
|
|
724
|
-
#
|
|
725
|
-
#
|
|
726
|
-
# <a href="/gmail/api/v1/reference/users/messages/get">messages.get</a>
|
|
727
|
-
# method can fetch additional message details.
|
|
704
|
+
# List of drafts. Note that the `Message` property in each `Draft` resource only
|
|
705
|
+
# contains an `id` and a `threadId`. The messages.get method can fetch
|
|
706
|
+
# additional message details.
|
|
728
707
|
# Corresponds to the JSON property `drafts`
|
|
729
708
|
# @return [Array<Google::Apis::GmailV1::Draft>]
|
|
730
709
|
attr_accessor :drafts
|
|
@@ -793,9 +772,8 @@ module Google
|
|
|
793
772
|
class ListHistoryResponse
|
|
794
773
|
include Google::Apis::Core::Hashable
|
|
795
774
|
|
|
796
|
-
# List of history records.
|
|
797
|
-
#
|
|
798
|
-
# `threadId` fields populated.
|
|
775
|
+
# List of history records. Any `messages` contained in the response will
|
|
776
|
+
# typically only have `id` and `threadId` fields populated.
|
|
799
777
|
# Corresponds to the JSON property `history`
|
|
800
778
|
# @return [Array<Google::Apis::GmailV1::History>]
|
|
801
779
|
attr_accessor :history
|
|
@@ -826,11 +804,9 @@ module Google
|
|
|
826
804
|
class ListLabelsResponse
|
|
827
805
|
include Google::Apis::Core::Hashable
|
|
828
806
|
|
|
829
|
-
# List of labels. Note that each label resource only contains an
|
|
830
|
-
#
|
|
831
|
-
#
|
|
832
|
-
# <a href="/gmail/api/v1/reference/users/labels/get">labels.get</a> method
|
|
833
|
-
# can fetch additional label details.
|
|
807
|
+
# List of labels. Note that each label resource only contains an `id`, `name`, `
|
|
808
|
+
# messageListVisibility`, `labelListVisibility`, and `type`. The labels.get
|
|
809
|
+
# method can fetch additional label details.
|
|
834
810
|
# Corresponds to the JSON property `labels`
|
|
835
811
|
# @return [Array<Google::Apis::GmailV1::Label>]
|
|
836
812
|
attr_accessor :labels
|
|
@@ -849,10 +825,8 @@ module Google
|
|
|
849
825
|
class ListMessagesResponse
|
|
850
826
|
include Google::Apis::Core::Hashable
|
|
851
827
|
|
|
852
|
-
# List of messages. Note that each message resource contains only an
|
|
853
|
-
#
|
|
854
|
-
# be fetched using the
|
|
855
|
-
# <a href="/gmail/api/v1/reference/users/messages/get">messages.get</a>
|
|
828
|
+
# List of messages. Note that each message resource contains only an `id` and a `
|
|
829
|
+
# threadId`. Additional message details can be fetched using the messages.get
|
|
856
830
|
# method.
|
|
857
831
|
# Corresponds to the JSON property `messages`
|
|
858
832
|
# @return [Array<Google::Apis::GmailV1::Message>]
|
|
@@ -932,10 +906,9 @@ module Google
|
|
|
932
906
|
# @return [Fixnum]
|
|
933
907
|
attr_accessor :result_size_estimate
|
|
934
908
|
|
|
935
|
-
# List of threads. Note that each thread resource does not contain a list of
|
|
936
|
-
#
|
|
937
|
-
#
|
|
938
|
-
# <a href="/gmail/api/v1/reference/users/threads/get">threads.get</a> method.
|
|
909
|
+
# List of threads. Note that each thread resource does not contain a list of `
|
|
910
|
+
# messages`. The list of `messages` for a given thread can be fetched using the
|
|
911
|
+
# threads.get method.
|
|
939
912
|
# Corresponds to the JSON property `threads`
|
|
940
913
|
# @return [Array<Google::Apis::GmailV1::Thread>]
|
|
941
914
|
attr_accessor :threads
|
|
@@ -966,17 +939,17 @@ module Google
|
|
|
966
939
|
# @return [String]
|
|
967
940
|
attr_accessor :id
|
|
968
941
|
|
|
969
|
-
# The internal message creation timestamp (epoch ms), which determines
|
|
970
|
-
#
|
|
971
|
-
#
|
|
972
|
-
#
|
|
973
|
-
#
|
|
942
|
+
# The internal message creation timestamp (epoch ms), which determines ordering
|
|
943
|
+
# in the inbox. For normal SMTP-received email, this represents the time the
|
|
944
|
+
# message was originally accepted by Google, which is more reliable than the `
|
|
945
|
+
# Date` header. However, for API-migrated mail, it can be configured by client
|
|
946
|
+
# to be based on the `Date` header.
|
|
974
947
|
# Corresponds to the JSON property `internalDate`
|
|
975
948
|
# @return [Fixnum]
|
|
976
949
|
attr_accessor :internal_date
|
|
977
950
|
|
|
978
|
-
# List of IDs of labels applied to this message.
|
|
979
|
-
#
|
|
951
|
+
# List of IDs of labels applied to this message. @mutable gmail.users.messages.
|
|
952
|
+
# insert gmail.users.messages.modify
|
|
980
953
|
# Corresponds to the JSON property `labelIds`
|
|
981
954
|
# @return [Array<String>]
|
|
982
955
|
attr_accessor :label_ids
|
|
@@ -986,12 +959,10 @@ module Google
|
|
|
986
959
|
# @return [Google::Apis::GmailV1::MessagePart]
|
|
987
960
|
attr_accessor :payload
|
|
988
961
|
|
|
989
|
-
# The entire email message in an RFC 2822 formatted and base64url
|
|
990
|
-
#
|
|
991
|
-
#
|
|
992
|
-
#
|
|
993
|
-
# @mutable gmail.users.messages.insert gmail.users.messages.send
|
|
994
|
-
# @mutable gmail.users.drafts.create gmail.users.drafts.update
|
|
962
|
+
# The entire email message in an RFC 2822 formatted and base64url encoded string.
|
|
963
|
+
# Returned in `messages.get` and `drafts.get` responses when the `format=RAW`
|
|
964
|
+
# parameter is supplied. @mutable gmail.users.messages.insert gmail.users.
|
|
965
|
+
# messages.send @mutable gmail.users.drafts.create gmail.users.drafts.update
|
|
995
966
|
# Corresponds to the JSON property `raw`
|
|
996
967
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
997
968
|
# @return [String]
|
|
@@ -1007,17 +978,13 @@ module Google
|
|
|
1007
978
|
# @return [String]
|
|
1008
979
|
attr_accessor :snippet
|
|
1009
980
|
|
|
1010
|
-
# The ID of the thread the message belongs to. To add a message or draft to
|
|
1011
|
-
#
|
|
1012
|
-
#
|
|
1013
|
-
# `
|
|
1014
|
-
#
|
|
1015
|
-
#
|
|
1016
|
-
#
|
|
1017
|
-
# <a href="https://tools.ietf.org/html/rfc2822">RFC 2822</a> standard.</li>
|
|
1018
|
-
# <li>The `Subject` headers must match.
|
|
1019
|
-
# @mutable gmail.users.messages.insert gmail.users.messages.send
|
|
1020
|
-
# @mutable gmail.users.drafts.create gmail.users.drafts.update
|
|
981
|
+
# The ID of the thread the message belongs to. To add a message or draft to a
|
|
982
|
+
# thread, the following criteria must be met: 1. The requested `threadId` must
|
|
983
|
+
# be specified on the `Message` or `Draft.Message` you supply with your request.
|
|
984
|
+
# 2. The `References` and `In-Reply-To` headers must be set in compliance with
|
|
985
|
+
# the RFC 2822 standard. 3. The `Subject` headers must match. @mutable gmail.
|
|
986
|
+
# users.messages.insert gmail.users.messages.send @mutable gmail.users.drafts.
|
|
987
|
+
# create gmail.users.drafts.update
|
|
1021
988
|
# Corresponds to the JSON property `threadId`
|
|
1022
989
|
# @return [String]
|
|
1023
990
|
attr_accessor :thread_id
|
|
@@ -1049,16 +1016,15 @@ module Google
|
|
|
1049
1016
|
# @return [Google::Apis::GmailV1::MessagePartBody]
|
|
1050
1017
|
attr_accessor :body
|
|
1051
1018
|
|
|
1052
|
-
# The filename of the attachment. Only present if this message part
|
|
1053
|
-
#
|
|
1019
|
+
# The filename of the attachment. Only present if this message part represents
|
|
1020
|
+
# an attachment.
|
|
1054
1021
|
# Corresponds to the JSON property `filename`
|
|
1055
1022
|
# @return [String]
|
|
1056
1023
|
attr_accessor :filename
|
|
1057
1024
|
|
|
1058
1025
|
# List of headers on this message part. For the top-level message part,
|
|
1059
|
-
# representing the entire message payload, it will contain the standard
|
|
1060
|
-
#
|
|
1061
|
-
# `Subject`.
|
|
1026
|
+
# representing the entire message payload, it will contain the standard RFC 2822
|
|
1027
|
+
# email headers such as `To`, `From`, and `Subject`.
|
|
1062
1028
|
# Corresponds to the JSON property `headers`
|
|
1063
1029
|
# @return [Array<Google::Apis::GmailV1::MessagePartHeader>]
|
|
1064
1030
|
attr_accessor :headers
|
|
@@ -1073,11 +1039,10 @@ module Google
|
|
|
1073
1039
|
# @return [String]
|
|
1074
1040
|
attr_accessor :part_id
|
|
1075
1041
|
|
|
1076
|
-
# The child MIME message parts of this part. This only applies to container
|
|
1077
|
-
#
|
|
1078
|
-
#
|
|
1079
|
-
#
|
|
1080
|
-
# <a href="http://www.ietf.org/rfc/rfc1521.txt">RFC 1521</a>.
|
|
1042
|
+
# The child MIME message parts of this part. This only applies to container MIME
|
|
1043
|
+
# message parts, for example `multipart/*`. For non- container MIME message part
|
|
1044
|
+
# types, such as `text/plain`, this field is empty. For more information, see
|
|
1045
|
+
# RFC 1521.
|
|
1081
1046
|
# Corresponds to the JSON property `parts`
|
|
1082
1047
|
# @return [Array<Google::Apis::GmailV1::MessagePart>]
|
|
1083
1048
|
attr_accessor :parts
|
|
@@ -1101,19 +1066,17 @@ module Google
|
|
|
1101
1066
|
class MessagePartBody
|
|
1102
1067
|
include Google::Apis::Core::Hashable
|
|
1103
1068
|
|
|
1104
|
-
# When present, contains the ID of an external attachment that can be
|
|
1105
|
-
#
|
|
1106
|
-
#
|
|
1107
|
-
# contained in the data field.
|
|
1069
|
+
# When present, contains the ID of an external attachment that can be retrieved
|
|
1070
|
+
# in a separate `messages.attachments.get` request. When not present, the entire
|
|
1071
|
+
# content of the message part body is contained in the data field.
|
|
1108
1072
|
# Corresponds to the JSON property `attachmentId`
|
|
1109
1073
|
# @return [String]
|
|
1110
1074
|
attr_accessor :attachment_id
|
|
1111
1075
|
|
|
1112
|
-
# The body data of a MIME message part as a base64url encoded string.
|
|
1113
|
-
#
|
|
1114
|
-
#
|
|
1115
|
-
#
|
|
1116
|
-
# contained in a separate attachment.
|
|
1076
|
+
# The body data of a MIME message part as a base64url encoded string. May be
|
|
1077
|
+
# empty for MIME container types that have no message body or when the body data
|
|
1078
|
+
# is sent as a separate attachment. An attachment ID is present if the body data
|
|
1079
|
+
# is contained in a separate attachment.
|
|
1117
1080
|
# Corresponds to the JSON property `data`
|
|
1118
1081
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1119
1082
|
# @return [String]
|
|
@@ -1140,14 +1103,13 @@ module Google
|
|
|
1140
1103
|
class MessagePartHeader
|
|
1141
1104
|
include Google::Apis::Core::Hashable
|
|
1142
1105
|
|
|
1143
|
-
# The name of the header before the `:` separator. For
|
|
1144
|
-
# example, `To`.
|
|
1106
|
+
# The name of the header before the `:` separator. For example, `To`.
|
|
1145
1107
|
# Corresponds to the JSON property `name`
|
|
1146
1108
|
# @return [String]
|
|
1147
1109
|
attr_accessor :name
|
|
1148
1110
|
|
|
1149
|
-
# The value of the header after the `:` separator. For example,
|
|
1150
|
-
#
|
|
1111
|
+
# The value of the header after the `:` separator. For example, `someuser@
|
|
1112
|
+
# example.com`.
|
|
1151
1113
|
# Corresponds to the JSON property `value`
|
|
1152
1114
|
# @return [String]
|
|
1153
1115
|
attr_accessor :value
|
|
@@ -1277,53 +1239,48 @@ module Google
|
|
|
1277
1239
|
end
|
|
1278
1240
|
|
|
1279
1241
|
# Settings associated with a send-as alias, which can be either the primary
|
|
1280
|
-
# login address associated with the account or a custom "from" address.
|
|
1281
|
-
#
|
|
1282
|
-
# <a href="https://support.google.com/mail/answer/22370">"Send Mail As"</a>
|
|
1283
|
-
# feature in the web interface.
|
|
1242
|
+
# login address associated with the account or a custom "from" address. Send-as
|
|
1243
|
+
# aliases correspond to the "Send Mail As" feature in the web interface.
|
|
1284
1244
|
class SendAs
|
|
1285
1245
|
include Google::Apis::Core::Hashable
|
|
1286
1246
|
|
|
1287
|
-
# A name that appears in the "From:" header for mail sent using this alias.
|
|
1288
|
-
#
|
|
1289
|
-
#
|
|
1290
|
-
#
|
|
1291
|
-
#
|
|
1292
|
-
# format, requests to update this field for the primary login will silently
|
|
1293
|
-
# fail.
|
|
1247
|
+
# A name that appears in the "From:" header for mail sent using this alias. For
|
|
1248
|
+
# custom "from" addresses, when this is empty, Gmail will populate the "From:"
|
|
1249
|
+
# header with the name that is used for the primary address associated with the
|
|
1250
|
+
# account. If the admin has disabled the ability for users to update their name
|
|
1251
|
+
# format, requests to update this field for the primary login will silently fail.
|
|
1294
1252
|
# Corresponds to the JSON property `displayName`
|
|
1295
1253
|
# @return [String]
|
|
1296
1254
|
attr_accessor :display_name
|
|
1297
1255
|
|
|
1298
|
-
# Whether this address is selected as the default "From:" address in
|
|
1299
|
-
#
|
|
1300
|
-
#
|
|
1301
|
-
#
|
|
1302
|
-
#
|
|
1303
|
-
#
|
|
1304
|
-
# `false` for the other previous default address.
|
|
1256
|
+
# Whether this address is selected as the default "From:" address in situations
|
|
1257
|
+
# such as composing a new message or sending a vacation auto-reply. Every Gmail
|
|
1258
|
+
# account has exactly one default send-as address, so the only legal value that
|
|
1259
|
+
# clients may write to this field is `true`. Changing this from `false` to `true`
|
|
1260
|
+
# for an address will result in this field becoming `false` for the other
|
|
1261
|
+
# previous default address.
|
|
1305
1262
|
# Corresponds to the JSON property `isDefault`
|
|
1306
1263
|
# @return [Boolean]
|
|
1307
1264
|
attr_accessor :is_default
|
|
1308
1265
|
alias_method :is_default?, :is_default
|
|
1309
1266
|
|
|
1310
1267
|
# Whether this address is the primary address used to login to the account.
|
|
1311
|
-
# Every Gmail account has exactly one primary address, and it cannot be
|
|
1312
|
-
#
|
|
1268
|
+
# Every Gmail account has exactly one primary address, and it cannot be deleted
|
|
1269
|
+
# from the collection of send-as aliases. This field is read-only.
|
|
1313
1270
|
# Corresponds to the JSON property `isPrimary`
|
|
1314
1271
|
# @return [Boolean]
|
|
1315
1272
|
attr_accessor :is_primary
|
|
1316
1273
|
alias_method :is_primary?, :is_primary
|
|
1317
1274
|
|
|
1318
1275
|
# An optional email address that is included in a "Reply-To:" header for mail
|
|
1319
|
-
# sent using this alias.
|
|
1320
|
-
#
|
|
1276
|
+
# sent using this alias. If this is empty, Gmail will not generate a "Reply-To:"
|
|
1277
|
+
# header.
|
|
1321
1278
|
# Corresponds to the JSON property `replyToAddress`
|
|
1322
1279
|
# @return [String]
|
|
1323
1280
|
attr_accessor :reply_to_address
|
|
1324
1281
|
|
|
1325
|
-
# The email address that appears in the "From:" header for mail sent using
|
|
1326
|
-
#
|
|
1282
|
+
# The email address that appears in the "From:" header for mail sent using this
|
|
1283
|
+
# alias. This is read-only for all operations except create.
|
|
1327
1284
|
# Corresponds to the JSON property `sendAsEmail`
|
|
1328
1285
|
# @return [String]
|
|
1329
1286
|
attr_accessor :send_as_email
|
|
@@ -1339,16 +1296,15 @@ module Google
|
|
|
1339
1296
|
# @return [Google::Apis::GmailV1::SmtpMsa]
|
|
1340
1297
|
attr_accessor :smtp_msa
|
|
1341
1298
|
|
|
1342
|
-
# Whether Gmail should
|
|
1343
|
-
#
|
|
1344
|
-
# This setting only applies to custom "from" aliases.
|
|
1299
|
+
# Whether Gmail should treat this address as an alias for the user's primary
|
|
1300
|
+
# email address. This setting only applies to custom "from" aliases.
|
|
1345
1301
|
# Corresponds to the JSON property `treatAsAlias`
|
|
1346
1302
|
# @return [Boolean]
|
|
1347
1303
|
attr_accessor :treat_as_alias
|
|
1348
1304
|
alias_method :treat_as_alias?, :treat_as_alias
|
|
1349
1305
|
|
|
1350
|
-
# Indicates whether this address has been verified for use as a send-as
|
|
1351
|
-
#
|
|
1306
|
+
# Indicates whether this address has been verified for use as a send-as alias.
|
|
1307
|
+
# Read-only. This setting only applies to custom "from" aliases.
|
|
1352
1308
|
# Corresponds to the JSON property `verificationStatus`
|
|
1353
1309
|
# @return [String]
|
|
1354
1310
|
attr_accessor :verification_status
|
|
@@ -1401,18 +1357,18 @@ module Google
|
|
|
1401
1357
|
# @return [String]
|
|
1402
1358
|
attr_accessor :issuer_cn
|
|
1403
1359
|
|
|
1404
|
-
# PEM formatted X509 concatenated certificate string (standard base64
|
|
1405
|
-
#
|
|
1406
|
-
#
|
|
1360
|
+
# PEM formatted X509 concatenated certificate string (standard base64 encoding).
|
|
1361
|
+
# Format used for returning key, which includes public key as well as
|
|
1362
|
+
# certificate chain (not private key).
|
|
1407
1363
|
# Corresponds to the JSON property `pem`
|
|
1408
1364
|
# @return [String]
|
|
1409
1365
|
attr_accessor :pem
|
|
1410
1366
|
|
|
1411
|
-
# PKCS#12 format containing a single private/public key pair and
|
|
1412
|
-
#
|
|
1413
|
-
#
|
|
1414
|
-
#
|
|
1415
|
-
#
|
|
1367
|
+
# PKCS#12 format containing a single private/public key pair and certificate
|
|
1368
|
+
# chain. This format is only accepted from client for creating a new SmimeInfo
|
|
1369
|
+
# and is never returned, because the private key is not intended to be exported.
|
|
1370
|
+
# PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set
|
|
1371
|
+
# appropriately.
|
|
1416
1372
|
# Corresponds to the JSON property `pkcs12`
|
|
1417
1373
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1418
1374
|
# @return [String]
|
|
@@ -1438,32 +1394,32 @@ module Google
|
|
|
1438
1394
|
class SmtpMsa
|
|
1439
1395
|
include Google::Apis::Core::Hashable
|
|
1440
1396
|
|
|
1441
|
-
# The hostname of the SMTP service.
|
|
1397
|
+
# The hostname of the SMTP service. Required.
|
|
1442
1398
|
# Corresponds to the JSON property `host`
|
|
1443
1399
|
# @return [String]
|
|
1444
1400
|
attr_accessor :host
|
|
1445
1401
|
|
|
1446
|
-
# The password that will be used for authentication with the SMTP service.
|
|
1447
|
-
#
|
|
1448
|
-
#
|
|
1402
|
+
# The password that will be used for authentication with the SMTP service. This
|
|
1403
|
+
# is a write-only field that can be specified in requests to create or update
|
|
1404
|
+
# SendAs settings; it is never populated in responses.
|
|
1449
1405
|
# Corresponds to the JSON property `password`
|
|
1450
1406
|
# @return [String]
|
|
1451
1407
|
attr_accessor :password
|
|
1452
1408
|
|
|
1453
|
-
# The port of the SMTP service.
|
|
1409
|
+
# The port of the SMTP service. Required.
|
|
1454
1410
|
# Corresponds to the JSON property `port`
|
|
1455
1411
|
# @return [Fixnum]
|
|
1456
1412
|
attr_accessor :port
|
|
1457
1413
|
|
|
1458
|
-
# The protocol that will be used to secure communication with the SMTP
|
|
1459
|
-
#
|
|
1414
|
+
# The protocol that will be used to secure communication with the SMTP service.
|
|
1415
|
+
# Required.
|
|
1460
1416
|
# Corresponds to the JSON property `securityMode`
|
|
1461
1417
|
# @return [String]
|
|
1462
1418
|
attr_accessor :security_mode
|
|
1463
1419
|
|
|
1464
|
-
# The username that will be used for authentication with the SMTP service.
|
|
1465
|
-
#
|
|
1466
|
-
#
|
|
1420
|
+
# The username that will be used for authentication with the SMTP service. This
|
|
1421
|
+
# is a write-only field that can be specified in requests to create or update
|
|
1422
|
+
# SendAs settings; it is never populated in responses.
|
|
1467
1423
|
# Corresponds to the JSON property `username`
|
|
1468
1424
|
# @return [String]
|
|
1469
1425
|
attr_accessor :username
|
|
@@ -1519,9 +1475,8 @@ module Google
|
|
|
1519
1475
|
end
|
|
1520
1476
|
end
|
|
1521
1477
|
|
|
1522
|
-
# Vacation auto-reply settings for an account.
|
|
1523
|
-
# the
|
|
1524
|
-
# responder"</a> feature in the web interface.
|
|
1478
|
+
# Vacation auto-reply settings for an account. These settings correspond to the "
|
|
1479
|
+
# Vacation responder" feature in the web interface.
|
|
1525
1480
|
class VacationSettings
|
|
1526
1481
|
include Google::Apis::Core::Hashable
|
|
1527
1482
|
|
|
@@ -1531,57 +1486,52 @@ module Google
|
|
|
1531
1486
|
attr_accessor :enable_auto_reply
|
|
1532
1487
|
alias_method :enable_auto_reply?, :enable_auto_reply
|
|
1533
1488
|
|
|
1534
|
-
# An optional end time for sending auto-replies (epoch ms).
|
|
1535
|
-
#
|
|
1536
|
-
#
|
|
1537
|
-
#
|
|
1538
|
-
# `endTime`.
|
|
1489
|
+
# An optional end time for sending auto-replies (epoch ms). When this is
|
|
1490
|
+
# specified, Gmail will automatically reply only to messages that it receives
|
|
1491
|
+
# before the end time. If both `startTime` and `endTime` are specified, `
|
|
1492
|
+
# startTime` must precede `endTime`.
|
|
1539
1493
|
# Corresponds to the JSON property `endTime`
|
|
1540
1494
|
# @return [Fixnum]
|
|
1541
1495
|
attr_accessor :end_time
|
|
1542
1496
|
|
|
1543
|
-
# Response body in HTML format.
|
|
1544
|
-
#
|
|
1545
|
-
#
|
|
1546
|
-
# `response_body_html` will be used.
|
|
1497
|
+
# Response body in HTML format. Gmail will sanitize the HTML before storing it.
|
|
1498
|
+
# If both `response_body_plain_text` and `response_body_html` are specified, `
|
|
1499
|
+
# response_body_html` will be used.
|
|
1547
1500
|
# Corresponds to the JSON property `responseBodyHtml`
|
|
1548
1501
|
# @return [String]
|
|
1549
1502
|
attr_accessor :response_body_html
|
|
1550
1503
|
|
|
1551
|
-
# Response body in plain text format. If both
|
|
1552
|
-
# `
|
|
1553
|
-
# are specified, `response_body_html` will be used.
|
|
1504
|
+
# Response body in plain text format. If both `response_body_plain_text` and `
|
|
1505
|
+
# response_body_html` are specified, `response_body_html` will be used.
|
|
1554
1506
|
# Corresponds to the JSON property `responseBodyPlainText`
|
|
1555
1507
|
# @return [String]
|
|
1556
1508
|
attr_accessor :response_body_plain_text
|
|
1557
1509
|
|
|
1558
|
-
# Optional text to prepend to the subject line in vacation responses.
|
|
1559
|
-
#
|
|
1560
|
-
#
|
|
1510
|
+
# Optional text to prepend to the subject line in vacation responses. In order
|
|
1511
|
+
# to enable auto-replies, either the response subject or the response body must
|
|
1512
|
+
# be nonempty.
|
|
1561
1513
|
# Corresponds to the JSON property `responseSubject`
|
|
1562
1514
|
# @return [String]
|
|
1563
1515
|
attr_accessor :response_subject
|
|
1564
1516
|
|
|
1565
|
-
# Flag that determines whether responses are sent to recipients who are not
|
|
1566
|
-
#
|
|
1517
|
+
# Flag that determines whether responses are sent to recipients who are not in
|
|
1518
|
+
# the user's list of contacts.
|
|
1567
1519
|
# Corresponds to the JSON property `restrictToContacts`
|
|
1568
1520
|
# @return [Boolean]
|
|
1569
1521
|
attr_accessor :restrict_to_contacts
|
|
1570
1522
|
alias_method :restrict_to_contacts?, :restrict_to_contacts
|
|
1571
1523
|
|
|
1572
|
-
# Flag that determines whether responses are sent to recipients who are
|
|
1573
|
-
#
|
|
1574
|
-
# users.
|
|
1524
|
+
# Flag that determines whether responses are sent to recipients who are outside
|
|
1525
|
+
# of the user's domain. This feature is only available for G Suite users.
|
|
1575
1526
|
# Corresponds to the JSON property `restrictToDomain`
|
|
1576
1527
|
# @return [Boolean]
|
|
1577
1528
|
attr_accessor :restrict_to_domain
|
|
1578
1529
|
alias_method :restrict_to_domain?, :restrict_to_domain
|
|
1579
1530
|
|
|
1580
|
-
# An optional start time for sending auto-replies (epoch ms).
|
|
1581
|
-
#
|
|
1582
|
-
#
|
|
1583
|
-
#
|
|
1584
|
-
# `endTime`.
|
|
1531
|
+
# An optional start time for sending auto-replies (epoch ms). When this is
|
|
1532
|
+
# specified, Gmail will automatically reply only to messages that it receives
|
|
1533
|
+
# after the start time. If both `startTime` and `endTime` are specified, `
|
|
1534
|
+
# startTime` must precede `endTime`.
|
|
1585
1535
|
# Corresponds to the JSON property `startTime`
|
|
1586
1536
|
# @return [Fixnum]
|
|
1587
1537
|
attr_accessor :start_time
|
|
@@ -1612,21 +1562,19 @@ module Google
|
|
|
1612
1562
|
# @return [String]
|
|
1613
1563
|
attr_accessor :label_filter_action
|
|
1614
1564
|
|
|
1615
|
-
# List of label_ids to restrict notifications about.
|
|
1616
|
-
#
|
|
1617
|
-
#
|
|
1618
|
-
# be generated.
|
|
1565
|
+
# List of label_ids to restrict notifications about. By default, if unspecified,
|
|
1566
|
+
# all changes are pushed out. If specified then dictates which labels are
|
|
1567
|
+
# required for a push notification to be generated.
|
|
1619
1568
|
# Corresponds to the JSON property `labelIds`
|
|
1620
1569
|
# @return [Array<String>]
|
|
1621
1570
|
attr_accessor :label_ids
|
|
1622
1571
|
|
|
1623
|
-
# A fully qualified Google Cloud Pub/Sub API topic name to publish the
|
|
1624
|
-
#
|
|
1625
|
-
#
|
|
1626
|
-
#
|
|
1627
|
-
#
|
|
1628
|
-
#
|
|
1629
|
-
# Google developer project id (the one executing this watch request).
|
|
1572
|
+
# A fully qualified Google Cloud Pub/Sub API topic name to publish the events to.
|
|
1573
|
+
# This topic name **must** already exist in Cloud Pub/Sub and you **must** have
|
|
1574
|
+
# already granted gmail "publish" permission on it. For example, "projects/my-
|
|
1575
|
+
# project-identifier/topics/my-topic-name" (using the Cloud Pub/Sub "v1" topic
|
|
1576
|
+
# naming format). Note that the "my-project-identifier" portion must exactly
|
|
1577
|
+
# match your Google developer project id (the one executing this watch request).
|
|
1630
1578
|
# Corresponds to the JSON property `topicName`
|
|
1631
1579
|
# @return [String]
|
|
1632
1580
|
attr_accessor :topic_name
|
|
@@ -1647,9 +1595,8 @@ module Google
|
|
|
1647
1595
|
class WatchResponse
|
|
1648
1596
|
include Google::Apis::Core::Hashable
|
|
1649
1597
|
|
|
1650
|
-
# When Gmail will stop sending notifications for mailbox updates
|
|
1651
|
-
#
|
|
1652
|
-
# the watch.
|
|
1598
|
+
# When Gmail will stop sending notifications for mailbox updates (epoch millis).
|
|
1599
|
+
# Call `watch` again before this time to renew the watch.
|
|
1653
1600
|
# Corresponds to the JSON property `expiration`
|
|
1654
1601
|
# @return [Fixnum]
|
|
1655
1602
|
attr_accessor :expiration
|