google-api-client 0.46.1 → 0.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +666 -191
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- data/generated/google/apis/accessapproval_v1/service.rb +12 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +4 -0
- data/generated/google/apis/admob_v1beta.rb +38 -0
- data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
- data/generated/google/apis/admob_v1beta/representations.rb +472 -0
- data/generated/google/apis/admob_v1beta/service.rb +279 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +19 -18
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -13
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +179 -50
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +50 -14
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +49 -38
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +377 -137
- data/generated/google/apis/apigee_v1/representations.rb +109 -18
- data/generated/google/apis/apigee_v1/service.rb +673 -56
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -7
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +20 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +158 -5
- data/generated/google/apis/bigquery_v2/representations.rb +67 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
- 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 +3 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +3 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +7 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1122 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- 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 +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +29 -17
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +282 -29
- data/generated/google/apis/compute_v1/representations.rb +43 -0
- data/generated/google/apis/compute_v1/service.rb +4 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +51 -10
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -2
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2/classes.rb +511 -1219
- data/generated/google/apis/content_v2/service.rb +380 -651
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1353 -1061
- data/generated/google/apis/content_v2_1/representations.rb +342 -0
- data/generated/google/apis/content_v2_1/service.rb +948 -809
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -12
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datamigration_v1beta1.rb +34 -0
- data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
- data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
- data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +18 -7
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +18 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +209 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +253 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +649 -385
- data/generated/google/apis/dialogflow_v2/representations.rb +279 -192
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +649 -385
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +283 -196
- data/generated/google/apis/dialogflow_v2beta1/service.rb +14 -8
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +712 -391
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +301 -195
- data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +241 -63
- data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1/service.rb +257 -17
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +39 -32
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +195 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +95 -0
- data/generated/google/apis/dns_v1beta2/service.rb +177 -1
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +22 -20
- data/generated/google/apis/drive_v2/service.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -9
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +937 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +380 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +505 -4
- data/generated/google/apis/file_v1/representations.rb +203 -0
- data/generated/google/apis/file_v1/service.rb +229 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +346 -6
- data/generated/google/apis/file_v1beta1/representations.rb +149 -0
- data/generated/google/apis/file_v1beta1/service.rb +6 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +16 -16
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +16 -16
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +10 -4
- data/generated/google/apis/healthcare_v1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +350 -46
- data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
- data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/classes.rb +8 -11
- data/generated/google/apis/iam_v1/representations.rb +0 -1
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -13
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +186 -10
- data/generated/google/apis/logging_v2/representations.rb +77 -0
- data/generated/google/apis/logging_v2/service.rb +446 -25
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +347 -7
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +426 -15
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +182 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +427 -15
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +182 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
- data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +273 -79
- data/generated/google/apis/ml_v1/representations.rb +43 -0
- data/generated/google/apis/ml_v1/service.rb +35 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +19 -13
- data/generated/google/apis/monitoring_v3/service.rb +50 -1
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
- data/generated/google/apis/notebooks_v1.rb +34 -0
- data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
- data/generated/google/apis/notebooks_v1/representations.rb +581 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +49 -49
- data/generated/google/apis/people_v1/service.rb +21 -18
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/privateca_v1beta1.rb +36 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +1 -2
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +1 -2
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +578 -33
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +454 -4
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +86 -0
- data/generated/google/apis/redis_v1/representations.rb +34 -0
- data/generated/google/apis/redis_v1/service.rb +34 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +7 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +27 -8
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +207 -65
- data/generated/google/apis/servicenetworking_v1/representations.rb +77 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +82 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +140 -65
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +23 -7
- data/generated/google/apis/sheets_v4/representations.rb +3 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2 -3
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +82 -50
- data/generated/google/apis/storagetransfer_v1/representations.rb +4 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +20 -21
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +12 -11
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
- data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- 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/service.rb +8 -8
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +47 -16
- data/generated/google/apis/displayvideo_v1beta.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
- data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
- data/generated/google/apis/displayvideo_v1dev.rb +0 -38
- data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1dev/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -79,10 +79,28 @@ namespace :kokoro do
|
|
79
79
|
end
|
80
80
|
|
81
81
|
task :release do
|
82
|
-
|
83
|
-
|
82
|
+
Rake::Task["kokoro:publish_gem"].invoke
|
83
|
+
Rake::Task["kokoro:publish_docs"].invoke
|
84
|
+
end
|
85
|
+
|
86
|
+
task :publish_gem do
|
87
|
+
require "gems"
|
88
|
+
|
89
|
+
load_env_vars if ENV["KOKORO_GFILE_DIR"]
|
90
|
+
api_token = ENV["RUBYGEMS_API_TOKEN"]
|
91
|
+
if api_token
|
92
|
+
::Gems.configure do |config|
|
93
|
+
config.key = api_token
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
rm_rf "pkg"
|
98
|
+
Rake::Task["build"].invoke
|
99
|
+
built_gem_path = Dir.glob("pkg/google-api-client-*.gem").last
|
84
100
|
|
85
|
-
|
101
|
+
response = ::Gems.push File.new built_gem_path
|
102
|
+
puts response
|
103
|
+
raise "Failed to release gem" unless response.include? "Successfully registered gem:"
|
86
104
|
end
|
87
105
|
|
88
106
|
desc "Publish docs for the latest git tag"
|
@@ -93,6 +111,16 @@ namespace :kokoro do
|
|
93
111
|
end
|
94
112
|
end
|
95
113
|
|
114
|
+
def load_env_vars
|
115
|
+
service_account = "#{ENV['KOKORO_GFILE_DIR']}/service-account.json"
|
116
|
+
raise "#{service_account} is not a file" unless File.file? service_account
|
117
|
+
ENV["GOOGLE_APPLICATION_CREDENTIALS"] = service_account
|
118
|
+
filename = "#{ENV['KOKORO_GFILE_DIR']}/ruby_env_vars.json"
|
119
|
+
raise "#{filename} is not a file" unless File.file? filename
|
120
|
+
env_vars = JSON.parse File.read(filename)
|
121
|
+
env_vars.each { |k, v| ENV[k] ||= v }
|
122
|
+
end
|
123
|
+
|
96
124
|
def header str, token = "#"
|
97
125
|
line_length = str.length + 8
|
98
126
|
puts
|
data/api_list_config.yaml
CHANGED
@@ -1 +1,9 @@
|
|
1
|
+
include:
|
2
|
+
- name: appsmarket
|
3
|
+
version: v2
|
4
|
+
discovery_rest_url: https://content.googleapis.com/discovery/v1/apis/appsmarket/v2/rest
|
5
|
+
- name: youtubePartner
|
6
|
+
version: v1
|
7
|
+
discovery_rest_url: https://content.googleapis.com/discovery/v1/apis/youtubePartner/v1/rest
|
1
8
|
exclude: []
|
9
|
+
pause: []
|
data/bin/generate-api
CHANGED
@@ -28,32 +28,34 @@ module Google
|
|
28
28
|
|
29
29
|
desc 'gen OUTDIR', 'Generate ruby API from an API description'
|
30
30
|
method_options url: :array, file: :array, from_discovery: :boolean, preferred_only: :boolean,
|
31
|
-
verbose: :boolean, names: :string, names_out: :string
|
31
|
+
verbose: :boolean, names: :string, names_out: :string, api: :string, clean: :boolean
|
32
32
|
def gen(dir)
|
33
33
|
ensure_active_support
|
34
34
|
require 'google/apis/generator'
|
35
35
|
|
36
36
|
self.destination_root = dir
|
37
37
|
Google::Apis.logger.level = Logger::DEBUG if options[:verbose]
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
count = 0
|
39
|
+
count += generate_from_url(options[:url]) if options[:url]
|
40
|
+
count += generate_from_file(options[:file]) if options[:file]
|
41
|
+
count += generate_specific_apis(options[:api]) if options[:api]
|
42
|
+
count += generate_from_discovery(preferred_only: options[:preferred_only]) if options[:from_discovery]
|
43
|
+
count += clean_from_discovery if options[:clean]
|
44
|
+
create_file(options[:names_out]) { |*| generator.dump_api_names } if count > 0 && options[:names_out]
|
42
45
|
end
|
43
46
|
|
44
47
|
desc 'list', 'List public APIs'
|
45
48
|
method_options verbose: :boolean, preferred_only: :boolean
|
46
49
|
def list
|
47
50
|
Google::Apis.logger.level = Logger::DEBUG if options[:verbose]
|
48
|
-
|
49
|
-
apis = discovery.list_apis
|
50
|
-
apis.items.each do |api|
|
51
|
+
discovery_api_list.each do |api|
|
51
52
|
say sprintf('%s - %s', api.id, api.description).strip unless options[:preferred_only] && !api.preferred?
|
52
53
|
end
|
53
54
|
end
|
54
55
|
|
55
56
|
no_commands do
|
56
|
-
def generate_from_url(urls)
|
57
|
+
def generate_from_url(urls, first_only: false)
|
58
|
+
count = 0
|
57
59
|
Array(urls).each do |url|
|
58
60
|
begin
|
59
61
|
json = discovery.http(:get, url)
|
@@ -62,7 +64,10 @@ module Google
|
|
62
64
|
next
|
63
65
|
end
|
64
66
|
generate_api(json)
|
67
|
+
return 1 if first_only
|
68
|
+
count += 1
|
65
69
|
end
|
70
|
+
count
|
66
71
|
end
|
67
72
|
|
68
73
|
def generate_from_file(files)
|
@@ -71,15 +76,38 @@ module Google
|
|
71
76
|
generate_api(f.read)
|
72
77
|
end
|
73
78
|
end
|
79
|
+
Array(files).size
|
80
|
+
end
|
81
|
+
|
82
|
+
def generate_specific_apis(apis)
|
83
|
+
discovery_apis = discovery_api_list.each_with_object({}) do |api, hash|
|
84
|
+
hash["#{api.name}.#{api.version}"] = api
|
85
|
+
end
|
86
|
+
paused_apis = Array(api_list_config["pause"])
|
87
|
+
count = 0
|
88
|
+
Array(apis).each do |name_version|
|
89
|
+
api = discovery_apis[name_version]
|
90
|
+
if api.nil?
|
91
|
+
say "API #{api} is not in the discovery list."
|
92
|
+
elsif paused_apis.include? name_version
|
93
|
+
say "Ignoring paused API #{api.name} #{api.version}"
|
94
|
+
else
|
95
|
+
discovery_rest_url = "https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/#{api.name}.#{api.version}.json"
|
96
|
+
say sprintf('Loading %s, version %s from %s', api.name, api.version, discovery_rest_url)
|
97
|
+
generate_from_url([discovery_rest_url, api.discovery_rest_url], first_only: true)
|
98
|
+
count += 1
|
99
|
+
end
|
100
|
+
end
|
101
|
+
count
|
74
102
|
end
|
75
103
|
|
76
104
|
def generate_from_discovery(preferred_only: false)
|
77
105
|
say 'Fetching API list'
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
if
|
82
|
-
say "Ignoring
|
106
|
+
paused_apis = Array(api_list_config["pause"])
|
107
|
+
count = 0
|
108
|
+
discovery_api_list.each do |api|
|
109
|
+
if paused_apis.include? "#{api.name}.#{api.version}"
|
110
|
+
say "Ignoring paused API #{api.name} #{api.version}"
|
83
111
|
elsif (preferred_only && !api.preferred?)
|
84
112
|
say sprintf('Ignoring disoverable API %s', api.id)
|
85
113
|
else
|
@@ -91,9 +119,27 @@ module Google
|
|
91
119
|
# by the Discovery index.
|
92
120
|
discovery_rest_url = "https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/#{api.name}.#{api.version}.json"
|
93
121
|
say sprintf('Loading %s, version %s from %s', api.name, api.version, discovery_rest_url)
|
94
|
-
generate_from_url(discovery_rest_url)
|
122
|
+
generate_from_url([discovery_rest_url, api.discovery_rest_url], first_only: true)
|
123
|
+
count += 1
|
95
124
|
end
|
96
125
|
end
|
126
|
+
count
|
127
|
+
end
|
128
|
+
|
129
|
+
def clean_from_discovery
|
130
|
+
count = 0
|
131
|
+
apis = discovery_api_list.map { |api| "#{api.name.underscore}_#{api.version.tr '.', '_'}" }
|
132
|
+
Dir.chdir("#{destination_root}/google/apis") do
|
133
|
+
Dir.glob("*.rb").each do |filename|
|
134
|
+
filename = File.basename(filename, ".rb")
|
135
|
+
unless apis.include? filename
|
136
|
+
FileUtils.rm_r filename
|
137
|
+
FileUtils.rm "#{filename}.rb"
|
138
|
+
count += 1
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
count
|
97
143
|
end
|
98
144
|
|
99
145
|
def generate_api(json)
|
@@ -107,6 +153,20 @@ module Google
|
|
107
153
|
@discovery ||= Discovery::DiscoveryService.new
|
108
154
|
end
|
109
155
|
|
156
|
+
def discovery_api_list
|
157
|
+
@discovery_api_list ||= begin
|
158
|
+
items = discovery.list_apis.items
|
159
|
+
excluded = Array(api_list_config["exclude"])
|
160
|
+
items.delete_if { |item| excluded.include? "#{item.name}.#{item.version}" }
|
161
|
+
Array(api_list_config["include"]).each do |include_hash|
|
162
|
+
include_hash.symbolize_keys!
|
163
|
+
include_item = Discovery::DirectoryList::Item.new(**include_hash)
|
164
|
+
items << include_item unless items.any? { |item| item.name == include_item.name && item.version == include_item.version }
|
165
|
+
end
|
166
|
+
items
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
110
170
|
def generator
|
111
171
|
@generator ||= Google::Apis::Generator.new(api_names: options[:names], api_names_out: options[:names_out])
|
112
172
|
end
|
@@ -117,7 +177,9 @@ module Google
|
|
117
177
|
|
118
178
|
def ensure_active_support
|
119
179
|
begin
|
180
|
+
require 'active_support'
|
120
181
|
require 'active_support/inflector'
|
182
|
+
require 'active_support/core_ext'
|
121
183
|
rescue LoadError => e
|
122
184
|
error 'ActiveSupport is required, please run:'
|
123
185
|
error 'gem install activesupport'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/access-approval/docs
|
26
26
|
module AccessapprovalV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201030'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -317,21 +317,19 @@ module Google
|
|
317
317
|
include Google::Apis::Core::Hashable
|
318
318
|
|
319
319
|
# The product for which Access Approval will be enrolled. Allowed values are
|
320
|
-
# listed below (case-sensitive): * all *
|
321
|
-
#
|
322
|
-
#
|
323
|
-
#
|
324
|
-
#
|
325
|
-
# com *
|
326
|
-
#
|
327
|
-
#
|
328
|
-
#
|
329
|
-
#
|
330
|
-
#
|
331
|
-
#
|
332
|
-
#
|
333
|
-
# levels of support is available at https://cloud.google.com/access-approval/
|
334
|
-
# docs/supported-services
|
320
|
+
# listed below (case-sensitive): * all * App Engine * BigQuery * Cloud Bigtable *
|
321
|
+
# Cloud Key Management Service * Compute Engine * Cloud Dataflow * Cloud
|
322
|
+
# Identity and Access Management * Cloud Pub/Sub * Cloud Storage * Persistent
|
323
|
+
# Disk Note: These values are supported as input for legacy purposes, but will
|
324
|
+
# not be returned from the API. * all * appengine.googleapis.com * bigquery.
|
325
|
+
# googleapis.com * bigtable.googleapis.com * cloudkms.googleapis.com * compute.
|
326
|
+
# googleapis.com * dataflow.googleapis.com * iam.googleapis.com * pubsub.
|
327
|
+
# googleapis.com * storage.googleapis.com Calls to UpdateAccessApprovalSettings
|
328
|
+
# using 'all' or any of the XXX.googleapis.com will be translated to the
|
329
|
+
# associated product name ('all', 'App Engine', etc.). Note: 'all' will enroll
|
330
|
+
# the resource in all products supported at both 'GA' and 'Preview' levels. More
|
331
|
+
# information about levels of support is available at https://cloud.google.com/
|
332
|
+
# access-approval/docs/supported-services
|
335
333
|
# Corresponds to the JSON property `cloudProduct`
|
336
334
|
# @return [String]
|
337
335
|
attr_accessor :cloud_product
|
@@ -268,9 +268,10 @@ module Google
|
|
268
268
|
# A filter on the type of approval requests to retrieve. Must be one of the
|
269
269
|
# following values: * [not set]: Requests that are pending or have active
|
270
270
|
# approvals. * ALL: All requests. * PENDING: Only pending requests. * ACTIVE:
|
271
|
-
# Only active (i.e. currently approved) requests. * DISMISSED: Only
|
272
|
-
#
|
273
|
-
#
|
271
|
+
# Only active (i.e. currently approved) requests. * DISMISSED: Only requests
|
272
|
+
# that have been dismissed, or requests that . are not approved and past
|
273
|
+
# expiration. * EXPIRED: Only requests that have been approved, and the approval
|
274
|
+
# has expired. * HISTORY: Active, dismissed and expired requests.
|
274
275
|
# @param [Fixnum] page_size
|
275
276
|
# Requested page size.
|
276
277
|
# @param [String] page_token
|
@@ -526,9 +527,10 @@ module Google
|
|
526
527
|
# A filter on the type of approval requests to retrieve. Must be one of the
|
527
528
|
# following values: * [not set]: Requests that are pending or have active
|
528
529
|
# approvals. * ALL: All requests. * PENDING: Only pending requests. * ACTIVE:
|
529
|
-
# Only active (i.e. currently approved) requests. * DISMISSED: Only
|
530
|
-
#
|
531
|
-
#
|
530
|
+
# Only active (i.e. currently approved) requests. * DISMISSED: Only requests
|
531
|
+
# that have been dismissed, or requests that . are not approved and past
|
532
|
+
# expiration. * EXPIRED: Only requests that have been approved, and the approval
|
533
|
+
# has expired. * HISTORY: Active, dismissed and expired requests.
|
532
534
|
# @param [Fixnum] page_size
|
533
535
|
# Requested page size.
|
534
536
|
# @param [String] page_token
|
@@ -784,9 +786,10 @@ module Google
|
|
784
786
|
# A filter on the type of approval requests to retrieve. Must be one of the
|
785
787
|
# following values: * [not set]: Requests that are pending or have active
|
786
788
|
# approvals. * ALL: All requests. * PENDING: Only pending requests. * ACTIVE:
|
787
|
-
# Only active (i.e. currently approved) requests. * DISMISSED: Only
|
788
|
-
#
|
789
|
-
#
|
789
|
+
# Only active (i.e. currently approved) requests. * DISMISSED: Only requests
|
790
|
+
# that have been dismissed, or requests that . are not approved and past
|
791
|
+
# expiration. * EXPIRED: Only requests that have been approved, and the approval
|
792
|
+
# has expired. * HISTORY: Active, dismissed and expired requests.
|
790
793
|
# @param [Fixnum] page_size
|
791
794
|
# Requested page size.
|
792
795
|
# @param [String] page_token
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
28
28
|
module Adexchangebuyer2V2beta1
|
29
29
|
VERSION = 'V2beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201013'
|
31
31
|
|
32
32
|
# Manage your Ad Exchange buyer account configuration
|
33
33
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -29,26 +29,26 @@ module Google
|
|
29
29
|
class AbsoluteDateRange
|
30
30
|
include Google::Apis::Core::Hashable
|
31
31
|
|
32
|
-
# Represents a whole or partial calendar date,
|
33
|
-
# and time zone are either specified elsewhere or are
|
34
|
-
# is relative to the
|
35
|
-
# date, with non-zero year, month and day values * A month
|
36
|
-
# zero year,
|
37
|
-
# values * A year and month value, with a zero day,
|
38
|
-
# expiration date Related types are google.type.TimeOfDay and `
|
39
|
-
# Timestamp`.
|
32
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
33
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
34
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
35
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
36
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
37
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
38
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
39
|
+
# google.protobuf.Timestamp`.
|
40
40
|
# Corresponds to the JSON property `endDate`
|
41
41
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
|
42
42
|
attr_accessor :end_date
|
43
43
|
|
44
|
-
# Represents a whole or partial calendar date,
|
45
|
-
# and time zone are either specified elsewhere or are
|
46
|
-
# is relative to the
|
47
|
-
# date, with non-zero year, month and day values * A month
|
48
|
-
# zero year,
|
49
|
-
# values * A year and month value, with a zero day,
|
50
|
-
# expiration date Related types are google.type.TimeOfDay and `
|
51
|
-
# Timestamp`.
|
44
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
45
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
46
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
47
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
48
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
49
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
50
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
51
|
+
# google.protobuf.Timestamp`.
|
52
52
|
# Corresponds to the JSON property `startDate`
|
53
53
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
|
54
54
|
attr_accessor :start_date
|
@@ -1047,31 +1047,31 @@ module Google
|
|
1047
1047
|
end
|
1048
1048
|
end
|
1049
1049
|
|
1050
|
-
# Represents a whole or partial calendar date,
|
1051
|
-
# and time zone are either specified elsewhere or are
|
1052
|
-
# is relative to the
|
1053
|
-
# date, with non-zero year, month and day values * A month
|
1054
|
-
# zero year,
|
1055
|
-
# values * A year and month value, with a zero day,
|
1056
|
-
# expiration date Related types are google.type.TimeOfDay and `
|
1057
|
-
# Timestamp`.
|
1050
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
1051
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
1052
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
1053
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
1054
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
1055
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
1056
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
1057
|
+
# google.protobuf.Timestamp`.
|
1058
1058
|
class Date
|
1059
1059
|
include Google::Apis::Core::Hashable
|
1060
1060
|
|
1061
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
1062
|
-
#
|
1063
|
-
# significant.
|
1061
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
1062
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
1064
1063
|
# Corresponds to the JSON property `day`
|
1065
1064
|
# @return [Fixnum]
|
1066
1065
|
attr_accessor :day
|
1067
1066
|
|
1068
|
-
# Month of year. Must be from 1 to 12, or 0
|
1067
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
1069
1068
|
# and day.
|
1070
1069
|
# Corresponds to the JSON property `month`
|
1071
1070
|
# @return [Fixnum]
|
1072
1071
|
attr_accessor :month
|
1073
1072
|
|
1074
|
-
# Year of date. Must be from 1 to 9999, or 0
|
1073
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
1074
|
+
# year.
|
1075
1075
|
# Corresponds to the JSON property `year`
|
1076
1076
|
# @return [Fixnum]
|
1077
1077
|
attr_accessor :year
|
@@ -2669,7 +2669,7 @@ module Google
|
|
2669
2669
|
class Money
|
2670
2670
|
include Google::Apis::Core::Hashable
|
2671
2671
|
|
2672
|
-
# The
|
2672
|
+
# The three-letter currency code defined in ISO 4217.
|
2673
2673
|
# Corresponds to the JSON property `currencyCode`
|
2674
2674
|
# @return [String]
|
2675
2675
|
attr_accessor :currency_code
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see http://developers.google.com/admin-sdk/
|
28
28
|
module AdminDirectoryV1
|
29
29
|
VERSION = 'DirectoryV1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201013'
|
31
31
|
|
32
32
|
# View and manage customer related information
|
33
33
|
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
@@ -1367,6 +1367,141 @@ module Google
|
|
1367
1367
|
end
|
1368
1368
|
end
|
1369
1369
|
|
1370
|
+
# Information regarding a command that was issued to a device.
|
1371
|
+
class DirectoryChromeosdevicesCommand
|
1372
|
+
include Google::Apis::Core::Hashable
|
1373
|
+
|
1374
|
+
# The time at which the command will expire. If the device doesn't execute the
|
1375
|
+
# command within this time the command will become expired.
|
1376
|
+
# Corresponds to the JSON property `commandExpireTime`
|
1377
|
+
# @return [String]
|
1378
|
+
attr_accessor :command_expire_time
|
1379
|
+
|
1380
|
+
# Unique ID of a device command.
|
1381
|
+
# Corresponds to the JSON property `commandId`
|
1382
|
+
# @return [Fixnum]
|
1383
|
+
attr_accessor :command_id
|
1384
|
+
|
1385
|
+
# The result of executing a command.
|
1386
|
+
# Corresponds to the JSON property `commandResult`
|
1387
|
+
# @return [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommandResult]
|
1388
|
+
attr_accessor :command_result
|
1389
|
+
|
1390
|
+
# The timestamp when the command was issued by the admin.
|
1391
|
+
# Corresponds to the JSON property `issueTime`
|
1392
|
+
# @return [String]
|
1393
|
+
attr_accessor :issue_time
|
1394
|
+
|
1395
|
+
# The payload that the command specified, if any.
|
1396
|
+
# Corresponds to the JSON property `payload`
|
1397
|
+
# @return [String]
|
1398
|
+
attr_accessor :payload
|
1399
|
+
|
1400
|
+
# Indicates the command state.
|
1401
|
+
# Corresponds to the JSON property `state`
|
1402
|
+
# @return [String]
|
1403
|
+
attr_accessor :state
|
1404
|
+
|
1405
|
+
# The type of the command.
|
1406
|
+
# Corresponds to the JSON property `type`
|
1407
|
+
# @return [String]
|
1408
|
+
attr_accessor :type
|
1409
|
+
|
1410
|
+
def initialize(**args)
|
1411
|
+
update!(**args)
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
# Update properties of this object
|
1415
|
+
def update!(**args)
|
1416
|
+
@command_expire_time = args[:command_expire_time] if args.key?(:command_expire_time)
|
1417
|
+
@command_id = args[:command_id] if args.key?(:command_id)
|
1418
|
+
@command_result = args[:command_result] if args.key?(:command_result)
|
1419
|
+
@issue_time = args[:issue_time] if args.key?(:issue_time)
|
1420
|
+
@payload = args[:payload] if args.key?(:payload)
|
1421
|
+
@state = args[:state] if args.key?(:state)
|
1422
|
+
@type = args[:type] if args.key?(:type)
|
1423
|
+
end
|
1424
|
+
end
|
1425
|
+
|
1426
|
+
# The result of executing a command.
|
1427
|
+
class DirectoryChromeosdevicesCommandResult
|
1428
|
+
include Google::Apis::Core::Hashable
|
1429
|
+
|
1430
|
+
# The error message with a short explanation as to why the command failed. Only
|
1431
|
+
# present if the command failed.
|
1432
|
+
# Corresponds to the JSON property `errorMessage`
|
1433
|
+
# @return [String]
|
1434
|
+
attr_accessor :error_message
|
1435
|
+
|
1436
|
+
# The time at which the command was executed or failed to execute.
|
1437
|
+
# Corresponds to the JSON property `executeTime`
|
1438
|
+
# @return [String]
|
1439
|
+
attr_accessor :execute_time
|
1440
|
+
|
1441
|
+
# The result of the command.
|
1442
|
+
# Corresponds to the JSON property `result`
|
1443
|
+
# @return [String]
|
1444
|
+
attr_accessor :result
|
1445
|
+
|
1446
|
+
def initialize(**args)
|
1447
|
+
update!(**args)
|
1448
|
+
end
|
1449
|
+
|
1450
|
+
# Update properties of this object
|
1451
|
+
def update!(**args)
|
1452
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
1453
|
+
@execute_time = args[:execute_time] if args.key?(:execute_time)
|
1454
|
+
@result = args[:result] if args.key?(:result)
|
1455
|
+
end
|
1456
|
+
end
|
1457
|
+
|
1458
|
+
# A request for issuing a command.
|
1459
|
+
class DirectoryChromeosdevicesIssueCommandRequest
|
1460
|
+
include Google::Apis::Core::Hashable
|
1461
|
+
|
1462
|
+
# The type of command.
|
1463
|
+
# Corresponds to the JSON property `commandType`
|
1464
|
+
# @return [String]
|
1465
|
+
attr_accessor :command_type
|
1466
|
+
|
1467
|
+
# The payload for the command, provide it only if command supports it. The
|
1468
|
+
# following commands support adding payload: - SET_VOLUME: Payload is a JSON
|
1469
|
+
# object in the form: ` "volume": 50 `. The volume has to be an integer in the
|
1470
|
+
# range [0,100].
|
1471
|
+
# Corresponds to the JSON property `payload`
|
1472
|
+
# @return [String]
|
1473
|
+
attr_accessor :payload
|
1474
|
+
|
1475
|
+
def initialize(**args)
|
1476
|
+
update!(**args)
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
# Update properties of this object
|
1480
|
+
def update!(**args)
|
1481
|
+
@command_type = args[:command_type] if args.key?(:command_type)
|
1482
|
+
@payload = args[:payload] if args.key?(:payload)
|
1483
|
+
end
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
# A response for issuing a command.
|
1487
|
+
class DirectoryChromeosdevicesIssueCommandResponse
|
1488
|
+
include Google::Apis::Core::Hashable
|
1489
|
+
|
1490
|
+
# The unique ID of the issued command, used to retrieve the command status.
|
1491
|
+
# Corresponds to the JSON property `commandId`
|
1492
|
+
# @return [Fixnum]
|
1493
|
+
attr_accessor :command_id
|
1494
|
+
|
1495
|
+
def initialize(**args)
|
1496
|
+
update!(**args)
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
# Update properties of this object
|
1500
|
+
def update!(**args)
|
1501
|
+
@command_id = args[:command_id] if args.key?(:command_id)
|
1502
|
+
end
|
1503
|
+
end
|
1504
|
+
|
1370
1505
|
#
|
1371
1506
|
class DomainAlias
|
1372
1507
|
include Google::Apis::Core::Hashable
|