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
@@ -45,7 +45,7 @@ module Google
|
|
45
45
|
|
46
46
|
def initialize
|
47
47
|
super('https://www.googleapis.com/', '')
|
48
|
-
@batch_path = 'batch/youtube'
|
48
|
+
@batch_path = 'batch/youtube/v3'
|
49
49
|
end
|
50
50
|
|
51
51
|
# Inserts a new resource into this collection.
|
@@ -1178,123 +1178,6 @@ module Google
|
|
1178
1178
|
execute_or_queue_command(command, &block)
|
1179
1179
|
end
|
1180
1180
|
|
1181
|
-
# Retrieves endscreen for a given video.
|
1182
|
-
# @param [String] video_id
|
1183
|
-
# Encrypted id of the video.
|
1184
|
-
# @param [Array<String>, String] part
|
1185
|
-
# The properties to return.
|
1186
|
-
# @param [String] on_behalf_of_content_owner
|
1187
|
-
# Content owner of the video.
|
1188
|
-
# @param [String] fields
|
1189
|
-
# Selector specifying which fields to include in a partial response.
|
1190
|
-
# @param [String] quota_user
|
1191
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1192
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1193
|
-
# @param [Google::Apis::RequestOptions] options
|
1194
|
-
# Request-specific options
|
1195
|
-
#
|
1196
|
-
# @yield [result, err] Result & error if block supplied
|
1197
|
-
# @yieldparam result [Google::Apis::YoutubeV3::EndscreenGetResponse] parsed result object
|
1198
|
-
# @yieldparam err [StandardError] error object if request failed
|
1199
|
-
#
|
1200
|
-
# @return [Google::Apis::YoutubeV3::EndscreenGetResponse]
|
1201
|
-
#
|
1202
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1203
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1204
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1205
|
-
def get_endscreen(video_id, part, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1206
|
-
command = make_simple_command(:get, 'youtube/v3/endscreen', options)
|
1207
|
-
command.response_representation = Google::Apis::YoutubeV3::EndscreenGetResponse::Representation
|
1208
|
-
command.response_class = Google::Apis::YoutubeV3::EndscreenGetResponse
|
1209
|
-
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
1210
|
-
command.query['part'] = part unless part.nil?
|
1211
|
-
command.query['videoId'] = video_id unless video_id.nil?
|
1212
|
-
command.query['fields'] = fields unless fields.nil?
|
1213
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1214
|
-
execute_or_queue_command(command, &block)
|
1215
|
-
end
|
1216
|
-
|
1217
|
-
# Updates endscreen for a given video. Note: * If the element id is not provided,
|
1218
|
-
# a new element will be created. * If the element id is provided, that element
|
1219
|
-
# will be updated. * Existing elements will be discarded if they're not included
|
1220
|
-
# in the request.
|
1221
|
-
# @param [String] video_id
|
1222
|
-
# Encrypted id of the video this endscreen corresponds to.
|
1223
|
-
# @param [Array<String>, String] part
|
1224
|
-
# The properties to return.
|
1225
|
-
# @param [Google::Apis::YoutubeV3::Endscreen] endscreen_object
|
1226
|
-
# @param [String] on_behalf_of_content_owner
|
1227
|
-
# Content owner of the video.
|
1228
|
-
# @param [String] fields
|
1229
|
-
# Selector specifying which fields to include in a partial response.
|
1230
|
-
# @param [String] quota_user
|
1231
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1232
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1233
|
-
# @param [Google::Apis::RequestOptions] options
|
1234
|
-
# Request-specific options
|
1235
|
-
#
|
1236
|
-
# @yield [result, err] Result & error if block supplied
|
1237
|
-
# @yieldparam result [Google::Apis::YoutubeV3::Endscreen] parsed result object
|
1238
|
-
# @yieldparam err [StandardError] error object if request failed
|
1239
|
-
#
|
1240
|
-
# @return [Google::Apis::YoutubeV3::Endscreen]
|
1241
|
-
#
|
1242
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1243
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1244
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1245
|
-
def update_endscreen(video_id, part, endscreen_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1246
|
-
command = make_simple_command(:post, 'youtube/v3/endscreen', options)
|
1247
|
-
command.request_representation = Google::Apis::YoutubeV3::Endscreen::Representation
|
1248
|
-
command.request_object = endscreen_object
|
1249
|
-
command.response_representation = Google::Apis::YoutubeV3::Endscreen::Representation
|
1250
|
-
command.response_class = Google::Apis::YoutubeV3::Endscreen
|
1251
|
-
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
1252
|
-
command.query['part'] = part unless part.nil?
|
1253
|
-
command.query['videoId'] = video_id unless video_id.nil?
|
1254
|
-
command.query['fields'] = fields unless fields.nil?
|
1255
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1256
|
-
execute_or_queue_command(command, &block)
|
1257
|
-
end
|
1258
|
-
|
1259
|
-
# Retrieves a list of guide categories.
|
1260
|
-
# @param [Array<String>, String] part
|
1261
|
-
# The *part* parameter specifies the guideCategory resource properties that the
|
1262
|
-
# API response will include. Set the parameter value to snippet.
|
1263
|
-
# @param [String] hl
|
1264
|
-
# @param [Array<String>, String] id
|
1265
|
-
# Return the guide categories with the given IDs.
|
1266
|
-
# @param [String] region_code
|
1267
|
-
# Return all categories in the given region code.
|
1268
|
-
# @param [String] fields
|
1269
|
-
# Selector specifying which fields to include in a partial response.
|
1270
|
-
# @param [String] quota_user
|
1271
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1272
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1273
|
-
# @param [Google::Apis::RequestOptions] options
|
1274
|
-
# Request-specific options
|
1275
|
-
#
|
1276
|
-
# @yield [result, err] Result & error if block supplied
|
1277
|
-
# @yieldparam result [Google::Apis::YoutubeV3::ListGuideCategoriesResponse] parsed result object
|
1278
|
-
# @yieldparam err [StandardError] error object if request failed
|
1279
|
-
#
|
1280
|
-
# @return [Google::Apis::YoutubeV3::ListGuideCategoriesResponse]
|
1281
|
-
#
|
1282
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1283
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1284
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1285
|
-
def list_guide_categories(part, hl: nil, id: nil, region_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1286
|
-
command = make_simple_command(:get, 'youtube/v3/guideCategories', options)
|
1287
|
-
command.response_representation = Google::Apis::YoutubeV3::ListGuideCategoriesResponse::Representation
|
1288
|
-
command.response_class = Google::Apis::YoutubeV3::ListGuideCategoriesResponse
|
1289
|
-
command.query['hl'] = hl unless hl.nil?
|
1290
|
-
command.query['id'] = id unless id.nil?
|
1291
|
-
command.query['part'] = part unless part.nil?
|
1292
|
-
command.query['regionCode'] = region_code unless region_code.nil?
|
1293
|
-
command.query['fields'] = fields unless fields.nil?
|
1294
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1295
|
-
execute_or_queue_command(command, &block)
|
1296
|
-
end
|
1297
|
-
|
1298
1181
|
# Retrieves a list of resources, possibly filtered.
|
1299
1182
|
# @param [Array<String>, String] part
|
1300
1183
|
# The *part* parameter specifies the i18nLanguage resource properties that the
|
@@ -1628,7 +1511,7 @@ module Google
|
|
1628
1511
|
# The *part* parameter specifies a comma-separated list of one or more
|
1629
1512
|
# liveBroadcast resource properties that the API response will include. The part
|
1630
1513
|
# names that you can include in the parameter value are id, snippet,
|
1631
|
-
# contentDetails, and
|
1514
|
+
# contentDetails, status and statistics.
|
1632
1515
|
# @param [String] broadcast_status
|
1633
1516
|
# Return broadcasts with a certain status, e.g. active broadcasts.
|
1634
1517
|
# @param [String] broadcast_type
|
@@ -4041,84 +3924,6 @@ module Google
|
|
4041
3924
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4042
3925
|
execute_or_queue_command(command, &block)
|
4043
3926
|
end
|
4044
|
-
|
4045
|
-
# Updates infocards for a given video. Note: * If the card id is not provided, a
|
4046
|
-
# new card will be created. * If the card id is provided, that card will be
|
4047
|
-
# updated. * Existing cards will be discarded if they're not included in the
|
4048
|
-
# request.
|
4049
|
-
# @param [Array<String>, String] part
|
4050
|
-
# The properties to update.
|
4051
|
-
# @param [Google::Apis::YoutubeV3::InfoCards] info_cards_object
|
4052
|
-
# @param [String] on_behalf_of_content_owner
|
4053
|
-
# Content owner of the video.
|
4054
|
-
# @param [String] video_id
|
4055
|
-
# Encrypted id of the video.
|
4056
|
-
# @param [String] fields
|
4057
|
-
# Selector specifying which fields to include in a partial response.
|
4058
|
-
# @param [String] quota_user
|
4059
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
4060
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4061
|
-
# @param [Google::Apis::RequestOptions] options
|
4062
|
-
# Request-specific options
|
4063
|
-
#
|
4064
|
-
# @yield [result, err] Result & error if block supplied
|
4065
|
-
# @yieldparam result [Google::Apis::YoutubeV3::InfoCards] parsed result object
|
4066
|
-
# @yieldparam err [StandardError] error object if request failed
|
4067
|
-
#
|
4068
|
-
# @return [Google::Apis::YoutubeV3::InfoCards]
|
4069
|
-
#
|
4070
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4071
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4072
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4073
|
-
def infocards_youtube_v3(part, info_cards_object = nil, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4074
|
-
command = make_simple_command(:post, 'youtube/v3/infocards', options)
|
4075
|
-
command.request_representation = Google::Apis::YoutubeV3::InfoCards::Representation
|
4076
|
-
command.request_object = info_cards_object
|
4077
|
-
command.response_representation = Google::Apis::YoutubeV3::InfoCards::Representation
|
4078
|
-
command.response_class = Google::Apis::YoutubeV3::InfoCards
|
4079
|
-
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
4080
|
-
command.query['part'] = part unless part.nil?
|
4081
|
-
command.query['videoId'] = video_id unless video_id.nil?
|
4082
|
-
command.query['fields'] = fields unless fields.nil?
|
4083
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4084
|
-
execute_or_queue_command(command, &block)
|
4085
|
-
end
|
4086
|
-
|
4087
|
-
# Retrieves all infocards for a given video.
|
4088
|
-
# @param [Array<String>, String] part
|
4089
|
-
# The properties to return.
|
4090
|
-
# @param [String] on_behalf_of_content_owner
|
4091
|
-
# Content owner of the video.
|
4092
|
-
# @param [String] video_id
|
4093
|
-
# Encrypted id of the video.
|
4094
|
-
# @param [String] fields
|
4095
|
-
# Selector specifying which fields to include in a partial response.
|
4096
|
-
# @param [String] quota_user
|
4097
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
4098
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4099
|
-
# @param [Google::Apis::RequestOptions] options
|
4100
|
-
# Request-specific options
|
4101
|
-
#
|
4102
|
-
# @yield [result, err] Result & error if block supplied
|
4103
|
-
# @yieldparam result [Google::Apis::YoutubeV3::InfocardListResponse] parsed result object
|
4104
|
-
# @yieldparam err [StandardError] error object if request failed
|
4105
|
-
#
|
4106
|
-
# @return [Google::Apis::YoutubeV3::InfocardListResponse]
|
4107
|
-
#
|
4108
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4109
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4110
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4111
|
-
def list_youtube_v3_infocards(part, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4112
|
-
command = make_simple_command(:get, 'youtube/v3/infocards', options)
|
4113
|
-
command.response_representation = Google::Apis::YoutubeV3::InfocardListResponse::Representation
|
4114
|
-
command.response_class = Google::Apis::YoutubeV3::InfocardListResponse
|
4115
|
-
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
4116
|
-
command.query['part'] = part unless part.nil?
|
4117
|
-
command.query['videoId'] = video_id unless video_id.nil?
|
4118
|
-
command.query['fields'] = fields unless fields.nil?
|
4119
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4120
|
-
execute_or_queue_command(command, &block)
|
4121
|
-
end
|
4122
3927
|
|
4123
3928
|
protected
|
4124
3929
|
|
data/google-api-client.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = %w[lib generated]
|
23
23
|
|
24
|
-
spec.required_ruby_version = '
|
24
|
+
spec.required_ruby_version = '>= 2.4'
|
25
25
|
|
26
26
|
spec.add_runtime_dependency 'representable', '~> 3.0'
|
27
27
|
spec.add_runtime_dependency 'retriable', '>= 2.0', '< 4.0'
|
@@ -30,6 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_runtime_dependency 'signet', '~> 0.12'
|
31
31
|
spec.add_runtime_dependency 'googleauth', '~> 0.9'
|
32
32
|
spec.add_runtime_dependency 'httpclient', '>= 2.8.1', '< 3.0'
|
33
|
+
spec.add_runtime_dependency 'rexml'
|
33
34
|
spec.add_development_dependency 'thor', '~> 0.19'
|
34
35
|
spec.add_development_dependency 'activesupport', '>= 4.2', '< 5.1'
|
35
36
|
end
|
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.46.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Bazyl
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-
|
14
|
+
date: 2020-10-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|
@@ -129,6 +129,20 @@ dependencies:
|
|
129
129
|
- - "<"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '3.0'
|
132
|
+
- !ruby/object:Gem::Dependency
|
133
|
+
name: rexml
|
134
|
+
requirement: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
type: :runtime
|
140
|
+
prerelease: false
|
141
|
+
version_requirements: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
132
146
|
- !ruby/object:Gem::Dependency
|
133
147
|
name: thor
|
134
148
|
requirement: !ruby/object:Gem::Requirement
|
@@ -292,6 +306,14 @@ files:
|
|
292
306
|
- generated/google/apis/analytics_v3/classes.rb
|
293
307
|
- generated/google/apis/analytics_v3/representations.rb
|
294
308
|
- generated/google/apis/analytics_v3/service.rb
|
309
|
+
- generated/google/apis/analyticsadmin_v1alpha.rb
|
310
|
+
- generated/google/apis/analyticsadmin_v1alpha/classes.rb
|
311
|
+
- generated/google/apis/analyticsadmin_v1alpha/representations.rb
|
312
|
+
- generated/google/apis/analyticsadmin_v1alpha/service.rb
|
313
|
+
- generated/google/apis/analyticsdata_v1alpha.rb
|
314
|
+
- generated/google/apis/analyticsdata_v1alpha/classes.rb
|
315
|
+
- generated/google/apis/analyticsdata_v1alpha/representations.rb
|
316
|
+
- generated/google/apis/analyticsdata_v1alpha/service.rb
|
295
317
|
- generated/google/apis/analyticsreporting_v4.rb
|
296
318
|
- generated/google/apis/analyticsreporting_v4/classes.rb
|
297
319
|
- generated/google/apis/analyticsreporting_v4/representations.rb
|
@@ -312,6 +334,10 @@ files:
|
|
312
334
|
- generated/google/apis/androidpublisher_v3/classes.rb
|
313
335
|
- generated/google/apis/androidpublisher_v3/representations.rb
|
314
336
|
- generated/google/apis/androidpublisher_v3/service.rb
|
337
|
+
- generated/google/apis/apigateway_v1beta.rb
|
338
|
+
- generated/google/apis/apigateway_v1beta/classes.rb
|
339
|
+
- generated/google/apis/apigateway_v1beta/representations.rb
|
340
|
+
- generated/google/apis/apigateway_v1beta/service.rb
|
315
341
|
- generated/google/apis/apigee_v1.rb
|
316
342
|
- generated/google/apis/apigee_v1/classes.rb
|
317
343
|
- generated/google/apis/apigee_v1/representations.rb
|
@@ -336,10 +362,6 @@ files:
|
|
336
362
|
- generated/google/apis/appengine_v1beta5/classes.rb
|
337
363
|
- generated/google/apis/appengine_v1beta5/representations.rb
|
338
364
|
- generated/google/apis/appengine_v1beta5/service.rb
|
339
|
-
- generated/google/apis/appsactivity_v1.rb
|
340
|
-
- generated/google/apis/appsactivity_v1/classes.rb
|
341
|
-
- generated/google/apis/appsactivity_v1/representations.rb
|
342
|
-
- generated/google/apis/appsactivity_v1/service.rb
|
343
365
|
- generated/google/apis/appsmarket_v2.rb
|
344
366
|
- generated/google/apis/appsmarket_v2/classes.rb
|
345
367
|
- generated/google/apis/appsmarket_v2/representations.rb
|
@@ -348,6 +370,10 @@ files:
|
|
348
370
|
- generated/google/apis/artifactregistry_v1beta1/classes.rb
|
349
371
|
- generated/google/apis/artifactregistry_v1beta1/representations.rb
|
350
372
|
- generated/google/apis/artifactregistry_v1beta1/service.rb
|
373
|
+
- generated/google/apis/assuredworkloads_v1beta1.rb
|
374
|
+
- generated/google/apis/assuredworkloads_v1beta1/classes.rb
|
375
|
+
- generated/google/apis/assuredworkloads_v1beta1/representations.rb
|
376
|
+
- generated/google/apis/assuredworkloads_v1beta1/service.rb
|
351
377
|
- generated/google/apis/bigquery_v2.rb
|
352
378
|
- generated/google/apis/bigquery_v2/classes.rb
|
353
379
|
- generated/google/apis/bigquery_v2/representations.rb
|
@@ -680,6 +706,18 @@ files:
|
|
680
706
|
- generated/google/apis/displayvideo_v1/classes.rb
|
681
707
|
- generated/google/apis/displayvideo_v1/representations.rb
|
682
708
|
- generated/google/apis/displayvideo_v1/service.rb
|
709
|
+
- generated/google/apis/displayvideo_v1beta.rb
|
710
|
+
- generated/google/apis/displayvideo_v1beta/classes.rb
|
711
|
+
- generated/google/apis/displayvideo_v1beta/representations.rb
|
712
|
+
- generated/google/apis/displayvideo_v1beta/service.rb
|
713
|
+
- generated/google/apis/displayvideo_v1beta2.rb
|
714
|
+
- generated/google/apis/displayvideo_v1beta2/classes.rb
|
715
|
+
- generated/google/apis/displayvideo_v1beta2/representations.rb
|
716
|
+
- generated/google/apis/displayvideo_v1beta2/service.rb
|
717
|
+
- generated/google/apis/displayvideo_v1dev.rb
|
718
|
+
- generated/google/apis/displayvideo_v1dev/classes.rb
|
719
|
+
- generated/google/apis/displayvideo_v1dev/representations.rb
|
720
|
+
- generated/google/apis/displayvideo_v1dev/service.rb
|
683
721
|
- generated/google/apis/dlp_v2.rb
|
684
722
|
- generated/google/apis/dlp_v2/classes.rb
|
685
723
|
- generated/google/apis/dlp_v2/representations.rb
|
@@ -996,10 +1034,6 @@ files:
|
|
996
1034
|
- generated/google/apis/playcustomapp_v1/classes.rb
|
997
1035
|
- generated/google/apis/playcustomapp_v1/representations.rb
|
998
1036
|
- generated/google/apis/playcustomapp_v1/service.rb
|
999
|
-
- generated/google/apis/plus_v1.rb
|
1000
|
-
- generated/google/apis/plus_v1/classes.rb
|
1001
|
-
- generated/google/apis/plus_v1/representations.rb
|
1002
|
-
- generated/google/apis/plus_v1/service.rb
|
1003
1037
|
- generated/google/apis/policytroubleshooter_v1.rb
|
1004
1038
|
- generated/google/apis/policytroubleshooter_v1/classes.rb
|
1005
1039
|
- generated/google/apis/policytroubleshooter_v1/representations.rb
|
@@ -1180,6 +1214,10 @@ files:
|
|
1180
1214
|
- generated/google/apis/slides_v1/classes.rb
|
1181
1215
|
- generated/google/apis/slides_v1/representations.rb
|
1182
1216
|
- generated/google/apis/slides_v1/service.rb
|
1217
|
+
- generated/google/apis/smartdevicemanagement_v1.rb
|
1218
|
+
- generated/google/apis/smartdevicemanagement_v1/classes.rb
|
1219
|
+
- generated/google/apis/smartdevicemanagement_v1/representations.rb
|
1220
|
+
- generated/google/apis/smartdevicemanagement_v1/service.rb
|
1183
1221
|
- generated/google/apis/sourcerepo_v1.rb
|
1184
1222
|
- generated/google/apis/sourcerepo_v1/classes.rb
|
1185
1223
|
- generated/google/apis/sourcerepo_v1/representations.rb
|
@@ -1200,10 +1238,10 @@ files:
|
|
1200
1238
|
- generated/google/apis/speech_v2beta1/classes.rb
|
1201
1239
|
- generated/google/apis/speech_v2beta1/representations.rb
|
1202
1240
|
- generated/google/apis/speech_v2beta1/service.rb
|
1203
|
-
- generated/google/apis/
|
1204
|
-
- generated/google/apis/
|
1205
|
-
- generated/google/apis/
|
1206
|
-
- generated/google/apis/
|
1241
|
+
- generated/google/apis/sqladmin_v1beta4.rb
|
1242
|
+
- generated/google/apis/sqladmin_v1beta4/classes.rb
|
1243
|
+
- generated/google/apis/sqladmin_v1beta4/representations.rb
|
1244
|
+
- generated/google/apis/sqladmin_v1beta4/service.rb
|
1207
1245
|
- generated/google/apis/storage_v1.rb
|
1208
1246
|
- generated/google/apis/storage_v1/classes.rb
|
1209
1247
|
- generated/google/apis/storage_v1/representations.rb
|
@@ -1216,6 +1254,14 @@ files:
|
|
1216
1254
|
- generated/google/apis/streetviewpublish_v1/classes.rb
|
1217
1255
|
- generated/google/apis/streetviewpublish_v1/representations.rb
|
1218
1256
|
- generated/google/apis/streetviewpublish_v1/service.rb
|
1257
|
+
- generated/google/apis/sts_v1.rb
|
1258
|
+
- generated/google/apis/sts_v1/classes.rb
|
1259
|
+
- generated/google/apis/sts_v1/representations.rb
|
1260
|
+
- generated/google/apis/sts_v1/service.rb
|
1261
|
+
- generated/google/apis/sts_v1beta.rb
|
1262
|
+
- generated/google/apis/sts_v1beta/classes.rb
|
1263
|
+
- generated/google/apis/sts_v1beta/representations.rb
|
1264
|
+
- generated/google/apis/sts_v1beta/service.rb
|
1219
1265
|
- generated/google/apis/tagmanager_v1.rb
|
1220
1266
|
- generated/google/apis/tagmanager_v1/classes.rb
|
1221
1267
|
- generated/google/apis/tagmanager_v1/representations.rb
|
@@ -1332,6 +1378,14 @@ files:
|
|
1332
1378
|
- generated/google/apis/websecurityscanner_v1beta/classes.rb
|
1333
1379
|
- generated/google/apis/websecurityscanner_v1beta/representations.rb
|
1334
1380
|
- generated/google/apis/websecurityscanner_v1beta/service.rb
|
1381
|
+
- generated/google/apis/workflowexecutions_v1beta.rb
|
1382
|
+
- generated/google/apis/workflowexecutions_v1beta/classes.rb
|
1383
|
+
- generated/google/apis/workflowexecutions_v1beta/representations.rb
|
1384
|
+
- generated/google/apis/workflowexecutions_v1beta/service.rb
|
1385
|
+
- generated/google/apis/workflows_v1beta.rb
|
1386
|
+
- generated/google/apis/workflows_v1beta/classes.rb
|
1387
|
+
- generated/google/apis/workflows_v1beta/representations.rb
|
1388
|
+
- generated/google/apis/workflows_v1beta/service.rb
|
1335
1389
|
- generated/google/apis/youtube_analytics_v1.rb
|
1336
1390
|
- generated/google/apis/youtube_analytics_v1/classes.rb
|
1337
1391
|
- generated/google/apis/youtube_analytics_v1/representations.rb
|
@@ -1424,7 +1478,7 @@ homepage: https://github.com/google/google-api-ruby-client
|
|
1424
1478
|
licenses:
|
1425
1479
|
- Apache-2.0
|
1426
1480
|
metadata:
|
1427
|
-
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.
|
1481
|
+
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.46.0
|
1428
1482
|
post_install_message:
|
1429
1483
|
rdoc_options: []
|
1430
1484
|
require_paths:
|
@@ -1432,7 +1486,7 @@ require_paths:
|
|
1432
1486
|
- generated
|
1433
1487
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1434
1488
|
requirements:
|
1435
|
-
- - "
|
1489
|
+
- - ">="
|
1436
1490
|
- !ruby/object:Gem::Version
|
1437
1491
|
version: '2.4'
|
1438
1492
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -1,415 +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 AppsactivityV1
|
24
|
-
|
25
|
-
# An Activity resource is a combined view of multiple events. An activity has a
|
26
|
-
# list of individual events and a combined view of the common fields among all
|
27
|
-
# events.
|
28
|
-
class Activity
|
29
|
-
include Google::Apis::Core::Hashable
|
30
|
-
|
31
|
-
# Represents the changes associated with an action taken by a user.
|
32
|
-
# Corresponds to the JSON property `combinedEvent`
|
33
|
-
# @return [Google::Apis::AppsactivityV1::Event]
|
34
|
-
attr_accessor :combined_event
|
35
|
-
|
36
|
-
# A list of all the Events that make up the Activity.
|
37
|
-
# Corresponds to the JSON property `singleEvents`
|
38
|
-
# @return [Array<Google::Apis::AppsactivityV1::Event>]
|
39
|
-
attr_accessor :single_events
|
40
|
-
|
41
|
-
def initialize(**args)
|
42
|
-
update!(**args)
|
43
|
-
end
|
44
|
-
|
45
|
-
# Update properties of this object
|
46
|
-
def update!(**args)
|
47
|
-
@combined_event = args[:combined_event] if args.key?(:combined_event)
|
48
|
-
@single_events = args[:single_events] if args.key?(:single_events)
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
# Represents the changes associated with an action taken by a user.
|
53
|
-
class Event
|
54
|
-
include Google::Apis::Core::Hashable
|
55
|
-
|
56
|
-
# Additional event types. Some events may have multiple types when multiple
|
57
|
-
# actions are part of a single event. For example, creating a document, renaming
|
58
|
-
# it, and sharing it may be part of a single file-creation event.
|
59
|
-
# Corresponds to the JSON property `additionalEventTypes`
|
60
|
-
# @return [Array<String>]
|
61
|
-
attr_accessor :additional_event_types
|
62
|
-
|
63
|
-
# The time at which the event occurred formatted as Unix time in milliseconds.
|
64
|
-
# Corresponds to the JSON property `eventTimeMillis`
|
65
|
-
# @return [Fixnum]
|
66
|
-
attr_accessor :event_time_millis
|
67
|
-
|
68
|
-
# Whether this event is caused by a user being deleted.
|
69
|
-
# Corresponds to the JSON property `fromUserDeletion`
|
70
|
-
# @return [Boolean]
|
71
|
-
attr_accessor :from_user_deletion
|
72
|
-
alias_method :from_user_deletion?, :from_user_deletion
|
73
|
-
|
74
|
-
# Contains information about changes in an object's parents as a result of a
|
75
|
-
# move type event.
|
76
|
-
# Corresponds to the JSON property `move`
|
77
|
-
# @return [Google::Apis::AppsactivityV1::Move]
|
78
|
-
attr_accessor :move
|
79
|
-
|
80
|
-
# Extra information for permissionChange type events, such as the user or group
|
81
|
-
# the new permission applies to.
|
82
|
-
# Corresponds to the JSON property `permissionChanges`
|
83
|
-
# @return [Array<Google::Apis::AppsactivityV1::PermissionChange>]
|
84
|
-
attr_accessor :permission_changes
|
85
|
-
|
86
|
-
# The main type of event that occurred.
|
87
|
-
# Corresponds to the JSON property `primaryEventType`
|
88
|
-
# @return [String]
|
89
|
-
attr_accessor :primary_event_type
|
90
|
-
|
91
|
-
# Contains information about a renametype event.
|
92
|
-
# Corresponds to the JSON property `rename`
|
93
|
-
# @return [Google::Apis::AppsactivityV1::Rename]
|
94
|
-
attr_accessor :rename
|
95
|
-
|
96
|
-
# Information about the object modified by the event.
|
97
|
-
# Corresponds to the JSON property `target`
|
98
|
-
# @return [Google::Apis::AppsactivityV1::Target]
|
99
|
-
attr_accessor :target
|
100
|
-
|
101
|
-
# A representation of a user.
|
102
|
-
# Corresponds to the JSON property `user`
|
103
|
-
# @return [Google::Apis::AppsactivityV1::User]
|
104
|
-
attr_accessor :user
|
105
|
-
|
106
|
-
def initialize(**args)
|
107
|
-
update!(**args)
|
108
|
-
end
|
109
|
-
|
110
|
-
# Update properties of this object
|
111
|
-
def update!(**args)
|
112
|
-
@additional_event_types = args[:additional_event_types] if args.key?(:additional_event_types)
|
113
|
-
@event_time_millis = args[:event_time_millis] if args.key?(:event_time_millis)
|
114
|
-
@from_user_deletion = args[:from_user_deletion] if args.key?(:from_user_deletion)
|
115
|
-
@move = args[:move] if args.key?(:move)
|
116
|
-
@permission_changes = args[:permission_changes] if args.key?(:permission_changes)
|
117
|
-
@primary_event_type = args[:primary_event_type] if args.key?(:primary_event_type)
|
118
|
-
@rename = args[:rename] if args.key?(:rename)
|
119
|
-
@target = args[:target] if args.key?(:target)
|
120
|
-
@user = args[:user] if args.key?(:user)
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
# The response from the list request. Contains a list of activities and a token
|
125
|
-
# to retrieve the next page of results.
|
126
|
-
class ListActivitiesResponse
|
127
|
-
include Google::Apis::Core::Hashable
|
128
|
-
|
129
|
-
# List of activities.
|
130
|
-
# Corresponds to the JSON property `activities`
|
131
|
-
# @return [Array<Google::Apis::AppsactivityV1::Activity>]
|
132
|
-
attr_accessor :activities
|
133
|
-
|
134
|
-
# Token for the next page of results.
|
135
|
-
# Corresponds to the JSON property `nextPageToken`
|
136
|
-
# @return [String]
|
137
|
-
attr_accessor :next_page_token
|
138
|
-
|
139
|
-
def initialize(**args)
|
140
|
-
update!(**args)
|
141
|
-
end
|
142
|
-
|
143
|
-
# Update properties of this object
|
144
|
-
def update!(**args)
|
145
|
-
@activities = args[:activities] if args.key?(:activities)
|
146
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
147
|
-
end
|
148
|
-
end
|
149
|
-
|
150
|
-
# Contains information about changes in an object's parents as a result of a
|
151
|
-
# move type event.
|
152
|
-
class Move
|
153
|
-
include Google::Apis::Core::Hashable
|
154
|
-
|
155
|
-
# The added parent(s).
|
156
|
-
# Corresponds to the JSON property `addedParents`
|
157
|
-
# @return [Array<Google::Apis::AppsactivityV1::Parent>]
|
158
|
-
attr_accessor :added_parents
|
159
|
-
|
160
|
-
# The removed parent(s).
|
161
|
-
# Corresponds to the JSON property `removedParents`
|
162
|
-
# @return [Array<Google::Apis::AppsactivityV1::Parent>]
|
163
|
-
attr_accessor :removed_parents
|
164
|
-
|
165
|
-
def initialize(**args)
|
166
|
-
update!(**args)
|
167
|
-
end
|
168
|
-
|
169
|
-
# Update properties of this object
|
170
|
-
def update!(**args)
|
171
|
-
@added_parents = args[:added_parents] if args.key?(:added_parents)
|
172
|
-
@removed_parents = args[:removed_parents] if args.key?(:removed_parents)
|
173
|
-
end
|
174
|
-
end
|
175
|
-
|
176
|
-
# Contains information about a parent object. For example, a folder in Drive is
|
177
|
-
# a parent for all files within it.
|
178
|
-
class Parent
|
179
|
-
include Google::Apis::Core::Hashable
|
180
|
-
|
181
|
-
# The parent's ID.
|
182
|
-
# Corresponds to the JSON property `id`
|
183
|
-
# @return [String]
|
184
|
-
attr_accessor :id
|
185
|
-
|
186
|
-
# Whether this is the root folder.
|
187
|
-
# Corresponds to the JSON property `isRoot`
|
188
|
-
# @return [Boolean]
|
189
|
-
attr_accessor :is_root
|
190
|
-
alias_method :is_root?, :is_root
|
191
|
-
|
192
|
-
# The parent's title.
|
193
|
-
# Corresponds to the JSON property `title`
|
194
|
-
# @return [String]
|
195
|
-
attr_accessor :title
|
196
|
-
|
197
|
-
def initialize(**args)
|
198
|
-
update!(**args)
|
199
|
-
end
|
200
|
-
|
201
|
-
# Update properties of this object
|
202
|
-
def update!(**args)
|
203
|
-
@id = args[:id] if args.key?(:id)
|
204
|
-
@is_root = args[:is_root] if args.key?(:is_root)
|
205
|
-
@title = args[:title] if args.key?(:title)
|
206
|
-
end
|
207
|
-
end
|
208
|
-
|
209
|
-
# Contains information about the permissions and type of access allowed with
|
210
|
-
# regards to a Google Drive object. This is a subset of the fields contained in
|
211
|
-
# a corresponding Drive Permissions object.
|
212
|
-
class Permission
|
213
|
-
include Google::Apis::Core::Hashable
|
214
|
-
|
215
|
-
# The name of the user or group the permission applies to.
|
216
|
-
# Corresponds to the JSON property `name`
|
217
|
-
# @return [String]
|
218
|
-
attr_accessor :name
|
219
|
-
|
220
|
-
# The ID for this permission. Corresponds to the Drive API's permission ID
|
221
|
-
# returned as part of the Drive Permissions resource.
|
222
|
-
# Corresponds to the JSON property `permissionId`
|
223
|
-
# @return [String]
|
224
|
-
attr_accessor :permission_id
|
225
|
-
|
226
|
-
# Indicates the Google Drive permissions role. The role determines a user's
|
227
|
-
# ability to read, write, or comment on the file.
|
228
|
-
# Corresponds to the JSON property `role`
|
229
|
-
# @return [String]
|
230
|
-
attr_accessor :role
|
231
|
-
|
232
|
-
# Indicates how widely permissions are granted.
|
233
|
-
# Corresponds to the JSON property `type`
|
234
|
-
# @return [String]
|
235
|
-
attr_accessor :type
|
236
|
-
|
237
|
-
# A representation of a user.
|
238
|
-
# Corresponds to the JSON property `user`
|
239
|
-
# @return [Google::Apis::AppsactivityV1::User]
|
240
|
-
attr_accessor :user
|
241
|
-
|
242
|
-
# Whether the permission requires a link to the file.
|
243
|
-
# Corresponds to the JSON property `withLink`
|
244
|
-
# @return [Boolean]
|
245
|
-
attr_accessor :with_link
|
246
|
-
alias_method :with_link?, :with_link
|
247
|
-
|
248
|
-
def initialize(**args)
|
249
|
-
update!(**args)
|
250
|
-
end
|
251
|
-
|
252
|
-
# Update properties of this object
|
253
|
-
def update!(**args)
|
254
|
-
@name = args[:name] if args.key?(:name)
|
255
|
-
@permission_id = args[:permission_id] if args.key?(:permission_id)
|
256
|
-
@role = args[:role] if args.key?(:role)
|
257
|
-
@type = args[:type] if args.key?(:type)
|
258
|
-
@user = args[:user] if args.key?(:user)
|
259
|
-
@with_link = args[:with_link] if args.key?(:with_link)
|
260
|
-
end
|
261
|
-
end
|
262
|
-
|
263
|
-
# Contains information about a Drive object's permissions that changed as a
|
264
|
-
# result of a permissionChange type event.
|
265
|
-
class PermissionChange
|
266
|
-
include Google::Apis::Core::Hashable
|
267
|
-
|
268
|
-
# Lists all Permission objects added.
|
269
|
-
# Corresponds to the JSON property `addedPermissions`
|
270
|
-
# @return [Array<Google::Apis::AppsactivityV1::Permission>]
|
271
|
-
attr_accessor :added_permissions
|
272
|
-
|
273
|
-
# Lists all Permission objects removed.
|
274
|
-
# Corresponds to the JSON property `removedPermissions`
|
275
|
-
# @return [Array<Google::Apis::AppsactivityV1::Permission>]
|
276
|
-
attr_accessor :removed_permissions
|
277
|
-
|
278
|
-
def initialize(**args)
|
279
|
-
update!(**args)
|
280
|
-
end
|
281
|
-
|
282
|
-
# Update properties of this object
|
283
|
-
def update!(**args)
|
284
|
-
@added_permissions = args[:added_permissions] if args.key?(:added_permissions)
|
285
|
-
@removed_permissions = args[:removed_permissions] if args.key?(:removed_permissions)
|
286
|
-
end
|
287
|
-
end
|
288
|
-
|
289
|
-
# Photo information for a user.
|
290
|
-
class Photo
|
291
|
-
include Google::Apis::Core::Hashable
|
292
|
-
|
293
|
-
# The URL of the photo.
|
294
|
-
# Corresponds to the JSON property `url`
|
295
|
-
# @return [String]
|
296
|
-
attr_accessor :url
|
297
|
-
|
298
|
-
def initialize(**args)
|
299
|
-
update!(**args)
|
300
|
-
end
|
301
|
-
|
302
|
-
# Update properties of this object
|
303
|
-
def update!(**args)
|
304
|
-
@url = args[:url] if args.key?(:url)
|
305
|
-
end
|
306
|
-
end
|
307
|
-
|
308
|
-
# Contains information about a renametype event.
|
309
|
-
class Rename
|
310
|
-
include Google::Apis::Core::Hashable
|
311
|
-
|
312
|
-
# The new title.
|
313
|
-
# Corresponds to the JSON property `newTitle`
|
314
|
-
# @return [String]
|
315
|
-
attr_accessor :new_title
|
316
|
-
|
317
|
-
# The old title.
|
318
|
-
# Corresponds to the JSON property `oldTitle`
|
319
|
-
# @return [String]
|
320
|
-
attr_accessor :old_title
|
321
|
-
|
322
|
-
def initialize(**args)
|
323
|
-
update!(**args)
|
324
|
-
end
|
325
|
-
|
326
|
-
# Update properties of this object
|
327
|
-
def update!(**args)
|
328
|
-
@new_title = args[:new_title] if args.key?(:new_title)
|
329
|
-
@old_title = args[:old_title] if args.key?(:old_title)
|
330
|
-
end
|
331
|
-
end
|
332
|
-
|
333
|
-
# Information about the object modified by the event.
|
334
|
-
class Target
|
335
|
-
include Google::Apis::Core::Hashable
|
336
|
-
|
337
|
-
# The ID of the target. For example, in Google Drive, this is the file or folder
|
338
|
-
# ID.
|
339
|
-
# Corresponds to the JSON property `id`
|
340
|
-
# @return [String]
|
341
|
-
attr_accessor :id
|
342
|
-
|
343
|
-
# The MIME type of the target.
|
344
|
-
# Corresponds to the JSON property `mimeType`
|
345
|
-
# @return [String]
|
346
|
-
attr_accessor :mime_type
|
347
|
-
|
348
|
-
# The name of the target. For example, in Google Drive, this is the title of the
|
349
|
-
# file.
|
350
|
-
# Corresponds to the JSON property `name`
|
351
|
-
# @return [String]
|
352
|
-
attr_accessor :name
|
353
|
-
|
354
|
-
def initialize(**args)
|
355
|
-
update!(**args)
|
356
|
-
end
|
357
|
-
|
358
|
-
# Update properties of this object
|
359
|
-
def update!(**args)
|
360
|
-
@id = args[:id] if args.key?(:id)
|
361
|
-
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
362
|
-
@name = args[:name] if args.key?(:name)
|
363
|
-
end
|
364
|
-
end
|
365
|
-
|
366
|
-
# A representation of a user.
|
367
|
-
class User
|
368
|
-
include Google::Apis::Core::Hashable
|
369
|
-
|
370
|
-
# A boolean which indicates whether the specified User was deleted. If true,
|
371
|
-
# name, photo and permission_id will be omitted.
|
372
|
-
# Corresponds to the JSON property `isDeleted`
|
373
|
-
# @return [Boolean]
|
374
|
-
attr_accessor :is_deleted
|
375
|
-
alias_method :is_deleted?, :is_deleted
|
376
|
-
|
377
|
-
# Whether the user is the authenticated user.
|
378
|
-
# Corresponds to the JSON property `isMe`
|
379
|
-
# @return [Boolean]
|
380
|
-
attr_accessor :is_me
|
381
|
-
alias_method :is_me?, :is_me
|
382
|
-
|
383
|
-
# The displayable name of the user.
|
384
|
-
# Corresponds to the JSON property `name`
|
385
|
-
# @return [String]
|
386
|
-
attr_accessor :name
|
387
|
-
|
388
|
-
# The permission ID associated with this user. Equivalent to the Drive API's
|
389
|
-
# permission ID for this user, returned as part of the Drive Permissions
|
390
|
-
# resource.
|
391
|
-
# Corresponds to the JSON property `permissionId`
|
392
|
-
# @return [String]
|
393
|
-
attr_accessor :permission_id
|
394
|
-
|
395
|
-
# Photo information for a user.
|
396
|
-
# Corresponds to the JSON property `photo`
|
397
|
-
# @return [Google::Apis::AppsactivityV1::Photo]
|
398
|
-
attr_accessor :photo
|
399
|
-
|
400
|
-
def initialize(**args)
|
401
|
-
update!(**args)
|
402
|
-
end
|
403
|
-
|
404
|
-
# Update properties of this object
|
405
|
-
def update!(**args)
|
406
|
-
@is_deleted = args[:is_deleted] if args.key?(:is_deleted)
|
407
|
-
@is_me = args[:is_me] if args.key?(:is_me)
|
408
|
-
@name = args[:name] if args.key?(:name)
|
409
|
-
@permission_id = args[:permission_id] if args.key?(:permission_id)
|
410
|
-
@photo = args[:photo] if args.key?(:photo)
|
411
|
-
end
|
412
|
-
end
|
413
|
-
end
|
414
|
-
end
|
415
|
-
end
|