google-api-client 0.44.0 → 0.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +305 -0
- data/api_names.yaml +1 -0
- 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 -14
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
- data/generated/google/apis/admin_directory_v1/service.rb +89 -1
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- 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 +2135 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- 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/androidmanagement_v1/classes.rb +4 -3
- 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/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +247 -27
- data/generated/google/apis/apigee_v1/representations.rb +90 -3
- data/generated/google/apis/apigee_v1/service.rb +63 -43
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +51 -24
- data/generated/google/apis/appengine_v1/representations.rb +15 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
- data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
- 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 +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
- 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 +86 -18
- data/generated/google/apis/bigquery_v2/representations.rb +18 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- 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 +194 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -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 +194 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -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 +13 -10
- 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 +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- 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_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- 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 +47 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +7 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +220 -3
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- 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 +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +397 -65
- data/generated/google/apis/cloudidentity_v1/representations.rb +168 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -70
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +208 -7
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -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/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +61 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +25 -24
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- 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 +25 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +513 -131
- data/generated/google/apis/compute_alpha/representations.rb +124 -8
- data/generated/google/apis/compute_alpha/service.rb +1685 -762
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +491 -83
- data/generated/google/apis/compute_beta/representations.rb +96 -1
- data/generated/google/apis/compute_beta/service.rb +802 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +308 -45
- data/generated/google/apis/compute_v1/representations.rb +54 -1
- data/generated/google/apis/compute_v1/service.rb +736 -130
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +57 -2
- data/generated/google/apis/container_v1/representations.rb +7 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +80 -8
- data/generated/google/apis/container_v1beta1/representations.rb +21 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +16 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/content_v2_1/service.rb +1 -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 +8 -1
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- 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/datafusion_v1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1/representations.rb +2 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +47 -8
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +51 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +17 -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 +202 -26
- data/generated/google/apis/dialogflow_v2/representations.rb +97 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +220 -42
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +97 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +464 -326
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +289 -33
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +131 -1
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
- data/generated/google/apis/displayvideo_v1/service.rb +2 -2
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +31 -5
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
- data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -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/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- 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 +3 -3
- data/generated/google/apis/fitness_v1/classes.rb +5 -5
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- 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/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +75 -1
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +183 -19
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1007 -2
- data/generated/google/apis/healthcare_v1beta1/representations.rb +454 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1458 -19
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +7 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +7 -0
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- 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/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 +7 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +2 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +7 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +15 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +43 -37
- 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/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- 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/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
- 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/service.rb +8 -6
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -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 +4 -4
- 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_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- 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 +8 -132
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- 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/secretmanager_v1/classes.rb +168 -2
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- 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/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- 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 +0 -9
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- 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 +313 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -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/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +180 -104
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +120 -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/service.rb +1 -1
- data/generated/google/apis/{appsactivity_v1.rb → sts_v1.rb} +9 -11
- data/generated/google/apis/sts_v1/classes.rb +120 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +194 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- 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 +2 -2
- 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 +43 -0
- data/generated/google/apis/tpu_v1/representations.rb +18 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
- 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 +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1/service.rb +31 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
- data/generated/google/apis/workflows_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +437 -0
- 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 +2 -197
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +70 -16
- 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.rb +0 -43
- 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,451 +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 PlusV1
|
23
|
-
# Google+ API
|
24
|
-
#
|
25
|
-
# Builds on top of the Google+ platform.
|
26
|
-
#
|
27
|
-
# @example
|
28
|
-
# require 'google/apis/plus_v1'
|
29
|
-
#
|
30
|
-
# Plus = Google::Apis::PlusV1 # Alias the module
|
31
|
-
# service = Plus::PlusService.new
|
32
|
-
#
|
33
|
-
# @see https://developers.google.com/+/api/
|
34
|
-
class PlusService < 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/', 'plus/v1/')
|
51
|
-
@batch_path = 'batch/plus/v1'
|
52
|
-
end
|
53
|
-
|
54
|
-
# Shut down. See https://developers.google.com/+/api-shutdown for more details.
|
55
|
-
# @param [String] activity_id
|
56
|
-
# The ID of the activity to get.
|
57
|
-
# @param [String] fields
|
58
|
-
# Selector specifying which fields to include in a partial response.
|
59
|
-
# @param [String] quota_user
|
60
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
61
|
-
# characters.
|
62
|
-
# @param [String] user_ip
|
63
|
-
# Deprecated. Please use quotaUser instead.
|
64
|
-
# @param [Google::Apis::RequestOptions] options
|
65
|
-
# Request-specific options
|
66
|
-
#
|
67
|
-
# @yield [result, err] Result & error if block supplied
|
68
|
-
# @yieldparam result [Google::Apis::PlusV1::Activity] parsed result object
|
69
|
-
# @yieldparam err [StandardError] error object if request failed
|
70
|
-
#
|
71
|
-
# @return [Google::Apis::PlusV1::Activity]
|
72
|
-
#
|
73
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
-
def get_activity(activity_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
77
|
-
command = make_simple_command(:get, 'activities/{activityId}', options)
|
78
|
-
command.response_representation = Google::Apis::PlusV1::Activity::Representation
|
79
|
-
command.response_class = Google::Apis::PlusV1::Activity
|
80
|
-
command.params['activityId'] = activity_id unless activity_id.nil?
|
81
|
-
command.query['fields'] = fields unless fields.nil?
|
82
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
83
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
84
|
-
execute_or_queue_command(command, &block)
|
85
|
-
end
|
86
|
-
|
87
|
-
# Shut down. See https://developers.google.com/+/api-shutdown for more details.
|
88
|
-
# @param [String] user_id
|
89
|
-
# The ID of the user to get activities for. The special value "me" can be used
|
90
|
-
# to indicate the authenticated user.
|
91
|
-
# @param [String] collection
|
92
|
-
# The collection of activities to list.
|
93
|
-
# @param [Fixnum] max_results
|
94
|
-
# The maximum number of activities to include in the response, which is used for
|
95
|
-
# paging. For any response, the actual number returned might be less than the
|
96
|
-
# specified maxResults.
|
97
|
-
# @param [String] page_token
|
98
|
-
# The continuation token, which is used to page through large result sets. To
|
99
|
-
# get the next page of results, set this parameter to the value of "
|
100
|
-
# nextPageToken" from the previous response.
|
101
|
-
# @param [String] fields
|
102
|
-
# Selector specifying which fields to include in a partial response.
|
103
|
-
# @param [String] quota_user
|
104
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
105
|
-
# characters.
|
106
|
-
# @param [String] user_ip
|
107
|
-
# Deprecated. Please use quotaUser instead.
|
108
|
-
# @param [Google::Apis::RequestOptions] options
|
109
|
-
# Request-specific options
|
110
|
-
#
|
111
|
-
# @yield [result, err] Result & error if block supplied
|
112
|
-
# @yieldparam result [Google::Apis::PlusV1::ActivityFeed] parsed result object
|
113
|
-
# @yieldparam err [StandardError] error object if request failed
|
114
|
-
#
|
115
|
-
# @return [Google::Apis::PlusV1::ActivityFeed]
|
116
|
-
#
|
117
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
118
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
119
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
120
|
-
def list_activities(user_id, collection, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
121
|
-
command = make_simple_command(:get, 'people/{userId}/activities/{collection}', options)
|
122
|
-
command.response_representation = Google::Apis::PlusV1::ActivityFeed::Representation
|
123
|
-
command.response_class = Google::Apis::PlusV1::ActivityFeed
|
124
|
-
command.params['userId'] = user_id unless user_id.nil?
|
125
|
-
command.params['collection'] = collection unless collection.nil?
|
126
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
127
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
128
|
-
command.query['fields'] = fields unless fields.nil?
|
129
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
130
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
131
|
-
execute_or_queue_command(command, &block)
|
132
|
-
end
|
133
|
-
|
134
|
-
# Shut down. See https://developers.google.com/+/api-shutdown for more details.
|
135
|
-
# @param [String] query
|
136
|
-
# Full-text search query string.
|
137
|
-
# @param [String] language
|
138
|
-
# Specify the preferred language to search with. See search language codes for
|
139
|
-
# available values.
|
140
|
-
# @param [Fixnum] max_results
|
141
|
-
# The maximum number of activities to include in the response, which is used for
|
142
|
-
# paging. For any response, the actual number returned might be less than the
|
143
|
-
# specified maxResults.
|
144
|
-
# @param [String] order_by
|
145
|
-
# Specifies how to order search results.
|
146
|
-
# @param [String] page_token
|
147
|
-
# The continuation token, which is used to page through large result sets. To
|
148
|
-
# get the next page of results, set this parameter to the value of "
|
149
|
-
# nextPageToken" from the previous response. This token can be of any length.
|
150
|
-
# @param [String] fields
|
151
|
-
# Selector specifying which fields to include in a partial response.
|
152
|
-
# @param [String] quota_user
|
153
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
154
|
-
# characters.
|
155
|
-
# @param [String] user_ip
|
156
|
-
# Deprecated. Please use quotaUser instead.
|
157
|
-
# @param [Google::Apis::RequestOptions] options
|
158
|
-
# Request-specific options
|
159
|
-
#
|
160
|
-
# @yield [result, err] Result & error if block supplied
|
161
|
-
# @yieldparam result [Google::Apis::PlusV1::ActivityFeed] parsed result object
|
162
|
-
# @yieldparam err [StandardError] error object if request failed
|
163
|
-
#
|
164
|
-
# @return [Google::Apis::PlusV1::ActivityFeed]
|
165
|
-
#
|
166
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
167
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
168
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
169
|
-
def search_activities(query, language: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
170
|
-
command = make_simple_command(:get, 'activities', options)
|
171
|
-
command.response_representation = Google::Apis::PlusV1::ActivityFeed::Representation
|
172
|
-
command.response_class = Google::Apis::PlusV1::ActivityFeed
|
173
|
-
command.query['language'] = language unless language.nil?
|
174
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
175
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
176
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
177
|
-
command.query['query'] = query unless query.nil?
|
178
|
-
command.query['fields'] = fields unless fields.nil?
|
179
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
180
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
181
|
-
execute_or_queue_command(command, &block)
|
182
|
-
end
|
183
|
-
|
184
|
-
# Shut down. See https://developers.google.com/+/api-shutdown for more details.
|
185
|
-
# @param [String] comment_id
|
186
|
-
# The ID of the comment to get.
|
187
|
-
# @param [String] fields
|
188
|
-
# Selector specifying which fields to include in a partial response.
|
189
|
-
# @param [String] quota_user
|
190
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
191
|
-
# characters.
|
192
|
-
# @param [String] user_ip
|
193
|
-
# Deprecated. Please use quotaUser instead.
|
194
|
-
# @param [Google::Apis::RequestOptions] options
|
195
|
-
# Request-specific options
|
196
|
-
#
|
197
|
-
# @yield [result, err] Result & error if block supplied
|
198
|
-
# @yieldparam result [Google::Apis::PlusV1::Comment] parsed result object
|
199
|
-
# @yieldparam err [StandardError] error object if request failed
|
200
|
-
#
|
201
|
-
# @return [Google::Apis::PlusV1::Comment]
|
202
|
-
#
|
203
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
204
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
205
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
206
|
-
def get_comment(comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
207
|
-
command = make_simple_command(:get, 'comments/{commentId}', options)
|
208
|
-
command.response_representation = Google::Apis::PlusV1::Comment::Representation
|
209
|
-
command.response_class = Google::Apis::PlusV1::Comment
|
210
|
-
command.params['commentId'] = comment_id unless comment_id.nil?
|
211
|
-
command.query['fields'] = fields unless fields.nil?
|
212
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
213
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
214
|
-
execute_or_queue_command(command, &block)
|
215
|
-
end
|
216
|
-
|
217
|
-
# Shut down. See https://developers.google.com/+/api-shutdown for more details.
|
218
|
-
# @param [String] activity_id
|
219
|
-
# The ID of the activity to get comments for.
|
220
|
-
# @param [Fixnum] max_results
|
221
|
-
# The maximum number of comments to include in the response, which is used for
|
222
|
-
# paging. For any response, the actual number returned might be less than the
|
223
|
-
# specified maxResults.
|
224
|
-
# @param [String] page_token
|
225
|
-
# The continuation token, which is used to page through large result sets. To
|
226
|
-
# get the next page of results, set this parameter to the value of "
|
227
|
-
# nextPageToken" from the previous response.
|
228
|
-
# @param [String] sort_order
|
229
|
-
# The order in which to sort the list of comments.
|
230
|
-
# @param [String] fields
|
231
|
-
# Selector specifying which fields to include in a partial response.
|
232
|
-
# @param [String] quota_user
|
233
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
234
|
-
# characters.
|
235
|
-
# @param [String] user_ip
|
236
|
-
# Deprecated. Please use quotaUser instead.
|
237
|
-
# @param [Google::Apis::RequestOptions] options
|
238
|
-
# Request-specific options
|
239
|
-
#
|
240
|
-
# @yield [result, err] Result & error if block supplied
|
241
|
-
# @yieldparam result [Google::Apis::PlusV1::CommentFeed] parsed result object
|
242
|
-
# @yieldparam err [StandardError] error object if request failed
|
243
|
-
#
|
244
|
-
# @return [Google::Apis::PlusV1::CommentFeed]
|
245
|
-
#
|
246
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
247
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
248
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
249
|
-
def list_comments(activity_id, max_results: nil, page_token: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
250
|
-
command = make_simple_command(:get, 'activities/{activityId}/comments', options)
|
251
|
-
command.response_representation = Google::Apis::PlusV1::CommentFeed::Representation
|
252
|
-
command.response_class = Google::Apis::PlusV1::CommentFeed
|
253
|
-
command.params['activityId'] = activity_id unless activity_id.nil?
|
254
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
255
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
256
|
-
command.query['sortOrder'] = sort_order unless sort_order.nil?
|
257
|
-
command.query['fields'] = fields unless fields.nil?
|
258
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
259
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
260
|
-
execute_or_queue_command(command, &block)
|
261
|
-
end
|
262
|
-
|
263
|
-
# Get a person's profile. If your app uses scope https://www.googleapis.com/auth/
|
264
|
-
# plus.login, this method is guaranteed to return ageRange and language.
|
265
|
-
# @param [String] user_id
|
266
|
-
# The ID of the person to get the profile for. The special value "me" can be
|
267
|
-
# used to indicate the authenticated user.
|
268
|
-
# @param [String] fields
|
269
|
-
# Selector specifying which fields to include in a partial response.
|
270
|
-
# @param [String] quota_user
|
271
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
272
|
-
# characters.
|
273
|
-
# @param [String] user_ip
|
274
|
-
# Deprecated. Please use quotaUser instead.
|
275
|
-
# @param [Google::Apis::RequestOptions] options
|
276
|
-
# Request-specific options
|
277
|
-
#
|
278
|
-
# @yield [result, err] Result & error if block supplied
|
279
|
-
# @yieldparam result [Google::Apis::PlusV1::Person] parsed result object
|
280
|
-
# @yieldparam err [StandardError] error object if request failed
|
281
|
-
#
|
282
|
-
# @return [Google::Apis::PlusV1::Person]
|
283
|
-
#
|
284
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
285
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
286
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
287
|
-
def get_person(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
288
|
-
command = make_simple_command(:get, 'people/{userId}', options)
|
289
|
-
command.response_representation = Google::Apis::PlusV1::Person::Representation
|
290
|
-
command.response_class = Google::Apis::PlusV1::Person
|
291
|
-
command.params['userId'] = user_id unless user_id.nil?
|
292
|
-
command.query['fields'] = fields unless fields.nil?
|
293
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
294
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
295
|
-
execute_or_queue_command(command, &block)
|
296
|
-
end
|
297
|
-
|
298
|
-
# List all of the people in the specified collection.
|
299
|
-
# @param [String] user_id
|
300
|
-
# Get the collection of people for the person identified. Use "me" to indicate
|
301
|
-
# the authenticated user.
|
302
|
-
# @param [String] collection
|
303
|
-
# The collection of people to list.
|
304
|
-
# @param [Fixnum] max_results
|
305
|
-
# The maximum number of people to include in the response, which is used for
|
306
|
-
# paging. For any response, the actual number returned might be less than the
|
307
|
-
# specified maxResults.
|
308
|
-
# @param [String] order_by
|
309
|
-
# The order to return people in.
|
310
|
-
# @param [String] page_token
|
311
|
-
# The continuation token, which is used to page through large result sets. To
|
312
|
-
# get the next page of results, set this parameter to the value of "
|
313
|
-
# nextPageToken" from the previous response.
|
314
|
-
# @param [String] fields
|
315
|
-
# Selector specifying which fields to include in a partial response.
|
316
|
-
# @param [String] quota_user
|
317
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
318
|
-
# characters.
|
319
|
-
# @param [String] user_ip
|
320
|
-
# Deprecated. Please use quotaUser instead.
|
321
|
-
# @param [Google::Apis::RequestOptions] options
|
322
|
-
# Request-specific options
|
323
|
-
#
|
324
|
-
# @yield [result, err] Result & error if block supplied
|
325
|
-
# @yieldparam result [Google::Apis::PlusV1::PeopleFeed] parsed result object
|
326
|
-
# @yieldparam err [StandardError] error object if request failed
|
327
|
-
#
|
328
|
-
# @return [Google::Apis::PlusV1::PeopleFeed]
|
329
|
-
#
|
330
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
331
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
332
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
333
|
-
def list_people(user_id, collection, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
334
|
-
command = make_simple_command(:get, 'people/{userId}/people/{collection}', options)
|
335
|
-
command.response_representation = Google::Apis::PlusV1::PeopleFeed::Representation
|
336
|
-
command.response_class = Google::Apis::PlusV1::PeopleFeed
|
337
|
-
command.params['userId'] = user_id unless user_id.nil?
|
338
|
-
command.params['collection'] = collection unless collection.nil?
|
339
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
340
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
341
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
342
|
-
command.query['fields'] = fields unless fields.nil?
|
343
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
344
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
345
|
-
execute_or_queue_command(command, &block)
|
346
|
-
end
|
347
|
-
|
348
|
-
# Shut down. See https://developers.google.com/+/api-shutdown for more details.
|
349
|
-
# @param [String] activity_id
|
350
|
-
# The ID of the activity to get the list of people for.
|
351
|
-
# @param [String] collection
|
352
|
-
# The collection of people to list.
|
353
|
-
# @param [Fixnum] max_results
|
354
|
-
# The maximum number of people to include in the response, which is used for
|
355
|
-
# paging. For any response, the actual number returned might be less than the
|
356
|
-
# specified maxResults.
|
357
|
-
# @param [String] page_token
|
358
|
-
# The continuation token, which is used to page through large result sets. To
|
359
|
-
# get the next page of results, set this parameter to the value of "
|
360
|
-
# nextPageToken" from the previous response.
|
361
|
-
# @param [String] fields
|
362
|
-
# Selector specifying which fields to include in a partial response.
|
363
|
-
# @param [String] quota_user
|
364
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
365
|
-
# characters.
|
366
|
-
# @param [String] user_ip
|
367
|
-
# Deprecated. Please use quotaUser instead.
|
368
|
-
# @param [Google::Apis::RequestOptions] options
|
369
|
-
# Request-specific options
|
370
|
-
#
|
371
|
-
# @yield [result, err] Result & error if block supplied
|
372
|
-
# @yieldparam result [Google::Apis::PlusV1::PeopleFeed] parsed result object
|
373
|
-
# @yieldparam err [StandardError] error object if request failed
|
374
|
-
#
|
375
|
-
# @return [Google::Apis::PlusV1::PeopleFeed]
|
376
|
-
#
|
377
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
378
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
379
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
380
|
-
def list_people_by_activity(activity_id, collection, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
381
|
-
command = make_simple_command(:get, 'activities/{activityId}/people/{collection}', options)
|
382
|
-
command.response_representation = Google::Apis::PlusV1::PeopleFeed::Representation
|
383
|
-
command.response_class = Google::Apis::PlusV1::PeopleFeed
|
384
|
-
command.params['activityId'] = activity_id unless activity_id.nil?
|
385
|
-
command.params['collection'] = collection unless collection.nil?
|
386
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
387
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
388
|
-
command.query['fields'] = fields unless fields.nil?
|
389
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
390
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
391
|
-
execute_or_queue_command(command, &block)
|
392
|
-
end
|
393
|
-
|
394
|
-
# Shut down. See https://developers.google.com/+/api-shutdown for more details.
|
395
|
-
# @param [String] query
|
396
|
-
# Specify a query string for full text search of public text in all profiles.
|
397
|
-
# @param [String] language
|
398
|
-
# Specify the preferred language to search with. See search language codes for
|
399
|
-
# available values.
|
400
|
-
# @param [Fixnum] max_results
|
401
|
-
# The maximum number of people to include in the response, which is used for
|
402
|
-
# paging. For any response, the actual number returned might be less than the
|
403
|
-
# specified maxResults.
|
404
|
-
# @param [String] page_token
|
405
|
-
# The continuation token, which is used to page through large result sets. To
|
406
|
-
# get the next page of results, set this parameter to the value of "
|
407
|
-
# nextPageToken" from the previous response. This token can be of any length.
|
408
|
-
# @param [String] fields
|
409
|
-
# Selector specifying which fields to include in a partial response.
|
410
|
-
# @param [String] quota_user
|
411
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
412
|
-
# characters.
|
413
|
-
# @param [String] user_ip
|
414
|
-
# Deprecated. Please use quotaUser instead.
|
415
|
-
# @param [Google::Apis::RequestOptions] options
|
416
|
-
# Request-specific options
|
417
|
-
#
|
418
|
-
# @yield [result, err] Result & error if block supplied
|
419
|
-
# @yieldparam result [Google::Apis::PlusV1::PeopleFeed] parsed result object
|
420
|
-
# @yieldparam err [StandardError] error object if request failed
|
421
|
-
#
|
422
|
-
# @return [Google::Apis::PlusV1::PeopleFeed]
|
423
|
-
#
|
424
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
425
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
426
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
427
|
-
def search_people(query, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
428
|
-
command = make_simple_command(:get, 'people', options)
|
429
|
-
command.response_representation = Google::Apis::PlusV1::PeopleFeed::Representation
|
430
|
-
command.response_class = Google::Apis::PlusV1::PeopleFeed
|
431
|
-
command.query['language'] = language unless language.nil?
|
432
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
433
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
434
|
-
command.query['query'] = query unless query.nil?
|
435
|
-
command.query['fields'] = fields unless fields.nil?
|
436
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
437
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
438
|
-
execute_or_queue_command(command, &block)
|
439
|
-
end
|
440
|
-
|
441
|
-
protected
|
442
|
-
|
443
|
-
def apply_command_defaults(command)
|
444
|
-
command.query['key'] = key unless key.nil?
|
445
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
446
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
447
|
-
end
|
448
|
-
end
|
449
|
-
end
|
450
|
-
end
|
451
|
-
end
|