google-api-client 0.36.4 → 0.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/CHANGELOG.md +184 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
- data/generated/google/apis/accessapproval_v1/service.rb +869 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- data/generated/google/apis/admob_v1/classes.rb +951 -0
- data/generated/google/apis/admob_v1/representations.rb +378 -0
- data/generated/google/apis/admob_v1/service.rb +196 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +7 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -94
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -50
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +134 -94
- data/generated/google/apis/androidpublisher_v3/representations.rb +63 -50
- data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +0 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +49 -15
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -22
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +5 -99
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -45
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +49 -15
- data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +49 -15
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +49 -15
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1/classes.rb +103 -20
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +51 -16
- data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/{servicebroker_v1beta1.rb → cloudbuild_v1alpha2.rb} +9 -11
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +63 -15
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +49 -15
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +64 -21
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +49 -15
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +49 -15
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +49 -15
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +49 -15
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +429 -237
- data/generated/google/apis/compute_alpha/representations.rb +42 -3
- data/generated/google/apis/compute_alpha/service.rb +99 -32
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1054 -235
- data/generated/google/apis/compute_beta/representations.rb +266 -0
- data/generated/google/apis/compute_beta/service.rb +5821 -4671
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1118 -314
- data/generated/google/apis/compute_v1/representations.rb +313 -0
- data/generated/google/apis/compute_v1/service.rb +612 -24
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +247 -3
- data/generated/google/apis/container_v1/representations.rb +74 -0
- data/generated/google/apis/container_v1/service.rb +8 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +284 -80
- data/generated/google/apis/container_v1beta1/representations.rb +85 -0
- data/generated/google/apis/container_v1beta1/service.rb +129 -121
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +49 -15
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +49 -15
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +97 -0
- data/generated/google/apis/content_v2/representations.rb +47 -0
- data/generated/google/apis/content_v2/service.rb +33 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +191 -0
- data/generated/google/apis/content_v2_1/representations.rb +94 -0
- data/generated/google/apis/content_v2_1/service.rb +77 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +157 -24
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +151 -66
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +120 -2
- data/generated/google/apis/dataflow_v1b3/representations.rb +63 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
- data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
- data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +156 -122
- data/generated/google/apis/dataproc_v1/service.rb +16 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +155 -121
- data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +506 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
- data/generated/google/apis/dialogflow_v2/service.rb +477 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +404 -9
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +919 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +101 -92
- data/generated/google/apis/dlp_v2/service.rb +56 -56
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +275 -18
- data/generated/google/apis/docs_v1/representations.rb +75 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -2
- data/generated/google/apis/drive_v2/service.rb +0 -92
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +12 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -2
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +8 -4
- data/generated/google/apis/fitness_v1/service.rb +26 -8
- 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/gmail_v1.rb +13 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +113 -35
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +68 -36
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +93 -23
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +66 -17
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +31 -33
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +49 -15
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +106 -4
- data/generated/google/apis/logging_v2/representations.rb +16 -0
- data/generated/google/apis/logging_v2/service.rb +184 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +4 -1
- data/generated/google/apis/ml_v1/classes.rb +131 -26
- data/generated/google/apis/ml_v1/representations.rb +15 -0
- data/generated/google/apis/ml_v1/service.rb +2 -7
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +144 -109
- data/generated/google/apis/monitoring_v1/representations.rb +0 -18
- data/generated/google/apis/monitoring_v1/service.rb +11 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +211 -99
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +178 -153
- data/generated/google/apis/{servicebroker_v1alpha1.rb → osconfig_v1beta.rb} +10 -11
- data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
- data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +14 -13
- data/generated/google/apis/people_v1/service.rb +12 -16
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +71 -19
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +39 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +27 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +66 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +119 -15
- data/generated/google/apis/pubsub_v1/representations.rb +17 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +49 -15
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -5
- data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +10 -3
- data/generated/google/apis/redis_v1/representations.rb +1 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +49 -15
- data/generated/google/apis/run_v1/service.rb +0 -30
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +278 -572
- data/generated/google/apis/run_v1alpha1/representations.rb +82 -223
- data/generated/google/apis/run_v1alpha1/service.rb +272 -682
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +39 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +27 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +66 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +3 -2
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +49 -15
- data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +449 -15
- data/generated/google/apis/securitycenter_v1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +101 -5
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +19 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +238 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +156 -20
- data/generated/google/apis/servicemanagement_v1/representations.rb +18 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +101 -5
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +101 -5
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +101 -5
- data/generated/google/apis/serviceusage_v1/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +101 -5
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +19 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +195 -31
- data/generated/google/apis/sheets_v4/representations.rb +56 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +49 -15
- data/generated/google/apis/spanner_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +1 -8
- data/generated/google/apis/speech_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
- data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +130 -2
- data/generated/google/apis/sql_v1beta4/representations.rb +52 -0
- data/generated/google/apis/sql_v1beta4/service.rb +190 -9
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +16 -7
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
- data/generated/google/apis/storagetransfer_v1/service.rb +0 -30
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -1
- data/generated/google/apis/toolresults_v1.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +0 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
- data/generated/google/apis/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3/classes.rb +943 -0
- data/generated/google/apis/translate_v3/representations.rb +439 -0
- data/generated/google/apis/translate_v3/service.rb +781 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +61 -9
- data/generated/google/apis/youtube_v3/representations.rb +8 -1
- data/generated/google/apis/youtube_v3/service.rb +8 -2
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +27 -27
- data/generated/google/apis/analytics_v2_4.rb +0 -37
- data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
- data/generated/google/apis/analytics_v2_4/service.rb +0 -331
- data/generated/google/apis/plus_domains_v1.rb +0 -55
- data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
- data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
- data/generated/google/apis/plus_domains_v1/service.rb +0 -489
- data/generated/google/apis/replicapool_v1beta1.rb +0 -50
- data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
- data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
- data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
- data/generated/google/apis/servicebroker_v1/classes.rb +0 -368
- data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +0 -367
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
@@ -1,55 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/plus_domains_v1/service.rb'
|
16
|
-
require 'google/apis/plus_domains_v1/classes.rb'
|
17
|
-
require 'google/apis/plus_domains_v1/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Google+ Domains API
|
22
|
-
#
|
23
|
-
# Builds on top of the Google+ platform for Google Apps Domains.
|
24
|
-
#
|
25
|
-
# @see https://developers.google.com/+/domains/
|
26
|
-
module PlusDomainsV1
|
27
|
-
VERSION = 'V1'
|
28
|
-
REVISION = '20190415'
|
29
|
-
|
30
|
-
# View your circles and the people and pages in them
|
31
|
-
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
32
|
-
|
33
|
-
# View your basic profile info, including your age range and language
|
34
|
-
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
35
|
-
|
36
|
-
# Associate you with your personal info on Google
|
37
|
-
AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me'
|
38
|
-
|
39
|
-
# Send your photos and videos to Google+
|
40
|
-
AUTH_PLUS_MEDIA_UPLOAD = 'https://www.googleapis.com/auth/plus.media.upload'
|
41
|
-
|
42
|
-
# View your own Google+ profile and profiles visible to you
|
43
|
-
AUTH_PLUS_PROFILES_READ = 'https://www.googleapis.com/auth/plus.profiles.read'
|
44
|
-
|
45
|
-
# View your Google+ posts, comments, and stream
|
46
|
-
AUTH_PLUS_STREAM_READ = 'https://www.googleapis.com/auth/plus.stream.read'
|
47
|
-
|
48
|
-
# View your email address
|
49
|
-
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
50
|
-
|
51
|
-
# See your personal info, including any personal info you've made publicly available
|
52
|
-
AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
@@ -1,2609 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module PlusDomainsV1
|
24
|
-
|
25
|
-
#
|
26
|
-
class Acl
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# Description of the access granted, suitable for display.
|
30
|
-
# Corresponds to the JSON property `description`
|
31
|
-
# @return [String]
|
32
|
-
attr_accessor :description
|
33
|
-
|
34
|
-
# Whether access is restricted to the domain.
|
35
|
-
# Corresponds to the JSON property `domainRestricted`
|
36
|
-
# @return [Boolean]
|
37
|
-
attr_accessor :domain_restricted
|
38
|
-
alias_method :domain_restricted?, :domain_restricted
|
39
|
-
|
40
|
-
# The list of access entries.
|
41
|
-
# Corresponds to the JSON property `items`
|
42
|
-
# @return [Array<Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource>]
|
43
|
-
attr_accessor :items
|
44
|
-
|
45
|
-
# Identifies this resource as a collection of access controls. Value: "plus#acl".
|
46
|
-
# Corresponds to the JSON property `kind`
|
47
|
-
# @return [String]
|
48
|
-
attr_accessor :kind
|
49
|
-
|
50
|
-
def initialize(**args)
|
51
|
-
update!(**args)
|
52
|
-
end
|
53
|
-
|
54
|
-
# Update properties of this object
|
55
|
-
def update!(**args)
|
56
|
-
@description = args[:description] if args.key?(:description)
|
57
|
-
@domain_restricted = args[:domain_restricted] if args.key?(:domain_restricted)
|
58
|
-
@items = args[:items] if args.key?(:items)
|
59
|
-
@kind = args[:kind] if args.key?(:kind)
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
|
-
#
|
64
|
-
class Activity
|
65
|
-
include Google::Apis::Core::Hashable
|
66
|
-
|
67
|
-
# Identifies who has access to see this activity.
|
68
|
-
# Corresponds to the JSON property `access`
|
69
|
-
# @return [Google::Apis::PlusDomainsV1::Acl]
|
70
|
-
attr_accessor :access
|
71
|
-
|
72
|
-
# The person who performed this activity.
|
73
|
-
# Corresponds to the JSON property `actor`
|
74
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Actor]
|
75
|
-
attr_accessor :actor
|
76
|
-
|
77
|
-
# Street address where this activity occurred.
|
78
|
-
# Corresponds to the JSON property `address`
|
79
|
-
# @return [String]
|
80
|
-
attr_accessor :address
|
81
|
-
|
82
|
-
# Additional content added by the person who shared this activity, applicable
|
83
|
-
# only when resharing an activity.
|
84
|
-
# Corresponds to the JSON property `annotation`
|
85
|
-
# @return [String]
|
86
|
-
attr_accessor :annotation
|
87
|
-
|
88
|
-
# If this activity is a crosspost from another system, this property specifies
|
89
|
-
# the ID of the original activity.
|
90
|
-
# Corresponds to the JSON property `crosspostSource`
|
91
|
-
# @return [String]
|
92
|
-
attr_accessor :crosspost_source
|
93
|
-
|
94
|
-
# ETag of this response for caching purposes.
|
95
|
-
# Corresponds to the JSON property `etag`
|
96
|
-
# @return [String]
|
97
|
-
attr_accessor :etag
|
98
|
-
|
99
|
-
# Latitude and longitude where this activity occurred. Format is latitude
|
100
|
-
# followed by longitude, space separated.
|
101
|
-
# Corresponds to the JSON property `geocode`
|
102
|
-
# @return [String]
|
103
|
-
attr_accessor :geocode
|
104
|
-
|
105
|
-
# The ID of this activity.
|
106
|
-
# Corresponds to the JSON property `id`
|
107
|
-
# @return [String]
|
108
|
-
attr_accessor :id
|
109
|
-
|
110
|
-
# Identifies this resource as an activity. Value: "plus#activity".
|
111
|
-
# Corresponds to the JSON property `kind`
|
112
|
-
# @return [String]
|
113
|
-
attr_accessor :kind
|
114
|
-
|
115
|
-
# The location where this activity occurred.
|
116
|
-
# Corresponds to the JSON property `location`
|
117
|
-
# @return [Google::Apis::PlusDomainsV1::Place]
|
118
|
-
attr_accessor :location
|
119
|
-
|
120
|
-
# The object of this activity.
|
121
|
-
# Corresponds to the JSON property `object`
|
122
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object]
|
123
|
-
attr_accessor :object
|
124
|
-
|
125
|
-
# ID of the place where this activity occurred.
|
126
|
-
# Corresponds to the JSON property `placeId`
|
127
|
-
# @return [String]
|
128
|
-
attr_accessor :place_id
|
129
|
-
|
130
|
-
# Name of the place where this activity occurred.
|
131
|
-
# Corresponds to the JSON property `placeName`
|
132
|
-
# @return [String]
|
133
|
-
attr_accessor :place_name
|
134
|
-
|
135
|
-
# The service provider that initially published this activity.
|
136
|
-
# Corresponds to the JSON property `provider`
|
137
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Provider]
|
138
|
-
attr_accessor :provider
|
139
|
-
|
140
|
-
# The time at which this activity was initially published. Formatted as an RFC
|
141
|
-
# 3339 timestamp.
|
142
|
-
# Corresponds to the JSON property `published`
|
143
|
-
# @return [DateTime]
|
144
|
-
attr_accessor :published
|
145
|
-
|
146
|
-
# Radius, in meters, of the region where this activity occurred, centered at the
|
147
|
-
# latitude and longitude identified in geocode.
|
148
|
-
# Corresponds to the JSON property `radius`
|
149
|
-
# @return [String]
|
150
|
-
attr_accessor :radius
|
151
|
-
|
152
|
-
# Title of this activity.
|
153
|
-
# Corresponds to the JSON property `title`
|
154
|
-
# @return [String]
|
155
|
-
attr_accessor :title
|
156
|
-
|
157
|
-
# The time at which this activity was last updated. Formatted as an RFC 3339
|
158
|
-
# timestamp.
|
159
|
-
# Corresponds to the JSON property `updated`
|
160
|
-
# @return [DateTime]
|
161
|
-
attr_accessor :updated
|
162
|
-
|
163
|
-
# The link to this activity.
|
164
|
-
# Corresponds to the JSON property `url`
|
165
|
-
# @return [String]
|
166
|
-
attr_accessor :url
|
167
|
-
|
168
|
-
# This activity's verb, which indicates the action that was performed. Possible
|
169
|
-
# values include, but are not limited to, the following values:
|
170
|
-
# - "post" - Publish content to the stream.
|
171
|
-
# - "share" - Reshare an activity.
|
172
|
-
# Corresponds to the JSON property `verb`
|
173
|
-
# @return [String]
|
174
|
-
attr_accessor :verb
|
175
|
-
|
176
|
-
def initialize(**args)
|
177
|
-
update!(**args)
|
178
|
-
end
|
179
|
-
|
180
|
-
# Update properties of this object
|
181
|
-
def update!(**args)
|
182
|
-
@access = args[:access] if args.key?(:access)
|
183
|
-
@actor = args[:actor] if args.key?(:actor)
|
184
|
-
@address = args[:address] if args.key?(:address)
|
185
|
-
@annotation = args[:annotation] if args.key?(:annotation)
|
186
|
-
@crosspost_source = args[:crosspost_source] if args.key?(:crosspost_source)
|
187
|
-
@etag = args[:etag] if args.key?(:etag)
|
188
|
-
@geocode = args[:geocode] if args.key?(:geocode)
|
189
|
-
@id = args[:id] if args.key?(:id)
|
190
|
-
@kind = args[:kind] if args.key?(:kind)
|
191
|
-
@location = args[:location] if args.key?(:location)
|
192
|
-
@object = args[:object] if args.key?(:object)
|
193
|
-
@place_id = args[:place_id] if args.key?(:place_id)
|
194
|
-
@place_name = args[:place_name] if args.key?(:place_name)
|
195
|
-
@provider = args[:provider] if args.key?(:provider)
|
196
|
-
@published = args[:published] if args.key?(:published)
|
197
|
-
@radius = args[:radius] if args.key?(:radius)
|
198
|
-
@title = args[:title] if args.key?(:title)
|
199
|
-
@updated = args[:updated] if args.key?(:updated)
|
200
|
-
@url = args[:url] if args.key?(:url)
|
201
|
-
@verb = args[:verb] if args.key?(:verb)
|
202
|
-
end
|
203
|
-
|
204
|
-
# The person who performed this activity.
|
205
|
-
class Actor
|
206
|
-
include Google::Apis::Core::Hashable
|
207
|
-
|
208
|
-
# Actor info specific to particular clients.
|
209
|
-
# Corresponds to the JSON property `clientSpecificActorInfo`
|
210
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo]
|
211
|
-
attr_accessor :client_specific_actor_info
|
212
|
-
|
213
|
-
# The name of the actor, suitable for display.
|
214
|
-
# Corresponds to the JSON property `displayName`
|
215
|
-
# @return [String]
|
216
|
-
attr_accessor :display_name
|
217
|
-
|
218
|
-
# The ID of the actor's Person resource.
|
219
|
-
# Corresponds to the JSON property `id`
|
220
|
-
# @return [String]
|
221
|
-
attr_accessor :id
|
222
|
-
|
223
|
-
# The image representation of the actor.
|
224
|
-
# Corresponds to the JSON property `image`
|
225
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Actor::Image]
|
226
|
-
attr_accessor :image
|
227
|
-
|
228
|
-
# An object representation of the individual components of name.
|
229
|
-
# Corresponds to the JSON property `name`
|
230
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Actor::Name]
|
231
|
-
attr_accessor :name
|
232
|
-
|
233
|
-
# The link to the actor's Google profile.
|
234
|
-
# Corresponds to the JSON property `url`
|
235
|
-
# @return [String]
|
236
|
-
attr_accessor :url
|
237
|
-
|
238
|
-
# Verification status of actor.
|
239
|
-
# Corresponds to the JSON property `verification`
|
240
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Actor::Verification]
|
241
|
-
attr_accessor :verification
|
242
|
-
|
243
|
-
def initialize(**args)
|
244
|
-
update!(**args)
|
245
|
-
end
|
246
|
-
|
247
|
-
# Update properties of this object
|
248
|
-
def update!(**args)
|
249
|
-
@client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
|
250
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
251
|
-
@id = args[:id] if args.key?(:id)
|
252
|
-
@image = args[:image] if args.key?(:image)
|
253
|
-
@name = args[:name] if args.key?(:name)
|
254
|
-
@url = args[:url] if args.key?(:url)
|
255
|
-
@verification = args[:verification] if args.key?(:verification)
|
256
|
-
end
|
257
|
-
|
258
|
-
# Actor info specific to particular clients.
|
259
|
-
class ClientSpecificActorInfo
|
260
|
-
include Google::Apis::Core::Hashable
|
261
|
-
|
262
|
-
# Actor info specific to YouTube clients.
|
263
|
-
# Corresponds to the JSON property `youtubeActorInfo`
|
264
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
|
265
|
-
attr_accessor :youtube_actor_info
|
266
|
-
|
267
|
-
def initialize(**args)
|
268
|
-
update!(**args)
|
269
|
-
end
|
270
|
-
|
271
|
-
# Update properties of this object
|
272
|
-
def update!(**args)
|
273
|
-
@youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
|
274
|
-
end
|
275
|
-
|
276
|
-
# Actor info specific to YouTube clients.
|
277
|
-
class YoutubeActorInfo
|
278
|
-
include Google::Apis::Core::Hashable
|
279
|
-
|
280
|
-
# ID of the YouTube channel owned by the Actor.
|
281
|
-
# Corresponds to the JSON property `channelId`
|
282
|
-
# @return [String]
|
283
|
-
attr_accessor :channel_id
|
284
|
-
|
285
|
-
def initialize(**args)
|
286
|
-
update!(**args)
|
287
|
-
end
|
288
|
-
|
289
|
-
# Update properties of this object
|
290
|
-
def update!(**args)
|
291
|
-
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
292
|
-
end
|
293
|
-
end
|
294
|
-
end
|
295
|
-
|
296
|
-
# The image representation of the actor.
|
297
|
-
class Image
|
298
|
-
include Google::Apis::Core::Hashable
|
299
|
-
|
300
|
-
# The URL of the actor's profile photo. To resize the image and crop it to a
|
301
|
-
# square, append the query string ?sz=x, where x is the dimension in pixels of
|
302
|
-
# each side.
|
303
|
-
# Corresponds to the JSON property `url`
|
304
|
-
# @return [String]
|
305
|
-
attr_accessor :url
|
306
|
-
|
307
|
-
def initialize(**args)
|
308
|
-
update!(**args)
|
309
|
-
end
|
310
|
-
|
311
|
-
# Update properties of this object
|
312
|
-
def update!(**args)
|
313
|
-
@url = args[:url] if args.key?(:url)
|
314
|
-
end
|
315
|
-
end
|
316
|
-
|
317
|
-
# An object representation of the individual components of name.
|
318
|
-
class Name
|
319
|
-
include Google::Apis::Core::Hashable
|
320
|
-
|
321
|
-
# The family name ("last name") of the actor.
|
322
|
-
# Corresponds to the JSON property `familyName`
|
323
|
-
# @return [String]
|
324
|
-
attr_accessor :family_name
|
325
|
-
|
326
|
-
# The given name ("first name") of the actor.
|
327
|
-
# Corresponds to the JSON property `givenName`
|
328
|
-
# @return [String]
|
329
|
-
attr_accessor :given_name
|
330
|
-
|
331
|
-
def initialize(**args)
|
332
|
-
update!(**args)
|
333
|
-
end
|
334
|
-
|
335
|
-
# Update properties of this object
|
336
|
-
def update!(**args)
|
337
|
-
@family_name = args[:family_name] if args.key?(:family_name)
|
338
|
-
@given_name = args[:given_name] if args.key?(:given_name)
|
339
|
-
end
|
340
|
-
end
|
341
|
-
|
342
|
-
# Verification status of actor.
|
343
|
-
class Verification
|
344
|
-
include Google::Apis::Core::Hashable
|
345
|
-
|
346
|
-
# Verification for one-time or manual processes.
|
347
|
-
# Corresponds to the JSON property `adHocVerified`
|
348
|
-
# @return [String]
|
349
|
-
attr_accessor :ad_hoc_verified
|
350
|
-
|
351
|
-
def initialize(**args)
|
352
|
-
update!(**args)
|
353
|
-
end
|
354
|
-
|
355
|
-
# Update properties of this object
|
356
|
-
def update!(**args)
|
357
|
-
@ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
|
358
|
-
end
|
359
|
-
end
|
360
|
-
end
|
361
|
-
|
362
|
-
# The object of this activity.
|
363
|
-
class Object
|
364
|
-
include Google::Apis::Core::Hashable
|
365
|
-
|
366
|
-
# If this activity's object is itself another activity, such as when a person
|
367
|
-
# reshares an activity, this property specifies the original activity's actor.
|
368
|
-
# Corresponds to the JSON property `actor`
|
369
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor]
|
370
|
-
attr_accessor :actor
|
371
|
-
|
372
|
-
# The media objects attached to this activity.
|
373
|
-
# Corresponds to the JSON property `attachments`
|
374
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Activity::Object::Attachment>]
|
375
|
-
attr_accessor :attachments
|
376
|
-
|
377
|
-
# The HTML-formatted content, which is suitable for display.
|
378
|
-
# Corresponds to the JSON property `content`
|
379
|
-
# @return [String]
|
380
|
-
attr_accessor :content
|
381
|
-
|
382
|
-
# The ID of the object. When resharing an activity, this is the ID of the
|
383
|
-
# activity that is being reshared.
|
384
|
-
# Corresponds to the JSON property `id`
|
385
|
-
# @return [String]
|
386
|
-
attr_accessor :id
|
387
|
-
|
388
|
-
# The type of the object. Possible values include, but are not limited to, the
|
389
|
-
# following values:
|
390
|
-
# - "note" - Textual content.
|
391
|
-
# - "activity" - A Google+ activity.
|
392
|
-
# Corresponds to the JSON property `objectType`
|
393
|
-
# @return [String]
|
394
|
-
attr_accessor :object_type
|
395
|
-
|
396
|
-
# The content (text) as provided by the author, which is stored without any HTML
|
397
|
-
# formatting. When creating or updating an activity, this value must be supplied
|
398
|
-
# as plain text in the request.
|
399
|
-
# Corresponds to the JSON property `originalContent`
|
400
|
-
# @return [String]
|
401
|
-
attr_accessor :original_content
|
402
|
-
|
403
|
-
# People who +1'd this activity.
|
404
|
-
# Corresponds to the JSON property `plusoners`
|
405
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Plusoners]
|
406
|
-
attr_accessor :plusoners
|
407
|
-
|
408
|
-
# Comments in reply to this activity.
|
409
|
-
# Corresponds to the JSON property `replies`
|
410
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Replies]
|
411
|
-
attr_accessor :replies
|
412
|
-
|
413
|
-
# People who reshared this activity.
|
414
|
-
# Corresponds to the JSON property `resharers`
|
415
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Resharers]
|
416
|
-
attr_accessor :resharers
|
417
|
-
|
418
|
-
# Status of the activity as seen by the viewer.
|
419
|
-
# Corresponds to the JSON property `statusForViewer`
|
420
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::StatusForViewer]
|
421
|
-
attr_accessor :status_for_viewer
|
422
|
-
|
423
|
-
# The URL that points to the linked resource.
|
424
|
-
# Corresponds to the JSON property `url`
|
425
|
-
# @return [String]
|
426
|
-
attr_accessor :url
|
427
|
-
|
428
|
-
def initialize(**args)
|
429
|
-
update!(**args)
|
430
|
-
end
|
431
|
-
|
432
|
-
# Update properties of this object
|
433
|
-
def update!(**args)
|
434
|
-
@actor = args[:actor] if args.key?(:actor)
|
435
|
-
@attachments = args[:attachments] if args.key?(:attachments)
|
436
|
-
@content = args[:content] if args.key?(:content)
|
437
|
-
@id = args[:id] if args.key?(:id)
|
438
|
-
@object_type = args[:object_type] if args.key?(:object_type)
|
439
|
-
@original_content = args[:original_content] if args.key?(:original_content)
|
440
|
-
@plusoners = args[:plusoners] if args.key?(:plusoners)
|
441
|
-
@replies = args[:replies] if args.key?(:replies)
|
442
|
-
@resharers = args[:resharers] if args.key?(:resharers)
|
443
|
-
@status_for_viewer = args[:status_for_viewer] if args.key?(:status_for_viewer)
|
444
|
-
@url = args[:url] if args.key?(:url)
|
445
|
-
end
|
446
|
-
|
447
|
-
# If this activity's object is itself another activity, such as when a person
|
448
|
-
# reshares an activity, this property specifies the original activity's actor.
|
449
|
-
class Actor
|
450
|
-
include Google::Apis::Core::Hashable
|
451
|
-
|
452
|
-
# Actor info specific to particular clients.
|
453
|
-
# Corresponds to the JSON property `clientSpecificActorInfo`
|
454
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo]
|
455
|
-
attr_accessor :client_specific_actor_info
|
456
|
-
|
457
|
-
# The original actor's name, which is suitable for display.
|
458
|
-
# Corresponds to the JSON property `displayName`
|
459
|
-
# @return [String]
|
460
|
-
attr_accessor :display_name
|
461
|
-
|
462
|
-
# ID of the original actor.
|
463
|
-
# Corresponds to the JSON property `id`
|
464
|
-
# @return [String]
|
465
|
-
attr_accessor :id
|
466
|
-
|
467
|
-
# The image representation of the original actor.
|
468
|
-
# Corresponds to the JSON property `image`
|
469
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::Image]
|
470
|
-
attr_accessor :image
|
471
|
-
|
472
|
-
# A link to the original actor's Google profile.
|
473
|
-
# Corresponds to the JSON property `url`
|
474
|
-
# @return [String]
|
475
|
-
attr_accessor :url
|
476
|
-
|
477
|
-
# Verification status of actor.
|
478
|
-
# Corresponds to the JSON property `verification`
|
479
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::Verification]
|
480
|
-
attr_accessor :verification
|
481
|
-
|
482
|
-
def initialize(**args)
|
483
|
-
update!(**args)
|
484
|
-
end
|
485
|
-
|
486
|
-
# Update properties of this object
|
487
|
-
def update!(**args)
|
488
|
-
@client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
|
489
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
490
|
-
@id = args[:id] if args.key?(:id)
|
491
|
-
@image = args[:image] if args.key?(:image)
|
492
|
-
@url = args[:url] if args.key?(:url)
|
493
|
-
@verification = args[:verification] if args.key?(:verification)
|
494
|
-
end
|
495
|
-
|
496
|
-
# Actor info specific to particular clients.
|
497
|
-
class ClientSpecificActorInfo
|
498
|
-
include Google::Apis::Core::Hashable
|
499
|
-
|
500
|
-
# Actor info specific to YouTube clients.
|
501
|
-
# Corresponds to the JSON property `youtubeActorInfo`
|
502
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
|
503
|
-
attr_accessor :youtube_actor_info
|
504
|
-
|
505
|
-
def initialize(**args)
|
506
|
-
update!(**args)
|
507
|
-
end
|
508
|
-
|
509
|
-
# Update properties of this object
|
510
|
-
def update!(**args)
|
511
|
-
@youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
|
512
|
-
end
|
513
|
-
|
514
|
-
# Actor info specific to YouTube clients.
|
515
|
-
class YoutubeActorInfo
|
516
|
-
include Google::Apis::Core::Hashable
|
517
|
-
|
518
|
-
# ID of the YouTube channel owned by the Actor.
|
519
|
-
# Corresponds to the JSON property `channelId`
|
520
|
-
# @return [String]
|
521
|
-
attr_accessor :channel_id
|
522
|
-
|
523
|
-
def initialize(**args)
|
524
|
-
update!(**args)
|
525
|
-
end
|
526
|
-
|
527
|
-
# Update properties of this object
|
528
|
-
def update!(**args)
|
529
|
-
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
530
|
-
end
|
531
|
-
end
|
532
|
-
end
|
533
|
-
|
534
|
-
# The image representation of the original actor.
|
535
|
-
class Image
|
536
|
-
include Google::Apis::Core::Hashable
|
537
|
-
|
538
|
-
# A URL that points to a thumbnail photo of the original actor.
|
539
|
-
# Corresponds to the JSON property `url`
|
540
|
-
# @return [String]
|
541
|
-
attr_accessor :url
|
542
|
-
|
543
|
-
def initialize(**args)
|
544
|
-
update!(**args)
|
545
|
-
end
|
546
|
-
|
547
|
-
# Update properties of this object
|
548
|
-
def update!(**args)
|
549
|
-
@url = args[:url] if args.key?(:url)
|
550
|
-
end
|
551
|
-
end
|
552
|
-
|
553
|
-
# Verification status of actor.
|
554
|
-
class Verification
|
555
|
-
include Google::Apis::Core::Hashable
|
556
|
-
|
557
|
-
# Verification for one-time or manual processes.
|
558
|
-
# Corresponds to the JSON property `adHocVerified`
|
559
|
-
# @return [String]
|
560
|
-
attr_accessor :ad_hoc_verified
|
561
|
-
|
562
|
-
def initialize(**args)
|
563
|
-
update!(**args)
|
564
|
-
end
|
565
|
-
|
566
|
-
# Update properties of this object
|
567
|
-
def update!(**args)
|
568
|
-
@ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
|
569
|
-
end
|
570
|
-
end
|
571
|
-
end
|
572
|
-
|
573
|
-
#
|
574
|
-
class Attachment
|
575
|
-
include Google::Apis::Core::Hashable
|
576
|
-
|
577
|
-
# If the attachment is an article, this property contains a snippet of text from
|
578
|
-
# the article. It can also include descriptions for other types.
|
579
|
-
# Corresponds to the JSON property `content`
|
580
|
-
# @return [String]
|
581
|
-
attr_accessor :content
|
582
|
-
|
583
|
-
# The title of the attachment, such as a photo caption or an article title.
|
584
|
-
# Corresponds to the JSON property `displayName`
|
585
|
-
# @return [String]
|
586
|
-
attr_accessor :display_name
|
587
|
-
|
588
|
-
# If the attachment is a video, the embeddable link.
|
589
|
-
# Corresponds to the JSON property `embed`
|
590
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Embed]
|
591
|
-
attr_accessor :embed
|
592
|
-
|
593
|
-
# The full image URL for photo attachments.
|
594
|
-
# Corresponds to the JSON property `fullImage`
|
595
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::FullImage]
|
596
|
-
attr_accessor :full_image
|
597
|
-
|
598
|
-
# The ID of the attachment.
|
599
|
-
# Corresponds to the JSON property `id`
|
600
|
-
# @return [String]
|
601
|
-
attr_accessor :id
|
602
|
-
|
603
|
-
# The preview image for photos or videos.
|
604
|
-
# Corresponds to the JSON property `image`
|
605
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Image]
|
606
|
-
attr_accessor :image
|
607
|
-
|
608
|
-
# The type of media object. Possible values include, but are not limited to, the
|
609
|
-
# following values:
|
610
|
-
# - "photo" - A photo.
|
611
|
-
# - "album" - A photo album.
|
612
|
-
# - "video" - A video.
|
613
|
-
# - "article" - An article, specified by a link.
|
614
|
-
# Corresponds to the JSON property `objectType`
|
615
|
-
# @return [String]
|
616
|
-
attr_accessor :object_type
|
617
|
-
|
618
|
-
# When previewing, these are the optional thumbnails for the post. When posting
|
619
|
-
# an article, choose one by setting the attachment.image.url property. If you
|
620
|
-
# don't choose one, one will be chosen for you.
|
621
|
-
# Corresponds to the JSON property `previewThumbnails`
|
622
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Activity::Object::Attachment::PreviewThumbnail>]
|
623
|
-
attr_accessor :preview_thumbnails
|
624
|
-
|
625
|
-
# If the attachment is an album, this property is a list of potential additional
|
626
|
-
# thumbnails from the album.
|
627
|
-
# Corresponds to the JSON property `thumbnails`
|
628
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail>]
|
629
|
-
attr_accessor :thumbnails
|
630
|
-
|
631
|
-
# The link to the attachment, which should be of type text/html.
|
632
|
-
# Corresponds to the JSON property `url`
|
633
|
-
# @return [String]
|
634
|
-
attr_accessor :url
|
635
|
-
|
636
|
-
def initialize(**args)
|
637
|
-
update!(**args)
|
638
|
-
end
|
639
|
-
|
640
|
-
# Update properties of this object
|
641
|
-
def update!(**args)
|
642
|
-
@content = args[:content] if args.key?(:content)
|
643
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
644
|
-
@embed = args[:embed] if args.key?(:embed)
|
645
|
-
@full_image = args[:full_image] if args.key?(:full_image)
|
646
|
-
@id = args[:id] if args.key?(:id)
|
647
|
-
@image = args[:image] if args.key?(:image)
|
648
|
-
@object_type = args[:object_type] if args.key?(:object_type)
|
649
|
-
@preview_thumbnails = args[:preview_thumbnails] if args.key?(:preview_thumbnails)
|
650
|
-
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
651
|
-
@url = args[:url] if args.key?(:url)
|
652
|
-
end
|
653
|
-
|
654
|
-
# If the attachment is a video, the embeddable link.
|
655
|
-
class Embed
|
656
|
-
include Google::Apis::Core::Hashable
|
657
|
-
|
658
|
-
# Media type of the link.
|
659
|
-
# Corresponds to the JSON property `type`
|
660
|
-
# @return [String]
|
661
|
-
attr_accessor :type
|
662
|
-
|
663
|
-
# URL of the link.
|
664
|
-
# Corresponds to the JSON property `url`
|
665
|
-
# @return [String]
|
666
|
-
attr_accessor :url
|
667
|
-
|
668
|
-
def initialize(**args)
|
669
|
-
update!(**args)
|
670
|
-
end
|
671
|
-
|
672
|
-
# Update properties of this object
|
673
|
-
def update!(**args)
|
674
|
-
@type = args[:type] if args.key?(:type)
|
675
|
-
@url = args[:url] if args.key?(:url)
|
676
|
-
end
|
677
|
-
end
|
678
|
-
|
679
|
-
# The full image URL for photo attachments.
|
680
|
-
class FullImage
|
681
|
-
include Google::Apis::Core::Hashable
|
682
|
-
|
683
|
-
# The height, in pixels, of the linked resource.
|
684
|
-
# Corresponds to the JSON property `height`
|
685
|
-
# @return [Fixnum]
|
686
|
-
attr_accessor :height
|
687
|
-
|
688
|
-
# Media type of the link.
|
689
|
-
# Corresponds to the JSON property `type`
|
690
|
-
# @return [String]
|
691
|
-
attr_accessor :type
|
692
|
-
|
693
|
-
# URL of the image.
|
694
|
-
# Corresponds to the JSON property `url`
|
695
|
-
# @return [String]
|
696
|
-
attr_accessor :url
|
697
|
-
|
698
|
-
# The width, in pixels, of the linked resource.
|
699
|
-
# Corresponds to the JSON property `width`
|
700
|
-
# @return [Fixnum]
|
701
|
-
attr_accessor :width
|
702
|
-
|
703
|
-
def initialize(**args)
|
704
|
-
update!(**args)
|
705
|
-
end
|
706
|
-
|
707
|
-
# Update properties of this object
|
708
|
-
def update!(**args)
|
709
|
-
@height = args[:height] if args.key?(:height)
|
710
|
-
@type = args[:type] if args.key?(:type)
|
711
|
-
@url = args[:url] if args.key?(:url)
|
712
|
-
@width = args[:width] if args.key?(:width)
|
713
|
-
end
|
714
|
-
end
|
715
|
-
|
716
|
-
# The preview image for photos or videos.
|
717
|
-
class Image
|
718
|
-
include Google::Apis::Core::Hashable
|
719
|
-
|
720
|
-
# The height, in pixels, of the linked resource.
|
721
|
-
# Corresponds to the JSON property `height`
|
722
|
-
# @return [Fixnum]
|
723
|
-
attr_accessor :height
|
724
|
-
|
725
|
-
# Media type of the link.
|
726
|
-
# Corresponds to the JSON property `type`
|
727
|
-
# @return [String]
|
728
|
-
attr_accessor :type
|
729
|
-
|
730
|
-
# Image URL.
|
731
|
-
# Corresponds to the JSON property `url`
|
732
|
-
# @return [String]
|
733
|
-
attr_accessor :url
|
734
|
-
|
735
|
-
# The width, in pixels, of the linked resource.
|
736
|
-
# Corresponds to the JSON property `width`
|
737
|
-
# @return [Fixnum]
|
738
|
-
attr_accessor :width
|
739
|
-
|
740
|
-
def initialize(**args)
|
741
|
-
update!(**args)
|
742
|
-
end
|
743
|
-
|
744
|
-
# Update properties of this object
|
745
|
-
def update!(**args)
|
746
|
-
@height = args[:height] if args.key?(:height)
|
747
|
-
@type = args[:type] if args.key?(:type)
|
748
|
-
@url = args[:url] if args.key?(:url)
|
749
|
-
@width = args[:width] if args.key?(:width)
|
750
|
-
end
|
751
|
-
end
|
752
|
-
|
753
|
-
#
|
754
|
-
class PreviewThumbnail
|
755
|
-
include Google::Apis::Core::Hashable
|
756
|
-
|
757
|
-
# URL of the thumbnail image.
|
758
|
-
# Corresponds to the JSON property `url`
|
759
|
-
# @return [String]
|
760
|
-
attr_accessor :url
|
761
|
-
|
762
|
-
def initialize(**args)
|
763
|
-
update!(**args)
|
764
|
-
end
|
765
|
-
|
766
|
-
# Update properties of this object
|
767
|
-
def update!(**args)
|
768
|
-
@url = args[:url] if args.key?(:url)
|
769
|
-
end
|
770
|
-
end
|
771
|
-
|
772
|
-
#
|
773
|
-
class Thumbnail
|
774
|
-
include Google::Apis::Core::Hashable
|
775
|
-
|
776
|
-
# Potential name of the thumbnail.
|
777
|
-
# Corresponds to the JSON property `description`
|
778
|
-
# @return [String]
|
779
|
-
attr_accessor :description
|
780
|
-
|
781
|
-
# Image resource.
|
782
|
-
# Corresponds to the JSON property `image`
|
783
|
-
# @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail::Image]
|
784
|
-
attr_accessor :image
|
785
|
-
|
786
|
-
# URL of the webpage containing the image.
|
787
|
-
# Corresponds to the JSON property `url`
|
788
|
-
# @return [String]
|
789
|
-
attr_accessor :url
|
790
|
-
|
791
|
-
def initialize(**args)
|
792
|
-
update!(**args)
|
793
|
-
end
|
794
|
-
|
795
|
-
# Update properties of this object
|
796
|
-
def update!(**args)
|
797
|
-
@description = args[:description] if args.key?(:description)
|
798
|
-
@image = args[:image] if args.key?(:image)
|
799
|
-
@url = args[:url] if args.key?(:url)
|
800
|
-
end
|
801
|
-
|
802
|
-
# Image resource.
|
803
|
-
class Image
|
804
|
-
include Google::Apis::Core::Hashable
|
805
|
-
|
806
|
-
# The height, in pixels, of the linked resource.
|
807
|
-
# Corresponds to the JSON property `height`
|
808
|
-
# @return [Fixnum]
|
809
|
-
attr_accessor :height
|
810
|
-
|
811
|
-
# Media type of the link.
|
812
|
-
# Corresponds to the JSON property `type`
|
813
|
-
# @return [String]
|
814
|
-
attr_accessor :type
|
815
|
-
|
816
|
-
# Image url.
|
817
|
-
# Corresponds to the JSON property `url`
|
818
|
-
# @return [String]
|
819
|
-
attr_accessor :url
|
820
|
-
|
821
|
-
# The width, in pixels, of the linked resource.
|
822
|
-
# Corresponds to the JSON property `width`
|
823
|
-
# @return [Fixnum]
|
824
|
-
attr_accessor :width
|
825
|
-
|
826
|
-
def initialize(**args)
|
827
|
-
update!(**args)
|
828
|
-
end
|
829
|
-
|
830
|
-
# Update properties of this object
|
831
|
-
def update!(**args)
|
832
|
-
@height = args[:height] if args.key?(:height)
|
833
|
-
@type = args[:type] if args.key?(:type)
|
834
|
-
@url = args[:url] if args.key?(:url)
|
835
|
-
@width = args[:width] if args.key?(:width)
|
836
|
-
end
|
837
|
-
end
|
838
|
-
end
|
839
|
-
end
|
840
|
-
|
841
|
-
# People who +1'd this activity.
|
842
|
-
class Plusoners
|
843
|
-
include Google::Apis::Core::Hashable
|
844
|
-
|
845
|
-
# The URL for the collection of people who +1'd this activity.
|
846
|
-
# Corresponds to the JSON property `selfLink`
|
847
|
-
# @return [String]
|
848
|
-
attr_accessor :self_link
|
849
|
-
|
850
|
-
# Total number of people who +1'd this activity.
|
851
|
-
# Corresponds to the JSON property `totalItems`
|
852
|
-
# @return [Fixnum]
|
853
|
-
attr_accessor :total_items
|
854
|
-
|
855
|
-
def initialize(**args)
|
856
|
-
update!(**args)
|
857
|
-
end
|
858
|
-
|
859
|
-
# Update properties of this object
|
860
|
-
def update!(**args)
|
861
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
862
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
863
|
-
end
|
864
|
-
end
|
865
|
-
|
866
|
-
# Comments in reply to this activity.
|
867
|
-
class Replies
|
868
|
-
include Google::Apis::Core::Hashable
|
869
|
-
|
870
|
-
# The URL for the collection of comments in reply to this activity.
|
871
|
-
# Corresponds to the JSON property `selfLink`
|
872
|
-
# @return [String]
|
873
|
-
attr_accessor :self_link
|
874
|
-
|
875
|
-
# Total number of comments on this activity.
|
876
|
-
# Corresponds to the JSON property `totalItems`
|
877
|
-
# @return [Fixnum]
|
878
|
-
attr_accessor :total_items
|
879
|
-
|
880
|
-
def initialize(**args)
|
881
|
-
update!(**args)
|
882
|
-
end
|
883
|
-
|
884
|
-
# Update properties of this object
|
885
|
-
def update!(**args)
|
886
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
887
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
888
|
-
end
|
889
|
-
end
|
890
|
-
|
891
|
-
# People who reshared this activity.
|
892
|
-
class Resharers
|
893
|
-
include Google::Apis::Core::Hashable
|
894
|
-
|
895
|
-
# The URL for the collection of resharers.
|
896
|
-
# Corresponds to the JSON property `selfLink`
|
897
|
-
# @return [String]
|
898
|
-
attr_accessor :self_link
|
899
|
-
|
900
|
-
# Total number of people who reshared this activity.
|
901
|
-
# Corresponds to the JSON property `totalItems`
|
902
|
-
# @return [Fixnum]
|
903
|
-
attr_accessor :total_items
|
904
|
-
|
905
|
-
def initialize(**args)
|
906
|
-
update!(**args)
|
907
|
-
end
|
908
|
-
|
909
|
-
# Update properties of this object
|
910
|
-
def update!(**args)
|
911
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
912
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
913
|
-
end
|
914
|
-
end
|
915
|
-
|
916
|
-
# Status of the activity as seen by the viewer.
|
917
|
-
class StatusForViewer
|
918
|
-
include Google::Apis::Core::Hashable
|
919
|
-
|
920
|
-
# Whether the viewer can comment on the activity.
|
921
|
-
# Corresponds to the JSON property `canComment`
|
922
|
-
# @return [Boolean]
|
923
|
-
attr_accessor :can_comment
|
924
|
-
alias_method :can_comment?, :can_comment
|
925
|
-
|
926
|
-
# Whether the viewer can +1 the activity.
|
927
|
-
# Corresponds to the JSON property `canPlusone`
|
928
|
-
# @return [Boolean]
|
929
|
-
attr_accessor :can_plusone
|
930
|
-
alias_method :can_plusone?, :can_plusone
|
931
|
-
|
932
|
-
# Whether the viewer can edit or delete the activity.
|
933
|
-
# Corresponds to the JSON property `canUpdate`
|
934
|
-
# @return [Boolean]
|
935
|
-
attr_accessor :can_update
|
936
|
-
alias_method :can_update?, :can_update
|
937
|
-
|
938
|
-
# Whether the viewer has +1'd the activity.
|
939
|
-
# Corresponds to the JSON property `isPlusOned`
|
940
|
-
# @return [Boolean]
|
941
|
-
attr_accessor :is_plus_oned
|
942
|
-
alias_method :is_plus_oned?, :is_plus_oned
|
943
|
-
|
944
|
-
# Whether reshares are disabled for the activity.
|
945
|
-
# Corresponds to the JSON property `resharingDisabled`
|
946
|
-
# @return [Boolean]
|
947
|
-
attr_accessor :resharing_disabled
|
948
|
-
alias_method :resharing_disabled?, :resharing_disabled
|
949
|
-
|
950
|
-
def initialize(**args)
|
951
|
-
update!(**args)
|
952
|
-
end
|
953
|
-
|
954
|
-
# Update properties of this object
|
955
|
-
def update!(**args)
|
956
|
-
@can_comment = args[:can_comment] if args.key?(:can_comment)
|
957
|
-
@can_plusone = args[:can_plusone] if args.key?(:can_plusone)
|
958
|
-
@can_update = args[:can_update] if args.key?(:can_update)
|
959
|
-
@is_plus_oned = args[:is_plus_oned] if args.key?(:is_plus_oned)
|
960
|
-
@resharing_disabled = args[:resharing_disabled] if args.key?(:resharing_disabled)
|
961
|
-
end
|
962
|
-
end
|
963
|
-
end
|
964
|
-
|
965
|
-
# The service provider that initially published this activity.
|
966
|
-
class Provider
|
967
|
-
include Google::Apis::Core::Hashable
|
968
|
-
|
969
|
-
# Name of the service provider.
|
970
|
-
# Corresponds to the JSON property `title`
|
971
|
-
# @return [String]
|
972
|
-
attr_accessor :title
|
973
|
-
|
974
|
-
def initialize(**args)
|
975
|
-
update!(**args)
|
976
|
-
end
|
977
|
-
|
978
|
-
# Update properties of this object
|
979
|
-
def update!(**args)
|
980
|
-
@title = args[:title] if args.key?(:title)
|
981
|
-
end
|
982
|
-
end
|
983
|
-
end
|
984
|
-
|
985
|
-
#
|
986
|
-
class ActivityFeed
|
987
|
-
include Google::Apis::Core::Hashable
|
988
|
-
|
989
|
-
# ETag of this response for caching purposes.
|
990
|
-
# Corresponds to the JSON property `etag`
|
991
|
-
# @return [String]
|
992
|
-
attr_accessor :etag
|
993
|
-
|
994
|
-
# The ID of this collection of activities. Deprecated.
|
995
|
-
# Corresponds to the JSON property `id`
|
996
|
-
# @return [String]
|
997
|
-
attr_accessor :id
|
998
|
-
|
999
|
-
# The activities in this page of results.
|
1000
|
-
# Corresponds to the JSON property `items`
|
1001
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Activity>]
|
1002
|
-
attr_accessor :items
|
1003
|
-
|
1004
|
-
# Identifies this resource as a collection of activities. Value: "plus#
|
1005
|
-
# activityFeed".
|
1006
|
-
# Corresponds to the JSON property `kind`
|
1007
|
-
# @return [String]
|
1008
|
-
attr_accessor :kind
|
1009
|
-
|
1010
|
-
# Link to the next page of activities.
|
1011
|
-
# Corresponds to the JSON property `nextLink`
|
1012
|
-
# @return [String]
|
1013
|
-
attr_accessor :next_link
|
1014
|
-
|
1015
|
-
# The continuation token, which is used to page through large result sets.
|
1016
|
-
# Provide this value in a subsequent request to return the next page of results.
|
1017
|
-
# Corresponds to the JSON property `nextPageToken`
|
1018
|
-
# @return [String]
|
1019
|
-
attr_accessor :next_page_token
|
1020
|
-
|
1021
|
-
# Link to this activity resource.
|
1022
|
-
# Corresponds to the JSON property `selfLink`
|
1023
|
-
# @return [String]
|
1024
|
-
attr_accessor :self_link
|
1025
|
-
|
1026
|
-
# The title of this collection of activities, which is a truncated portion of
|
1027
|
-
# the content.
|
1028
|
-
# Corresponds to the JSON property `title`
|
1029
|
-
# @return [String]
|
1030
|
-
attr_accessor :title
|
1031
|
-
|
1032
|
-
# The time at which this collection of activities was last updated. Formatted as
|
1033
|
-
# an RFC 3339 timestamp.
|
1034
|
-
# Corresponds to the JSON property `updated`
|
1035
|
-
# @return [DateTime]
|
1036
|
-
attr_accessor :updated
|
1037
|
-
|
1038
|
-
def initialize(**args)
|
1039
|
-
update!(**args)
|
1040
|
-
end
|
1041
|
-
|
1042
|
-
# Update properties of this object
|
1043
|
-
def update!(**args)
|
1044
|
-
@etag = args[:etag] if args.key?(:etag)
|
1045
|
-
@id = args[:id] if args.key?(:id)
|
1046
|
-
@items = args[:items] if args.key?(:items)
|
1047
|
-
@kind = args[:kind] if args.key?(:kind)
|
1048
|
-
@next_link = args[:next_link] if args.key?(:next_link)
|
1049
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1050
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
1051
|
-
@title = args[:title] if args.key?(:title)
|
1052
|
-
@updated = args[:updated] if args.key?(:updated)
|
1053
|
-
end
|
1054
|
-
end
|
1055
|
-
|
1056
|
-
#
|
1057
|
-
class Audience
|
1058
|
-
include Google::Apis::Core::Hashable
|
1059
|
-
|
1060
|
-
# ETag of this response for caching purposes.
|
1061
|
-
# Corresponds to the JSON property `etag`
|
1062
|
-
# @return [String]
|
1063
|
-
attr_accessor :etag
|
1064
|
-
|
1065
|
-
# The access control list entry.
|
1066
|
-
# Corresponds to the JSON property `item`
|
1067
|
-
# @return [Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource]
|
1068
|
-
attr_accessor :item
|
1069
|
-
|
1070
|
-
# Identifies this resource as an audience. Value: "plus#audience".
|
1071
|
-
# Corresponds to the JSON property `kind`
|
1072
|
-
# @return [String]
|
1073
|
-
attr_accessor :kind
|
1074
|
-
|
1075
|
-
# The number of people in this circle. This only applies if entity_type is
|
1076
|
-
# CIRCLE.
|
1077
|
-
# Corresponds to the JSON property `memberCount`
|
1078
|
-
# @return [Fixnum]
|
1079
|
-
attr_accessor :member_count
|
1080
|
-
|
1081
|
-
# The circle members' visibility as chosen by the owner of the circle. This only
|
1082
|
-
# applies for items with "item.type" equals "circle". Possible values are:
|
1083
|
-
# - "public" - Members are visible to the public.
|
1084
|
-
# - "limited" - Members are visible to a limited audience.
|
1085
|
-
# - "private" - Members are visible to the owner only.
|
1086
|
-
# Corresponds to the JSON property `visibility`
|
1087
|
-
# @return [String]
|
1088
|
-
attr_accessor :visibility
|
1089
|
-
|
1090
|
-
def initialize(**args)
|
1091
|
-
update!(**args)
|
1092
|
-
end
|
1093
|
-
|
1094
|
-
# Update properties of this object
|
1095
|
-
def update!(**args)
|
1096
|
-
@etag = args[:etag] if args.key?(:etag)
|
1097
|
-
@item = args[:item] if args.key?(:item)
|
1098
|
-
@kind = args[:kind] if args.key?(:kind)
|
1099
|
-
@member_count = args[:member_count] if args.key?(:member_count)
|
1100
|
-
@visibility = args[:visibility] if args.key?(:visibility)
|
1101
|
-
end
|
1102
|
-
end
|
1103
|
-
|
1104
|
-
#
|
1105
|
-
class AudiencesFeed
|
1106
|
-
include Google::Apis::Core::Hashable
|
1107
|
-
|
1108
|
-
# ETag of this response for caching purposes.
|
1109
|
-
# Corresponds to the JSON property `etag`
|
1110
|
-
# @return [String]
|
1111
|
-
attr_accessor :etag
|
1112
|
-
|
1113
|
-
# The audiences in this result.
|
1114
|
-
# Corresponds to the JSON property `items`
|
1115
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Audience>]
|
1116
|
-
attr_accessor :items
|
1117
|
-
|
1118
|
-
# Identifies this resource as a collection of audiences. Value: "plus#
|
1119
|
-
# audienceFeed".
|
1120
|
-
# Corresponds to the JSON property `kind`
|
1121
|
-
# @return [String]
|
1122
|
-
attr_accessor :kind
|
1123
|
-
|
1124
|
-
# The continuation token, which is used to page through large result sets.
|
1125
|
-
# Provide this value in a subsequent request to return the next page of results.
|
1126
|
-
# Corresponds to the JSON property `nextPageToken`
|
1127
|
-
# @return [String]
|
1128
|
-
attr_accessor :next_page_token
|
1129
|
-
|
1130
|
-
# The total number of ACL entries. The number of entries in this response may be
|
1131
|
-
# smaller due to paging.
|
1132
|
-
# Corresponds to the JSON property `totalItems`
|
1133
|
-
# @return [Fixnum]
|
1134
|
-
attr_accessor :total_items
|
1135
|
-
|
1136
|
-
def initialize(**args)
|
1137
|
-
update!(**args)
|
1138
|
-
end
|
1139
|
-
|
1140
|
-
# Update properties of this object
|
1141
|
-
def update!(**args)
|
1142
|
-
@etag = args[:etag] if args.key?(:etag)
|
1143
|
-
@items = args[:items] if args.key?(:items)
|
1144
|
-
@kind = args[:kind] if args.key?(:kind)
|
1145
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1146
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
1147
|
-
end
|
1148
|
-
end
|
1149
|
-
|
1150
|
-
#
|
1151
|
-
class Circle
|
1152
|
-
include Google::Apis::Core::Hashable
|
1153
|
-
|
1154
|
-
# The description of this circle.
|
1155
|
-
# Corresponds to the JSON property `description`
|
1156
|
-
# @return [String]
|
1157
|
-
attr_accessor :description
|
1158
|
-
|
1159
|
-
# The circle name.
|
1160
|
-
# Corresponds to the JSON property `displayName`
|
1161
|
-
# @return [String]
|
1162
|
-
attr_accessor :display_name
|
1163
|
-
|
1164
|
-
# ETag of this response for caching purposes.
|
1165
|
-
# Corresponds to the JSON property `etag`
|
1166
|
-
# @return [String]
|
1167
|
-
attr_accessor :etag
|
1168
|
-
|
1169
|
-
# The ID of the circle.
|
1170
|
-
# Corresponds to the JSON property `id`
|
1171
|
-
# @return [String]
|
1172
|
-
attr_accessor :id
|
1173
|
-
|
1174
|
-
# Identifies this resource as a circle. Value: "plus#circle".
|
1175
|
-
# Corresponds to the JSON property `kind`
|
1176
|
-
# @return [String]
|
1177
|
-
attr_accessor :kind
|
1178
|
-
|
1179
|
-
# The people in this circle.
|
1180
|
-
# Corresponds to the JSON property `people`
|
1181
|
-
# @return [Google::Apis::PlusDomainsV1::Circle::People]
|
1182
|
-
attr_accessor :people
|
1183
|
-
|
1184
|
-
# Link to this circle resource
|
1185
|
-
# Corresponds to the JSON property `selfLink`
|
1186
|
-
# @return [String]
|
1187
|
-
attr_accessor :self_link
|
1188
|
-
|
1189
|
-
def initialize(**args)
|
1190
|
-
update!(**args)
|
1191
|
-
end
|
1192
|
-
|
1193
|
-
# Update properties of this object
|
1194
|
-
def update!(**args)
|
1195
|
-
@description = args[:description] if args.key?(:description)
|
1196
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
1197
|
-
@etag = args[:etag] if args.key?(:etag)
|
1198
|
-
@id = args[:id] if args.key?(:id)
|
1199
|
-
@kind = args[:kind] if args.key?(:kind)
|
1200
|
-
@people = args[:people] if args.key?(:people)
|
1201
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
1202
|
-
end
|
1203
|
-
|
1204
|
-
# The people in this circle.
|
1205
|
-
class People
|
1206
|
-
include Google::Apis::Core::Hashable
|
1207
|
-
|
1208
|
-
# The total number of people in this circle.
|
1209
|
-
# Corresponds to the JSON property `totalItems`
|
1210
|
-
# @return [Fixnum]
|
1211
|
-
attr_accessor :total_items
|
1212
|
-
|
1213
|
-
def initialize(**args)
|
1214
|
-
update!(**args)
|
1215
|
-
end
|
1216
|
-
|
1217
|
-
# Update properties of this object
|
1218
|
-
def update!(**args)
|
1219
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
1220
|
-
end
|
1221
|
-
end
|
1222
|
-
end
|
1223
|
-
|
1224
|
-
#
|
1225
|
-
class CircleFeed
|
1226
|
-
include Google::Apis::Core::Hashable
|
1227
|
-
|
1228
|
-
# ETag of this response for caching purposes.
|
1229
|
-
# Corresponds to the JSON property `etag`
|
1230
|
-
# @return [String]
|
1231
|
-
attr_accessor :etag
|
1232
|
-
|
1233
|
-
# The circles in this page of results.
|
1234
|
-
# Corresponds to the JSON property `items`
|
1235
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Circle>]
|
1236
|
-
attr_accessor :items
|
1237
|
-
|
1238
|
-
# Identifies this resource as a collection of circles. Value: "plus#circleFeed".
|
1239
|
-
# Corresponds to the JSON property `kind`
|
1240
|
-
# @return [String]
|
1241
|
-
attr_accessor :kind
|
1242
|
-
|
1243
|
-
# Link to the next page of circles.
|
1244
|
-
# Corresponds to the JSON property `nextLink`
|
1245
|
-
# @return [String]
|
1246
|
-
attr_accessor :next_link
|
1247
|
-
|
1248
|
-
# The continuation token, which is used to page through large result sets.
|
1249
|
-
# Provide this value in a subsequent request to return the next page of results.
|
1250
|
-
# Corresponds to the JSON property `nextPageToken`
|
1251
|
-
# @return [String]
|
1252
|
-
attr_accessor :next_page_token
|
1253
|
-
|
1254
|
-
# Link to this page of circles.
|
1255
|
-
# Corresponds to the JSON property `selfLink`
|
1256
|
-
# @return [String]
|
1257
|
-
attr_accessor :self_link
|
1258
|
-
|
1259
|
-
# The title of this list of resources.
|
1260
|
-
# Corresponds to the JSON property `title`
|
1261
|
-
# @return [String]
|
1262
|
-
attr_accessor :title
|
1263
|
-
|
1264
|
-
# The total number of circles. The number of circles in this response may be
|
1265
|
-
# smaller due to paging.
|
1266
|
-
# Corresponds to the JSON property `totalItems`
|
1267
|
-
# @return [Fixnum]
|
1268
|
-
attr_accessor :total_items
|
1269
|
-
|
1270
|
-
def initialize(**args)
|
1271
|
-
update!(**args)
|
1272
|
-
end
|
1273
|
-
|
1274
|
-
# Update properties of this object
|
1275
|
-
def update!(**args)
|
1276
|
-
@etag = args[:etag] if args.key?(:etag)
|
1277
|
-
@items = args[:items] if args.key?(:items)
|
1278
|
-
@kind = args[:kind] if args.key?(:kind)
|
1279
|
-
@next_link = args[:next_link] if args.key?(:next_link)
|
1280
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1281
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
1282
|
-
@title = args[:title] if args.key?(:title)
|
1283
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
1284
|
-
end
|
1285
|
-
end
|
1286
|
-
|
1287
|
-
#
|
1288
|
-
class Comment
|
1289
|
-
include Google::Apis::Core::Hashable
|
1290
|
-
|
1291
|
-
# The person who posted this comment.
|
1292
|
-
# Corresponds to the JSON property `actor`
|
1293
|
-
# @return [Google::Apis::PlusDomainsV1::Comment::Actor]
|
1294
|
-
attr_accessor :actor
|
1295
|
-
|
1296
|
-
# ETag of this response for caching purposes.
|
1297
|
-
# Corresponds to the JSON property `etag`
|
1298
|
-
# @return [String]
|
1299
|
-
attr_accessor :etag
|
1300
|
-
|
1301
|
-
# The ID of this comment.
|
1302
|
-
# Corresponds to the JSON property `id`
|
1303
|
-
# @return [String]
|
1304
|
-
attr_accessor :id
|
1305
|
-
|
1306
|
-
# The activity this comment replied to.
|
1307
|
-
# Corresponds to the JSON property `inReplyTo`
|
1308
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Comment::InReplyTo>]
|
1309
|
-
attr_accessor :in_reply_to
|
1310
|
-
|
1311
|
-
# Identifies this resource as a comment. Value: "plus#comment".
|
1312
|
-
# Corresponds to the JSON property `kind`
|
1313
|
-
# @return [String]
|
1314
|
-
attr_accessor :kind
|
1315
|
-
|
1316
|
-
# The object of this comment.
|
1317
|
-
# Corresponds to the JSON property `object`
|
1318
|
-
# @return [Google::Apis::PlusDomainsV1::Comment::Object]
|
1319
|
-
attr_accessor :object
|
1320
|
-
|
1321
|
-
# People who +1'd this comment.
|
1322
|
-
# Corresponds to the JSON property `plusoners`
|
1323
|
-
# @return [Google::Apis::PlusDomainsV1::Comment::Plusoners]
|
1324
|
-
attr_accessor :plusoners
|
1325
|
-
|
1326
|
-
# The time at which this comment was initially published. Formatted as an RFC
|
1327
|
-
# 3339 timestamp.
|
1328
|
-
# Corresponds to the JSON property `published`
|
1329
|
-
# @return [DateTime]
|
1330
|
-
attr_accessor :published
|
1331
|
-
|
1332
|
-
# Link to this comment resource.
|
1333
|
-
# Corresponds to the JSON property `selfLink`
|
1334
|
-
# @return [String]
|
1335
|
-
attr_accessor :self_link
|
1336
|
-
|
1337
|
-
# The time at which this comment was last updated. Formatted as an RFC 3339
|
1338
|
-
# timestamp.
|
1339
|
-
# Corresponds to the JSON property `updated`
|
1340
|
-
# @return [DateTime]
|
1341
|
-
attr_accessor :updated
|
1342
|
-
|
1343
|
-
# This comment's verb, indicating what action was performed. Possible values are:
|
1344
|
-
#
|
1345
|
-
# - "post" - Publish content to the stream.
|
1346
|
-
# Corresponds to the JSON property `verb`
|
1347
|
-
# @return [String]
|
1348
|
-
attr_accessor :verb
|
1349
|
-
|
1350
|
-
def initialize(**args)
|
1351
|
-
update!(**args)
|
1352
|
-
end
|
1353
|
-
|
1354
|
-
# Update properties of this object
|
1355
|
-
def update!(**args)
|
1356
|
-
@actor = args[:actor] if args.key?(:actor)
|
1357
|
-
@etag = args[:etag] if args.key?(:etag)
|
1358
|
-
@id = args[:id] if args.key?(:id)
|
1359
|
-
@in_reply_to = args[:in_reply_to] if args.key?(:in_reply_to)
|
1360
|
-
@kind = args[:kind] if args.key?(:kind)
|
1361
|
-
@object = args[:object] if args.key?(:object)
|
1362
|
-
@plusoners = args[:plusoners] if args.key?(:plusoners)
|
1363
|
-
@published = args[:published] if args.key?(:published)
|
1364
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
1365
|
-
@updated = args[:updated] if args.key?(:updated)
|
1366
|
-
@verb = args[:verb] if args.key?(:verb)
|
1367
|
-
end
|
1368
|
-
|
1369
|
-
# The person who posted this comment.
|
1370
|
-
class Actor
|
1371
|
-
include Google::Apis::Core::Hashable
|
1372
|
-
|
1373
|
-
# Actor info specific to particular clients.
|
1374
|
-
# Corresponds to the JSON property `clientSpecificActorInfo`
|
1375
|
-
# @return [Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo]
|
1376
|
-
attr_accessor :client_specific_actor_info
|
1377
|
-
|
1378
|
-
# The name of this actor, suitable for display.
|
1379
|
-
# Corresponds to the JSON property `displayName`
|
1380
|
-
# @return [String]
|
1381
|
-
attr_accessor :display_name
|
1382
|
-
|
1383
|
-
# The ID of the actor.
|
1384
|
-
# Corresponds to the JSON property `id`
|
1385
|
-
# @return [String]
|
1386
|
-
attr_accessor :id
|
1387
|
-
|
1388
|
-
# The image representation of this actor.
|
1389
|
-
# Corresponds to the JSON property `image`
|
1390
|
-
# @return [Google::Apis::PlusDomainsV1::Comment::Actor::Image]
|
1391
|
-
attr_accessor :image
|
1392
|
-
|
1393
|
-
# A link to the Person resource for this actor.
|
1394
|
-
# Corresponds to the JSON property `url`
|
1395
|
-
# @return [String]
|
1396
|
-
attr_accessor :url
|
1397
|
-
|
1398
|
-
# Verification status of actor.
|
1399
|
-
# Corresponds to the JSON property `verification`
|
1400
|
-
# @return [Google::Apis::PlusDomainsV1::Comment::Actor::Verification]
|
1401
|
-
attr_accessor :verification
|
1402
|
-
|
1403
|
-
def initialize(**args)
|
1404
|
-
update!(**args)
|
1405
|
-
end
|
1406
|
-
|
1407
|
-
# Update properties of this object
|
1408
|
-
def update!(**args)
|
1409
|
-
@client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
|
1410
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
1411
|
-
@id = args[:id] if args.key?(:id)
|
1412
|
-
@image = args[:image] if args.key?(:image)
|
1413
|
-
@url = args[:url] if args.key?(:url)
|
1414
|
-
@verification = args[:verification] if args.key?(:verification)
|
1415
|
-
end
|
1416
|
-
|
1417
|
-
# Actor info specific to particular clients.
|
1418
|
-
class ClientSpecificActorInfo
|
1419
|
-
include Google::Apis::Core::Hashable
|
1420
|
-
|
1421
|
-
# Actor info specific to YouTube clients.
|
1422
|
-
# Corresponds to the JSON property `youtubeActorInfo`
|
1423
|
-
# @return [Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
|
1424
|
-
attr_accessor :youtube_actor_info
|
1425
|
-
|
1426
|
-
def initialize(**args)
|
1427
|
-
update!(**args)
|
1428
|
-
end
|
1429
|
-
|
1430
|
-
# Update properties of this object
|
1431
|
-
def update!(**args)
|
1432
|
-
@youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
|
1433
|
-
end
|
1434
|
-
|
1435
|
-
# Actor info specific to YouTube clients.
|
1436
|
-
class YoutubeActorInfo
|
1437
|
-
include Google::Apis::Core::Hashable
|
1438
|
-
|
1439
|
-
# ID of the YouTube channel owned by the Actor.
|
1440
|
-
# Corresponds to the JSON property `channelId`
|
1441
|
-
# @return [String]
|
1442
|
-
attr_accessor :channel_id
|
1443
|
-
|
1444
|
-
def initialize(**args)
|
1445
|
-
update!(**args)
|
1446
|
-
end
|
1447
|
-
|
1448
|
-
# Update properties of this object
|
1449
|
-
def update!(**args)
|
1450
|
-
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
1451
|
-
end
|
1452
|
-
end
|
1453
|
-
end
|
1454
|
-
|
1455
|
-
# The image representation of this actor.
|
1456
|
-
class Image
|
1457
|
-
include Google::Apis::Core::Hashable
|
1458
|
-
|
1459
|
-
# The URL of the actor's profile photo. To resize the image and crop it to a
|
1460
|
-
# square, append the query string ?sz=x, where x is the dimension in pixels of
|
1461
|
-
# each side.
|
1462
|
-
# Corresponds to the JSON property `url`
|
1463
|
-
# @return [String]
|
1464
|
-
attr_accessor :url
|
1465
|
-
|
1466
|
-
def initialize(**args)
|
1467
|
-
update!(**args)
|
1468
|
-
end
|
1469
|
-
|
1470
|
-
# Update properties of this object
|
1471
|
-
def update!(**args)
|
1472
|
-
@url = args[:url] if args.key?(:url)
|
1473
|
-
end
|
1474
|
-
end
|
1475
|
-
|
1476
|
-
# Verification status of actor.
|
1477
|
-
class Verification
|
1478
|
-
include Google::Apis::Core::Hashable
|
1479
|
-
|
1480
|
-
# Verification for one-time or manual processes.
|
1481
|
-
# Corresponds to the JSON property `adHocVerified`
|
1482
|
-
# @return [String]
|
1483
|
-
attr_accessor :ad_hoc_verified
|
1484
|
-
|
1485
|
-
def initialize(**args)
|
1486
|
-
update!(**args)
|
1487
|
-
end
|
1488
|
-
|
1489
|
-
# Update properties of this object
|
1490
|
-
def update!(**args)
|
1491
|
-
@ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
|
1492
|
-
end
|
1493
|
-
end
|
1494
|
-
end
|
1495
|
-
|
1496
|
-
#
|
1497
|
-
class InReplyTo
|
1498
|
-
include Google::Apis::Core::Hashable
|
1499
|
-
|
1500
|
-
# The ID of the activity.
|
1501
|
-
# Corresponds to the JSON property `id`
|
1502
|
-
# @return [String]
|
1503
|
-
attr_accessor :id
|
1504
|
-
|
1505
|
-
# The URL of the activity.
|
1506
|
-
# Corresponds to the JSON property `url`
|
1507
|
-
# @return [String]
|
1508
|
-
attr_accessor :url
|
1509
|
-
|
1510
|
-
def initialize(**args)
|
1511
|
-
update!(**args)
|
1512
|
-
end
|
1513
|
-
|
1514
|
-
# Update properties of this object
|
1515
|
-
def update!(**args)
|
1516
|
-
@id = args[:id] if args.key?(:id)
|
1517
|
-
@url = args[:url] if args.key?(:url)
|
1518
|
-
end
|
1519
|
-
end
|
1520
|
-
|
1521
|
-
# The object of this comment.
|
1522
|
-
class Object
|
1523
|
-
include Google::Apis::Core::Hashable
|
1524
|
-
|
1525
|
-
# The HTML-formatted content, suitable for display.
|
1526
|
-
# Corresponds to the JSON property `content`
|
1527
|
-
# @return [String]
|
1528
|
-
attr_accessor :content
|
1529
|
-
|
1530
|
-
# The object type of this comment. Possible values are:
|
1531
|
-
# - "comment" - A comment in reply to an activity.
|
1532
|
-
# Corresponds to the JSON property `objectType`
|
1533
|
-
# @return [String]
|
1534
|
-
attr_accessor :object_type
|
1535
|
-
|
1536
|
-
# The content (text) as provided by the author, stored without any HTML
|
1537
|
-
# formatting. When creating or updating a comment, this value must be supplied
|
1538
|
-
# as plain text in the request.
|
1539
|
-
# Corresponds to the JSON property `originalContent`
|
1540
|
-
# @return [String]
|
1541
|
-
attr_accessor :original_content
|
1542
|
-
|
1543
|
-
def initialize(**args)
|
1544
|
-
update!(**args)
|
1545
|
-
end
|
1546
|
-
|
1547
|
-
# Update properties of this object
|
1548
|
-
def update!(**args)
|
1549
|
-
@content = args[:content] if args.key?(:content)
|
1550
|
-
@object_type = args[:object_type] if args.key?(:object_type)
|
1551
|
-
@original_content = args[:original_content] if args.key?(:original_content)
|
1552
|
-
end
|
1553
|
-
end
|
1554
|
-
|
1555
|
-
# People who +1'd this comment.
|
1556
|
-
class Plusoners
|
1557
|
-
include Google::Apis::Core::Hashable
|
1558
|
-
|
1559
|
-
# Total number of people who +1'd this comment.
|
1560
|
-
# Corresponds to the JSON property `totalItems`
|
1561
|
-
# @return [Fixnum]
|
1562
|
-
attr_accessor :total_items
|
1563
|
-
|
1564
|
-
def initialize(**args)
|
1565
|
-
update!(**args)
|
1566
|
-
end
|
1567
|
-
|
1568
|
-
# Update properties of this object
|
1569
|
-
def update!(**args)
|
1570
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
1571
|
-
end
|
1572
|
-
end
|
1573
|
-
end
|
1574
|
-
|
1575
|
-
#
|
1576
|
-
class CommentFeed
|
1577
|
-
include Google::Apis::Core::Hashable
|
1578
|
-
|
1579
|
-
# ETag of this response for caching purposes.
|
1580
|
-
# Corresponds to the JSON property `etag`
|
1581
|
-
# @return [String]
|
1582
|
-
attr_accessor :etag
|
1583
|
-
|
1584
|
-
# The ID of this collection of comments.
|
1585
|
-
# Corresponds to the JSON property `id`
|
1586
|
-
# @return [String]
|
1587
|
-
attr_accessor :id
|
1588
|
-
|
1589
|
-
# The comments in this page of results.
|
1590
|
-
# Corresponds to the JSON property `items`
|
1591
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Comment>]
|
1592
|
-
attr_accessor :items
|
1593
|
-
|
1594
|
-
# Identifies this resource as a collection of comments. Value: "plus#commentFeed"
|
1595
|
-
# .
|
1596
|
-
# Corresponds to the JSON property `kind`
|
1597
|
-
# @return [String]
|
1598
|
-
attr_accessor :kind
|
1599
|
-
|
1600
|
-
# Link to the next page of activities.
|
1601
|
-
# Corresponds to the JSON property `nextLink`
|
1602
|
-
# @return [String]
|
1603
|
-
attr_accessor :next_link
|
1604
|
-
|
1605
|
-
# The continuation token, which is used to page through large result sets.
|
1606
|
-
# Provide this value in a subsequent request to return the next page of results.
|
1607
|
-
# Corresponds to the JSON property `nextPageToken`
|
1608
|
-
# @return [String]
|
1609
|
-
attr_accessor :next_page_token
|
1610
|
-
|
1611
|
-
# The title of this collection of comments.
|
1612
|
-
# Corresponds to the JSON property `title`
|
1613
|
-
# @return [String]
|
1614
|
-
attr_accessor :title
|
1615
|
-
|
1616
|
-
# The time at which this collection of comments was last updated. Formatted as
|
1617
|
-
# an RFC 3339 timestamp.
|
1618
|
-
# Corresponds to the JSON property `updated`
|
1619
|
-
# @return [DateTime]
|
1620
|
-
attr_accessor :updated
|
1621
|
-
|
1622
|
-
def initialize(**args)
|
1623
|
-
update!(**args)
|
1624
|
-
end
|
1625
|
-
|
1626
|
-
# Update properties of this object
|
1627
|
-
def update!(**args)
|
1628
|
-
@etag = args[:etag] if args.key?(:etag)
|
1629
|
-
@id = args[:id] if args.key?(:id)
|
1630
|
-
@items = args[:items] if args.key?(:items)
|
1631
|
-
@kind = args[:kind] if args.key?(:kind)
|
1632
|
-
@next_link = args[:next_link] if args.key?(:next_link)
|
1633
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1634
|
-
@title = args[:title] if args.key?(:title)
|
1635
|
-
@updated = args[:updated] if args.key?(:updated)
|
1636
|
-
end
|
1637
|
-
end
|
1638
|
-
|
1639
|
-
#
|
1640
|
-
class Media
|
1641
|
-
include Google::Apis::Core::Hashable
|
1642
|
-
|
1643
|
-
# The person who uploaded this media.
|
1644
|
-
# Corresponds to the JSON property `author`
|
1645
|
-
# @return [Google::Apis::PlusDomainsV1::Media::Author]
|
1646
|
-
attr_accessor :author
|
1647
|
-
|
1648
|
-
# The display name for this media.
|
1649
|
-
# Corresponds to the JSON property `displayName`
|
1650
|
-
# @return [String]
|
1651
|
-
attr_accessor :display_name
|
1652
|
-
|
1653
|
-
# ETag of this response for caching purposes.
|
1654
|
-
# Corresponds to the JSON property `etag`
|
1655
|
-
# @return [String]
|
1656
|
-
attr_accessor :etag
|
1657
|
-
|
1658
|
-
# Exif information of the media item.
|
1659
|
-
# Corresponds to the JSON property `exif`
|
1660
|
-
# @return [Google::Apis::PlusDomainsV1::Media::Exif]
|
1661
|
-
attr_accessor :exif
|
1662
|
-
|
1663
|
-
# The height in pixels of the original image.
|
1664
|
-
# Corresponds to the JSON property `height`
|
1665
|
-
# @return [Fixnum]
|
1666
|
-
attr_accessor :height
|
1667
|
-
|
1668
|
-
# ID of this media, which is generated by the API.
|
1669
|
-
# Corresponds to the JSON property `id`
|
1670
|
-
# @return [String]
|
1671
|
-
attr_accessor :id
|
1672
|
-
|
1673
|
-
# The type of resource.
|
1674
|
-
# Corresponds to the JSON property `kind`
|
1675
|
-
# @return [String]
|
1676
|
-
attr_accessor :kind
|
1677
|
-
|
1678
|
-
# The time at which this media was originally created in UTC. Formatted as an
|
1679
|
-
# RFC 3339 timestamp that matches this example: 2010-11-25T14:30:27.655Z
|
1680
|
-
# Corresponds to the JSON property `mediaCreatedTime`
|
1681
|
-
# @return [DateTime]
|
1682
|
-
attr_accessor :media_created_time
|
1683
|
-
|
1684
|
-
# The URL of this photo or video's still image.
|
1685
|
-
# Corresponds to the JSON property `mediaUrl`
|
1686
|
-
# @return [String]
|
1687
|
-
attr_accessor :media_url
|
1688
|
-
|
1689
|
-
# The time at which this media was uploaded. Formatted as an RFC 3339 timestamp.
|
1690
|
-
# Corresponds to the JSON property `published`
|
1691
|
-
# @return [DateTime]
|
1692
|
-
attr_accessor :published
|
1693
|
-
|
1694
|
-
# The size in bytes of this video.
|
1695
|
-
# Corresponds to the JSON property `sizeBytes`
|
1696
|
-
# @return [Fixnum]
|
1697
|
-
attr_accessor :size_bytes
|
1698
|
-
|
1699
|
-
# The list of video streams for this video. There might be several different
|
1700
|
-
# streams available for a single video, either Flash or MPEG, of various sizes
|
1701
|
-
# Corresponds to the JSON property `streams`
|
1702
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Videostream>]
|
1703
|
-
attr_accessor :streams
|
1704
|
-
|
1705
|
-
# A description, or caption, for this media.
|
1706
|
-
# Corresponds to the JSON property `summary`
|
1707
|
-
# @return [String]
|
1708
|
-
attr_accessor :summary
|
1709
|
-
|
1710
|
-
# The time at which this media was last updated. This includes changes to media
|
1711
|
-
# metadata. Formatted as an RFC 3339 timestamp.
|
1712
|
-
# Corresponds to the JSON property `updated`
|
1713
|
-
# @return [DateTime]
|
1714
|
-
attr_accessor :updated
|
1715
|
-
|
1716
|
-
# The URL for the page that hosts this media.
|
1717
|
-
# Corresponds to the JSON property `url`
|
1718
|
-
# @return [String]
|
1719
|
-
attr_accessor :url
|
1720
|
-
|
1721
|
-
# The duration in milliseconds of this video.
|
1722
|
-
# Corresponds to the JSON property `videoDuration`
|
1723
|
-
# @return [Fixnum]
|
1724
|
-
attr_accessor :video_duration
|
1725
|
-
|
1726
|
-
# The encoding status of this video. Possible values are:
|
1727
|
-
# - "UPLOADING" - Not all the video bytes have been received.
|
1728
|
-
# - "PENDING" - Video not yet processed.
|
1729
|
-
# - "FAILED" - Video processing failed.
|
1730
|
-
# - "READY" - A single video stream is playable.
|
1731
|
-
# - "FINAL" - All video streams are playable.
|
1732
|
-
# Corresponds to the JSON property `videoStatus`
|
1733
|
-
# @return [String]
|
1734
|
-
attr_accessor :video_status
|
1735
|
-
|
1736
|
-
# The width in pixels of the original image.
|
1737
|
-
# Corresponds to the JSON property `width`
|
1738
|
-
# @return [Fixnum]
|
1739
|
-
attr_accessor :width
|
1740
|
-
|
1741
|
-
def initialize(**args)
|
1742
|
-
update!(**args)
|
1743
|
-
end
|
1744
|
-
|
1745
|
-
# Update properties of this object
|
1746
|
-
def update!(**args)
|
1747
|
-
@author = args[:author] if args.key?(:author)
|
1748
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
1749
|
-
@etag = args[:etag] if args.key?(:etag)
|
1750
|
-
@exif = args[:exif] if args.key?(:exif)
|
1751
|
-
@height = args[:height] if args.key?(:height)
|
1752
|
-
@id = args[:id] if args.key?(:id)
|
1753
|
-
@kind = args[:kind] if args.key?(:kind)
|
1754
|
-
@media_created_time = args[:media_created_time] if args.key?(:media_created_time)
|
1755
|
-
@media_url = args[:media_url] if args.key?(:media_url)
|
1756
|
-
@published = args[:published] if args.key?(:published)
|
1757
|
-
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
1758
|
-
@streams = args[:streams] if args.key?(:streams)
|
1759
|
-
@summary = args[:summary] if args.key?(:summary)
|
1760
|
-
@updated = args[:updated] if args.key?(:updated)
|
1761
|
-
@url = args[:url] if args.key?(:url)
|
1762
|
-
@video_duration = args[:video_duration] if args.key?(:video_duration)
|
1763
|
-
@video_status = args[:video_status] if args.key?(:video_status)
|
1764
|
-
@width = args[:width] if args.key?(:width)
|
1765
|
-
end
|
1766
|
-
|
1767
|
-
# The person who uploaded this media.
|
1768
|
-
class Author
|
1769
|
-
include Google::Apis::Core::Hashable
|
1770
|
-
|
1771
|
-
# The author's name.
|
1772
|
-
# Corresponds to the JSON property `displayName`
|
1773
|
-
# @return [String]
|
1774
|
-
attr_accessor :display_name
|
1775
|
-
|
1776
|
-
# ID of the author.
|
1777
|
-
# Corresponds to the JSON property `id`
|
1778
|
-
# @return [String]
|
1779
|
-
attr_accessor :id
|
1780
|
-
|
1781
|
-
# The author's Google profile image.
|
1782
|
-
# Corresponds to the JSON property `image`
|
1783
|
-
# @return [Google::Apis::PlusDomainsV1::Media::Author::Image]
|
1784
|
-
attr_accessor :image
|
1785
|
-
|
1786
|
-
# A link to the author's Google profile.
|
1787
|
-
# Corresponds to the JSON property `url`
|
1788
|
-
# @return [String]
|
1789
|
-
attr_accessor :url
|
1790
|
-
|
1791
|
-
def initialize(**args)
|
1792
|
-
update!(**args)
|
1793
|
-
end
|
1794
|
-
|
1795
|
-
# Update properties of this object
|
1796
|
-
def update!(**args)
|
1797
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
1798
|
-
@id = args[:id] if args.key?(:id)
|
1799
|
-
@image = args[:image] if args.key?(:image)
|
1800
|
-
@url = args[:url] if args.key?(:url)
|
1801
|
-
end
|
1802
|
-
|
1803
|
-
# The author's Google profile image.
|
1804
|
-
class Image
|
1805
|
-
include Google::Apis::Core::Hashable
|
1806
|
-
|
1807
|
-
# The URL of the author's profile photo. To resize the image and crop it to a
|
1808
|
-
# square, append the query string ?sz=x, where x is the dimension in pixels of
|
1809
|
-
# each side.
|
1810
|
-
# Corresponds to the JSON property `url`
|
1811
|
-
# @return [String]
|
1812
|
-
attr_accessor :url
|
1813
|
-
|
1814
|
-
def initialize(**args)
|
1815
|
-
update!(**args)
|
1816
|
-
end
|
1817
|
-
|
1818
|
-
# Update properties of this object
|
1819
|
-
def update!(**args)
|
1820
|
-
@url = args[:url] if args.key?(:url)
|
1821
|
-
end
|
1822
|
-
end
|
1823
|
-
end
|
1824
|
-
|
1825
|
-
# Exif information of the media item.
|
1826
|
-
class Exif
|
1827
|
-
include Google::Apis::Core::Hashable
|
1828
|
-
|
1829
|
-
# The time the media was captured. Formatted as an RFC 3339 timestamp.
|
1830
|
-
# Corresponds to the JSON property `time`
|
1831
|
-
# @return [DateTime]
|
1832
|
-
attr_accessor :time
|
1833
|
-
|
1834
|
-
def initialize(**args)
|
1835
|
-
update!(**args)
|
1836
|
-
end
|
1837
|
-
|
1838
|
-
# Update properties of this object
|
1839
|
-
def update!(**args)
|
1840
|
-
@time = args[:time] if args.key?(:time)
|
1841
|
-
end
|
1842
|
-
end
|
1843
|
-
end
|
1844
|
-
|
1845
|
-
#
|
1846
|
-
class PeopleFeed
|
1847
|
-
include Google::Apis::Core::Hashable
|
1848
|
-
|
1849
|
-
# ETag of this response for caching purposes.
|
1850
|
-
# Corresponds to the JSON property `etag`
|
1851
|
-
# @return [String]
|
1852
|
-
attr_accessor :etag
|
1853
|
-
|
1854
|
-
# The people in this page of results. Each item includes the id, displayName,
|
1855
|
-
# image, and url for the person. To retrieve additional profile data, see the
|
1856
|
-
# people.get method.
|
1857
|
-
# Corresponds to the JSON property `items`
|
1858
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Person>]
|
1859
|
-
attr_accessor :items
|
1860
|
-
|
1861
|
-
# Identifies this resource as a collection of people. Value: "plus#peopleFeed".
|
1862
|
-
# Corresponds to the JSON property `kind`
|
1863
|
-
# @return [String]
|
1864
|
-
attr_accessor :kind
|
1865
|
-
|
1866
|
-
# The continuation token, which is used to page through large result sets.
|
1867
|
-
# Provide this value in a subsequent request to return the next page of results.
|
1868
|
-
# Corresponds to the JSON property `nextPageToken`
|
1869
|
-
# @return [String]
|
1870
|
-
attr_accessor :next_page_token
|
1871
|
-
|
1872
|
-
# Link to this resource.
|
1873
|
-
# Corresponds to the JSON property `selfLink`
|
1874
|
-
# @return [String]
|
1875
|
-
attr_accessor :self_link
|
1876
|
-
|
1877
|
-
# The title of this collection of people.
|
1878
|
-
# Corresponds to the JSON property `title`
|
1879
|
-
# @return [String]
|
1880
|
-
attr_accessor :title
|
1881
|
-
|
1882
|
-
# The total number of people available in this list. The number of people in a
|
1883
|
-
# response might be smaller due to paging. This might not be set for all
|
1884
|
-
# collections.
|
1885
|
-
# Corresponds to the JSON property `totalItems`
|
1886
|
-
# @return [Fixnum]
|
1887
|
-
attr_accessor :total_items
|
1888
|
-
|
1889
|
-
def initialize(**args)
|
1890
|
-
update!(**args)
|
1891
|
-
end
|
1892
|
-
|
1893
|
-
# Update properties of this object
|
1894
|
-
def update!(**args)
|
1895
|
-
@etag = args[:etag] if args.key?(:etag)
|
1896
|
-
@items = args[:items] if args.key?(:items)
|
1897
|
-
@kind = args[:kind] if args.key?(:kind)
|
1898
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1899
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
1900
|
-
@title = args[:title] if args.key?(:title)
|
1901
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
1902
|
-
end
|
1903
|
-
end
|
1904
|
-
|
1905
|
-
#
|
1906
|
-
class Person
|
1907
|
-
include Google::Apis::Core::Hashable
|
1908
|
-
|
1909
|
-
# A short biography for this person.
|
1910
|
-
# Corresponds to the JSON property `aboutMe`
|
1911
|
-
# @return [String]
|
1912
|
-
attr_accessor :about_me
|
1913
|
-
|
1914
|
-
# The person's date of birth, represented as YYYY-MM-DD.
|
1915
|
-
# Corresponds to the JSON property `birthday`
|
1916
|
-
# @return [String]
|
1917
|
-
attr_accessor :birthday
|
1918
|
-
|
1919
|
-
# The "bragging rights" line of this person.
|
1920
|
-
# Corresponds to the JSON property `braggingRights`
|
1921
|
-
# @return [String]
|
1922
|
-
attr_accessor :bragging_rights
|
1923
|
-
|
1924
|
-
# For followers who are visible, the number of people who have added this person
|
1925
|
-
# or page to a circle.
|
1926
|
-
# Corresponds to the JSON property `circledByCount`
|
1927
|
-
# @return [Fixnum]
|
1928
|
-
attr_accessor :circled_by_count
|
1929
|
-
|
1930
|
-
# The cover photo content.
|
1931
|
-
# Corresponds to the JSON property `cover`
|
1932
|
-
# @return [Google::Apis::PlusDomainsV1::Person::Cover]
|
1933
|
-
attr_accessor :cover
|
1934
|
-
|
1935
|
-
# (this field is not currently used)
|
1936
|
-
# Corresponds to the JSON property `currentLocation`
|
1937
|
-
# @return [String]
|
1938
|
-
attr_accessor :current_location
|
1939
|
-
|
1940
|
-
# The name of this person, which is suitable for display.
|
1941
|
-
# Corresponds to the JSON property `displayName`
|
1942
|
-
# @return [String]
|
1943
|
-
attr_accessor :display_name
|
1944
|
-
|
1945
|
-
# The hosted domain name for the user's Google Apps account. For instance,
|
1946
|
-
# example.com. The plus.profile.emails.read or email scope is needed to get this
|
1947
|
-
# domain name.
|
1948
|
-
# Corresponds to the JSON property `domain`
|
1949
|
-
# @return [String]
|
1950
|
-
attr_accessor :domain
|
1951
|
-
|
1952
|
-
# A list of email addresses that this person has, including their Google account
|
1953
|
-
# email address, and the public verified email addresses on their Google+
|
1954
|
-
# profile. The plus.profile.emails.read scope is needed to retrieve these email
|
1955
|
-
# addresses, or the email scope can be used to retrieve just the Google account
|
1956
|
-
# email address.
|
1957
|
-
# Corresponds to the JSON property `emails`
|
1958
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Person::Email>]
|
1959
|
-
attr_accessor :emails
|
1960
|
-
|
1961
|
-
# ETag of this response for caching purposes.
|
1962
|
-
# Corresponds to the JSON property `etag`
|
1963
|
-
# @return [String]
|
1964
|
-
attr_accessor :etag
|
1965
|
-
|
1966
|
-
# The person's gender. Possible values include, but are not limited to, the
|
1967
|
-
# following values:
|
1968
|
-
# - "male" - Male gender.
|
1969
|
-
# - "female" - Female gender.
|
1970
|
-
# - "other" - Other.
|
1971
|
-
# Corresponds to the JSON property `gender`
|
1972
|
-
# @return [String]
|
1973
|
-
attr_accessor :gender
|
1974
|
-
|
1975
|
-
# The ID of this person.
|
1976
|
-
# Corresponds to the JSON property `id`
|
1977
|
-
# @return [String]
|
1978
|
-
attr_accessor :id
|
1979
|
-
|
1980
|
-
# The representation of the person's profile photo.
|
1981
|
-
# Corresponds to the JSON property `image`
|
1982
|
-
# @return [Google::Apis::PlusDomainsV1::Person::Image]
|
1983
|
-
attr_accessor :image
|
1984
|
-
|
1985
|
-
# Whether this user has signed up for Google+.
|
1986
|
-
# Corresponds to the JSON property `isPlusUser`
|
1987
|
-
# @return [Boolean]
|
1988
|
-
attr_accessor :is_plus_user
|
1989
|
-
alias_method :is_plus_user?, :is_plus_user
|
1990
|
-
|
1991
|
-
# Identifies this resource as a person. Value: "plus#person".
|
1992
|
-
# Corresponds to the JSON property `kind`
|
1993
|
-
# @return [String]
|
1994
|
-
attr_accessor :kind
|
1995
|
-
|
1996
|
-
# An object representation of the individual components of a person's name.
|
1997
|
-
# Corresponds to the JSON property `name`
|
1998
|
-
# @return [Google::Apis::PlusDomainsV1::Person::Name]
|
1999
|
-
attr_accessor :name
|
2000
|
-
|
2001
|
-
# The nickname of this person.
|
2002
|
-
# Corresponds to the JSON property `nickname`
|
2003
|
-
# @return [String]
|
2004
|
-
attr_accessor :nickname
|
2005
|
-
|
2006
|
-
# Type of person within Google+. Possible values include, but are not limited to,
|
2007
|
-
# the following values:
|
2008
|
-
# - "person" - represents an actual person.
|
2009
|
-
# - "page" - represents a page.
|
2010
|
-
# Corresponds to the JSON property `objectType`
|
2011
|
-
# @return [String]
|
2012
|
-
attr_accessor :object_type
|
2013
|
-
|
2014
|
-
# The occupation of this person.
|
2015
|
-
# Corresponds to the JSON property `occupation`
|
2016
|
-
# @return [String]
|
2017
|
-
attr_accessor :occupation
|
2018
|
-
|
2019
|
-
# A list of current or past organizations with which this person is associated.
|
2020
|
-
# Corresponds to the JSON property `organizations`
|
2021
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Person::Organization>]
|
2022
|
-
attr_accessor :organizations
|
2023
|
-
|
2024
|
-
# A list of places where this person has lived.
|
2025
|
-
# Corresponds to the JSON property `placesLived`
|
2026
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Person::PlacesLived>]
|
2027
|
-
attr_accessor :places_lived
|
2028
|
-
|
2029
|
-
# If a Google+ Page, the number of people who have +1'd this page.
|
2030
|
-
# Corresponds to the JSON property `plusOneCount`
|
2031
|
-
# @return [Fixnum]
|
2032
|
-
attr_accessor :plus_one_count
|
2033
|
-
|
2034
|
-
# The person's relationship status. Possible values include, but are not limited
|
2035
|
-
# to, the following values:
|
2036
|
-
# - "single" - Person is single.
|
2037
|
-
# - "in_a_relationship" - Person is in a relationship.
|
2038
|
-
# - "engaged" - Person is engaged.
|
2039
|
-
# - "married" - Person is married.
|
2040
|
-
# - "its_complicated" - The relationship is complicated.
|
2041
|
-
# - "open_relationship" - Person is in an open relationship.
|
2042
|
-
# - "widowed" - Person is widowed.
|
2043
|
-
# - "in_domestic_partnership" - Person is in a domestic partnership.
|
2044
|
-
# - "in_civil_union" - Person is in a civil union.
|
2045
|
-
# Corresponds to the JSON property `relationshipStatus`
|
2046
|
-
# @return [String]
|
2047
|
-
attr_accessor :relationship_status
|
2048
|
-
|
2049
|
-
# The person's skills.
|
2050
|
-
# Corresponds to the JSON property `skills`
|
2051
|
-
# @return [String]
|
2052
|
-
attr_accessor :skills
|
2053
|
-
|
2054
|
-
# The brief description (tagline) of this person.
|
2055
|
-
# Corresponds to the JSON property `tagline`
|
2056
|
-
# @return [String]
|
2057
|
-
attr_accessor :tagline
|
2058
|
-
|
2059
|
-
# The URL of this person's profile.
|
2060
|
-
# Corresponds to the JSON property `url`
|
2061
|
-
# @return [String]
|
2062
|
-
attr_accessor :url
|
2063
|
-
|
2064
|
-
# A list of URLs for this person.
|
2065
|
-
# Corresponds to the JSON property `urls`
|
2066
|
-
# @return [Array<Google::Apis::PlusDomainsV1::Person::Url>]
|
2067
|
-
attr_accessor :urls
|
2068
|
-
|
2069
|
-
# Whether the person or Google+ Page has been verified.
|
2070
|
-
# Corresponds to the JSON property `verified`
|
2071
|
-
# @return [Boolean]
|
2072
|
-
attr_accessor :verified
|
2073
|
-
alias_method :verified?, :verified
|
2074
|
-
|
2075
|
-
def initialize(**args)
|
2076
|
-
update!(**args)
|
2077
|
-
end
|
2078
|
-
|
2079
|
-
# Update properties of this object
|
2080
|
-
def update!(**args)
|
2081
|
-
@about_me = args[:about_me] if args.key?(:about_me)
|
2082
|
-
@birthday = args[:birthday] if args.key?(:birthday)
|
2083
|
-
@bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights)
|
2084
|
-
@circled_by_count = args[:circled_by_count] if args.key?(:circled_by_count)
|
2085
|
-
@cover = args[:cover] if args.key?(:cover)
|
2086
|
-
@current_location = args[:current_location] if args.key?(:current_location)
|
2087
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
2088
|
-
@domain = args[:domain] if args.key?(:domain)
|
2089
|
-
@emails = args[:emails] if args.key?(:emails)
|
2090
|
-
@etag = args[:etag] if args.key?(:etag)
|
2091
|
-
@gender = args[:gender] if args.key?(:gender)
|
2092
|
-
@id = args[:id] if args.key?(:id)
|
2093
|
-
@image = args[:image] if args.key?(:image)
|
2094
|
-
@is_plus_user = args[:is_plus_user] if args.key?(:is_plus_user)
|
2095
|
-
@kind = args[:kind] if args.key?(:kind)
|
2096
|
-
@name = args[:name] if args.key?(:name)
|
2097
|
-
@nickname = args[:nickname] if args.key?(:nickname)
|
2098
|
-
@object_type = args[:object_type] if args.key?(:object_type)
|
2099
|
-
@occupation = args[:occupation] if args.key?(:occupation)
|
2100
|
-
@organizations = args[:organizations] if args.key?(:organizations)
|
2101
|
-
@places_lived = args[:places_lived] if args.key?(:places_lived)
|
2102
|
-
@plus_one_count = args[:plus_one_count] if args.key?(:plus_one_count)
|
2103
|
-
@relationship_status = args[:relationship_status] if args.key?(:relationship_status)
|
2104
|
-
@skills = args[:skills] if args.key?(:skills)
|
2105
|
-
@tagline = args[:tagline] if args.key?(:tagline)
|
2106
|
-
@url = args[:url] if args.key?(:url)
|
2107
|
-
@urls = args[:urls] if args.key?(:urls)
|
2108
|
-
@verified = args[:verified] if args.key?(:verified)
|
2109
|
-
end
|
2110
|
-
|
2111
|
-
# The cover photo content.
|
2112
|
-
class Cover
|
2113
|
-
include Google::Apis::Core::Hashable
|
2114
|
-
|
2115
|
-
# Extra information about the cover photo.
|
2116
|
-
# Corresponds to the JSON property `coverInfo`
|
2117
|
-
# @return [Google::Apis::PlusDomainsV1::Person::Cover::CoverInfo]
|
2118
|
-
attr_accessor :cover_info
|
2119
|
-
|
2120
|
-
# The person's primary cover image.
|
2121
|
-
# Corresponds to the JSON property `coverPhoto`
|
2122
|
-
# @return [Google::Apis::PlusDomainsV1::Person::Cover::CoverPhoto]
|
2123
|
-
attr_accessor :cover_photo
|
2124
|
-
|
2125
|
-
# The layout of the cover art. Possible values include, but are not limited to,
|
2126
|
-
# the following values:
|
2127
|
-
# - "banner" - One large image banner.
|
2128
|
-
# Corresponds to the JSON property `layout`
|
2129
|
-
# @return [String]
|
2130
|
-
attr_accessor :layout
|
2131
|
-
|
2132
|
-
def initialize(**args)
|
2133
|
-
update!(**args)
|
2134
|
-
end
|
2135
|
-
|
2136
|
-
# Update properties of this object
|
2137
|
-
def update!(**args)
|
2138
|
-
@cover_info = args[:cover_info] if args.key?(:cover_info)
|
2139
|
-
@cover_photo = args[:cover_photo] if args.key?(:cover_photo)
|
2140
|
-
@layout = args[:layout] if args.key?(:layout)
|
2141
|
-
end
|
2142
|
-
|
2143
|
-
# Extra information about the cover photo.
|
2144
|
-
class CoverInfo
|
2145
|
-
include Google::Apis::Core::Hashable
|
2146
|
-
|
2147
|
-
# The difference between the left position of the cover image and the actual
|
2148
|
-
# displayed cover image. Only valid for banner layout.
|
2149
|
-
# Corresponds to the JSON property `leftImageOffset`
|
2150
|
-
# @return [Fixnum]
|
2151
|
-
attr_accessor :left_image_offset
|
2152
|
-
|
2153
|
-
# The difference between the top position of the cover image and the actual
|
2154
|
-
# displayed cover image. Only valid for banner layout.
|
2155
|
-
# Corresponds to the JSON property `topImageOffset`
|
2156
|
-
# @return [Fixnum]
|
2157
|
-
attr_accessor :top_image_offset
|
2158
|
-
|
2159
|
-
def initialize(**args)
|
2160
|
-
update!(**args)
|
2161
|
-
end
|
2162
|
-
|
2163
|
-
# Update properties of this object
|
2164
|
-
def update!(**args)
|
2165
|
-
@left_image_offset = args[:left_image_offset] if args.key?(:left_image_offset)
|
2166
|
-
@top_image_offset = args[:top_image_offset] if args.key?(:top_image_offset)
|
2167
|
-
end
|
2168
|
-
end
|
2169
|
-
|
2170
|
-
# The person's primary cover image.
|
2171
|
-
class CoverPhoto
|
2172
|
-
include Google::Apis::Core::Hashable
|
2173
|
-
|
2174
|
-
# The height of the image.
|
2175
|
-
# Corresponds to the JSON property `height`
|
2176
|
-
# @return [Fixnum]
|
2177
|
-
attr_accessor :height
|
2178
|
-
|
2179
|
-
# The URL of the image.
|
2180
|
-
# Corresponds to the JSON property `url`
|
2181
|
-
# @return [String]
|
2182
|
-
attr_accessor :url
|
2183
|
-
|
2184
|
-
# The width of the image.
|
2185
|
-
# Corresponds to the JSON property `width`
|
2186
|
-
# @return [Fixnum]
|
2187
|
-
attr_accessor :width
|
2188
|
-
|
2189
|
-
def initialize(**args)
|
2190
|
-
update!(**args)
|
2191
|
-
end
|
2192
|
-
|
2193
|
-
# Update properties of this object
|
2194
|
-
def update!(**args)
|
2195
|
-
@height = args[:height] if args.key?(:height)
|
2196
|
-
@url = args[:url] if args.key?(:url)
|
2197
|
-
@width = args[:width] if args.key?(:width)
|
2198
|
-
end
|
2199
|
-
end
|
2200
|
-
end
|
2201
|
-
|
2202
|
-
#
|
2203
|
-
class Email
|
2204
|
-
include Google::Apis::Core::Hashable
|
2205
|
-
|
2206
|
-
# The type of address. Possible values include, but are not limited to, the
|
2207
|
-
# following values:
|
2208
|
-
# - "account" - Google account email address.
|
2209
|
-
# - "home" - Home email address.
|
2210
|
-
# - "work" - Work email address.
|
2211
|
-
# - "other" - Other.
|
2212
|
-
# Corresponds to the JSON property `type`
|
2213
|
-
# @return [String]
|
2214
|
-
attr_accessor :type
|
2215
|
-
|
2216
|
-
# The email address.
|
2217
|
-
# Corresponds to the JSON property `value`
|
2218
|
-
# @return [String]
|
2219
|
-
attr_accessor :value
|
2220
|
-
|
2221
|
-
def initialize(**args)
|
2222
|
-
update!(**args)
|
2223
|
-
end
|
2224
|
-
|
2225
|
-
# Update properties of this object
|
2226
|
-
def update!(**args)
|
2227
|
-
@type = args[:type] if args.key?(:type)
|
2228
|
-
@value = args[:value] if args.key?(:value)
|
2229
|
-
end
|
2230
|
-
end
|
2231
|
-
|
2232
|
-
# The representation of the person's profile photo.
|
2233
|
-
class Image
|
2234
|
-
include Google::Apis::Core::Hashable
|
2235
|
-
|
2236
|
-
# Whether the person's profile photo is the default one
|
2237
|
-
# Corresponds to the JSON property `isDefault`
|
2238
|
-
# @return [Boolean]
|
2239
|
-
attr_accessor :is_default
|
2240
|
-
alias_method :is_default?, :is_default
|
2241
|
-
|
2242
|
-
# The URL of the person's profile photo. To resize the image and crop it to a
|
2243
|
-
# square, append the query string ?sz=x, where x is the dimension in pixels of
|
2244
|
-
# each side.
|
2245
|
-
# Corresponds to the JSON property `url`
|
2246
|
-
# @return [String]
|
2247
|
-
attr_accessor :url
|
2248
|
-
|
2249
|
-
def initialize(**args)
|
2250
|
-
update!(**args)
|
2251
|
-
end
|
2252
|
-
|
2253
|
-
# Update properties of this object
|
2254
|
-
def update!(**args)
|
2255
|
-
@is_default = args[:is_default] if args.key?(:is_default)
|
2256
|
-
@url = args[:url] if args.key?(:url)
|
2257
|
-
end
|
2258
|
-
end
|
2259
|
-
|
2260
|
-
# An object representation of the individual components of a person's name.
|
2261
|
-
class Name
|
2262
|
-
include Google::Apis::Core::Hashable
|
2263
|
-
|
2264
|
-
# The family name (last name) of this person.
|
2265
|
-
# Corresponds to the JSON property `familyName`
|
2266
|
-
# @return [String]
|
2267
|
-
attr_accessor :family_name
|
2268
|
-
|
2269
|
-
# The full name of this person, including middle names, suffixes, etc.
|
2270
|
-
# Corresponds to the JSON property `formatted`
|
2271
|
-
# @return [String]
|
2272
|
-
attr_accessor :formatted
|
2273
|
-
|
2274
|
-
# The given name (first name) of this person.
|
2275
|
-
# Corresponds to the JSON property `givenName`
|
2276
|
-
# @return [String]
|
2277
|
-
attr_accessor :given_name
|
2278
|
-
|
2279
|
-
# The honorific prefixes (such as "Dr." or "Mrs.") for this person.
|
2280
|
-
# Corresponds to the JSON property `honorificPrefix`
|
2281
|
-
# @return [String]
|
2282
|
-
attr_accessor :honorific_prefix
|
2283
|
-
|
2284
|
-
# The honorific suffixes (such as "Jr.") for this person.
|
2285
|
-
# Corresponds to the JSON property `honorificSuffix`
|
2286
|
-
# @return [String]
|
2287
|
-
attr_accessor :honorific_suffix
|
2288
|
-
|
2289
|
-
# The middle name of this person.
|
2290
|
-
# Corresponds to the JSON property `middleName`
|
2291
|
-
# @return [String]
|
2292
|
-
attr_accessor :middle_name
|
2293
|
-
|
2294
|
-
def initialize(**args)
|
2295
|
-
update!(**args)
|
2296
|
-
end
|
2297
|
-
|
2298
|
-
# Update properties of this object
|
2299
|
-
def update!(**args)
|
2300
|
-
@family_name = args[:family_name] if args.key?(:family_name)
|
2301
|
-
@formatted = args[:formatted] if args.key?(:formatted)
|
2302
|
-
@given_name = args[:given_name] if args.key?(:given_name)
|
2303
|
-
@honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix)
|
2304
|
-
@honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix)
|
2305
|
-
@middle_name = args[:middle_name] if args.key?(:middle_name)
|
2306
|
-
end
|
2307
|
-
end
|
2308
|
-
|
2309
|
-
#
|
2310
|
-
class Organization
|
2311
|
-
include Google::Apis::Core::Hashable
|
2312
|
-
|
2313
|
-
# The department within the organization. Deprecated.
|
2314
|
-
# Corresponds to the JSON property `department`
|
2315
|
-
# @return [String]
|
2316
|
-
attr_accessor :department
|
2317
|
-
|
2318
|
-
# A short description of the person's role in this organization. Deprecated.
|
2319
|
-
# Corresponds to the JSON property `description`
|
2320
|
-
# @return [String]
|
2321
|
-
attr_accessor :description
|
2322
|
-
|
2323
|
-
# The date that the person left this organization.
|
2324
|
-
# Corresponds to the JSON property `endDate`
|
2325
|
-
# @return [String]
|
2326
|
-
attr_accessor :end_date
|
2327
|
-
|
2328
|
-
# The location of this organization. Deprecated.
|
2329
|
-
# Corresponds to the JSON property `location`
|
2330
|
-
# @return [String]
|
2331
|
-
attr_accessor :location
|
2332
|
-
|
2333
|
-
# The name of the organization.
|
2334
|
-
# Corresponds to the JSON property `name`
|
2335
|
-
# @return [String]
|
2336
|
-
attr_accessor :name
|
2337
|
-
|
2338
|
-
# If "true", indicates this organization is the person's primary one, which is
|
2339
|
-
# typically interpreted as the current one.
|
2340
|
-
# Corresponds to the JSON property `primary`
|
2341
|
-
# @return [Boolean]
|
2342
|
-
attr_accessor :primary
|
2343
|
-
alias_method :primary?, :primary
|
2344
|
-
|
2345
|
-
# The date that the person joined this organization.
|
2346
|
-
# Corresponds to the JSON property `startDate`
|
2347
|
-
# @return [String]
|
2348
|
-
attr_accessor :start_date
|
2349
|
-
|
2350
|
-
# The person's job title or role within the organization.
|
2351
|
-
# Corresponds to the JSON property `title`
|
2352
|
-
# @return [String]
|
2353
|
-
attr_accessor :title
|
2354
|
-
|
2355
|
-
# The type of organization. Possible values include, but are not limited to, the
|
2356
|
-
# following values:
|
2357
|
-
# - "work" - Work.
|
2358
|
-
# - "school" - School.
|
2359
|
-
# Corresponds to the JSON property `type`
|
2360
|
-
# @return [String]
|
2361
|
-
attr_accessor :type
|
2362
|
-
|
2363
|
-
def initialize(**args)
|
2364
|
-
update!(**args)
|
2365
|
-
end
|
2366
|
-
|
2367
|
-
# Update properties of this object
|
2368
|
-
def update!(**args)
|
2369
|
-
@department = args[:department] if args.key?(:department)
|
2370
|
-
@description = args[:description] if args.key?(:description)
|
2371
|
-
@end_date = args[:end_date] if args.key?(:end_date)
|
2372
|
-
@location = args[:location] if args.key?(:location)
|
2373
|
-
@name = args[:name] if args.key?(:name)
|
2374
|
-
@primary = args[:primary] if args.key?(:primary)
|
2375
|
-
@start_date = args[:start_date] if args.key?(:start_date)
|
2376
|
-
@title = args[:title] if args.key?(:title)
|
2377
|
-
@type = args[:type] if args.key?(:type)
|
2378
|
-
end
|
2379
|
-
end
|
2380
|
-
|
2381
|
-
#
|
2382
|
-
class PlacesLived
|
2383
|
-
include Google::Apis::Core::Hashable
|
2384
|
-
|
2385
|
-
# If "true", this place of residence is this person's primary residence.
|
2386
|
-
# Corresponds to the JSON property `primary`
|
2387
|
-
# @return [Boolean]
|
2388
|
-
attr_accessor :primary
|
2389
|
-
alias_method :primary?, :primary
|
2390
|
-
|
2391
|
-
# A place where this person has lived. For example: "Seattle, WA", "Near Toronto"
|
2392
|
-
# .
|
2393
|
-
# Corresponds to the JSON property `value`
|
2394
|
-
# @return [String]
|
2395
|
-
attr_accessor :value
|
2396
|
-
|
2397
|
-
def initialize(**args)
|
2398
|
-
update!(**args)
|
2399
|
-
end
|
2400
|
-
|
2401
|
-
# Update properties of this object
|
2402
|
-
def update!(**args)
|
2403
|
-
@primary = args[:primary] if args.key?(:primary)
|
2404
|
-
@value = args[:value] if args.key?(:value)
|
2405
|
-
end
|
2406
|
-
end
|
2407
|
-
|
2408
|
-
#
|
2409
|
-
class Url
|
2410
|
-
include Google::Apis::Core::Hashable
|
2411
|
-
|
2412
|
-
# The label of the URL.
|
2413
|
-
# Corresponds to the JSON property `label`
|
2414
|
-
# @return [String]
|
2415
|
-
attr_accessor :label
|
2416
|
-
|
2417
|
-
# The type of URL. Possible values include, but are not limited to, the
|
2418
|
-
# following values:
|
2419
|
-
# - "otherProfile" - URL for another profile.
|
2420
|
-
# - "contributor" - URL to a site for which this person is a contributor.
|
2421
|
-
# - "website" - URL for this Google+ Page's primary website.
|
2422
|
-
# - "other" - Other URL.
|
2423
|
-
# Corresponds to the JSON property `type`
|
2424
|
-
# @return [String]
|
2425
|
-
attr_accessor :type
|
2426
|
-
|
2427
|
-
# The URL value.
|
2428
|
-
# Corresponds to the JSON property `value`
|
2429
|
-
# @return [String]
|
2430
|
-
attr_accessor :value
|
2431
|
-
|
2432
|
-
def initialize(**args)
|
2433
|
-
update!(**args)
|
2434
|
-
end
|
2435
|
-
|
2436
|
-
# Update properties of this object
|
2437
|
-
def update!(**args)
|
2438
|
-
@label = args[:label] if args.key?(:label)
|
2439
|
-
@type = args[:type] if args.key?(:type)
|
2440
|
-
@value = args[:value] if args.key?(:value)
|
2441
|
-
end
|
2442
|
-
end
|
2443
|
-
end
|
2444
|
-
|
2445
|
-
#
|
2446
|
-
class Place
|
2447
|
-
include Google::Apis::Core::Hashable
|
2448
|
-
|
2449
|
-
# The physical address of the place.
|
2450
|
-
# Corresponds to the JSON property `address`
|
2451
|
-
# @return [Google::Apis::PlusDomainsV1::Place::Address]
|
2452
|
-
attr_accessor :address
|
2453
|
-
|
2454
|
-
# The display name of the place.
|
2455
|
-
# Corresponds to the JSON property `displayName`
|
2456
|
-
# @return [String]
|
2457
|
-
attr_accessor :display_name
|
2458
|
-
|
2459
|
-
# The id of the place.
|
2460
|
-
# Corresponds to the JSON property `id`
|
2461
|
-
# @return [String]
|
2462
|
-
attr_accessor :id
|
2463
|
-
|
2464
|
-
# Identifies this resource as a place. Value: "plus#place".
|
2465
|
-
# Corresponds to the JSON property `kind`
|
2466
|
-
# @return [String]
|
2467
|
-
attr_accessor :kind
|
2468
|
-
|
2469
|
-
# The position of the place.
|
2470
|
-
# Corresponds to the JSON property `position`
|
2471
|
-
# @return [Google::Apis::PlusDomainsV1::Place::Position]
|
2472
|
-
attr_accessor :position
|
2473
|
-
|
2474
|
-
def initialize(**args)
|
2475
|
-
update!(**args)
|
2476
|
-
end
|
2477
|
-
|
2478
|
-
# Update properties of this object
|
2479
|
-
def update!(**args)
|
2480
|
-
@address = args[:address] if args.key?(:address)
|
2481
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
2482
|
-
@id = args[:id] if args.key?(:id)
|
2483
|
-
@kind = args[:kind] if args.key?(:kind)
|
2484
|
-
@position = args[:position] if args.key?(:position)
|
2485
|
-
end
|
2486
|
-
|
2487
|
-
# The physical address of the place.
|
2488
|
-
class Address
|
2489
|
-
include Google::Apis::Core::Hashable
|
2490
|
-
|
2491
|
-
# The formatted address for display.
|
2492
|
-
# Corresponds to the JSON property `formatted`
|
2493
|
-
# @return [String]
|
2494
|
-
attr_accessor :formatted
|
2495
|
-
|
2496
|
-
def initialize(**args)
|
2497
|
-
update!(**args)
|
2498
|
-
end
|
2499
|
-
|
2500
|
-
# Update properties of this object
|
2501
|
-
def update!(**args)
|
2502
|
-
@formatted = args[:formatted] if args.key?(:formatted)
|
2503
|
-
end
|
2504
|
-
end
|
2505
|
-
|
2506
|
-
# The position of the place.
|
2507
|
-
class Position
|
2508
|
-
include Google::Apis::Core::Hashable
|
2509
|
-
|
2510
|
-
# The latitude of this position.
|
2511
|
-
# Corresponds to the JSON property `latitude`
|
2512
|
-
# @return [Float]
|
2513
|
-
attr_accessor :latitude
|
2514
|
-
|
2515
|
-
# The longitude of this position.
|
2516
|
-
# Corresponds to the JSON property `longitude`
|
2517
|
-
# @return [Float]
|
2518
|
-
attr_accessor :longitude
|
2519
|
-
|
2520
|
-
def initialize(**args)
|
2521
|
-
update!(**args)
|
2522
|
-
end
|
2523
|
-
|
2524
|
-
# Update properties of this object
|
2525
|
-
def update!(**args)
|
2526
|
-
@latitude = args[:latitude] if args.key?(:latitude)
|
2527
|
-
@longitude = args[:longitude] if args.key?(:longitude)
|
2528
|
-
end
|
2529
|
-
end
|
2530
|
-
end
|
2531
|
-
|
2532
|
-
#
|
2533
|
-
class PlusDomainsAclentryResource
|
2534
|
-
include Google::Apis::Core::Hashable
|
2535
|
-
|
2536
|
-
# A descriptive name for this entry. Suitable for display.
|
2537
|
-
# Corresponds to the JSON property `displayName`
|
2538
|
-
# @return [String]
|
2539
|
-
attr_accessor :display_name
|
2540
|
-
|
2541
|
-
# The ID of the entry. For entries of type "person" or "circle", this is the ID
|
2542
|
-
# of the resource. For other types, this property is not set.
|
2543
|
-
# Corresponds to the JSON property `id`
|
2544
|
-
# @return [String]
|
2545
|
-
attr_accessor :id
|
2546
|
-
|
2547
|
-
# The type of entry describing to whom access is granted. Possible values are:
|
2548
|
-
# - "person" - Access to an individual.
|
2549
|
-
# - "circle" - Access to members of a circle.
|
2550
|
-
# - "myCircles" - Access to members of all the person's circles.
|
2551
|
-
# - "extendedCircles" - Access to members of all the person's circles, plus all
|
2552
|
-
# of the people in their circles.
|
2553
|
-
# - "domain" - Access to members of the person's Google Apps domain.
|
2554
|
-
# - "public" - Access to anyone on the web.
|
2555
|
-
# Corresponds to the JSON property `type`
|
2556
|
-
# @return [String]
|
2557
|
-
attr_accessor :type
|
2558
|
-
|
2559
|
-
def initialize(**args)
|
2560
|
-
update!(**args)
|
2561
|
-
end
|
2562
|
-
|
2563
|
-
# Update properties of this object
|
2564
|
-
def update!(**args)
|
2565
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
2566
|
-
@id = args[:id] if args.key?(:id)
|
2567
|
-
@type = args[:type] if args.key?(:type)
|
2568
|
-
end
|
2569
|
-
end
|
2570
|
-
|
2571
|
-
#
|
2572
|
-
class Videostream
|
2573
|
-
include Google::Apis::Core::Hashable
|
2574
|
-
|
2575
|
-
# The height, in pixels, of the video resource.
|
2576
|
-
# Corresponds to the JSON property `height`
|
2577
|
-
# @return [Fixnum]
|
2578
|
-
attr_accessor :height
|
2579
|
-
|
2580
|
-
# MIME type of the video stream.
|
2581
|
-
# Corresponds to the JSON property `type`
|
2582
|
-
# @return [String]
|
2583
|
-
attr_accessor :type
|
2584
|
-
|
2585
|
-
# URL of the video stream.
|
2586
|
-
# Corresponds to the JSON property `url`
|
2587
|
-
# @return [String]
|
2588
|
-
attr_accessor :url
|
2589
|
-
|
2590
|
-
# The width, in pixels, of the video resource.
|
2591
|
-
# Corresponds to the JSON property `width`
|
2592
|
-
# @return [Fixnum]
|
2593
|
-
attr_accessor :width
|
2594
|
-
|
2595
|
-
def initialize(**args)
|
2596
|
-
update!(**args)
|
2597
|
-
end
|
2598
|
-
|
2599
|
-
# Update properties of this object
|
2600
|
-
def update!(**args)
|
2601
|
-
@height = args[:height] if args.key?(:height)
|
2602
|
-
@type = args[:type] if args.key?(:type)
|
2603
|
-
@url = args[:url] if args.key?(:url)
|
2604
|
-
@width = args[:width] if args.key?(:width)
|
2605
|
-
end
|
2606
|
-
end
|
2607
|
-
end
|
2608
|
-
end
|
2609
|
-
end
|