google-api-client 0.44.2 → 0.46.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +295 -0
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +32 -1
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +442 -14
- data/generated/google/apis/apigee_v1/representations.rb +161 -1
- data/generated/google/apis/apigee_v1/service.rb +264 -44
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +14 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/{apigateway_v1alpha1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +140 -23
- data/generated/google/apis/bigquery_v2/representations.rb +36 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +16 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +79 -5
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +7 -5
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
- data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +127 -63
- data/generated/google/apis/cloudidentity_v1/representations.rb +29 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +124 -70
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +336 -53
- data/generated/google/apis/compute_v1/representations.rb +57 -1
- data/generated/google/apis/compute_v1/service.rb +739 -133
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +50 -10
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +108 -5
- data/generated/google/apis/content_v2_1/representations.rb +47 -0
- data/generated/google/apis/content_v2_1/service.rb +38 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +29 -3
- data/generated/google/apis/dataproc_v1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +33 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +208 -30
- data/generated/google/apis/dialogflow_v2/representations.rb +118 -7
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +215 -38
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +118 -7
- data/generated/google/apis/dialogflow_v2beta1/service.rb +60 -10
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +311 -33
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +153 -7
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +38 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
- data/generated/google/apis/displayvideo_v1/service.rb +21 -18
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +30 -3
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +10 -10
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +10 -10
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/{appsactivity_v1.rb → domains_v1beta1.rb} +11 -11
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.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/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +7 -5
- data/generated/google/apis/healthcare_v1/service.rb +1 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1111 -278
- data/generated/google/apis/healthcare_v1beta1/representations.rb +486 -68
- data/generated/google/apis/healthcare_v1beta1/service.rb +1475 -247
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +98 -55
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +1214 -264
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +10 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +99 -45
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/{plus_v1.rb → oauth2_v2.rb} +12 -15
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +48 -47
- data/generated/google/apis/people_v1/service.rb +12 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -391
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- 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/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +15 -135
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +175 -85
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +307 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +173 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +309 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +229 -109
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +137 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +21 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +67 -67
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +49 -2
- data/generated/google/apis/testing_v1/representations.rb +20 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -2
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -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 +12 -945
- data/generated/google/apis/youtube_v3/representations.rb +0 -445
- data/generated/google/apis/youtube_v3/service.rb +3 -198
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +41 -19
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
- data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
|
@@ -1,126 +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/core/base_service'
|
|
16
|
-
require 'google/apis/core/json_representation'
|
|
17
|
-
require 'google/apis/core/hashable'
|
|
18
|
-
require 'google/apis/errors'
|
|
19
|
-
|
|
20
|
-
module Google
|
|
21
|
-
module Apis
|
|
22
|
-
module AppsactivityV1
|
|
23
|
-
# Drive Activity API
|
|
24
|
-
#
|
|
25
|
-
# Provides a historical view of activity.
|
|
26
|
-
#
|
|
27
|
-
# @example
|
|
28
|
-
# require 'google/apis/appsactivity_v1'
|
|
29
|
-
#
|
|
30
|
-
# Appsactivity = Google::Apis::AppsactivityV1 # Alias the module
|
|
31
|
-
# service = Appsactivity::AppsactivityService.new
|
|
32
|
-
#
|
|
33
|
-
# @see https://developers.google.com/google-apps/activity/
|
|
34
|
-
class AppsactivityService < Google::Apis::Core::BaseService
|
|
35
|
-
# @return [String]
|
|
36
|
-
# API key. Your API key identifies your project and provides you with API access,
|
|
37
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
38
|
-
attr_accessor :key
|
|
39
|
-
|
|
40
|
-
# @return [String]
|
|
41
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
42
|
-
# characters.
|
|
43
|
-
attr_accessor :quota_user
|
|
44
|
-
|
|
45
|
-
# @return [String]
|
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
|
47
|
-
attr_accessor :user_ip
|
|
48
|
-
|
|
49
|
-
def initialize
|
|
50
|
-
super('https://www.googleapis.com/', 'appsactivity/v1/')
|
|
51
|
-
@batch_path = 'batch/appsactivity/v1'
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
# Returns a list of activities visible to the current logged in user. Visible
|
|
55
|
-
# activities are determined by the visibility settings of the object that was
|
|
56
|
-
# acted on, e.g. Drive files a user can see. An activity is a record of past
|
|
57
|
-
# events. Multiple events may be merged if they are similar. A request is scoped
|
|
58
|
-
# to activities from a given Google service using the source parameter.
|
|
59
|
-
# @param [String] drive_ancestor_id
|
|
60
|
-
# Identifies the Drive folder containing the items for which to return
|
|
61
|
-
# activities.
|
|
62
|
-
# @param [String] drive_file_id
|
|
63
|
-
# Identifies the Drive item to return activities for.
|
|
64
|
-
# @param [String] grouping_strategy
|
|
65
|
-
# Indicates the strategy to use when grouping singleEvents items in the
|
|
66
|
-
# associated combinedEvent object.
|
|
67
|
-
# @param [Fixnum] page_size
|
|
68
|
-
# The maximum number of events to return on a page. The response includes a
|
|
69
|
-
# continuation token if there are more events.
|
|
70
|
-
# @param [String] page_token
|
|
71
|
-
# A token to retrieve a specific page of results.
|
|
72
|
-
# @param [String] source
|
|
73
|
-
# The Google service from which to return activities. Possible values of source
|
|
74
|
-
# are:
|
|
75
|
-
# - drive.google.com
|
|
76
|
-
# @param [String] user_id
|
|
77
|
-
# The ID used for ACL checks (does not filter the resulting event list by the
|
|
78
|
-
# assigned value). Use the special value me to indicate the currently
|
|
79
|
-
# authenticated user.
|
|
80
|
-
# @param [String] fields
|
|
81
|
-
# Selector specifying which fields to include in a partial response.
|
|
82
|
-
# @param [String] quota_user
|
|
83
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
84
|
-
# characters.
|
|
85
|
-
# @param [String] user_ip
|
|
86
|
-
# Deprecated. Please use quotaUser instead.
|
|
87
|
-
# @param [Google::Apis::RequestOptions] options
|
|
88
|
-
# Request-specific options
|
|
89
|
-
#
|
|
90
|
-
# @yield [result, err] Result & error if block supplied
|
|
91
|
-
# @yieldparam result [Google::Apis::AppsactivityV1::ListActivitiesResponse] parsed result object
|
|
92
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
93
|
-
#
|
|
94
|
-
# @return [Google::Apis::AppsactivityV1::ListActivitiesResponse]
|
|
95
|
-
#
|
|
96
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
97
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
98
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
99
|
-
def list_activities(drive_ancestor_id: nil, drive_file_id: nil, grouping_strategy: nil, page_size: nil, page_token: nil, source: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
100
|
-
command = make_simple_command(:get, 'activities', options)
|
|
101
|
-
command.response_representation = Google::Apis::AppsactivityV1::ListActivitiesResponse::Representation
|
|
102
|
-
command.response_class = Google::Apis::AppsactivityV1::ListActivitiesResponse
|
|
103
|
-
command.query['drive.ancestorId'] = drive_ancestor_id unless drive_ancestor_id.nil?
|
|
104
|
-
command.query['drive.fileId'] = drive_file_id unless drive_file_id.nil?
|
|
105
|
-
command.query['groupingStrategy'] = grouping_strategy unless grouping_strategy.nil?
|
|
106
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
107
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
108
|
-
command.query['source'] = source unless source.nil?
|
|
109
|
-
command.query['userId'] = user_id unless user_id.nil?
|
|
110
|
-
command.query['fields'] = fields unless fields.nil?
|
|
111
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
112
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
113
|
-
execute_or_queue_command(command, &block)
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
protected
|
|
117
|
-
|
|
118
|
-
def apply_command_defaults(command)
|
|
119
|
-
command.query['key'] = key unless key.nil?
|
|
120
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
121
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
122
|
-
end
|
|
123
|
-
end
|
|
124
|
-
end
|
|
125
|
-
end
|
|
126
|
-
end
|
|
@@ -1,2094 +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 PlusV1
|
|
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
|
-
# The list of access entries.
|
|
35
|
-
# Corresponds to the JSON property `items`
|
|
36
|
-
# @return [Array<Google::Apis::PlusV1::PlusAclentryResource>]
|
|
37
|
-
attr_accessor :items
|
|
38
|
-
|
|
39
|
-
# Identifies this resource as a collection of access controls. Value: "plus#acl".
|
|
40
|
-
# Corresponds to the JSON property `kind`
|
|
41
|
-
# @return [String]
|
|
42
|
-
attr_accessor :kind
|
|
43
|
-
|
|
44
|
-
def initialize(**args)
|
|
45
|
-
update!(**args)
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
# Update properties of this object
|
|
49
|
-
def update!(**args)
|
|
50
|
-
@description = args[:description] if args.key?(:description)
|
|
51
|
-
@items = args[:items] if args.key?(:items)
|
|
52
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
#
|
|
57
|
-
class Activity
|
|
58
|
-
include Google::Apis::Core::Hashable
|
|
59
|
-
|
|
60
|
-
# Identifies who has access to see this activity.
|
|
61
|
-
# Corresponds to the JSON property `access`
|
|
62
|
-
# @return [Google::Apis::PlusV1::Acl]
|
|
63
|
-
attr_accessor :access
|
|
64
|
-
|
|
65
|
-
# The person who performed this activity.
|
|
66
|
-
# Corresponds to the JSON property `actor`
|
|
67
|
-
# @return [Google::Apis::PlusV1::Activity::Actor]
|
|
68
|
-
attr_accessor :actor
|
|
69
|
-
|
|
70
|
-
# Street address where this activity occurred.
|
|
71
|
-
# Corresponds to the JSON property `address`
|
|
72
|
-
# @return [String]
|
|
73
|
-
attr_accessor :address
|
|
74
|
-
|
|
75
|
-
# Additional content added by the person who shared this activity, applicable
|
|
76
|
-
# only when resharing an activity.
|
|
77
|
-
# Corresponds to the JSON property `annotation`
|
|
78
|
-
# @return [String]
|
|
79
|
-
attr_accessor :annotation
|
|
80
|
-
|
|
81
|
-
# If this activity is a crosspost from another system, this property specifies
|
|
82
|
-
# the ID of the original activity.
|
|
83
|
-
# Corresponds to the JSON property `crosspostSource`
|
|
84
|
-
# @return [String]
|
|
85
|
-
attr_accessor :crosspost_source
|
|
86
|
-
|
|
87
|
-
# ETag of this response for caching purposes.
|
|
88
|
-
# Corresponds to the JSON property `etag`
|
|
89
|
-
# @return [String]
|
|
90
|
-
attr_accessor :etag
|
|
91
|
-
|
|
92
|
-
# Latitude and longitude where this activity occurred. Format is latitude
|
|
93
|
-
# followed by longitude, space separated.
|
|
94
|
-
# Corresponds to the JSON property `geocode`
|
|
95
|
-
# @return [String]
|
|
96
|
-
attr_accessor :geocode
|
|
97
|
-
|
|
98
|
-
# The ID of this activity.
|
|
99
|
-
# Corresponds to the JSON property `id`
|
|
100
|
-
# @return [String]
|
|
101
|
-
attr_accessor :id
|
|
102
|
-
|
|
103
|
-
# Identifies this resource as an activity. Value: "plus#activity".
|
|
104
|
-
# Corresponds to the JSON property `kind`
|
|
105
|
-
# @return [String]
|
|
106
|
-
attr_accessor :kind
|
|
107
|
-
|
|
108
|
-
# The location where this activity occurred.
|
|
109
|
-
# Corresponds to the JSON property `location`
|
|
110
|
-
# @return [Google::Apis::PlusV1::Place]
|
|
111
|
-
attr_accessor :location
|
|
112
|
-
|
|
113
|
-
# The object of this activity.
|
|
114
|
-
# Corresponds to the JSON property `object`
|
|
115
|
-
# @return [Google::Apis::PlusV1::Activity::Object]
|
|
116
|
-
attr_accessor :object
|
|
117
|
-
|
|
118
|
-
# ID of the place where this activity occurred.
|
|
119
|
-
# Corresponds to the JSON property `placeId`
|
|
120
|
-
# @return [String]
|
|
121
|
-
attr_accessor :place_id
|
|
122
|
-
|
|
123
|
-
# Name of the place where this activity occurred.
|
|
124
|
-
# Corresponds to the JSON property `placeName`
|
|
125
|
-
# @return [String]
|
|
126
|
-
attr_accessor :place_name
|
|
127
|
-
|
|
128
|
-
# The service provider that initially published this activity.
|
|
129
|
-
# Corresponds to the JSON property `provider`
|
|
130
|
-
# @return [Google::Apis::PlusV1::Activity::Provider]
|
|
131
|
-
attr_accessor :provider
|
|
132
|
-
|
|
133
|
-
# The time at which this activity was initially published. Formatted as an RFC
|
|
134
|
-
# 3339 timestamp.
|
|
135
|
-
# Corresponds to the JSON property `published`
|
|
136
|
-
# @return [DateTime]
|
|
137
|
-
attr_accessor :published
|
|
138
|
-
|
|
139
|
-
# Radius, in meters, of the region where this activity occurred, centered at the
|
|
140
|
-
# latitude and longitude identified in geocode.
|
|
141
|
-
# Corresponds to the JSON property `radius`
|
|
142
|
-
# @return [String]
|
|
143
|
-
attr_accessor :radius
|
|
144
|
-
|
|
145
|
-
# Title of this activity.
|
|
146
|
-
# Corresponds to the JSON property `title`
|
|
147
|
-
# @return [String]
|
|
148
|
-
attr_accessor :title
|
|
149
|
-
|
|
150
|
-
# The time at which this activity was last updated. Formatted as an RFC 3339
|
|
151
|
-
# timestamp.
|
|
152
|
-
# Corresponds to the JSON property `updated`
|
|
153
|
-
# @return [DateTime]
|
|
154
|
-
attr_accessor :updated
|
|
155
|
-
|
|
156
|
-
# The link to this activity.
|
|
157
|
-
# Corresponds to the JSON property `url`
|
|
158
|
-
# @return [String]
|
|
159
|
-
attr_accessor :url
|
|
160
|
-
|
|
161
|
-
# This activity's verb, which indicates the action that was performed. Possible
|
|
162
|
-
# values include, but are not limited to, the following values:
|
|
163
|
-
# - "post" - Publish content to the stream.
|
|
164
|
-
# - "share" - Reshare an activity.
|
|
165
|
-
# Corresponds to the JSON property `verb`
|
|
166
|
-
# @return [String]
|
|
167
|
-
attr_accessor :verb
|
|
168
|
-
|
|
169
|
-
def initialize(**args)
|
|
170
|
-
update!(**args)
|
|
171
|
-
end
|
|
172
|
-
|
|
173
|
-
# Update properties of this object
|
|
174
|
-
def update!(**args)
|
|
175
|
-
@access = args[:access] if args.key?(:access)
|
|
176
|
-
@actor = args[:actor] if args.key?(:actor)
|
|
177
|
-
@address = args[:address] if args.key?(:address)
|
|
178
|
-
@annotation = args[:annotation] if args.key?(:annotation)
|
|
179
|
-
@crosspost_source = args[:crosspost_source] if args.key?(:crosspost_source)
|
|
180
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
181
|
-
@geocode = args[:geocode] if args.key?(:geocode)
|
|
182
|
-
@id = args[:id] if args.key?(:id)
|
|
183
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
184
|
-
@location = args[:location] if args.key?(:location)
|
|
185
|
-
@object = args[:object] if args.key?(:object)
|
|
186
|
-
@place_id = args[:place_id] if args.key?(:place_id)
|
|
187
|
-
@place_name = args[:place_name] if args.key?(:place_name)
|
|
188
|
-
@provider = args[:provider] if args.key?(:provider)
|
|
189
|
-
@published = args[:published] if args.key?(:published)
|
|
190
|
-
@radius = args[:radius] if args.key?(:radius)
|
|
191
|
-
@title = args[:title] if args.key?(:title)
|
|
192
|
-
@updated = args[:updated] if args.key?(:updated)
|
|
193
|
-
@url = args[:url] if args.key?(:url)
|
|
194
|
-
@verb = args[:verb] if args.key?(:verb)
|
|
195
|
-
end
|
|
196
|
-
|
|
197
|
-
# The person who performed this activity.
|
|
198
|
-
class Actor
|
|
199
|
-
include Google::Apis::Core::Hashable
|
|
200
|
-
|
|
201
|
-
# Actor info specific to particular clients.
|
|
202
|
-
# Corresponds to the JSON property `clientSpecificActorInfo`
|
|
203
|
-
# @return [Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo]
|
|
204
|
-
attr_accessor :client_specific_actor_info
|
|
205
|
-
|
|
206
|
-
# The name of the actor, suitable for display.
|
|
207
|
-
# Corresponds to the JSON property `displayName`
|
|
208
|
-
# @return [String]
|
|
209
|
-
attr_accessor :display_name
|
|
210
|
-
|
|
211
|
-
# The ID of the actor's Person resource.
|
|
212
|
-
# Corresponds to the JSON property `id`
|
|
213
|
-
# @return [String]
|
|
214
|
-
attr_accessor :id
|
|
215
|
-
|
|
216
|
-
# The image representation of the actor.
|
|
217
|
-
# Corresponds to the JSON property `image`
|
|
218
|
-
# @return [Google::Apis::PlusV1::Activity::Actor::Image]
|
|
219
|
-
attr_accessor :image
|
|
220
|
-
|
|
221
|
-
# An object representation of the individual components of name.
|
|
222
|
-
# Corresponds to the JSON property `name`
|
|
223
|
-
# @return [Google::Apis::PlusV1::Activity::Actor::Name]
|
|
224
|
-
attr_accessor :name
|
|
225
|
-
|
|
226
|
-
# The link to the actor's Google profile.
|
|
227
|
-
# Corresponds to the JSON property `url`
|
|
228
|
-
# @return [String]
|
|
229
|
-
attr_accessor :url
|
|
230
|
-
|
|
231
|
-
# Verification status of actor.
|
|
232
|
-
# Corresponds to the JSON property `verification`
|
|
233
|
-
# @return [Google::Apis::PlusV1::Activity::Actor::Verification]
|
|
234
|
-
attr_accessor :verification
|
|
235
|
-
|
|
236
|
-
def initialize(**args)
|
|
237
|
-
update!(**args)
|
|
238
|
-
end
|
|
239
|
-
|
|
240
|
-
# Update properties of this object
|
|
241
|
-
def update!(**args)
|
|
242
|
-
@client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
|
|
243
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
244
|
-
@id = args[:id] if args.key?(:id)
|
|
245
|
-
@image = args[:image] if args.key?(:image)
|
|
246
|
-
@name = args[:name] if args.key?(:name)
|
|
247
|
-
@url = args[:url] if args.key?(:url)
|
|
248
|
-
@verification = args[:verification] if args.key?(:verification)
|
|
249
|
-
end
|
|
250
|
-
|
|
251
|
-
# Actor info specific to particular clients.
|
|
252
|
-
class ClientSpecificActorInfo
|
|
253
|
-
include Google::Apis::Core::Hashable
|
|
254
|
-
|
|
255
|
-
# Actor info specific to YouTube clients.
|
|
256
|
-
# Corresponds to the JSON property `youtubeActorInfo`
|
|
257
|
-
# @return [Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
|
|
258
|
-
attr_accessor :youtube_actor_info
|
|
259
|
-
|
|
260
|
-
def initialize(**args)
|
|
261
|
-
update!(**args)
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
# Update properties of this object
|
|
265
|
-
def update!(**args)
|
|
266
|
-
@youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
|
|
267
|
-
end
|
|
268
|
-
|
|
269
|
-
# Actor info specific to YouTube clients.
|
|
270
|
-
class YoutubeActorInfo
|
|
271
|
-
include Google::Apis::Core::Hashable
|
|
272
|
-
|
|
273
|
-
# ID of the YouTube channel owned by the Actor.
|
|
274
|
-
# Corresponds to the JSON property `channelId`
|
|
275
|
-
# @return [String]
|
|
276
|
-
attr_accessor :channel_id
|
|
277
|
-
|
|
278
|
-
def initialize(**args)
|
|
279
|
-
update!(**args)
|
|
280
|
-
end
|
|
281
|
-
|
|
282
|
-
# Update properties of this object
|
|
283
|
-
def update!(**args)
|
|
284
|
-
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
285
|
-
end
|
|
286
|
-
end
|
|
287
|
-
end
|
|
288
|
-
|
|
289
|
-
# The image representation of the actor.
|
|
290
|
-
class Image
|
|
291
|
-
include Google::Apis::Core::Hashable
|
|
292
|
-
|
|
293
|
-
# The URL of the actor's profile photo. To resize the image and crop it to a
|
|
294
|
-
# square, append the query string ?sz=x, where x is the dimension in pixels of
|
|
295
|
-
# each side.
|
|
296
|
-
# Corresponds to the JSON property `url`
|
|
297
|
-
# @return [String]
|
|
298
|
-
attr_accessor :url
|
|
299
|
-
|
|
300
|
-
def initialize(**args)
|
|
301
|
-
update!(**args)
|
|
302
|
-
end
|
|
303
|
-
|
|
304
|
-
# Update properties of this object
|
|
305
|
-
def update!(**args)
|
|
306
|
-
@url = args[:url] if args.key?(:url)
|
|
307
|
-
end
|
|
308
|
-
end
|
|
309
|
-
|
|
310
|
-
# An object representation of the individual components of name.
|
|
311
|
-
class Name
|
|
312
|
-
include Google::Apis::Core::Hashable
|
|
313
|
-
|
|
314
|
-
# The family name ("last name") of the actor.
|
|
315
|
-
# Corresponds to the JSON property `familyName`
|
|
316
|
-
# @return [String]
|
|
317
|
-
attr_accessor :family_name
|
|
318
|
-
|
|
319
|
-
# The given name ("first name") of the actor.
|
|
320
|
-
# Corresponds to the JSON property `givenName`
|
|
321
|
-
# @return [String]
|
|
322
|
-
attr_accessor :given_name
|
|
323
|
-
|
|
324
|
-
def initialize(**args)
|
|
325
|
-
update!(**args)
|
|
326
|
-
end
|
|
327
|
-
|
|
328
|
-
# Update properties of this object
|
|
329
|
-
def update!(**args)
|
|
330
|
-
@family_name = args[:family_name] if args.key?(:family_name)
|
|
331
|
-
@given_name = args[:given_name] if args.key?(:given_name)
|
|
332
|
-
end
|
|
333
|
-
end
|
|
334
|
-
|
|
335
|
-
# Verification status of actor.
|
|
336
|
-
class Verification
|
|
337
|
-
include Google::Apis::Core::Hashable
|
|
338
|
-
|
|
339
|
-
# Verification for one-time or manual processes.
|
|
340
|
-
# Corresponds to the JSON property `adHocVerified`
|
|
341
|
-
# @return [String]
|
|
342
|
-
attr_accessor :ad_hoc_verified
|
|
343
|
-
|
|
344
|
-
def initialize(**args)
|
|
345
|
-
update!(**args)
|
|
346
|
-
end
|
|
347
|
-
|
|
348
|
-
# Update properties of this object
|
|
349
|
-
def update!(**args)
|
|
350
|
-
@ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
|
|
351
|
-
end
|
|
352
|
-
end
|
|
353
|
-
end
|
|
354
|
-
|
|
355
|
-
# The object of this activity.
|
|
356
|
-
class Object
|
|
357
|
-
include Google::Apis::Core::Hashable
|
|
358
|
-
|
|
359
|
-
# If this activity's object is itself another activity, such as when a person
|
|
360
|
-
# reshares an activity, this property specifies the original activity's actor.
|
|
361
|
-
# Corresponds to the JSON property `actor`
|
|
362
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Actor]
|
|
363
|
-
attr_accessor :actor
|
|
364
|
-
|
|
365
|
-
# The media objects attached to this activity.
|
|
366
|
-
# Corresponds to the JSON property `attachments`
|
|
367
|
-
# @return [Array<Google::Apis::PlusV1::Activity::Object::Attachment>]
|
|
368
|
-
attr_accessor :attachments
|
|
369
|
-
|
|
370
|
-
# The HTML-formatted content, which is suitable for display.
|
|
371
|
-
# Corresponds to the JSON property `content`
|
|
372
|
-
# @return [String]
|
|
373
|
-
attr_accessor :content
|
|
374
|
-
|
|
375
|
-
# The ID of the object. When resharing an activity, this is the ID of the
|
|
376
|
-
# activity that is being reshared.
|
|
377
|
-
# Corresponds to the JSON property `id`
|
|
378
|
-
# @return [String]
|
|
379
|
-
attr_accessor :id
|
|
380
|
-
|
|
381
|
-
# The type of the object. Possible values include, but are not limited to, the
|
|
382
|
-
# following values:
|
|
383
|
-
# - "note" - Textual content.
|
|
384
|
-
# - "activity" - A Google+ activity.
|
|
385
|
-
# Corresponds to the JSON property `objectType`
|
|
386
|
-
# @return [String]
|
|
387
|
-
attr_accessor :object_type
|
|
388
|
-
|
|
389
|
-
# The content (text) as provided by the author, which is stored without any HTML
|
|
390
|
-
# formatting. When creating or updating an activity, this value must be supplied
|
|
391
|
-
# as plain text in the request.
|
|
392
|
-
# Corresponds to the JSON property `originalContent`
|
|
393
|
-
# @return [String]
|
|
394
|
-
attr_accessor :original_content
|
|
395
|
-
|
|
396
|
-
# People who +1'd this activity.
|
|
397
|
-
# Corresponds to the JSON property `plusoners`
|
|
398
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Plusoners]
|
|
399
|
-
attr_accessor :plusoners
|
|
400
|
-
|
|
401
|
-
# Comments in reply to this activity.
|
|
402
|
-
# Corresponds to the JSON property `replies`
|
|
403
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Replies]
|
|
404
|
-
attr_accessor :replies
|
|
405
|
-
|
|
406
|
-
# People who reshared this activity.
|
|
407
|
-
# Corresponds to the JSON property `resharers`
|
|
408
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Resharers]
|
|
409
|
-
attr_accessor :resharers
|
|
410
|
-
|
|
411
|
-
# The URL that points to the linked resource.
|
|
412
|
-
# Corresponds to the JSON property `url`
|
|
413
|
-
# @return [String]
|
|
414
|
-
attr_accessor :url
|
|
415
|
-
|
|
416
|
-
def initialize(**args)
|
|
417
|
-
update!(**args)
|
|
418
|
-
end
|
|
419
|
-
|
|
420
|
-
# Update properties of this object
|
|
421
|
-
def update!(**args)
|
|
422
|
-
@actor = args[:actor] if args.key?(:actor)
|
|
423
|
-
@attachments = args[:attachments] if args.key?(:attachments)
|
|
424
|
-
@content = args[:content] if args.key?(:content)
|
|
425
|
-
@id = args[:id] if args.key?(:id)
|
|
426
|
-
@object_type = args[:object_type] if args.key?(:object_type)
|
|
427
|
-
@original_content = args[:original_content] if args.key?(:original_content)
|
|
428
|
-
@plusoners = args[:plusoners] if args.key?(:plusoners)
|
|
429
|
-
@replies = args[:replies] if args.key?(:replies)
|
|
430
|
-
@resharers = args[:resharers] if args.key?(:resharers)
|
|
431
|
-
@url = args[:url] if args.key?(:url)
|
|
432
|
-
end
|
|
433
|
-
|
|
434
|
-
# If this activity's object is itself another activity, such as when a person
|
|
435
|
-
# reshares an activity, this property specifies the original activity's actor.
|
|
436
|
-
class Actor
|
|
437
|
-
include Google::Apis::Core::Hashable
|
|
438
|
-
|
|
439
|
-
# Actor info specific to particular clients.
|
|
440
|
-
# Corresponds to the JSON property `clientSpecificActorInfo`
|
|
441
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo]
|
|
442
|
-
attr_accessor :client_specific_actor_info
|
|
443
|
-
|
|
444
|
-
# The original actor's name, which is suitable for display.
|
|
445
|
-
# Corresponds to the JSON property `displayName`
|
|
446
|
-
# @return [String]
|
|
447
|
-
attr_accessor :display_name
|
|
448
|
-
|
|
449
|
-
# ID of the original actor.
|
|
450
|
-
# Corresponds to the JSON property `id`
|
|
451
|
-
# @return [String]
|
|
452
|
-
attr_accessor :id
|
|
453
|
-
|
|
454
|
-
# The image representation of the original actor.
|
|
455
|
-
# Corresponds to the JSON property `image`
|
|
456
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Actor::Image]
|
|
457
|
-
attr_accessor :image
|
|
458
|
-
|
|
459
|
-
# A link to the original actor's Google profile.
|
|
460
|
-
# Corresponds to the JSON property `url`
|
|
461
|
-
# @return [String]
|
|
462
|
-
attr_accessor :url
|
|
463
|
-
|
|
464
|
-
# Verification status of actor.
|
|
465
|
-
# Corresponds to the JSON property `verification`
|
|
466
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Actor::Verification]
|
|
467
|
-
attr_accessor :verification
|
|
468
|
-
|
|
469
|
-
def initialize(**args)
|
|
470
|
-
update!(**args)
|
|
471
|
-
end
|
|
472
|
-
|
|
473
|
-
# Update properties of this object
|
|
474
|
-
def update!(**args)
|
|
475
|
-
@client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
|
|
476
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
477
|
-
@id = args[:id] if args.key?(:id)
|
|
478
|
-
@image = args[:image] if args.key?(:image)
|
|
479
|
-
@url = args[:url] if args.key?(:url)
|
|
480
|
-
@verification = args[:verification] if args.key?(:verification)
|
|
481
|
-
end
|
|
482
|
-
|
|
483
|
-
# Actor info specific to particular clients.
|
|
484
|
-
class ClientSpecificActorInfo
|
|
485
|
-
include Google::Apis::Core::Hashable
|
|
486
|
-
|
|
487
|
-
# Actor info specific to YouTube clients.
|
|
488
|
-
# Corresponds to the JSON property `youtubeActorInfo`
|
|
489
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
|
|
490
|
-
attr_accessor :youtube_actor_info
|
|
491
|
-
|
|
492
|
-
def initialize(**args)
|
|
493
|
-
update!(**args)
|
|
494
|
-
end
|
|
495
|
-
|
|
496
|
-
# Update properties of this object
|
|
497
|
-
def update!(**args)
|
|
498
|
-
@youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
|
|
499
|
-
end
|
|
500
|
-
|
|
501
|
-
# Actor info specific to YouTube clients.
|
|
502
|
-
class YoutubeActorInfo
|
|
503
|
-
include Google::Apis::Core::Hashable
|
|
504
|
-
|
|
505
|
-
# ID of the YouTube channel owned by the Actor.
|
|
506
|
-
# Corresponds to the JSON property `channelId`
|
|
507
|
-
# @return [String]
|
|
508
|
-
attr_accessor :channel_id
|
|
509
|
-
|
|
510
|
-
def initialize(**args)
|
|
511
|
-
update!(**args)
|
|
512
|
-
end
|
|
513
|
-
|
|
514
|
-
# Update properties of this object
|
|
515
|
-
def update!(**args)
|
|
516
|
-
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
517
|
-
end
|
|
518
|
-
end
|
|
519
|
-
end
|
|
520
|
-
|
|
521
|
-
# The image representation of the original actor.
|
|
522
|
-
class Image
|
|
523
|
-
include Google::Apis::Core::Hashable
|
|
524
|
-
|
|
525
|
-
# A URL that points to a thumbnail photo of the original actor.
|
|
526
|
-
# Corresponds to the JSON property `url`
|
|
527
|
-
# @return [String]
|
|
528
|
-
attr_accessor :url
|
|
529
|
-
|
|
530
|
-
def initialize(**args)
|
|
531
|
-
update!(**args)
|
|
532
|
-
end
|
|
533
|
-
|
|
534
|
-
# Update properties of this object
|
|
535
|
-
def update!(**args)
|
|
536
|
-
@url = args[:url] if args.key?(:url)
|
|
537
|
-
end
|
|
538
|
-
end
|
|
539
|
-
|
|
540
|
-
# Verification status of actor.
|
|
541
|
-
class Verification
|
|
542
|
-
include Google::Apis::Core::Hashable
|
|
543
|
-
|
|
544
|
-
# Verification for one-time or manual processes.
|
|
545
|
-
# Corresponds to the JSON property `adHocVerified`
|
|
546
|
-
# @return [String]
|
|
547
|
-
attr_accessor :ad_hoc_verified
|
|
548
|
-
|
|
549
|
-
def initialize(**args)
|
|
550
|
-
update!(**args)
|
|
551
|
-
end
|
|
552
|
-
|
|
553
|
-
# Update properties of this object
|
|
554
|
-
def update!(**args)
|
|
555
|
-
@ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
|
|
556
|
-
end
|
|
557
|
-
end
|
|
558
|
-
end
|
|
559
|
-
|
|
560
|
-
#
|
|
561
|
-
class Attachment
|
|
562
|
-
include Google::Apis::Core::Hashable
|
|
563
|
-
|
|
564
|
-
# If the attachment is an article, this property contains a snippet of text from
|
|
565
|
-
# the article. It can also include descriptions for other types.
|
|
566
|
-
# Corresponds to the JSON property `content`
|
|
567
|
-
# @return [String]
|
|
568
|
-
attr_accessor :content
|
|
569
|
-
|
|
570
|
-
# The title of the attachment, such as a photo caption or an article title.
|
|
571
|
-
# Corresponds to the JSON property `displayName`
|
|
572
|
-
# @return [String]
|
|
573
|
-
attr_accessor :display_name
|
|
574
|
-
|
|
575
|
-
# If the attachment is a video, the embeddable link.
|
|
576
|
-
# Corresponds to the JSON property `embed`
|
|
577
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Attachment::Embed]
|
|
578
|
-
attr_accessor :embed
|
|
579
|
-
|
|
580
|
-
# The full image URL for photo attachments.
|
|
581
|
-
# Corresponds to the JSON property `fullImage`
|
|
582
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Attachment::FullImage]
|
|
583
|
-
attr_accessor :full_image
|
|
584
|
-
|
|
585
|
-
# The ID of the attachment.
|
|
586
|
-
# Corresponds to the JSON property `id`
|
|
587
|
-
# @return [String]
|
|
588
|
-
attr_accessor :id
|
|
589
|
-
|
|
590
|
-
# The preview image for photos or videos.
|
|
591
|
-
# Corresponds to the JSON property `image`
|
|
592
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Attachment::Image]
|
|
593
|
-
attr_accessor :image
|
|
594
|
-
|
|
595
|
-
# The type of media object. Possible values include, but are not limited to, the
|
|
596
|
-
# following values:
|
|
597
|
-
# - "photo" - A photo.
|
|
598
|
-
# - "album" - A photo album.
|
|
599
|
-
# - "video" - A video.
|
|
600
|
-
# - "article" - An article, specified by a link.
|
|
601
|
-
# Corresponds to the JSON property `objectType`
|
|
602
|
-
# @return [String]
|
|
603
|
-
attr_accessor :object_type
|
|
604
|
-
|
|
605
|
-
# If the attachment is an album, this property is a list of potential additional
|
|
606
|
-
# thumbnails from the album.
|
|
607
|
-
# Corresponds to the JSON property `thumbnails`
|
|
608
|
-
# @return [Array<Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail>]
|
|
609
|
-
attr_accessor :thumbnails
|
|
610
|
-
|
|
611
|
-
# The link to the attachment, which should be of type text/html.
|
|
612
|
-
# Corresponds to the JSON property `url`
|
|
613
|
-
# @return [String]
|
|
614
|
-
attr_accessor :url
|
|
615
|
-
|
|
616
|
-
def initialize(**args)
|
|
617
|
-
update!(**args)
|
|
618
|
-
end
|
|
619
|
-
|
|
620
|
-
# Update properties of this object
|
|
621
|
-
def update!(**args)
|
|
622
|
-
@content = args[:content] if args.key?(:content)
|
|
623
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
624
|
-
@embed = args[:embed] if args.key?(:embed)
|
|
625
|
-
@full_image = args[:full_image] if args.key?(:full_image)
|
|
626
|
-
@id = args[:id] if args.key?(:id)
|
|
627
|
-
@image = args[:image] if args.key?(:image)
|
|
628
|
-
@object_type = args[:object_type] if args.key?(:object_type)
|
|
629
|
-
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
|
630
|
-
@url = args[:url] if args.key?(:url)
|
|
631
|
-
end
|
|
632
|
-
|
|
633
|
-
# If the attachment is a video, the embeddable link.
|
|
634
|
-
class Embed
|
|
635
|
-
include Google::Apis::Core::Hashable
|
|
636
|
-
|
|
637
|
-
# Media type of the link.
|
|
638
|
-
# Corresponds to the JSON property `type`
|
|
639
|
-
# @return [String]
|
|
640
|
-
attr_accessor :type
|
|
641
|
-
|
|
642
|
-
# URL of the link.
|
|
643
|
-
# Corresponds to the JSON property `url`
|
|
644
|
-
# @return [String]
|
|
645
|
-
attr_accessor :url
|
|
646
|
-
|
|
647
|
-
def initialize(**args)
|
|
648
|
-
update!(**args)
|
|
649
|
-
end
|
|
650
|
-
|
|
651
|
-
# Update properties of this object
|
|
652
|
-
def update!(**args)
|
|
653
|
-
@type = args[:type] if args.key?(:type)
|
|
654
|
-
@url = args[:url] if args.key?(:url)
|
|
655
|
-
end
|
|
656
|
-
end
|
|
657
|
-
|
|
658
|
-
# The full image URL for photo attachments.
|
|
659
|
-
class FullImage
|
|
660
|
-
include Google::Apis::Core::Hashable
|
|
661
|
-
|
|
662
|
-
# The height, in pixels, of the linked resource.
|
|
663
|
-
# Corresponds to the JSON property `height`
|
|
664
|
-
# @return [Fixnum]
|
|
665
|
-
attr_accessor :height
|
|
666
|
-
|
|
667
|
-
# Media type of the link.
|
|
668
|
-
# Corresponds to the JSON property `type`
|
|
669
|
-
# @return [String]
|
|
670
|
-
attr_accessor :type
|
|
671
|
-
|
|
672
|
-
# URL of the image.
|
|
673
|
-
# Corresponds to the JSON property `url`
|
|
674
|
-
# @return [String]
|
|
675
|
-
attr_accessor :url
|
|
676
|
-
|
|
677
|
-
# The width, in pixels, of the linked resource.
|
|
678
|
-
# Corresponds to the JSON property `width`
|
|
679
|
-
# @return [Fixnum]
|
|
680
|
-
attr_accessor :width
|
|
681
|
-
|
|
682
|
-
def initialize(**args)
|
|
683
|
-
update!(**args)
|
|
684
|
-
end
|
|
685
|
-
|
|
686
|
-
# Update properties of this object
|
|
687
|
-
def update!(**args)
|
|
688
|
-
@height = args[:height] if args.key?(:height)
|
|
689
|
-
@type = args[:type] if args.key?(:type)
|
|
690
|
-
@url = args[:url] if args.key?(:url)
|
|
691
|
-
@width = args[:width] if args.key?(:width)
|
|
692
|
-
end
|
|
693
|
-
end
|
|
694
|
-
|
|
695
|
-
# The preview image for photos or videos.
|
|
696
|
-
class Image
|
|
697
|
-
include Google::Apis::Core::Hashable
|
|
698
|
-
|
|
699
|
-
# The height, in pixels, of the linked resource.
|
|
700
|
-
# Corresponds to the JSON property `height`
|
|
701
|
-
# @return [Fixnum]
|
|
702
|
-
attr_accessor :height
|
|
703
|
-
|
|
704
|
-
# Media type of the link.
|
|
705
|
-
# Corresponds to the JSON property `type`
|
|
706
|
-
# @return [String]
|
|
707
|
-
attr_accessor :type
|
|
708
|
-
|
|
709
|
-
# Image URL.
|
|
710
|
-
# Corresponds to the JSON property `url`
|
|
711
|
-
# @return [String]
|
|
712
|
-
attr_accessor :url
|
|
713
|
-
|
|
714
|
-
# The width, in pixels, of the linked resource.
|
|
715
|
-
# Corresponds to the JSON property `width`
|
|
716
|
-
# @return [Fixnum]
|
|
717
|
-
attr_accessor :width
|
|
718
|
-
|
|
719
|
-
def initialize(**args)
|
|
720
|
-
update!(**args)
|
|
721
|
-
end
|
|
722
|
-
|
|
723
|
-
# Update properties of this object
|
|
724
|
-
def update!(**args)
|
|
725
|
-
@height = args[:height] if args.key?(:height)
|
|
726
|
-
@type = args[:type] if args.key?(:type)
|
|
727
|
-
@url = args[:url] if args.key?(:url)
|
|
728
|
-
@width = args[:width] if args.key?(:width)
|
|
729
|
-
end
|
|
730
|
-
end
|
|
731
|
-
|
|
732
|
-
#
|
|
733
|
-
class Thumbnail
|
|
734
|
-
include Google::Apis::Core::Hashable
|
|
735
|
-
|
|
736
|
-
# Potential name of the thumbnail.
|
|
737
|
-
# Corresponds to the JSON property `description`
|
|
738
|
-
# @return [String]
|
|
739
|
-
attr_accessor :description
|
|
740
|
-
|
|
741
|
-
# Image resource.
|
|
742
|
-
# Corresponds to the JSON property `image`
|
|
743
|
-
# @return [Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Image]
|
|
744
|
-
attr_accessor :image
|
|
745
|
-
|
|
746
|
-
# URL of the webpage containing the image.
|
|
747
|
-
# Corresponds to the JSON property `url`
|
|
748
|
-
# @return [String]
|
|
749
|
-
attr_accessor :url
|
|
750
|
-
|
|
751
|
-
def initialize(**args)
|
|
752
|
-
update!(**args)
|
|
753
|
-
end
|
|
754
|
-
|
|
755
|
-
# Update properties of this object
|
|
756
|
-
def update!(**args)
|
|
757
|
-
@description = args[:description] if args.key?(:description)
|
|
758
|
-
@image = args[:image] if args.key?(:image)
|
|
759
|
-
@url = args[:url] if args.key?(:url)
|
|
760
|
-
end
|
|
761
|
-
|
|
762
|
-
# Image resource.
|
|
763
|
-
class Image
|
|
764
|
-
include Google::Apis::Core::Hashable
|
|
765
|
-
|
|
766
|
-
# The height, in pixels, of the linked resource.
|
|
767
|
-
# Corresponds to the JSON property `height`
|
|
768
|
-
# @return [Fixnum]
|
|
769
|
-
attr_accessor :height
|
|
770
|
-
|
|
771
|
-
# Media type of the link.
|
|
772
|
-
# Corresponds to the JSON property `type`
|
|
773
|
-
# @return [String]
|
|
774
|
-
attr_accessor :type
|
|
775
|
-
|
|
776
|
-
# Image url.
|
|
777
|
-
# Corresponds to the JSON property `url`
|
|
778
|
-
# @return [String]
|
|
779
|
-
attr_accessor :url
|
|
780
|
-
|
|
781
|
-
# The width, in pixels, of the linked resource.
|
|
782
|
-
# Corresponds to the JSON property `width`
|
|
783
|
-
# @return [Fixnum]
|
|
784
|
-
attr_accessor :width
|
|
785
|
-
|
|
786
|
-
def initialize(**args)
|
|
787
|
-
update!(**args)
|
|
788
|
-
end
|
|
789
|
-
|
|
790
|
-
# Update properties of this object
|
|
791
|
-
def update!(**args)
|
|
792
|
-
@height = args[:height] if args.key?(:height)
|
|
793
|
-
@type = args[:type] if args.key?(:type)
|
|
794
|
-
@url = args[:url] if args.key?(:url)
|
|
795
|
-
@width = args[:width] if args.key?(:width)
|
|
796
|
-
end
|
|
797
|
-
end
|
|
798
|
-
end
|
|
799
|
-
end
|
|
800
|
-
|
|
801
|
-
# People who +1'd this activity.
|
|
802
|
-
class Plusoners
|
|
803
|
-
include Google::Apis::Core::Hashable
|
|
804
|
-
|
|
805
|
-
# The URL for the collection of people who +1'd this activity.
|
|
806
|
-
# Corresponds to the JSON property `selfLink`
|
|
807
|
-
# @return [String]
|
|
808
|
-
attr_accessor :self_link
|
|
809
|
-
|
|
810
|
-
# Total number of people who +1'd this activity.
|
|
811
|
-
# Corresponds to the JSON property `totalItems`
|
|
812
|
-
# @return [Fixnum]
|
|
813
|
-
attr_accessor :total_items
|
|
814
|
-
|
|
815
|
-
def initialize(**args)
|
|
816
|
-
update!(**args)
|
|
817
|
-
end
|
|
818
|
-
|
|
819
|
-
# Update properties of this object
|
|
820
|
-
def update!(**args)
|
|
821
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
|
822
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
|
823
|
-
end
|
|
824
|
-
end
|
|
825
|
-
|
|
826
|
-
# Comments in reply to this activity.
|
|
827
|
-
class Replies
|
|
828
|
-
include Google::Apis::Core::Hashable
|
|
829
|
-
|
|
830
|
-
# The URL for the collection of comments in reply to this activity.
|
|
831
|
-
# Corresponds to the JSON property `selfLink`
|
|
832
|
-
# @return [String]
|
|
833
|
-
attr_accessor :self_link
|
|
834
|
-
|
|
835
|
-
# Total number of comments on this activity.
|
|
836
|
-
# Corresponds to the JSON property `totalItems`
|
|
837
|
-
# @return [Fixnum]
|
|
838
|
-
attr_accessor :total_items
|
|
839
|
-
|
|
840
|
-
def initialize(**args)
|
|
841
|
-
update!(**args)
|
|
842
|
-
end
|
|
843
|
-
|
|
844
|
-
# Update properties of this object
|
|
845
|
-
def update!(**args)
|
|
846
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
|
847
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
|
848
|
-
end
|
|
849
|
-
end
|
|
850
|
-
|
|
851
|
-
# People who reshared this activity.
|
|
852
|
-
class Resharers
|
|
853
|
-
include Google::Apis::Core::Hashable
|
|
854
|
-
|
|
855
|
-
# The URL for the collection of resharers.
|
|
856
|
-
# Corresponds to the JSON property `selfLink`
|
|
857
|
-
# @return [String]
|
|
858
|
-
attr_accessor :self_link
|
|
859
|
-
|
|
860
|
-
# Total number of people who reshared this activity.
|
|
861
|
-
# Corresponds to the JSON property `totalItems`
|
|
862
|
-
# @return [Fixnum]
|
|
863
|
-
attr_accessor :total_items
|
|
864
|
-
|
|
865
|
-
def initialize(**args)
|
|
866
|
-
update!(**args)
|
|
867
|
-
end
|
|
868
|
-
|
|
869
|
-
# Update properties of this object
|
|
870
|
-
def update!(**args)
|
|
871
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
|
872
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
|
873
|
-
end
|
|
874
|
-
end
|
|
875
|
-
end
|
|
876
|
-
|
|
877
|
-
# The service provider that initially published this activity.
|
|
878
|
-
class Provider
|
|
879
|
-
include Google::Apis::Core::Hashable
|
|
880
|
-
|
|
881
|
-
# Name of the service provider.
|
|
882
|
-
# Corresponds to the JSON property `title`
|
|
883
|
-
# @return [String]
|
|
884
|
-
attr_accessor :title
|
|
885
|
-
|
|
886
|
-
def initialize(**args)
|
|
887
|
-
update!(**args)
|
|
888
|
-
end
|
|
889
|
-
|
|
890
|
-
# Update properties of this object
|
|
891
|
-
def update!(**args)
|
|
892
|
-
@title = args[:title] if args.key?(:title)
|
|
893
|
-
end
|
|
894
|
-
end
|
|
895
|
-
end
|
|
896
|
-
|
|
897
|
-
#
|
|
898
|
-
class ActivityFeed
|
|
899
|
-
include Google::Apis::Core::Hashable
|
|
900
|
-
|
|
901
|
-
# ETag of this response for caching purposes.
|
|
902
|
-
# Corresponds to the JSON property `etag`
|
|
903
|
-
# @return [String]
|
|
904
|
-
attr_accessor :etag
|
|
905
|
-
|
|
906
|
-
# The ID of this collection of activities. Deprecated.
|
|
907
|
-
# Corresponds to the JSON property `id`
|
|
908
|
-
# @return [String]
|
|
909
|
-
attr_accessor :id
|
|
910
|
-
|
|
911
|
-
# The activities in this page of results.
|
|
912
|
-
# Corresponds to the JSON property `items`
|
|
913
|
-
# @return [Array<Google::Apis::PlusV1::Activity>]
|
|
914
|
-
attr_accessor :items
|
|
915
|
-
|
|
916
|
-
# Identifies this resource as a collection of activities. Value: "plus#
|
|
917
|
-
# activityFeed".
|
|
918
|
-
# Corresponds to the JSON property `kind`
|
|
919
|
-
# @return [String]
|
|
920
|
-
attr_accessor :kind
|
|
921
|
-
|
|
922
|
-
# Link to the next page of activities.
|
|
923
|
-
# Corresponds to the JSON property `nextLink`
|
|
924
|
-
# @return [String]
|
|
925
|
-
attr_accessor :next_link
|
|
926
|
-
|
|
927
|
-
# The continuation token, which is used to page through large result sets.
|
|
928
|
-
# Provide this value in a subsequent request to return the next page of results.
|
|
929
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
930
|
-
# @return [String]
|
|
931
|
-
attr_accessor :next_page_token
|
|
932
|
-
|
|
933
|
-
# Link to this activity resource.
|
|
934
|
-
# Corresponds to the JSON property `selfLink`
|
|
935
|
-
# @return [String]
|
|
936
|
-
attr_accessor :self_link
|
|
937
|
-
|
|
938
|
-
# The title of this collection of activities, which is a truncated portion of
|
|
939
|
-
# the content.
|
|
940
|
-
# Corresponds to the JSON property `title`
|
|
941
|
-
# @return [String]
|
|
942
|
-
attr_accessor :title
|
|
943
|
-
|
|
944
|
-
# The time at which this collection of activities was last updated. Formatted as
|
|
945
|
-
# an RFC 3339 timestamp.
|
|
946
|
-
# Corresponds to the JSON property `updated`
|
|
947
|
-
# @return [DateTime]
|
|
948
|
-
attr_accessor :updated
|
|
949
|
-
|
|
950
|
-
def initialize(**args)
|
|
951
|
-
update!(**args)
|
|
952
|
-
end
|
|
953
|
-
|
|
954
|
-
# Update properties of this object
|
|
955
|
-
def update!(**args)
|
|
956
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
957
|
-
@id = args[:id] if args.key?(:id)
|
|
958
|
-
@items = args[:items] if args.key?(:items)
|
|
959
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
960
|
-
@next_link = args[:next_link] if args.key?(:next_link)
|
|
961
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
962
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
|
963
|
-
@title = args[:title] if args.key?(:title)
|
|
964
|
-
@updated = args[:updated] if args.key?(:updated)
|
|
965
|
-
end
|
|
966
|
-
end
|
|
967
|
-
|
|
968
|
-
#
|
|
969
|
-
class Comment
|
|
970
|
-
include Google::Apis::Core::Hashable
|
|
971
|
-
|
|
972
|
-
# The person who posted this comment.
|
|
973
|
-
# Corresponds to the JSON property `actor`
|
|
974
|
-
# @return [Google::Apis::PlusV1::Comment::Actor]
|
|
975
|
-
attr_accessor :actor
|
|
976
|
-
|
|
977
|
-
# ETag of this response for caching purposes.
|
|
978
|
-
# Corresponds to the JSON property `etag`
|
|
979
|
-
# @return [String]
|
|
980
|
-
attr_accessor :etag
|
|
981
|
-
|
|
982
|
-
# The ID of this comment.
|
|
983
|
-
# Corresponds to the JSON property `id`
|
|
984
|
-
# @return [String]
|
|
985
|
-
attr_accessor :id
|
|
986
|
-
|
|
987
|
-
# The activity this comment replied to.
|
|
988
|
-
# Corresponds to the JSON property `inReplyTo`
|
|
989
|
-
# @return [Array<Google::Apis::PlusV1::Comment::InReplyTo>]
|
|
990
|
-
attr_accessor :in_reply_to
|
|
991
|
-
|
|
992
|
-
# Identifies this resource as a comment. Value: "plus#comment".
|
|
993
|
-
# Corresponds to the JSON property `kind`
|
|
994
|
-
# @return [String]
|
|
995
|
-
attr_accessor :kind
|
|
996
|
-
|
|
997
|
-
# The object of this comment.
|
|
998
|
-
# Corresponds to the JSON property `object`
|
|
999
|
-
# @return [Google::Apis::PlusV1::Comment::Object]
|
|
1000
|
-
attr_accessor :object
|
|
1001
|
-
|
|
1002
|
-
# People who +1'd this comment.
|
|
1003
|
-
# Corresponds to the JSON property `plusoners`
|
|
1004
|
-
# @return [Google::Apis::PlusV1::Comment::Plusoners]
|
|
1005
|
-
attr_accessor :plusoners
|
|
1006
|
-
|
|
1007
|
-
# The time at which this comment was initially published. Formatted as an RFC
|
|
1008
|
-
# 3339 timestamp.
|
|
1009
|
-
# Corresponds to the JSON property `published`
|
|
1010
|
-
# @return [DateTime]
|
|
1011
|
-
attr_accessor :published
|
|
1012
|
-
|
|
1013
|
-
# Link to this comment resource.
|
|
1014
|
-
# Corresponds to the JSON property `selfLink`
|
|
1015
|
-
# @return [String]
|
|
1016
|
-
attr_accessor :self_link
|
|
1017
|
-
|
|
1018
|
-
# The time at which this comment was last updated. Formatted as an RFC 3339
|
|
1019
|
-
# timestamp.
|
|
1020
|
-
# Corresponds to the JSON property `updated`
|
|
1021
|
-
# @return [DateTime]
|
|
1022
|
-
attr_accessor :updated
|
|
1023
|
-
|
|
1024
|
-
# This comment's verb, indicating what action was performed. Possible values are:
|
|
1025
|
-
#
|
|
1026
|
-
# - "post" - Publish content to the stream.
|
|
1027
|
-
# Corresponds to the JSON property `verb`
|
|
1028
|
-
# @return [String]
|
|
1029
|
-
attr_accessor :verb
|
|
1030
|
-
|
|
1031
|
-
def initialize(**args)
|
|
1032
|
-
update!(**args)
|
|
1033
|
-
end
|
|
1034
|
-
|
|
1035
|
-
# Update properties of this object
|
|
1036
|
-
def update!(**args)
|
|
1037
|
-
@actor = args[:actor] if args.key?(:actor)
|
|
1038
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
1039
|
-
@id = args[:id] if args.key?(:id)
|
|
1040
|
-
@in_reply_to = args[:in_reply_to] if args.key?(:in_reply_to)
|
|
1041
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
1042
|
-
@object = args[:object] if args.key?(:object)
|
|
1043
|
-
@plusoners = args[:plusoners] if args.key?(:plusoners)
|
|
1044
|
-
@published = args[:published] if args.key?(:published)
|
|
1045
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
|
1046
|
-
@updated = args[:updated] if args.key?(:updated)
|
|
1047
|
-
@verb = args[:verb] if args.key?(:verb)
|
|
1048
|
-
end
|
|
1049
|
-
|
|
1050
|
-
# The person who posted this comment.
|
|
1051
|
-
class Actor
|
|
1052
|
-
include Google::Apis::Core::Hashable
|
|
1053
|
-
|
|
1054
|
-
# Actor info specific to particular clients.
|
|
1055
|
-
# Corresponds to the JSON property `clientSpecificActorInfo`
|
|
1056
|
-
# @return [Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo]
|
|
1057
|
-
attr_accessor :client_specific_actor_info
|
|
1058
|
-
|
|
1059
|
-
# The name of this actor, suitable for display.
|
|
1060
|
-
# Corresponds to the JSON property `displayName`
|
|
1061
|
-
# @return [String]
|
|
1062
|
-
attr_accessor :display_name
|
|
1063
|
-
|
|
1064
|
-
# The ID of the actor.
|
|
1065
|
-
# Corresponds to the JSON property `id`
|
|
1066
|
-
# @return [String]
|
|
1067
|
-
attr_accessor :id
|
|
1068
|
-
|
|
1069
|
-
# The image representation of this actor.
|
|
1070
|
-
# Corresponds to the JSON property `image`
|
|
1071
|
-
# @return [Google::Apis::PlusV1::Comment::Actor::Image]
|
|
1072
|
-
attr_accessor :image
|
|
1073
|
-
|
|
1074
|
-
# A link to the Person resource for this actor.
|
|
1075
|
-
# Corresponds to the JSON property `url`
|
|
1076
|
-
# @return [String]
|
|
1077
|
-
attr_accessor :url
|
|
1078
|
-
|
|
1079
|
-
# Verification status of actor.
|
|
1080
|
-
# Corresponds to the JSON property `verification`
|
|
1081
|
-
# @return [Google::Apis::PlusV1::Comment::Actor::Verification]
|
|
1082
|
-
attr_accessor :verification
|
|
1083
|
-
|
|
1084
|
-
def initialize(**args)
|
|
1085
|
-
update!(**args)
|
|
1086
|
-
end
|
|
1087
|
-
|
|
1088
|
-
# Update properties of this object
|
|
1089
|
-
def update!(**args)
|
|
1090
|
-
@client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
|
|
1091
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1092
|
-
@id = args[:id] if args.key?(:id)
|
|
1093
|
-
@image = args[:image] if args.key?(:image)
|
|
1094
|
-
@url = args[:url] if args.key?(:url)
|
|
1095
|
-
@verification = args[:verification] if args.key?(:verification)
|
|
1096
|
-
end
|
|
1097
|
-
|
|
1098
|
-
# Actor info specific to particular clients.
|
|
1099
|
-
class ClientSpecificActorInfo
|
|
1100
|
-
include Google::Apis::Core::Hashable
|
|
1101
|
-
|
|
1102
|
-
# Actor info specific to YouTube clients.
|
|
1103
|
-
# Corresponds to the JSON property `youtubeActorInfo`
|
|
1104
|
-
# @return [Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
|
|
1105
|
-
attr_accessor :youtube_actor_info
|
|
1106
|
-
|
|
1107
|
-
def initialize(**args)
|
|
1108
|
-
update!(**args)
|
|
1109
|
-
end
|
|
1110
|
-
|
|
1111
|
-
# Update properties of this object
|
|
1112
|
-
def update!(**args)
|
|
1113
|
-
@youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
|
|
1114
|
-
end
|
|
1115
|
-
|
|
1116
|
-
# Actor info specific to YouTube clients.
|
|
1117
|
-
class YoutubeActorInfo
|
|
1118
|
-
include Google::Apis::Core::Hashable
|
|
1119
|
-
|
|
1120
|
-
# ID of the YouTube channel owned by the Actor.
|
|
1121
|
-
# Corresponds to the JSON property `channelId`
|
|
1122
|
-
# @return [String]
|
|
1123
|
-
attr_accessor :channel_id
|
|
1124
|
-
|
|
1125
|
-
def initialize(**args)
|
|
1126
|
-
update!(**args)
|
|
1127
|
-
end
|
|
1128
|
-
|
|
1129
|
-
# Update properties of this object
|
|
1130
|
-
def update!(**args)
|
|
1131
|
-
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
1132
|
-
end
|
|
1133
|
-
end
|
|
1134
|
-
end
|
|
1135
|
-
|
|
1136
|
-
# The image representation of this actor.
|
|
1137
|
-
class Image
|
|
1138
|
-
include Google::Apis::Core::Hashable
|
|
1139
|
-
|
|
1140
|
-
# The URL of the actor's profile photo. To resize the image and crop it to a
|
|
1141
|
-
# square, append the query string ?sz=x, where x is the dimension in pixels of
|
|
1142
|
-
# each side.
|
|
1143
|
-
# Corresponds to the JSON property `url`
|
|
1144
|
-
# @return [String]
|
|
1145
|
-
attr_accessor :url
|
|
1146
|
-
|
|
1147
|
-
def initialize(**args)
|
|
1148
|
-
update!(**args)
|
|
1149
|
-
end
|
|
1150
|
-
|
|
1151
|
-
# Update properties of this object
|
|
1152
|
-
def update!(**args)
|
|
1153
|
-
@url = args[:url] if args.key?(:url)
|
|
1154
|
-
end
|
|
1155
|
-
end
|
|
1156
|
-
|
|
1157
|
-
# Verification status of actor.
|
|
1158
|
-
class Verification
|
|
1159
|
-
include Google::Apis::Core::Hashable
|
|
1160
|
-
|
|
1161
|
-
# Verification for one-time or manual processes.
|
|
1162
|
-
# Corresponds to the JSON property `adHocVerified`
|
|
1163
|
-
# @return [String]
|
|
1164
|
-
attr_accessor :ad_hoc_verified
|
|
1165
|
-
|
|
1166
|
-
def initialize(**args)
|
|
1167
|
-
update!(**args)
|
|
1168
|
-
end
|
|
1169
|
-
|
|
1170
|
-
# Update properties of this object
|
|
1171
|
-
def update!(**args)
|
|
1172
|
-
@ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
|
|
1173
|
-
end
|
|
1174
|
-
end
|
|
1175
|
-
end
|
|
1176
|
-
|
|
1177
|
-
#
|
|
1178
|
-
class InReplyTo
|
|
1179
|
-
include Google::Apis::Core::Hashable
|
|
1180
|
-
|
|
1181
|
-
# The ID of the activity.
|
|
1182
|
-
# Corresponds to the JSON property `id`
|
|
1183
|
-
# @return [String]
|
|
1184
|
-
attr_accessor :id
|
|
1185
|
-
|
|
1186
|
-
# The URL of the activity.
|
|
1187
|
-
# Corresponds to the JSON property `url`
|
|
1188
|
-
# @return [String]
|
|
1189
|
-
attr_accessor :url
|
|
1190
|
-
|
|
1191
|
-
def initialize(**args)
|
|
1192
|
-
update!(**args)
|
|
1193
|
-
end
|
|
1194
|
-
|
|
1195
|
-
# Update properties of this object
|
|
1196
|
-
def update!(**args)
|
|
1197
|
-
@id = args[:id] if args.key?(:id)
|
|
1198
|
-
@url = args[:url] if args.key?(:url)
|
|
1199
|
-
end
|
|
1200
|
-
end
|
|
1201
|
-
|
|
1202
|
-
# The object of this comment.
|
|
1203
|
-
class Object
|
|
1204
|
-
include Google::Apis::Core::Hashable
|
|
1205
|
-
|
|
1206
|
-
# The HTML-formatted content, suitable for display.
|
|
1207
|
-
# Corresponds to the JSON property `content`
|
|
1208
|
-
# @return [String]
|
|
1209
|
-
attr_accessor :content
|
|
1210
|
-
|
|
1211
|
-
# The object type of this comment. Possible values are:
|
|
1212
|
-
# - "comment" - A comment in reply to an activity.
|
|
1213
|
-
# Corresponds to the JSON property `objectType`
|
|
1214
|
-
# @return [String]
|
|
1215
|
-
attr_accessor :object_type
|
|
1216
|
-
|
|
1217
|
-
# The content (text) as provided by the author, stored without any HTML
|
|
1218
|
-
# formatting. When creating or updating a comment, this value must be supplied
|
|
1219
|
-
# as plain text in the request.
|
|
1220
|
-
# Corresponds to the JSON property `originalContent`
|
|
1221
|
-
# @return [String]
|
|
1222
|
-
attr_accessor :original_content
|
|
1223
|
-
|
|
1224
|
-
def initialize(**args)
|
|
1225
|
-
update!(**args)
|
|
1226
|
-
end
|
|
1227
|
-
|
|
1228
|
-
# Update properties of this object
|
|
1229
|
-
def update!(**args)
|
|
1230
|
-
@content = args[:content] if args.key?(:content)
|
|
1231
|
-
@object_type = args[:object_type] if args.key?(:object_type)
|
|
1232
|
-
@original_content = args[:original_content] if args.key?(:original_content)
|
|
1233
|
-
end
|
|
1234
|
-
end
|
|
1235
|
-
|
|
1236
|
-
# People who +1'd this comment.
|
|
1237
|
-
class Plusoners
|
|
1238
|
-
include Google::Apis::Core::Hashable
|
|
1239
|
-
|
|
1240
|
-
# Total number of people who +1'd this comment.
|
|
1241
|
-
# Corresponds to the JSON property `totalItems`
|
|
1242
|
-
# @return [Fixnum]
|
|
1243
|
-
attr_accessor :total_items
|
|
1244
|
-
|
|
1245
|
-
def initialize(**args)
|
|
1246
|
-
update!(**args)
|
|
1247
|
-
end
|
|
1248
|
-
|
|
1249
|
-
# Update properties of this object
|
|
1250
|
-
def update!(**args)
|
|
1251
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
|
1252
|
-
end
|
|
1253
|
-
end
|
|
1254
|
-
end
|
|
1255
|
-
|
|
1256
|
-
#
|
|
1257
|
-
class CommentFeed
|
|
1258
|
-
include Google::Apis::Core::Hashable
|
|
1259
|
-
|
|
1260
|
-
# ETag of this response for caching purposes.
|
|
1261
|
-
# Corresponds to the JSON property `etag`
|
|
1262
|
-
# @return [String]
|
|
1263
|
-
attr_accessor :etag
|
|
1264
|
-
|
|
1265
|
-
# The ID of this collection of comments.
|
|
1266
|
-
# Corresponds to the JSON property `id`
|
|
1267
|
-
# @return [String]
|
|
1268
|
-
attr_accessor :id
|
|
1269
|
-
|
|
1270
|
-
# The comments in this page of results.
|
|
1271
|
-
# Corresponds to the JSON property `items`
|
|
1272
|
-
# @return [Array<Google::Apis::PlusV1::Comment>]
|
|
1273
|
-
attr_accessor :items
|
|
1274
|
-
|
|
1275
|
-
# Identifies this resource as a collection of comments. Value: "plus#commentFeed"
|
|
1276
|
-
# .
|
|
1277
|
-
# Corresponds to the JSON property `kind`
|
|
1278
|
-
# @return [String]
|
|
1279
|
-
attr_accessor :kind
|
|
1280
|
-
|
|
1281
|
-
# Link to the next page of activities.
|
|
1282
|
-
# Corresponds to the JSON property `nextLink`
|
|
1283
|
-
# @return [String]
|
|
1284
|
-
attr_accessor :next_link
|
|
1285
|
-
|
|
1286
|
-
# The continuation token, which is used to page through large result sets.
|
|
1287
|
-
# Provide this value in a subsequent request to return the next page of results.
|
|
1288
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
1289
|
-
# @return [String]
|
|
1290
|
-
attr_accessor :next_page_token
|
|
1291
|
-
|
|
1292
|
-
# The title of this collection of comments.
|
|
1293
|
-
# Corresponds to the JSON property `title`
|
|
1294
|
-
# @return [String]
|
|
1295
|
-
attr_accessor :title
|
|
1296
|
-
|
|
1297
|
-
# The time at which this collection of comments was last updated. Formatted as
|
|
1298
|
-
# an RFC 3339 timestamp.
|
|
1299
|
-
# Corresponds to the JSON property `updated`
|
|
1300
|
-
# @return [DateTime]
|
|
1301
|
-
attr_accessor :updated
|
|
1302
|
-
|
|
1303
|
-
def initialize(**args)
|
|
1304
|
-
update!(**args)
|
|
1305
|
-
end
|
|
1306
|
-
|
|
1307
|
-
# Update properties of this object
|
|
1308
|
-
def update!(**args)
|
|
1309
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
1310
|
-
@id = args[:id] if args.key?(:id)
|
|
1311
|
-
@items = args[:items] if args.key?(:items)
|
|
1312
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
1313
|
-
@next_link = args[:next_link] if args.key?(:next_link)
|
|
1314
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1315
|
-
@title = args[:title] if args.key?(:title)
|
|
1316
|
-
@updated = args[:updated] if args.key?(:updated)
|
|
1317
|
-
end
|
|
1318
|
-
end
|
|
1319
|
-
|
|
1320
|
-
#
|
|
1321
|
-
class PeopleFeed
|
|
1322
|
-
include Google::Apis::Core::Hashable
|
|
1323
|
-
|
|
1324
|
-
# ETag of this response for caching purposes.
|
|
1325
|
-
# Corresponds to the JSON property `etag`
|
|
1326
|
-
# @return [String]
|
|
1327
|
-
attr_accessor :etag
|
|
1328
|
-
|
|
1329
|
-
# The people in this page of results. Each item includes the id, displayName,
|
|
1330
|
-
# image, and url for the person. To retrieve additional profile data, see the
|
|
1331
|
-
# people.get method.
|
|
1332
|
-
# Corresponds to the JSON property `items`
|
|
1333
|
-
# @return [Array<Google::Apis::PlusV1::Person>]
|
|
1334
|
-
attr_accessor :items
|
|
1335
|
-
|
|
1336
|
-
# Identifies this resource as a collection of people. Value: "plus#peopleFeed".
|
|
1337
|
-
# Corresponds to the JSON property `kind`
|
|
1338
|
-
# @return [String]
|
|
1339
|
-
attr_accessor :kind
|
|
1340
|
-
|
|
1341
|
-
# The continuation token, which is used to page through large result sets.
|
|
1342
|
-
# Provide this value in a subsequent request to return the next page of results.
|
|
1343
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
1344
|
-
# @return [String]
|
|
1345
|
-
attr_accessor :next_page_token
|
|
1346
|
-
|
|
1347
|
-
# Link to this resource.
|
|
1348
|
-
# Corresponds to the JSON property `selfLink`
|
|
1349
|
-
# @return [String]
|
|
1350
|
-
attr_accessor :self_link
|
|
1351
|
-
|
|
1352
|
-
# The title of this collection of people.
|
|
1353
|
-
# Corresponds to the JSON property `title`
|
|
1354
|
-
# @return [String]
|
|
1355
|
-
attr_accessor :title
|
|
1356
|
-
|
|
1357
|
-
# The total number of people available in this list. The number of people in a
|
|
1358
|
-
# response might be smaller due to paging. This might not be set for all
|
|
1359
|
-
# collections.
|
|
1360
|
-
# Corresponds to the JSON property `totalItems`
|
|
1361
|
-
# @return [Fixnum]
|
|
1362
|
-
attr_accessor :total_items
|
|
1363
|
-
|
|
1364
|
-
def initialize(**args)
|
|
1365
|
-
update!(**args)
|
|
1366
|
-
end
|
|
1367
|
-
|
|
1368
|
-
# Update properties of this object
|
|
1369
|
-
def update!(**args)
|
|
1370
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
1371
|
-
@items = args[:items] if args.key?(:items)
|
|
1372
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
1373
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1374
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
|
1375
|
-
@title = args[:title] if args.key?(:title)
|
|
1376
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
|
1377
|
-
end
|
|
1378
|
-
end
|
|
1379
|
-
|
|
1380
|
-
#
|
|
1381
|
-
class Person
|
|
1382
|
-
include Google::Apis::Core::Hashable
|
|
1383
|
-
|
|
1384
|
-
# A short biography for this person.
|
|
1385
|
-
# Corresponds to the JSON property `aboutMe`
|
|
1386
|
-
# @return [String]
|
|
1387
|
-
attr_accessor :about_me
|
|
1388
|
-
|
|
1389
|
-
# The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21
|
|
1390
|
-
# or older. Age is determined from the user's birthday using Western age
|
|
1391
|
-
# reckoning.
|
|
1392
|
-
# Corresponds to the JSON property `ageRange`
|
|
1393
|
-
# @return [Google::Apis::PlusV1::Person::AgeRange]
|
|
1394
|
-
attr_accessor :age_range
|
|
1395
|
-
|
|
1396
|
-
# The person's date of birth, represented as YYYY-MM-DD.
|
|
1397
|
-
# Corresponds to the JSON property `birthday`
|
|
1398
|
-
# @return [String]
|
|
1399
|
-
attr_accessor :birthday
|
|
1400
|
-
|
|
1401
|
-
# The "bragging rights" line of this person.
|
|
1402
|
-
# Corresponds to the JSON property `braggingRights`
|
|
1403
|
-
# @return [String]
|
|
1404
|
-
attr_accessor :bragging_rights
|
|
1405
|
-
|
|
1406
|
-
# For followers who are visible, the number of people who have added this person
|
|
1407
|
-
# or page to a circle.
|
|
1408
|
-
# Corresponds to the JSON property `circledByCount`
|
|
1409
|
-
# @return [Fixnum]
|
|
1410
|
-
attr_accessor :circled_by_count
|
|
1411
|
-
|
|
1412
|
-
# The cover photo content.
|
|
1413
|
-
# Corresponds to the JSON property `cover`
|
|
1414
|
-
# @return [Google::Apis::PlusV1::Person::Cover]
|
|
1415
|
-
attr_accessor :cover
|
|
1416
|
-
|
|
1417
|
-
# (this field is not currently used)
|
|
1418
|
-
# Corresponds to the JSON property `currentLocation`
|
|
1419
|
-
# @return [String]
|
|
1420
|
-
attr_accessor :current_location
|
|
1421
|
-
|
|
1422
|
-
# The name of this person, which is suitable for display.
|
|
1423
|
-
# Corresponds to the JSON property `displayName`
|
|
1424
|
-
# @return [String]
|
|
1425
|
-
attr_accessor :display_name
|
|
1426
|
-
|
|
1427
|
-
# The hosted domain name for the user's Google Apps account. For instance,
|
|
1428
|
-
# example.com. The plus.profile.emails.read or email scope is needed to get this
|
|
1429
|
-
# domain name.
|
|
1430
|
-
# Corresponds to the JSON property `domain`
|
|
1431
|
-
# @return [String]
|
|
1432
|
-
attr_accessor :domain
|
|
1433
|
-
|
|
1434
|
-
# A list of email addresses that this person has, including their Google account
|
|
1435
|
-
# email address, and the public verified email addresses on their Google+
|
|
1436
|
-
# profile. The plus.profile.emails.read scope is needed to retrieve these email
|
|
1437
|
-
# addresses, or the email scope can be used to retrieve just the Google account
|
|
1438
|
-
# email address.
|
|
1439
|
-
# Corresponds to the JSON property `emails`
|
|
1440
|
-
# @return [Array<Google::Apis::PlusV1::Person::Email>]
|
|
1441
|
-
attr_accessor :emails
|
|
1442
|
-
|
|
1443
|
-
# ETag of this response for caching purposes.
|
|
1444
|
-
# Corresponds to the JSON property `etag`
|
|
1445
|
-
# @return [String]
|
|
1446
|
-
attr_accessor :etag
|
|
1447
|
-
|
|
1448
|
-
# The person's gender. Possible values include, but are not limited to, the
|
|
1449
|
-
# following values:
|
|
1450
|
-
# - "male" - Male gender.
|
|
1451
|
-
# - "female" - Female gender.
|
|
1452
|
-
# - "other" - Other.
|
|
1453
|
-
# Corresponds to the JSON property `gender`
|
|
1454
|
-
# @return [String]
|
|
1455
|
-
attr_accessor :gender
|
|
1456
|
-
|
|
1457
|
-
# The ID of this person.
|
|
1458
|
-
# Corresponds to the JSON property `id`
|
|
1459
|
-
# @return [String]
|
|
1460
|
-
attr_accessor :id
|
|
1461
|
-
|
|
1462
|
-
# The representation of the person's profile photo.
|
|
1463
|
-
# Corresponds to the JSON property `image`
|
|
1464
|
-
# @return [Google::Apis::PlusV1::Person::Image]
|
|
1465
|
-
attr_accessor :image
|
|
1466
|
-
|
|
1467
|
-
# Whether this user has signed up for Google+.
|
|
1468
|
-
# Corresponds to the JSON property `isPlusUser`
|
|
1469
|
-
# @return [Boolean]
|
|
1470
|
-
attr_accessor :is_plus_user
|
|
1471
|
-
alias_method :is_plus_user?, :is_plus_user
|
|
1472
|
-
|
|
1473
|
-
# Identifies this resource as a person. Value: "plus#person".
|
|
1474
|
-
# Corresponds to the JSON property `kind`
|
|
1475
|
-
# @return [String]
|
|
1476
|
-
attr_accessor :kind
|
|
1477
|
-
|
|
1478
|
-
# The user's preferred language for rendering.
|
|
1479
|
-
# Corresponds to the JSON property `language`
|
|
1480
|
-
# @return [String]
|
|
1481
|
-
attr_accessor :language
|
|
1482
|
-
|
|
1483
|
-
# An object representation of the individual components of a person's name.
|
|
1484
|
-
# Corresponds to the JSON property `name`
|
|
1485
|
-
# @return [Google::Apis::PlusV1::Person::Name]
|
|
1486
|
-
attr_accessor :name
|
|
1487
|
-
|
|
1488
|
-
# The nickname of this person.
|
|
1489
|
-
# Corresponds to the JSON property `nickname`
|
|
1490
|
-
# @return [String]
|
|
1491
|
-
attr_accessor :nickname
|
|
1492
|
-
|
|
1493
|
-
# Type of person within Google+. Possible values include, but are not limited to,
|
|
1494
|
-
# the following values:
|
|
1495
|
-
# - "person" - represents an actual person.
|
|
1496
|
-
# - "page" - represents a page.
|
|
1497
|
-
# Corresponds to the JSON property `objectType`
|
|
1498
|
-
# @return [String]
|
|
1499
|
-
attr_accessor :object_type
|
|
1500
|
-
|
|
1501
|
-
# The occupation of this person.
|
|
1502
|
-
# Corresponds to the JSON property `occupation`
|
|
1503
|
-
# @return [String]
|
|
1504
|
-
attr_accessor :occupation
|
|
1505
|
-
|
|
1506
|
-
# A list of current or past organizations with which this person is associated.
|
|
1507
|
-
# Corresponds to the JSON property `organizations`
|
|
1508
|
-
# @return [Array<Google::Apis::PlusV1::Person::Organization>]
|
|
1509
|
-
attr_accessor :organizations
|
|
1510
|
-
|
|
1511
|
-
# A list of places where this person has lived.
|
|
1512
|
-
# Corresponds to the JSON property `placesLived`
|
|
1513
|
-
# @return [Array<Google::Apis::PlusV1::Person::PlacesLived>]
|
|
1514
|
-
attr_accessor :places_lived
|
|
1515
|
-
|
|
1516
|
-
# If a Google+ Page, the number of people who have +1'd this page.
|
|
1517
|
-
# Corresponds to the JSON property `plusOneCount`
|
|
1518
|
-
# @return [Fixnum]
|
|
1519
|
-
attr_accessor :plus_one_count
|
|
1520
|
-
|
|
1521
|
-
# The person's relationship status. Possible values include, but are not limited
|
|
1522
|
-
# to, the following values:
|
|
1523
|
-
# - "single" - Person is single.
|
|
1524
|
-
# - "in_a_relationship" - Person is in a relationship.
|
|
1525
|
-
# - "engaged" - Person is engaged.
|
|
1526
|
-
# - "married" - Person is married.
|
|
1527
|
-
# - "its_complicated" - The relationship is complicated.
|
|
1528
|
-
# - "open_relationship" - Person is in an open relationship.
|
|
1529
|
-
# - "widowed" - Person is widowed.
|
|
1530
|
-
# - "in_domestic_partnership" - Person is in a domestic partnership.
|
|
1531
|
-
# - "in_civil_union" - Person is in a civil union.
|
|
1532
|
-
# Corresponds to the JSON property `relationshipStatus`
|
|
1533
|
-
# @return [String]
|
|
1534
|
-
attr_accessor :relationship_status
|
|
1535
|
-
|
|
1536
|
-
# The person's skills.
|
|
1537
|
-
# Corresponds to the JSON property `skills`
|
|
1538
|
-
# @return [String]
|
|
1539
|
-
attr_accessor :skills
|
|
1540
|
-
|
|
1541
|
-
# The brief description (tagline) of this person.
|
|
1542
|
-
# Corresponds to the JSON property `tagline`
|
|
1543
|
-
# @return [String]
|
|
1544
|
-
attr_accessor :tagline
|
|
1545
|
-
|
|
1546
|
-
# The URL of this person's profile.
|
|
1547
|
-
# Corresponds to the JSON property `url`
|
|
1548
|
-
# @return [String]
|
|
1549
|
-
attr_accessor :url
|
|
1550
|
-
|
|
1551
|
-
# A list of URLs for this person.
|
|
1552
|
-
# Corresponds to the JSON property `urls`
|
|
1553
|
-
# @return [Array<Google::Apis::PlusV1::Person::Url>]
|
|
1554
|
-
attr_accessor :urls
|
|
1555
|
-
|
|
1556
|
-
# Whether the person or Google+ Page has been verified.
|
|
1557
|
-
# Corresponds to the JSON property `verified`
|
|
1558
|
-
# @return [Boolean]
|
|
1559
|
-
attr_accessor :verified
|
|
1560
|
-
alias_method :verified?, :verified
|
|
1561
|
-
|
|
1562
|
-
def initialize(**args)
|
|
1563
|
-
update!(**args)
|
|
1564
|
-
end
|
|
1565
|
-
|
|
1566
|
-
# Update properties of this object
|
|
1567
|
-
def update!(**args)
|
|
1568
|
-
@about_me = args[:about_me] if args.key?(:about_me)
|
|
1569
|
-
@age_range = args[:age_range] if args.key?(:age_range)
|
|
1570
|
-
@birthday = args[:birthday] if args.key?(:birthday)
|
|
1571
|
-
@bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights)
|
|
1572
|
-
@circled_by_count = args[:circled_by_count] if args.key?(:circled_by_count)
|
|
1573
|
-
@cover = args[:cover] if args.key?(:cover)
|
|
1574
|
-
@current_location = args[:current_location] if args.key?(:current_location)
|
|
1575
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1576
|
-
@domain = args[:domain] if args.key?(:domain)
|
|
1577
|
-
@emails = args[:emails] if args.key?(:emails)
|
|
1578
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
1579
|
-
@gender = args[:gender] if args.key?(:gender)
|
|
1580
|
-
@id = args[:id] if args.key?(:id)
|
|
1581
|
-
@image = args[:image] if args.key?(:image)
|
|
1582
|
-
@is_plus_user = args[:is_plus_user] if args.key?(:is_plus_user)
|
|
1583
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
1584
|
-
@language = args[:language] if args.key?(:language)
|
|
1585
|
-
@name = args[:name] if args.key?(:name)
|
|
1586
|
-
@nickname = args[:nickname] if args.key?(:nickname)
|
|
1587
|
-
@object_type = args[:object_type] if args.key?(:object_type)
|
|
1588
|
-
@occupation = args[:occupation] if args.key?(:occupation)
|
|
1589
|
-
@organizations = args[:organizations] if args.key?(:organizations)
|
|
1590
|
-
@places_lived = args[:places_lived] if args.key?(:places_lived)
|
|
1591
|
-
@plus_one_count = args[:plus_one_count] if args.key?(:plus_one_count)
|
|
1592
|
-
@relationship_status = args[:relationship_status] if args.key?(:relationship_status)
|
|
1593
|
-
@skills = args[:skills] if args.key?(:skills)
|
|
1594
|
-
@tagline = args[:tagline] if args.key?(:tagline)
|
|
1595
|
-
@url = args[:url] if args.key?(:url)
|
|
1596
|
-
@urls = args[:urls] if args.key?(:urls)
|
|
1597
|
-
@verified = args[:verified] if args.key?(:verified)
|
|
1598
|
-
end
|
|
1599
|
-
|
|
1600
|
-
# The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21
|
|
1601
|
-
# or older. Age is determined from the user's birthday using Western age
|
|
1602
|
-
# reckoning.
|
|
1603
|
-
class AgeRange
|
|
1604
|
-
include Google::Apis::Core::Hashable
|
|
1605
|
-
|
|
1606
|
-
# The age range's upper bound, if any. Possible values include, but are not
|
|
1607
|
-
# limited to, the following:
|
|
1608
|
-
# - "17" - for age 17
|
|
1609
|
-
# - "20" - for age 20
|
|
1610
|
-
# Corresponds to the JSON property `max`
|
|
1611
|
-
# @return [Fixnum]
|
|
1612
|
-
attr_accessor :max
|
|
1613
|
-
|
|
1614
|
-
# The age range's lower bound, if any. Possible values include, but are not
|
|
1615
|
-
# limited to, the following:
|
|
1616
|
-
# - "21" - for age 21
|
|
1617
|
-
# - "18" - for age 18
|
|
1618
|
-
# Corresponds to the JSON property `min`
|
|
1619
|
-
# @return [Fixnum]
|
|
1620
|
-
attr_accessor :min
|
|
1621
|
-
|
|
1622
|
-
def initialize(**args)
|
|
1623
|
-
update!(**args)
|
|
1624
|
-
end
|
|
1625
|
-
|
|
1626
|
-
# Update properties of this object
|
|
1627
|
-
def update!(**args)
|
|
1628
|
-
@max = args[:max] if args.key?(:max)
|
|
1629
|
-
@min = args[:min] if args.key?(:min)
|
|
1630
|
-
end
|
|
1631
|
-
end
|
|
1632
|
-
|
|
1633
|
-
# The cover photo content.
|
|
1634
|
-
class Cover
|
|
1635
|
-
include Google::Apis::Core::Hashable
|
|
1636
|
-
|
|
1637
|
-
# Extra information about the cover photo.
|
|
1638
|
-
# Corresponds to the JSON property `coverInfo`
|
|
1639
|
-
# @return [Google::Apis::PlusV1::Person::Cover::CoverInfo]
|
|
1640
|
-
attr_accessor :cover_info
|
|
1641
|
-
|
|
1642
|
-
# The person's primary cover image.
|
|
1643
|
-
# Corresponds to the JSON property `coverPhoto`
|
|
1644
|
-
# @return [Google::Apis::PlusV1::Person::Cover::CoverPhoto]
|
|
1645
|
-
attr_accessor :cover_photo
|
|
1646
|
-
|
|
1647
|
-
# The layout of the cover art. Possible values include, but are not limited to,
|
|
1648
|
-
# the following values:
|
|
1649
|
-
# - "banner" - One large image banner.
|
|
1650
|
-
# Corresponds to the JSON property `layout`
|
|
1651
|
-
# @return [String]
|
|
1652
|
-
attr_accessor :layout
|
|
1653
|
-
|
|
1654
|
-
def initialize(**args)
|
|
1655
|
-
update!(**args)
|
|
1656
|
-
end
|
|
1657
|
-
|
|
1658
|
-
# Update properties of this object
|
|
1659
|
-
def update!(**args)
|
|
1660
|
-
@cover_info = args[:cover_info] if args.key?(:cover_info)
|
|
1661
|
-
@cover_photo = args[:cover_photo] if args.key?(:cover_photo)
|
|
1662
|
-
@layout = args[:layout] if args.key?(:layout)
|
|
1663
|
-
end
|
|
1664
|
-
|
|
1665
|
-
# Extra information about the cover photo.
|
|
1666
|
-
class CoverInfo
|
|
1667
|
-
include Google::Apis::Core::Hashable
|
|
1668
|
-
|
|
1669
|
-
# The difference between the left position of the cover image and the actual
|
|
1670
|
-
# displayed cover image. Only valid for banner layout.
|
|
1671
|
-
# Corresponds to the JSON property `leftImageOffset`
|
|
1672
|
-
# @return [Fixnum]
|
|
1673
|
-
attr_accessor :left_image_offset
|
|
1674
|
-
|
|
1675
|
-
# The difference between the top position of the cover image and the actual
|
|
1676
|
-
# displayed cover image. Only valid for banner layout.
|
|
1677
|
-
# Corresponds to the JSON property `topImageOffset`
|
|
1678
|
-
# @return [Fixnum]
|
|
1679
|
-
attr_accessor :top_image_offset
|
|
1680
|
-
|
|
1681
|
-
def initialize(**args)
|
|
1682
|
-
update!(**args)
|
|
1683
|
-
end
|
|
1684
|
-
|
|
1685
|
-
# Update properties of this object
|
|
1686
|
-
def update!(**args)
|
|
1687
|
-
@left_image_offset = args[:left_image_offset] if args.key?(:left_image_offset)
|
|
1688
|
-
@top_image_offset = args[:top_image_offset] if args.key?(:top_image_offset)
|
|
1689
|
-
end
|
|
1690
|
-
end
|
|
1691
|
-
|
|
1692
|
-
# The person's primary cover image.
|
|
1693
|
-
class CoverPhoto
|
|
1694
|
-
include Google::Apis::Core::Hashable
|
|
1695
|
-
|
|
1696
|
-
# The height of the image.
|
|
1697
|
-
# Corresponds to the JSON property `height`
|
|
1698
|
-
# @return [Fixnum]
|
|
1699
|
-
attr_accessor :height
|
|
1700
|
-
|
|
1701
|
-
# The URL of the image.
|
|
1702
|
-
# Corresponds to the JSON property `url`
|
|
1703
|
-
# @return [String]
|
|
1704
|
-
attr_accessor :url
|
|
1705
|
-
|
|
1706
|
-
# The width of the image.
|
|
1707
|
-
# Corresponds to the JSON property `width`
|
|
1708
|
-
# @return [Fixnum]
|
|
1709
|
-
attr_accessor :width
|
|
1710
|
-
|
|
1711
|
-
def initialize(**args)
|
|
1712
|
-
update!(**args)
|
|
1713
|
-
end
|
|
1714
|
-
|
|
1715
|
-
# Update properties of this object
|
|
1716
|
-
def update!(**args)
|
|
1717
|
-
@height = args[:height] if args.key?(:height)
|
|
1718
|
-
@url = args[:url] if args.key?(:url)
|
|
1719
|
-
@width = args[:width] if args.key?(:width)
|
|
1720
|
-
end
|
|
1721
|
-
end
|
|
1722
|
-
end
|
|
1723
|
-
|
|
1724
|
-
#
|
|
1725
|
-
class Email
|
|
1726
|
-
include Google::Apis::Core::Hashable
|
|
1727
|
-
|
|
1728
|
-
# The type of address. Possible values include, but are not limited to, the
|
|
1729
|
-
# following values:
|
|
1730
|
-
# - "account" - Google account email address.
|
|
1731
|
-
# - "home" - Home email address.
|
|
1732
|
-
# - "work" - Work email address.
|
|
1733
|
-
# - "other" - Other.
|
|
1734
|
-
# Corresponds to the JSON property `type`
|
|
1735
|
-
# @return [String]
|
|
1736
|
-
attr_accessor :type
|
|
1737
|
-
|
|
1738
|
-
# The email address.
|
|
1739
|
-
# Corresponds to the JSON property `value`
|
|
1740
|
-
# @return [String]
|
|
1741
|
-
attr_accessor :value
|
|
1742
|
-
|
|
1743
|
-
def initialize(**args)
|
|
1744
|
-
update!(**args)
|
|
1745
|
-
end
|
|
1746
|
-
|
|
1747
|
-
# Update properties of this object
|
|
1748
|
-
def update!(**args)
|
|
1749
|
-
@type = args[:type] if args.key?(:type)
|
|
1750
|
-
@value = args[:value] if args.key?(:value)
|
|
1751
|
-
end
|
|
1752
|
-
end
|
|
1753
|
-
|
|
1754
|
-
# The representation of the person's profile photo.
|
|
1755
|
-
class Image
|
|
1756
|
-
include Google::Apis::Core::Hashable
|
|
1757
|
-
|
|
1758
|
-
# Whether the person's profile photo is the default one
|
|
1759
|
-
# Corresponds to the JSON property `isDefault`
|
|
1760
|
-
# @return [Boolean]
|
|
1761
|
-
attr_accessor :is_default
|
|
1762
|
-
alias_method :is_default?, :is_default
|
|
1763
|
-
|
|
1764
|
-
# The URL of the person's profile photo. To resize the image and crop it to a
|
|
1765
|
-
# square, append the query string ?sz=x, where x is the dimension in pixels of
|
|
1766
|
-
# each side.
|
|
1767
|
-
# Corresponds to the JSON property `url`
|
|
1768
|
-
# @return [String]
|
|
1769
|
-
attr_accessor :url
|
|
1770
|
-
|
|
1771
|
-
def initialize(**args)
|
|
1772
|
-
update!(**args)
|
|
1773
|
-
end
|
|
1774
|
-
|
|
1775
|
-
# Update properties of this object
|
|
1776
|
-
def update!(**args)
|
|
1777
|
-
@is_default = args[:is_default] if args.key?(:is_default)
|
|
1778
|
-
@url = args[:url] if args.key?(:url)
|
|
1779
|
-
end
|
|
1780
|
-
end
|
|
1781
|
-
|
|
1782
|
-
# An object representation of the individual components of a person's name.
|
|
1783
|
-
class Name
|
|
1784
|
-
include Google::Apis::Core::Hashable
|
|
1785
|
-
|
|
1786
|
-
# The family name (last name) of this person.
|
|
1787
|
-
# Corresponds to the JSON property `familyName`
|
|
1788
|
-
# @return [String]
|
|
1789
|
-
attr_accessor :family_name
|
|
1790
|
-
|
|
1791
|
-
# The full name of this person, including middle names, suffixes, etc.
|
|
1792
|
-
# Corresponds to the JSON property `formatted`
|
|
1793
|
-
# @return [String]
|
|
1794
|
-
attr_accessor :formatted
|
|
1795
|
-
|
|
1796
|
-
# The given name (first name) of this person.
|
|
1797
|
-
# Corresponds to the JSON property `givenName`
|
|
1798
|
-
# @return [String]
|
|
1799
|
-
attr_accessor :given_name
|
|
1800
|
-
|
|
1801
|
-
# The honorific prefixes (such as "Dr." or "Mrs.") for this person.
|
|
1802
|
-
# Corresponds to the JSON property `honorificPrefix`
|
|
1803
|
-
# @return [String]
|
|
1804
|
-
attr_accessor :honorific_prefix
|
|
1805
|
-
|
|
1806
|
-
# The honorific suffixes (such as "Jr.") for this person.
|
|
1807
|
-
# Corresponds to the JSON property `honorificSuffix`
|
|
1808
|
-
# @return [String]
|
|
1809
|
-
attr_accessor :honorific_suffix
|
|
1810
|
-
|
|
1811
|
-
# The middle name of this person.
|
|
1812
|
-
# Corresponds to the JSON property `middleName`
|
|
1813
|
-
# @return [String]
|
|
1814
|
-
attr_accessor :middle_name
|
|
1815
|
-
|
|
1816
|
-
def initialize(**args)
|
|
1817
|
-
update!(**args)
|
|
1818
|
-
end
|
|
1819
|
-
|
|
1820
|
-
# Update properties of this object
|
|
1821
|
-
def update!(**args)
|
|
1822
|
-
@family_name = args[:family_name] if args.key?(:family_name)
|
|
1823
|
-
@formatted = args[:formatted] if args.key?(:formatted)
|
|
1824
|
-
@given_name = args[:given_name] if args.key?(:given_name)
|
|
1825
|
-
@honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix)
|
|
1826
|
-
@honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix)
|
|
1827
|
-
@middle_name = args[:middle_name] if args.key?(:middle_name)
|
|
1828
|
-
end
|
|
1829
|
-
end
|
|
1830
|
-
|
|
1831
|
-
#
|
|
1832
|
-
class Organization
|
|
1833
|
-
include Google::Apis::Core::Hashable
|
|
1834
|
-
|
|
1835
|
-
# The department within the organization. Deprecated.
|
|
1836
|
-
# Corresponds to the JSON property `department`
|
|
1837
|
-
# @return [String]
|
|
1838
|
-
attr_accessor :department
|
|
1839
|
-
|
|
1840
|
-
# A short description of the person's role in this organization. Deprecated.
|
|
1841
|
-
# Corresponds to the JSON property `description`
|
|
1842
|
-
# @return [String]
|
|
1843
|
-
attr_accessor :description
|
|
1844
|
-
|
|
1845
|
-
# The date that the person left this organization.
|
|
1846
|
-
# Corresponds to the JSON property `endDate`
|
|
1847
|
-
# @return [String]
|
|
1848
|
-
attr_accessor :end_date
|
|
1849
|
-
|
|
1850
|
-
# The location of this organization. Deprecated.
|
|
1851
|
-
# Corresponds to the JSON property `location`
|
|
1852
|
-
# @return [String]
|
|
1853
|
-
attr_accessor :location
|
|
1854
|
-
|
|
1855
|
-
# The name of the organization.
|
|
1856
|
-
# Corresponds to the JSON property `name`
|
|
1857
|
-
# @return [String]
|
|
1858
|
-
attr_accessor :name
|
|
1859
|
-
|
|
1860
|
-
# If "true", indicates this organization is the person's primary one, which is
|
|
1861
|
-
# typically interpreted as the current one.
|
|
1862
|
-
# Corresponds to the JSON property `primary`
|
|
1863
|
-
# @return [Boolean]
|
|
1864
|
-
attr_accessor :primary
|
|
1865
|
-
alias_method :primary?, :primary
|
|
1866
|
-
|
|
1867
|
-
# The date that the person joined this organization.
|
|
1868
|
-
# Corresponds to the JSON property `startDate`
|
|
1869
|
-
# @return [String]
|
|
1870
|
-
attr_accessor :start_date
|
|
1871
|
-
|
|
1872
|
-
# The person's job title or role within the organization.
|
|
1873
|
-
# Corresponds to the JSON property `title`
|
|
1874
|
-
# @return [String]
|
|
1875
|
-
attr_accessor :title
|
|
1876
|
-
|
|
1877
|
-
# The type of organization. Possible values include, but are not limited to, the
|
|
1878
|
-
# following values:
|
|
1879
|
-
# - "work" - Work.
|
|
1880
|
-
# - "school" - School.
|
|
1881
|
-
# Corresponds to the JSON property `type`
|
|
1882
|
-
# @return [String]
|
|
1883
|
-
attr_accessor :type
|
|
1884
|
-
|
|
1885
|
-
def initialize(**args)
|
|
1886
|
-
update!(**args)
|
|
1887
|
-
end
|
|
1888
|
-
|
|
1889
|
-
# Update properties of this object
|
|
1890
|
-
def update!(**args)
|
|
1891
|
-
@department = args[:department] if args.key?(:department)
|
|
1892
|
-
@description = args[:description] if args.key?(:description)
|
|
1893
|
-
@end_date = args[:end_date] if args.key?(:end_date)
|
|
1894
|
-
@location = args[:location] if args.key?(:location)
|
|
1895
|
-
@name = args[:name] if args.key?(:name)
|
|
1896
|
-
@primary = args[:primary] if args.key?(:primary)
|
|
1897
|
-
@start_date = args[:start_date] if args.key?(:start_date)
|
|
1898
|
-
@title = args[:title] if args.key?(:title)
|
|
1899
|
-
@type = args[:type] if args.key?(:type)
|
|
1900
|
-
end
|
|
1901
|
-
end
|
|
1902
|
-
|
|
1903
|
-
#
|
|
1904
|
-
class PlacesLived
|
|
1905
|
-
include Google::Apis::Core::Hashable
|
|
1906
|
-
|
|
1907
|
-
# If "true", this place of residence is this person's primary residence.
|
|
1908
|
-
# Corresponds to the JSON property `primary`
|
|
1909
|
-
# @return [Boolean]
|
|
1910
|
-
attr_accessor :primary
|
|
1911
|
-
alias_method :primary?, :primary
|
|
1912
|
-
|
|
1913
|
-
# A place where this person has lived. For example: "Seattle, WA", "Near Toronto"
|
|
1914
|
-
# .
|
|
1915
|
-
# Corresponds to the JSON property `value`
|
|
1916
|
-
# @return [String]
|
|
1917
|
-
attr_accessor :value
|
|
1918
|
-
|
|
1919
|
-
def initialize(**args)
|
|
1920
|
-
update!(**args)
|
|
1921
|
-
end
|
|
1922
|
-
|
|
1923
|
-
# Update properties of this object
|
|
1924
|
-
def update!(**args)
|
|
1925
|
-
@primary = args[:primary] if args.key?(:primary)
|
|
1926
|
-
@value = args[:value] if args.key?(:value)
|
|
1927
|
-
end
|
|
1928
|
-
end
|
|
1929
|
-
|
|
1930
|
-
#
|
|
1931
|
-
class Url
|
|
1932
|
-
include Google::Apis::Core::Hashable
|
|
1933
|
-
|
|
1934
|
-
# The label of the URL.
|
|
1935
|
-
# Corresponds to the JSON property `label`
|
|
1936
|
-
# @return [String]
|
|
1937
|
-
attr_accessor :label
|
|
1938
|
-
|
|
1939
|
-
# The type of URL. Possible values include, but are not limited to, the
|
|
1940
|
-
# following values:
|
|
1941
|
-
# - "otherProfile" - URL for another profile.
|
|
1942
|
-
# - "contributor" - URL to a site for which this person is a contributor.
|
|
1943
|
-
# - "website" - URL for this Google+ Page's primary website.
|
|
1944
|
-
# - "other" - Other URL.
|
|
1945
|
-
# Corresponds to the JSON property `type`
|
|
1946
|
-
# @return [String]
|
|
1947
|
-
attr_accessor :type
|
|
1948
|
-
|
|
1949
|
-
# The URL value.
|
|
1950
|
-
# Corresponds to the JSON property `value`
|
|
1951
|
-
# @return [String]
|
|
1952
|
-
attr_accessor :value
|
|
1953
|
-
|
|
1954
|
-
def initialize(**args)
|
|
1955
|
-
update!(**args)
|
|
1956
|
-
end
|
|
1957
|
-
|
|
1958
|
-
# Update properties of this object
|
|
1959
|
-
def update!(**args)
|
|
1960
|
-
@label = args[:label] if args.key?(:label)
|
|
1961
|
-
@type = args[:type] if args.key?(:type)
|
|
1962
|
-
@value = args[:value] if args.key?(:value)
|
|
1963
|
-
end
|
|
1964
|
-
end
|
|
1965
|
-
end
|
|
1966
|
-
|
|
1967
|
-
#
|
|
1968
|
-
class Place
|
|
1969
|
-
include Google::Apis::Core::Hashable
|
|
1970
|
-
|
|
1971
|
-
# The physical address of the place.
|
|
1972
|
-
# Corresponds to the JSON property `address`
|
|
1973
|
-
# @return [Google::Apis::PlusV1::Place::Address]
|
|
1974
|
-
attr_accessor :address
|
|
1975
|
-
|
|
1976
|
-
# The display name of the place.
|
|
1977
|
-
# Corresponds to the JSON property `displayName`
|
|
1978
|
-
# @return [String]
|
|
1979
|
-
attr_accessor :display_name
|
|
1980
|
-
|
|
1981
|
-
# The id of the place.
|
|
1982
|
-
# Corresponds to the JSON property `id`
|
|
1983
|
-
# @return [String]
|
|
1984
|
-
attr_accessor :id
|
|
1985
|
-
|
|
1986
|
-
# Identifies this resource as a place. Value: "plus#place".
|
|
1987
|
-
# Corresponds to the JSON property `kind`
|
|
1988
|
-
# @return [String]
|
|
1989
|
-
attr_accessor :kind
|
|
1990
|
-
|
|
1991
|
-
# The position of the place.
|
|
1992
|
-
# Corresponds to the JSON property `position`
|
|
1993
|
-
# @return [Google::Apis::PlusV1::Place::Position]
|
|
1994
|
-
attr_accessor :position
|
|
1995
|
-
|
|
1996
|
-
def initialize(**args)
|
|
1997
|
-
update!(**args)
|
|
1998
|
-
end
|
|
1999
|
-
|
|
2000
|
-
# Update properties of this object
|
|
2001
|
-
def update!(**args)
|
|
2002
|
-
@address = args[:address] if args.key?(:address)
|
|
2003
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2004
|
-
@id = args[:id] if args.key?(:id)
|
|
2005
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
2006
|
-
@position = args[:position] if args.key?(:position)
|
|
2007
|
-
end
|
|
2008
|
-
|
|
2009
|
-
# The physical address of the place.
|
|
2010
|
-
class Address
|
|
2011
|
-
include Google::Apis::Core::Hashable
|
|
2012
|
-
|
|
2013
|
-
# The formatted address for display.
|
|
2014
|
-
# Corresponds to the JSON property `formatted`
|
|
2015
|
-
# @return [String]
|
|
2016
|
-
attr_accessor :formatted
|
|
2017
|
-
|
|
2018
|
-
def initialize(**args)
|
|
2019
|
-
update!(**args)
|
|
2020
|
-
end
|
|
2021
|
-
|
|
2022
|
-
# Update properties of this object
|
|
2023
|
-
def update!(**args)
|
|
2024
|
-
@formatted = args[:formatted] if args.key?(:formatted)
|
|
2025
|
-
end
|
|
2026
|
-
end
|
|
2027
|
-
|
|
2028
|
-
# The position of the place.
|
|
2029
|
-
class Position
|
|
2030
|
-
include Google::Apis::Core::Hashable
|
|
2031
|
-
|
|
2032
|
-
# The latitude of this position.
|
|
2033
|
-
# Corresponds to the JSON property `latitude`
|
|
2034
|
-
# @return [Float]
|
|
2035
|
-
attr_accessor :latitude
|
|
2036
|
-
|
|
2037
|
-
# The longitude of this position.
|
|
2038
|
-
# Corresponds to the JSON property `longitude`
|
|
2039
|
-
# @return [Float]
|
|
2040
|
-
attr_accessor :longitude
|
|
2041
|
-
|
|
2042
|
-
def initialize(**args)
|
|
2043
|
-
update!(**args)
|
|
2044
|
-
end
|
|
2045
|
-
|
|
2046
|
-
# Update properties of this object
|
|
2047
|
-
def update!(**args)
|
|
2048
|
-
@latitude = args[:latitude] if args.key?(:latitude)
|
|
2049
|
-
@longitude = args[:longitude] if args.key?(:longitude)
|
|
2050
|
-
end
|
|
2051
|
-
end
|
|
2052
|
-
end
|
|
2053
|
-
|
|
2054
|
-
#
|
|
2055
|
-
class PlusAclentryResource
|
|
2056
|
-
include Google::Apis::Core::Hashable
|
|
2057
|
-
|
|
2058
|
-
# A descriptive name for this entry. Suitable for display.
|
|
2059
|
-
# Corresponds to the JSON property `displayName`
|
|
2060
|
-
# @return [String]
|
|
2061
|
-
attr_accessor :display_name
|
|
2062
|
-
|
|
2063
|
-
# The ID of the entry. For entries of type "person" or "circle", this is the ID
|
|
2064
|
-
# of the resource. For other types, this property is not set.
|
|
2065
|
-
# Corresponds to the JSON property `id`
|
|
2066
|
-
# @return [String]
|
|
2067
|
-
attr_accessor :id
|
|
2068
|
-
|
|
2069
|
-
# The type of entry describing to whom access is granted. Possible values are:
|
|
2070
|
-
# - "person" - Access to an individual.
|
|
2071
|
-
# - "circle" - Access to members of a circle.
|
|
2072
|
-
# - "myCircles" - Access to members of all the person's circles.
|
|
2073
|
-
# - "extendedCircles" - Access to members of all the person's circles, plus all
|
|
2074
|
-
# of the people in their circles.
|
|
2075
|
-
# - "domain" - Access to members of the person's Google Apps domain.
|
|
2076
|
-
# - "public" - Access to anyone on the web.
|
|
2077
|
-
# Corresponds to the JSON property `type`
|
|
2078
|
-
# @return [String]
|
|
2079
|
-
attr_accessor :type
|
|
2080
|
-
|
|
2081
|
-
def initialize(**args)
|
|
2082
|
-
update!(**args)
|
|
2083
|
-
end
|
|
2084
|
-
|
|
2085
|
-
# Update properties of this object
|
|
2086
|
-
def update!(**args)
|
|
2087
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2088
|
-
@id = args[:id] if args.key?(:id)
|
|
2089
|
-
@type = args[:type] if args.key?(:type)
|
|
2090
|
-
end
|
|
2091
|
-
end
|
|
2092
|
-
end
|
|
2093
|
-
end
|
|
2094
|
-
end
|