google-api-client 0.45.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +600 -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.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +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/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 +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +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/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- 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/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +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/bigquery_v2.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 +46 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1.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_v1beta1.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/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +84 -2
- data/generated/google/apis/chat_v1/representations.rb +36 -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_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- 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 -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/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +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_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +351 -61
- data/generated/google/apis/compute_v1/representations.rb +57 -1
- data/generated/google/apis/compute_v1/service.rb +739 -133
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2/classes.rb +510 -1217
- data/generated/google/apis/content_v2/service.rb +373 -646
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +107 -4
- data/generated/google/apis/content_v2_1/representations.rb +47 -0
- data/generated/google/apis/content_v2_1/service.rb +38 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +20 -8
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.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/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +663 -208
- data/generated/google/apis/dialogflow_v2/representations.rb +297 -87
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +670 -216
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +297 -87
- data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +779 -211
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +349 -90
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +38 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
- data/generated/google/apis/displayvideo_v1/service.rb +21 -18
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +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/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 +11 -11
- data/generated/google/apis/dns_v1beta2.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/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/{appsactivity_v1.rb → domains_v1beta1.rb} +11 -11
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +329 -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/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +7 -5
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.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/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/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 +102 -60
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +1214 -264
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/ml_v1.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/monitoring_v3.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/oauth2_v2.rb +40 -0
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +48 -47
- data/generated/google/apis/people_v1/service.rb +12 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playcustomapp_v1.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/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/service.rb +2 -2
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -5
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -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/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.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/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +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_v1beta1.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/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +33 -4
- data/generated/google/apis/servicecontrol_v1/representations.rb +4 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +18 -2
- data/generated/google/apis/servicecontrol_v2/representations.rb +2 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +4 -25
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +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_v1beta.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/serviceusage_v1.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_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -18
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +307 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +173 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +309 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +132 -57
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -17
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +50 -29
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +67 -67
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/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 +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/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -2
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -134
- data/generated/google/apis/youtube_v3/representations.rb +0 -55
- data/generated/google/apis/youtube_v3/service.rb +3 -3
- 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 +42 -16
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/safebrowsing_v4.rb +0 -35
- data/generated/google/apis/safebrowsing_v4/classes.rb +0 -909
- data/generated/google/apis/safebrowsing_v4/representations.rb +0 -445
- data/generated/google/apis/safebrowsing_v4/service.rb +0 -286
|
@@ -148,6 +148,12 @@ module Google
|
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
+
class ListSqlIntegrationsResponse
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
151
157
|
class Location
|
|
152
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
159
|
|
|
@@ -190,6 +196,12 @@ module Google
|
|
|
190
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
191
197
|
end
|
|
192
198
|
|
|
199
|
+
class SqlIntegration
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
193
205
|
class SetIamPolicyRequest
|
|
194
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
207
|
|
|
@@ -237,6 +249,7 @@ module Google
|
|
|
237
249
|
class Binding
|
|
238
250
|
# @private
|
|
239
251
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
252
|
+
property :binding_id, as: 'bindingId'
|
|
240
253
|
property :condition, as: 'condition', class: Google::Apis::ManagedidentitiesV1beta1::Expr, decorator: Google::Apis::ManagedidentitiesV1beta1::Expr::Representation
|
|
241
254
|
|
|
242
255
|
collection :members, as: 'members'
|
|
@@ -262,7 +275,6 @@ module Google
|
|
|
262
275
|
# @private
|
|
263
276
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
264
277
|
property :admin, as: 'admin'
|
|
265
|
-
property :audit_logs_enabled, as: 'auditLogsEnabled'
|
|
266
278
|
collection :authorized_networks, as: 'authorizedNetworks'
|
|
267
279
|
property :create_time, as: 'createTime'
|
|
268
280
|
property :fqdn, as: 'fqdn'
|
|
@@ -449,6 +461,16 @@ module Google
|
|
|
449
461
|
end
|
|
450
462
|
end
|
|
451
463
|
|
|
464
|
+
class ListSqlIntegrationsResponse
|
|
465
|
+
# @private
|
|
466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
467
|
+
property :next_page_token, as: 'nextPageToken'
|
|
468
|
+
collection :sql_integrations, as: 'sqlIntegrations', class: Google::Apis::ManagedidentitiesV1beta1::SqlIntegration, decorator: Google::Apis::ManagedidentitiesV1beta1::SqlIntegration::Representation
|
|
469
|
+
|
|
470
|
+
collection :unreachable, as: 'unreachable'
|
|
471
|
+
end
|
|
472
|
+
end
|
|
473
|
+
|
|
452
474
|
class Location
|
|
453
475
|
# @private
|
|
454
476
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -516,6 +538,17 @@ module Google
|
|
|
516
538
|
end
|
|
517
539
|
end
|
|
518
540
|
|
|
541
|
+
class SqlIntegration
|
|
542
|
+
# @private
|
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
544
|
+
property :create_time, as: 'createTime'
|
|
545
|
+
property :name, as: 'name'
|
|
546
|
+
property :sql_instance, as: 'sqlInstance'
|
|
547
|
+
property :state, as: 'state'
|
|
548
|
+
property :update_time, as: 'updateTime'
|
|
549
|
+
end
|
|
550
|
+
end
|
|
551
|
+
|
|
519
552
|
class SetIamPolicyRequest
|
|
520
553
|
# @private
|
|
521
554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -83,8 +83,6 @@ module Google
|
|
|
83
83
|
# The resource that owns the locations collection, if applicable.
|
|
84
84
|
# @param [String] filter
|
|
85
85
|
# The standard list filter.
|
|
86
|
-
# @param [Boolean] include_unrevealed_locations
|
|
87
|
-
# If true, the returned list will include locations which are not yet revealed.
|
|
88
86
|
# @param [Fixnum] page_size
|
|
89
87
|
# The standard list page size.
|
|
90
88
|
# @param [String] page_token
|
|
@@ -106,13 +104,12 @@ module Google
|
|
|
106
104
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
107
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
108
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
109
|
-
def list_project_locations(name, filter: nil,
|
|
107
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
110
108
|
command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
|
|
111
109
|
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::ListLocationsResponse::Representation
|
|
112
110
|
command.response_class = Google::Apis::ManagedidentitiesV1beta1::ListLocationsResponse
|
|
113
111
|
command.params['name'] = name unless name.nil?
|
|
114
112
|
command.query['filter'] = filter unless filter.nil?
|
|
115
|
-
command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil?
|
|
116
113
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
117
114
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
118
115
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -391,7 +388,7 @@ module Google
|
|
|
391
388
|
# @param [String] update_mask
|
|
392
389
|
# Required. Mask of fields to update. At least one path must be supplied in this
|
|
393
390
|
# field. The elements of the repeated paths field may only include fields from
|
|
394
|
-
# Domain: * `labels` * `locations` * `authorized_networks`
|
|
391
|
+
# Domain: * `labels` * `locations` * `authorized_networks` * `audit_logs_enabled`
|
|
395
392
|
# @param [String] fields
|
|
396
393
|
# Selector specifying which fields to include in a partial response.
|
|
397
394
|
# @param [String] quota_user
|
|
@@ -599,6 +596,87 @@ module Google
|
|
|
599
596
|
execute_or_queue_command(command, &block)
|
|
600
597
|
end
|
|
601
598
|
|
|
599
|
+
# Gets details of a single sqlIntegration.
|
|
600
|
+
# @param [String] name
|
|
601
|
+
# Required. SQLIntegration resource name using the form: `projects/`project_id`/
|
|
602
|
+
# locations/global/domains/*/sqlIntegrations/`name``
|
|
603
|
+
# @param [String] fields
|
|
604
|
+
# Selector specifying which fields to include in a partial response.
|
|
605
|
+
# @param [String] quota_user
|
|
606
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
607
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
608
|
+
# @param [Google::Apis::RequestOptions] options
|
|
609
|
+
# Request-specific options
|
|
610
|
+
#
|
|
611
|
+
# @yield [result, err] Result & error if block supplied
|
|
612
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::SqlIntegration] parsed result object
|
|
613
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
614
|
+
#
|
|
615
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::SqlIntegration]
|
|
616
|
+
#
|
|
617
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
618
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
619
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
620
|
+
def get_project_location_global_domain_sql_integration(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
621
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
622
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::SqlIntegration::Representation
|
|
623
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::SqlIntegration
|
|
624
|
+
command.params['name'] = name unless name.nil?
|
|
625
|
+
command.query['fields'] = fields unless fields.nil?
|
|
626
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
627
|
+
execute_or_queue_command(command, &block)
|
|
628
|
+
end
|
|
629
|
+
|
|
630
|
+
# Lists SQLIntegrations in a given domain.
|
|
631
|
+
# @param [String] parent
|
|
632
|
+
# Required. The resource name of the SQLIntegrations using the form: `projects/`
|
|
633
|
+
# project_id`/locations/global/domains/*`
|
|
634
|
+
# @param [String] filter
|
|
635
|
+
# Optional. Filter specifying constraints of a list operation. For example, `
|
|
636
|
+
# SQLIntegration.name="sql"`.
|
|
637
|
+
# @param [String] order_by
|
|
638
|
+
# Optional. Specifies the ordering of results following syntax at https://cloud.
|
|
639
|
+
# google.com/apis/design/design_patterns#sorting_order.
|
|
640
|
+
# @param [Fixnum] page_size
|
|
641
|
+
# Optional. The maximum number of items to return. If not specified, a default
|
|
642
|
+
# value of 1000 will be used by the service. Regardless of the page_size value,
|
|
643
|
+
# the response may include a partial list and a caller should only rely on
|
|
644
|
+
# response'ANIZATIONs next_page_token to determine if there are more instances
|
|
645
|
+
# left to be queried.
|
|
646
|
+
# @param [String] page_token
|
|
647
|
+
# Optional. The next_page_token value returned from a previous List request, if
|
|
648
|
+
# any.
|
|
649
|
+
# @param [String] fields
|
|
650
|
+
# Selector specifying which fields to include in a partial response.
|
|
651
|
+
# @param [String] quota_user
|
|
652
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
653
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
654
|
+
# @param [Google::Apis::RequestOptions] options
|
|
655
|
+
# Request-specific options
|
|
656
|
+
#
|
|
657
|
+
# @yield [result, err] Result & error if block supplied
|
|
658
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::ListSqlIntegrationsResponse] parsed result object
|
|
659
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
660
|
+
#
|
|
661
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::ListSqlIntegrationsResponse]
|
|
662
|
+
#
|
|
663
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
664
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
665
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
666
|
+
def list_project_location_global_domain_sql_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
667
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/sqlIntegrations', options)
|
|
668
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::ListSqlIntegrationsResponse::Representation
|
|
669
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::ListSqlIntegrationsResponse
|
|
670
|
+
command.params['parent'] = parent unless parent.nil?
|
|
671
|
+
command.query['filter'] = filter unless filter.nil?
|
|
672
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
673
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
674
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
675
|
+
command.query['fields'] = fields unless fields.nil?
|
|
676
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
677
|
+
execute_or_queue_command(command, &block)
|
|
678
|
+
end
|
|
679
|
+
|
|
602
680
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
603
681
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
604
682
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/memorystore/
|
|
27
27
|
module MemcacheV1beta2
|
|
28
28
|
VERSION = 'V1beta2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201006'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -193,7 +193,7 @@ module Google
|
|
|
193
193
|
attr_accessor :maintenance_policy_names
|
|
194
194
|
|
|
195
195
|
# The MaintenanceSchedule contains the scheduling information of published
|
|
196
|
-
# maintenance schedule.
|
|
196
|
+
# maintenance schedule with same key as software_versions.
|
|
197
197
|
# Corresponds to the JSON property `maintenanceSchedules`
|
|
198
198
|
# @return [Hash<String,Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
|
|
199
199
|
attr_accessor :maintenance_schedules
|
|
@@ -117,8 +117,8 @@ module Google
|
|
|
117
117
|
execute_or_queue_command(command, &block)
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
# ApplyParameters will
|
|
121
|
-
#
|
|
120
|
+
# ApplyParameters will restart the set of specified nodes in order to update
|
|
121
|
+
# them to the current set of parameters for the Memcached Instance.
|
|
122
122
|
# @param [String] name
|
|
123
123
|
# Required. Resource name of the Memcached instance for which parameter group
|
|
124
124
|
# updates should be applied.
|
|
@@ -152,7 +152,7 @@ module Google
|
|
|
152
152
|
execute_or_queue_command(command, &block)
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
-
# Creates a new Instance in a given
|
|
155
|
+
# Creates a new Instance in a given location.
|
|
156
156
|
# @param [String] parent
|
|
157
157
|
# Required. The resource name of the instance location using the form: `projects/
|
|
158
158
|
# `project_id`/locations/`location_id`` where `location_id` refers to a GCP
|
|
@@ -163,7 +163,7 @@ module Google
|
|
|
163
163
|
# the following restrictions: * Must contain only lowercase letters, numbers,
|
|
164
164
|
# and hyphens. * Must start with a letter. * Must be between 1-40 characters. *
|
|
165
165
|
# Must end with a number or a letter. * Must be unique within the user project /
|
|
166
|
-
# location
|
|
166
|
+
# location If any of the above are not met, will raise an invalid argument error.
|
|
167
167
|
# @param [String] fields
|
|
168
168
|
# Selector specifying which fields to include in a partial response.
|
|
169
169
|
# @param [String] quota_user
|
|
@@ -258,7 +258,7 @@ module Google
|
|
|
258
258
|
execute_or_queue_command(command, &block)
|
|
259
259
|
end
|
|
260
260
|
|
|
261
|
-
# Lists Instances in a given
|
|
261
|
+
# Lists Instances in a given location.
|
|
262
262
|
# @param [String] parent
|
|
263
263
|
# Required. The resource name of the instance location using the form: `projects/
|
|
264
264
|
# `project_id`/locations/`location_id`` where `location_id` refers to a GCP
|
|
@@ -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'
|
|
@@ -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
|