google-api-client 0.45.0 → 0.48.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 +664 -188
- 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/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/adexchangebuyer_v1_4.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_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +252 -66
- data/generated/google/apis/apigee_v1/representations.rb +88 -19
- data/generated/google/apis/apigee_v1/service.rb +244 -38
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/{apigateway_v1alpha1 → area120tables_v1alpha1}/representations.rb +67 -69
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +212 -23
- data/generated/google/apis/bigquery_v2/representations.rb +69 -0
- data/generated/google/apis/bigquery_v2/service.rb +47 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +189 -2
- data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +189 -2
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +84 -2
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1.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/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -35
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
- data/generated/google/apis/cloudbuild_v1/service.rb +17 -6
- data/generated/google/apis/cloudbuild_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/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +78 -98
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
- data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +586 -72
- data/generated/google/apis/compute_v1/representations.rb +98 -1
- data/generated/google/apis/compute_v1/service.rb +741 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +510 -1217
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
- data/generated/google/apis/content_v2_1/representations.rb +253 -0
- data/generated/google/apis/content_v2_1/service.rb +943 -802
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -1
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +32 -8
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- 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/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- 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.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.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +677 -204
- data/generated/google/apis/dialogflow_v2/representations.rb +300 -87
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -212
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +300 -87
- data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +813 -207
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +354 -90
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +216 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +78 -0
- data/generated/google/apis/displayvideo_v1/service.rb +261 -18
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +59 -32
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +11 -11
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +11 -11
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +327 -29
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/service.rb +224 -268
- data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/fitness_v1.rb +13 -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/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.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/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +7 -5
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1190 -285
- data/generated/google/apis/healthcare_v1beta1/representations.rb +516 -68
- data/generated/google/apis/healthcare_v1beta1/service.rb +1500 -228
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta.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/localservices_v1.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -60
- data/generated/google/apis/logging_v2/representations.rb +64 -0
- data/generated/google/apis/logging_v2/service.rb +1422 -127
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +71 -17
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +55 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +52 -51
- data/generated/google/apis/people_v1/service.rb +24 -22
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- 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 +1487 -0
- data/generated/google/apis/{appsactivity_v1.rb → privateca_v1beta1.rb} +11 -11
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.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/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -5
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +12 -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/run_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -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/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.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_v1.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_v1beta1.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/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +78 -4
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +63 -2
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +5 -85
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
- data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +156 -57
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +53 -17
- data/generated/google/apis/sqladmin_v1beta4.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/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +67 -67
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/sts_v1beta.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/tagmanager_v2.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +92 -33
- data/generated/google/apis/testing_v1/representations.rb +21 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.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/toolresults_v1beta3.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_v1.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/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +4 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.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/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -134
- data/generated/google/apis/youtube_v3/representations.rb +0 -55
- data/generated/google/apis/youtube_v3/service.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- 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 +51 -12
- 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
@@ -514,6 +514,18 @@ module Google
|
|
514
514
|
class GoogleCloudMlV1AutoScaling
|
515
515
|
include Google::Apis::Core::Hashable
|
516
516
|
|
517
|
+
# The maximum number of nodes to scale this model under load. The actual value
|
518
|
+
# will depend on resource quota and availability.
|
519
|
+
# Corresponds to the JSON property `maxNodes`
|
520
|
+
# @return [Fixnum]
|
521
|
+
attr_accessor :max_nodes
|
522
|
+
|
523
|
+
# MetricSpec contains the specifications to use to calculate the desired nodes
|
524
|
+
# count.
|
525
|
+
# Corresponds to the JSON property `metrics`
|
526
|
+
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1MetricSpec>]
|
527
|
+
attr_accessor :metrics
|
528
|
+
|
517
529
|
# Optional. The minimum number of nodes to allocate for this model. These nodes
|
518
530
|
# are always up, starting from the time the model is deployed. Therefore, the
|
519
531
|
# cost of operating this model will be at least `rate` * `min_nodes` * number of
|
@@ -548,6 +560,8 @@ module Google
|
|
548
560
|
|
549
561
|
# Update properties of this object
|
550
562
|
def update!(**args)
|
563
|
+
@max_nodes = args[:max_nodes] if args.key?(:max_nodes)
|
564
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
551
565
|
@min_nodes = args[:min_nodes] if args.key?(:min_nodes)
|
552
566
|
end
|
553
567
|
end
|
@@ -790,12 +804,14 @@ module Google
|
|
790
804
|
end
|
791
805
|
end
|
792
806
|
|
793
|
-
#
|
807
|
+
# Represents a network port in a single container. This message is a subset of
|
808
|
+
# the [Kubernetes ContainerPort v1 core specification](https://kubernetes.io/
|
809
|
+
# docs/reference/generated/kubernetes-api/v1.18/#containerport-v1-core).
|
794
810
|
class GoogleCloudMlV1ContainerPort
|
795
811
|
include Google::Apis::Core::Hashable
|
796
812
|
|
797
|
-
# Number of port to expose on the
|
798
|
-
# number
|
813
|
+
# Number of the port to expose on the container. This must be a valid port
|
814
|
+
# number: 0 < PORT_NUMBER < 65536.
|
799
815
|
# Corresponds to the JSON property `containerPort`
|
800
816
|
# @return [Fixnum]
|
801
817
|
attr_accessor :container_port
|
@@ -810,53 +826,123 @@ module Google
|
|
810
826
|
end
|
811
827
|
end
|
812
828
|
|
813
|
-
#
|
814
|
-
# Kubernetes Container specification
|
815
|
-
# generated/kubernetes-api/v1.
|
829
|
+
# Specification of a custom container for serving predictions. This message is a
|
830
|
+
# subset of the [Kubernetes Container v1 core specification](https://kubernetes.
|
831
|
+
# io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).
|
816
832
|
class GoogleCloudMlV1ContainerSpec
|
817
833
|
include Google::Apis::Core::Hashable
|
818
834
|
|
819
|
-
# Immutable.
|
820
|
-
#
|
821
|
-
#
|
822
|
-
#
|
823
|
-
#
|
824
|
-
#
|
825
|
-
#
|
826
|
-
# container
|
835
|
+
# Immutable. Specifies arguments for the command that runs when the container
|
836
|
+
# starts. This overrides the container's [`CMD`](https://docs.docker.com/engine/
|
837
|
+
# reference/builder/#cmd). Specify this field as an array of executable and
|
838
|
+
# arguments, similar to a Docker `CMD`'s "default parameters" form. If you don't
|
839
|
+
# specify this field but do specify the command field, then the command from the
|
840
|
+
# `command` field runs without any additional arguments. See the [Kubernetes
|
841
|
+
# documentation about how the `command` and `args` fields interact with a
|
842
|
+
# container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-
|
843
|
+
# data-application/define-command-argument-container/#notes). If you don't
|
844
|
+
# specify this field and don't specify the `commmand` field, then the container'
|
845
|
+
# s [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd) and `
|
846
|
+
# CMD` determine what runs based on their default behavior. See the [Docker
|
847
|
+
# documentation about how `CMD` and `ENTRYPOINT` interact](https://docs.docker.
|
848
|
+
# com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). In
|
849
|
+
# this field, you can reference [environment variables set by AI Platform
|
850
|
+
# Prediction](/ai-platform/prediction/docs/custom-container-requirements#aip-
|
851
|
+
# variables) and environment variables set in the env field. You cannot
|
852
|
+
# reference environment variables set in the Docker image. In order for
|
853
|
+
# environment variables to be expanded, reference them by using the following
|
854
|
+
# syntax: $( VARIABLE_NAME) Note that this differs from Bash variable expansion,
|
855
|
+
# which does not use parentheses. If a variable cannot be resolved, the
|
856
|
+
# reference in the input string is used unchanged. To avoid variable expansion,
|
857
|
+
# you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This
|
858
|
+
# field corresponds to the `args` field of the [Kubernetes Containers v1 core
|
859
|
+
# API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#
|
860
|
+
# container-v1-core).
|
827
861
|
# Corresponds to the JSON property `args`
|
828
862
|
# @return [Array<String>]
|
829
863
|
attr_accessor :args
|
830
864
|
|
831
|
-
# Immutable.
|
832
|
-
#
|
833
|
-
#
|
834
|
-
#
|
835
|
-
#
|
836
|
-
#
|
837
|
-
#
|
838
|
-
#
|
865
|
+
# Immutable. Specifies the command that runs when the container starts. This
|
866
|
+
# overrides the container's [`ENTRYPOINT`](https://docs.docker.com/engine/
|
867
|
+
# reference/builder/#entrypoint). Specify this field as an array of executable
|
868
|
+
# and arguments, similar to a Docker `ENTRYPOINT`'s "exec" form, not its "shell"
|
869
|
+
# form. If you do not specify this field, then the container's `ENTRYPOINT` runs,
|
870
|
+
# in conjunction with the args field or the container's [`CMD`](https://docs.
|
871
|
+
# docker.com/engine/reference/builder/#cmd), if either exists. If this field is
|
872
|
+
# not specified and the container does not have an `ENTRYPOINT`, then refer to
|
873
|
+
# the [Docker documentation about how `CMD` and `ENTRYPOINT` interact](https://
|
874
|
+
# docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-
|
875
|
+
# interact). If you specify this field, then you can also specify the `args`
|
876
|
+
# field to provide additional arguments for this command. However, if you
|
877
|
+
# specify this field, then the container's `CMD` is ignored. See the [Kubernetes
|
878
|
+
# documentation about how the `command` and `args` fields interact with a
|
879
|
+
# container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-
|
880
|
+
# data-application/define-command-argument-container/#notes). In this field, you
|
881
|
+
# can reference [environment variables set by AI Platform Prediction](/ai-
|
882
|
+
# platform/prediction/docs/custom-container-requirements#aip-variables) and
|
883
|
+
# environment variables set in the env field. You cannot reference environment
|
884
|
+
# variables set in the Docker image. In order for environment variables to be
|
885
|
+
# expanded, reference them by using the following syntax: $( VARIABLE_NAME) Note
|
886
|
+
# that this differs from Bash variable expansion, which does not use parentheses.
|
887
|
+
# If a variable cannot be resolved, the reference in the input string is used
|
888
|
+
# unchanged. To avoid variable expansion, you can escape this syntax with `$$`;
|
889
|
+
# for example: $$(VARIABLE_NAME) This field corresponds to the `command` field
|
890
|
+
# of the [Kubernetes Containers v1 core API](https://kubernetes.io/docs/
|
891
|
+
# reference/generated/kubernetes-api/v1.18/#container-v1-core).
|
839
892
|
# Corresponds to the JSON property `command`
|
840
893
|
# @return [Array<String>]
|
841
894
|
attr_accessor :command
|
842
895
|
|
843
|
-
# Immutable. List of environment variables to set in the container.
|
896
|
+
# Immutable. List of environment variables to set in the container. After the
|
897
|
+
# container starts running, code running in the container can read these
|
898
|
+
# environment variables. Additionally, the command and args fields can reference
|
899
|
+
# these variables. Later entries in this list can also reference earlier entries.
|
900
|
+
# For example, the following example sets the variable `VAR_2` to have the
|
901
|
+
# value `foo bar`: ```json [ ` "name": "VAR_1", "value": "foo" `, ` "name": "
|
902
|
+
# VAR_2", "value": "$(VAR_1) bar" ` ] ``` If you switch the order of the
|
903
|
+
# variables in the example, then the expansion does not occur. This field
|
904
|
+
# corresponds to the `env` field of the [Kubernetes Containers v1 core API](
|
905
|
+
# https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-
|
906
|
+
# v1-core).
|
844
907
|
# Corresponds to the JSON property `env`
|
845
908
|
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1EnvVar>]
|
846
909
|
attr_accessor :env
|
847
910
|
|
848
|
-
# Docker image
|
849
|
-
#
|
911
|
+
# URI of the Docker image to be used as the custom container for serving
|
912
|
+
# predictions. This URI must identify [an image in Artifact Registry](/artifact-
|
913
|
+
# registry/docs/overview) and begin with the hostname ``REGION`-docker.pkg.dev`,
|
914
|
+
# where ``REGION`` is replaced by the region that matches AI Platform Prediction
|
915
|
+
# [regional endpoint](/ai-platform/prediction/docs/regional-endpoints) that you
|
916
|
+
# are using. For example, if you are using the `us-central1-ml.googleapis.com`
|
917
|
+
# endpoint, then this URI must begin with `us-central1-docker.pkg.dev`. To use a
|
918
|
+
# custom container, the [AI Platform Google-managed service account](/ai-
|
919
|
+
# platform/prediction/docs/custom-service-account#default) must have permission
|
920
|
+
# to pull (read) the Docker image at this URI. The AI Platform Google-managed
|
921
|
+
# service account has the following format: `service-`PROJECT_NUMBER`@cloud-ml.
|
922
|
+
# google.com.iam.gserviceaccount.com` `PROJECT_NUMBER` is replaced by your
|
923
|
+
# Google Cloud project number. By default, this service account has necessary
|
924
|
+
# permissions to pull an Artifact Registry image in the same Google Cloud
|
925
|
+
# project where you are using AI Platform Prediction. In this case, no
|
926
|
+
# configuration is necessary. If you want to use an image from a different
|
927
|
+
# Google Cloud project, learn how to [grant the Artifact Registry Reader (roles/
|
928
|
+
# artifactregistry.reader) role for a repository](/artifact-registry/docs/access-
|
929
|
+
# control#grant-repo) to your projet's AI Platform Google-managed service
|
930
|
+
# account. To learn about the requirements for the Docker image itself, read [
|
931
|
+
# Custom container requirements](/ai-platform/prediction/docs/custom-container-
|
932
|
+
# requirements).
|
850
933
|
# Corresponds to the JSON property `image`
|
851
934
|
# @return [String]
|
852
935
|
attr_accessor :image
|
853
936
|
|
854
|
-
# Immutable. List of ports to expose from the container.
|
855
|
-
#
|
856
|
-
#
|
857
|
-
#
|
858
|
-
#
|
859
|
-
#
|
937
|
+
# Immutable. List of ports to expose from the container. AI Platform Prediction
|
938
|
+
# sends any prediction requests that it receives to the first port on this list.
|
939
|
+
# AI Platform Prediction also sends [liveness and health checks](/ai-platform/
|
940
|
+
# prediction/docs/custom-container-requirements#health) to this port. If you do
|
941
|
+
# not specify this field, it defaults to following value: ```json [ ` "
|
942
|
+
# containerPort": 8080 ` ] ``` AI Platform Prediction does not use ports other
|
943
|
+
# than the first one listed. This field corresponds to the `ports` field of the [
|
944
|
+
# Kubernetes Containers v1 core API](https://kubernetes.io/docs/reference/
|
945
|
+
# generated/kubernetes-api/v1.18/#container-v1-core).
|
860
946
|
# Corresponds to the JSON property `ports`
|
861
947
|
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1ContainerPort>]
|
862
948
|
attr_accessor :ports
|
@@ -898,21 +984,30 @@ module Google
|
|
898
984
|
end
|
899
985
|
end
|
900
986
|
|
901
|
-
#
|
987
|
+
# Represents an environment variable to be made available in a container. This
|
988
|
+
# message is a subset of the [Kubernetes EnvVar v1 core specification](https://
|
989
|
+
# kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#envvar-v1-core).
|
902
990
|
class GoogleCloudMlV1EnvVar
|
903
991
|
include Google::Apis::Core::Hashable
|
904
992
|
|
905
|
-
# Name of the environment variable. Must be a
|
993
|
+
# Name of the environment variable. Must be a [valid C identifier](https://
|
994
|
+
# github.com/kubernetes/kubernetes/blob/v1.18.8/staging/src/k8s.io/apimachinery/
|
995
|
+
# pkg/util/validation/validation.go#L258) and must not begin with the prefix `
|
996
|
+
# AIP_`.
|
906
997
|
# Corresponds to the JSON property `name`
|
907
998
|
# @return [String]
|
908
999
|
attr_accessor :name
|
909
1000
|
|
910
|
-
#
|
911
|
-
#
|
912
|
-
#
|
913
|
-
#
|
914
|
-
#
|
915
|
-
#
|
1001
|
+
# Value of the environment variable. Defaults to an empty string. In this field,
|
1002
|
+
# you can reference [environment variables set by AI Platform Prediction](/ai-
|
1003
|
+
# platform/prediction/docs/custom-container-requirements#aip-variables) and
|
1004
|
+
# environment variables set earlier in the same env field as where this message
|
1005
|
+
# occurs. You cannot reference environment variables set in the Docker image. In
|
1006
|
+
# order for environment variables to be expanded, reference them by using the
|
1007
|
+
# following syntax: $(VARIABLE_NAME) Note that this differs from Bash variable
|
1008
|
+
# expansion, which does not use parentheses. If a variable cannot be resolved,
|
1009
|
+
# the reference in the input string is used unchanged. To avoid variable
|
1010
|
+
# expansion, you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME)
|
916
1011
|
# Corresponds to the JSON property `value`
|
917
1012
|
# @return [String]
|
918
1013
|
attr_accessor :value
|
@@ -1537,6 +1632,33 @@ module Google
|
|
1537
1632
|
end
|
1538
1633
|
end
|
1539
1634
|
|
1635
|
+
# MetricSpec contains the specifications to use to calculate the desired nodes
|
1636
|
+
# count when autoscaling is enabled.
|
1637
|
+
class GoogleCloudMlV1MetricSpec
|
1638
|
+
include Google::Apis::Core::Hashable
|
1639
|
+
|
1640
|
+
# metric name.
|
1641
|
+
# Corresponds to the JSON property `name`
|
1642
|
+
# @return [String]
|
1643
|
+
attr_accessor :name
|
1644
|
+
|
1645
|
+
# Target specifies the target value for the given metric; once real metric
|
1646
|
+
# deviates from the threshold by a certain percentage, the node count changes.
|
1647
|
+
# Corresponds to the JSON property `target`
|
1648
|
+
# @return [Fixnum]
|
1649
|
+
attr_accessor :target
|
1650
|
+
|
1651
|
+
def initialize(**args)
|
1652
|
+
update!(**args)
|
1653
|
+
end
|
1654
|
+
|
1655
|
+
# Update properties of this object
|
1656
|
+
def update!(**args)
|
1657
|
+
@name = args[:name] if args.key?(:name)
|
1658
|
+
@target = args[:target] if args.key?(:target)
|
1659
|
+
end
|
1660
|
+
end
|
1661
|
+
|
1540
1662
|
# Represents a machine learning solution. A model can have multiple versions,
|
1541
1663
|
# each of which is a deployed, trained model ready to receive prediction
|
1542
1664
|
# requests. The model itself is just a container.
|
@@ -1583,23 +1705,22 @@ module Google
|
|
1583
1705
|
attr_accessor :name
|
1584
1706
|
|
1585
1707
|
# Optional. If true, online prediction nodes send `stderr` and `stdout` streams
|
1586
|
-
# to
|
1587
|
-
#
|
1588
|
-
#
|
1589
|
-
#
|
1590
|
-
#
|
1591
|
-
# false.
|
1708
|
+
# to Cloud Logging. These can be more verbose than the standard access logs (see
|
1709
|
+
# `onlinePredictionLogging`) and can incur higher cost. However, they are
|
1710
|
+
# helpful for debugging. Note that [logs may incur a cost](/stackdriver/pricing),
|
1711
|
+
# especially if your project receives prediction requests at a high QPS.
|
1712
|
+
# Estimate your costs before enabling this option. Default is false.
|
1592
1713
|
# Corresponds to the JSON property `onlinePredictionConsoleLogging`
|
1593
1714
|
# @return [Boolean]
|
1594
1715
|
attr_accessor :online_prediction_console_logging
|
1595
1716
|
alias_method :online_prediction_console_logging?, :online_prediction_console_logging
|
1596
1717
|
|
1597
|
-
# Optional. If true, online prediction access logs are sent to
|
1598
|
-
#
|
1599
|
-
#
|
1600
|
-
#
|
1601
|
-
#
|
1602
|
-
#
|
1718
|
+
# Optional. If true, online prediction access logs are sent to Cloud Logging.
|
1719
|
+
# These logs are like standard server access logs, containing information like
|
1720
|
+
# timestamp and latency for each request. Note that [logs may incur a cost](/
|
1721
|
+
# stackdriver/pricing), especially if your project receives prediction requests
|
1722
|
+
# at a high queries per second rate (QPS). Estimate your costs before enabling
|
1723
|
+
# this option. Default is false.
|
1603
1724
|
# Corresponds to the JSON property `onlinePredictionLogging`
|
1604
1725
|
# @return [Boolean]
|
1605
1726
|
attr_accessor :online_prediction_logging
|
@@ -2057,18 +2178,49 @@ module Google
|
|
2057
2178
|
end
|
2058
2179
|
end
|
2059
2180
|
|
2060
|
-
#
|
2061
|
-
#
|
2062
|
-
#
|
2181
|
+
# Specifies HTTP paths served by a custom container. AI Platform Prediction
|
2182
|
+
# sends requests to these paths on the container; the custom container must run
|
2183
|
+
# an HTTP server that responds to these requests with appropriate responses.
|
2184
|
+
# Read [Custom container requirements](/ai-platform/prediction/docs/custom-
|
2185
|
+
# container-requirements) for details on how to create your container image to
|
2186
|
+
# meet these requirements.
|
2063
2187
|
class GoogleCloudMlV1RouteMap
|
2064
2188
|
include Google::Apis::Core::Hashable
|
2065
2189
|
|
2066
|
-
# HTTP path to send health
|
2190
|
+
# HTTP path on the container to send health checkss to. AI Platform Prediction
|
2191
|
+
# intermittently sends GET requests to this path on the container's IP address
|
2192
|
+
# and port to check that the container is healthy. Read more about [health
|
2193
|
+
# checks](/ai-platform/prediction/docs/custom-container-requirements#checks).
|
2194
|
+
# For example, if you set this field to `/bar`, then AI Platform Prediction
|
2195
|
+
# intermittently sends a GET request to the following URL on the container:
|
2196
|
+
# localhost:PORT/bar PORT refers to the first value of Version.container.ports.
|
2197
|
+
# If you don't specify this field, it defaults to the following value: /v1/
|
2198
|
+
# models/MODEL/versions/VERSION The placeholders in this value are replaced as
|
2199
|
+
# follows: * MODEL: The name of the parent Model. This does not include the "
|
2200
|
+
# projects/PROJECT_ID/models/" prefix that the API returns in output; it is the
|
2201
|
+
# bare model name, as provided to projects.models.create. * VERSION: The name of
|
2202
|
+
# the model version. This does not include the "projects/PROJECT_ID/models/MODEL/
|
2203
|
+
# versions/" prefix that the API returns in output; it is the bare version name,
|
2204
|
+
# as provided to projects.models.versions.create.
|
2067
2205
|
# Corresponds to the JSON property `health`
|
2068
2206
|
# @return [String]
|
2069
2207
|
attr_accessor :health
|
2070
2208
|
|
2071
|
-
# HTTP path to send prediction requests.
|
2209
|
+
# HTTP path on the container to send prediction requests to. AI Platform
|
2210
|
+
# Prediction forwards requests sent using projects.predict to this path on the
|
2211
|
+
# container's IP address and port. AI Platform Prediction then returns the
|
2212
|
+
# container's response in the API response. For example, if you set this field
|
2213
|
+
# to `/foo`, then when AI Platform Prediction receives a prediction request, it
|
2214
|
+
# forwards the request body in a POST request to the following URL on the
|
2215
|
+
# container: localhost:PORT/foo PORT refers to the first value of Version.
|
2216
|
+
# container.ports. If you don't specify this field, it defaults to the following
|
2217
|
+
# value: /v1/models/MODEL/versions/VERSION:predict The placeholders in this
|
2218
|
+
# value are replaced as follows: * MODEL: The name of the parent Model. This
|
2219
|
+
# does not include the "projects/PROJECT_ID/models/" prefix that the API returns
|
2220
|
+
# in output; it is the bare model name, as provided to projects.models.create. *
|
2221
|
+
# VERSION: The name of the model version. This does not include the "projects/
|
2222
|
+
# PROJECT_ID/models/MODEL/versions/" prefix that the API returns in output; it
|
2223
|
+
# is the bare version name, as provided to projects.models.versions.create.
|
2072
2224
|
# Corresponds to the JSON property `predict`
|
2073
2225
|
# @return [String]
|
2074
2226
|
attr_accessor :predict
|
@@ -2785,9 +2937,9 @@ module Google
|
|
2785
2937
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling]
|
2786
2938
|
attr_accessor :auto_scaling
|
2787
2939
|
|
2788
|
-
#
|
2789
|
-
# Kubernetes Container specification
|
2790
|
-
# generated/kubernetes-api/v1.
|
2940
|
+
# Specification of a custom container for serving predictions. This message is a
|
2941
|
+
# subset of the [Kubernetes Container v1 core specification](https://kubernetes.
|
2942
|
+
# io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).
|
2791
2943
|
# Corresponds to the JSON property `container`
|
2792
2944
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec]
|
2793
2945
|
attr_accessor :container
|
@@ -2797,13 +2949,18 @@ module Google
|
|
2797
2949
|
# @return [String]
|
2798
2950
|
attr_accessor :create_time
|
2799
2951
|
|
2800
|
-
#
|
2801
|
-
# version. See the [guide to
|
2802
|
-
# deploying-models) for more information.
|
2803
|
-
#
|
2804
|
-
#
|
2805
|
-
#
|
2806
|
-
#
|
2952
|
+
# The Cloud Storage URI of a directory containing trained model artifacts to be
|
2953
|
+
# used to create the model version. See the [guide to deploying models](/ai-
|
2954
|
+
# platform/prediction/docs/deploying-models) for more information. The total
|
2955
|
+
# number of files under this directory must not exceed 1000. During projects.
|
2956
|
+
# models.versions.create, AI Platform Prediction copies all files from the
|
2957
|
+
# specified directory to a location managed by the service. From then on, AI
|
2958
|
+
# Platform Prediction uses these copies of the model artifacts to serve
|
2959
|
+
# predictions, not the original files in Cloud Storage, so this location is
|
2960
|
+
# useful only as a historical record. If you specify container, then this field
|
2961
|
+
# is optional. Otherwise, it is required. Learn [how to use this field with a
|
2962
|
+
# custom container](/ai-platform/prediction/docs/custom-container-requirements#
|
2963
|
+
# artifacts).
|
2807
2964
|
# Corresponds to the JSON property `deploymentUri`
|
2808
2965
|
# @return [String]
|
2809
2966
|
attr_accessor :deployment_uri
|
@@ -2844,10 +3001,8 @@ module Google
|
|
2844
3001
|
# deployment_uri to determine a framework. If you choose `SCIKIT_LEARN` or `
|
2845
3002
|
# XGBOOST`, you must also set the runtime version of the model to 1.4 or greater.
|
2846
3003
|
# Do **not** specify a framework if you're deploying a [custom prediction
|
2847
|
-
# routine](/
|
2848
|
-
#
|
2849
|
-
# online-prediction) in the `machineType` field, you must specify `TENSORFLOW`
|
2850
|
-
# for the framework.
|
3004
|
+
# routine](/ai-platform/prediction/docs/custom-prediction-routines) or if you're
|
3005
|
+
# using a [custom container](/ai-platform/prediction/docs/use-custom-container).
|
2851
3006
|
# Corresponds to the JSON property `framework`
|
2852
3007
|
# @return [String]
|
2853
3008
|
attr_accessor :framework
|
@@ -2880,9 +3035,9 @@ module Google
|
|
2880
3035
|
# standard-8` * `n1-standard-16` * `n1-standard-32` * `n1-highmem-2` * `n1-
|
2881
3036
|
# highmem-4` * `n1-highmem-8` * `n1-highmem-16` * `n1-highmem-32` * `n1-highcpu-
|
2882
3037
|
# 2` * `n1-highcpu-4` * `n1-highcpu-8` * `n1-highcpu-16` * `n1-highcpu-32` `mls1-
|
2883
|
-
#
|
2884
|
-
#
|
2885
|
-
#
|
3038
|
+
# c4-m2` is in beta. All other machine types are generally available. Learn more
|
3039
|
+
# about the [differences between machine types](/ml-engine/docs/machine-types-
|
3040
|
+
# online-prediction).
|
2886
3041
|
# Corresponds to the JSON property `machineType`
|
2887
3042
|
# @return [String]
|
2888
3043
|
attr_accessor :machine_type
|
@@ -2964,9 +3119,12 @@ module Google
|
|
2964
3119
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig]
|
2965
3120
|
attr_accessor :request_logging_config
|
2966
3121
|
|
2967
|
-
#
|
2968
|
-
#
|
2969
|
-
#
|
3122
|
+
# Specifies HTTP paths served by a custom container. AI Platform Prediction
|
3123
|
+
# sends requests to these paths on the container; the custom container must run
|
3124
|
+
# an HTTP server that responds to these requests with appropriate responses.
|
3125
|
+
# Read [Custom container requirements](/ai-platform/prediction/docs/custom-
|
3126
|
+
# container-requirements) for details on how to create your container image to
|
3127
|
+
# meet these requirements.
|
2970
3128
|
# Corresponds to the JSON property `routes`
|
2971
3129
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1RouteMap]
|
2972
3130
|
attr_accessor :routes
|
@@ -2978,7 +3136,10 @@ module Google
|
|
2978
3136
|
# @return [String]
|
2979
3137
|
attr_accessor :runtime_version
|
2980
3138
|
|
2981
|
-
# Optional. Specifies the service account for resource access control.
|
3139
|
+
# Optional. Specifies the service account for resource access control. If you
|
3140
|
+
# specify this field, then you must also specify either the `containerSpec` or
|
3141
|
+
# the `predictionClass` field. Learn more about [using a custom service account](
|
3142
|
+
# /ai-platform/prediction/docs/custom-service-account).
|
2982
3143
|
# Corresponds to the JSON property `serviceAccount`
|
2983
3144
|
# @return [String]
|
2984
3145
|
attr_accessor :service_account
|
@@ -304,6 +304,12 @@ module Google
|
|
304
304
|
include Google::Apis::Core::JsonObjectSupport
|
305
305
|
end
|
306
306
|
|
307
|
+
class GoogleCloudMlV1MetricSpec
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
307
313
|
class GoogleCloudMlV1Model
|
308
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
315
|
|
@@ -666,6 +672,9 @@ module Google
|
|
666
672
|
class GoogleCloudMlV1AutoScaling
|
667
673
|
# @private
|
668
674
|
class Representation < Google::Apis::Core::JsonRepresentation
|
675
|
+
property :max_nodes, as: 'maxNodes'
|
676
|
+
collection :metrics, as: 'metrics', class: Google::Apis::MlV1::GoogleCloudMlV1MetricSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1MetricSpec::Representation
|
677
|
+
|
669
678
|
property :min_nodes, as: 'minNodes'
|
670
679
|
end
|
671
680
|
end
|
@@ -951,6 +960,14 @@ module Google
|
|
951
960
|
end
|
952
961
|
end
|
953
962
|
|
963
|
+
class GoogleCloudMlV1MetricSpec
|
964
|
+
# @private
|
965
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
966
|
+
property :name, as: 'name'
|
967
|
+
property :target, as: 'target'
|
968
|
+
end
|
969
|
+
end
|
970
|
+
|
954
971
|
class GoogleCloudMlV1Model
|
955
972
|
# @private
|
956
973
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
26
26
|
module MlV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201016'
|
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'
|