google-api-client 0.46.1 → 0.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +666 -191
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- data/generated/google/apis/accessapproval_v1/service.rb +12 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +4 -0
- data/generated/google/apis/admob_v1beta.rb +38 -0
- data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
- data/generated/google/apis/admob_v1beta/representations.rb +472 -0
- data/generated/google/apis/admob_v1beta/service.rb +279 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +19 -18
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -13
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +179 -50
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +50 -14
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +49 -38
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +377 -137
- data/generated/google/apis/apigee_v1/representations.rb +109 -18
- data/generated/google/apis/apigee_v1/service.rb +673 -56
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -7
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +20 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +158 -5
- data/generated/google/apis/bigquery_v2/representations.rb +67 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +3 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +3 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +7 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1122 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +29 -17
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +282 -29
- data/generated/google/apis/compute_v1/representations.rb +43 -0
- data/generated/google/apis/compute_v1/service.rb +4 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +51 -10
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -2
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2/classes.rb +511 -1219
- data/generated/google/apis/content_v2/service.rb +380 -651
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1353 -1061
- data/generated/google/apis/content_v2_1/representations.rb +342 -0
- data/generated/google/apis/content_v2_1/service.rb +948 -809
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -12
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datamigration_v1beta1.rb +34 -0
- data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
- data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
- data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +18 -7
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +18 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +209 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +253 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +649 -385
- data/generated/google/apis/dialogflow_v2/representations.rb +279 -192
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +649 -385
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +283 -196
- data/generated/google/apis/dialogflow_v2beta1/service.rb +14 -8
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +712 -391
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +301 -195
- data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +241 -63
- data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1/service.rb +257 -17
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +39 -32
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +195 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +95 -0
- data/generated/google/apis/dns_v1beta2/service.rb +177 -1
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +22 -20
- data/generated/google/apis/drive_v2/service.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -9
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +937 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +380 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +505 -4
- data/generated/google/apis/file_v1/representations.rb +203 -0
- data/generated/google/apis/file_v1/service.rb +229 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +346 -6
- data/generated/google/apis/file_v1beta1/representations.rb +149 -0
- data/generated/google/apis/file_v1beta1/service.rb +6 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +16 -16
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +16 -16
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +10 -4
- data/generated/google/apis/healthcare_v1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +350 -46
- data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
- data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/classes.rb +8 -11
- data/generated/google/apis/iam_v1/representations.rb +0 -1
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -13
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +186 -10
- data/generated/google/apis/logging_v2/representations.rb +77 -0
- data/generated/google/apis/logging_v2/service.rb +446 -25
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +347 -7
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +426 -15
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +182 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +427 -15
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +182 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
- data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +273 -79
- data/generated/google/apis/ml_v1/representations.rb +43 -0
- data/generated/google/apis/ml_v1/service.rb +35 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +19 -13
- data/generated/google/apis/monitoring_v3/service.rb +50 -1
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
- data/generated/google/apis/notebooks_v1.rb +34 -0
- data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
- data/generated/google/apis/notebooks_v1/representations.rb +581 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +49 -49
- data/generated/google/apis/people_v1/service.rb +21 -18
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/privateca_v1beta1.rb +36 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +1 -2
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +1 -2
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +578 -33
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +454 -4
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +86 -0
- data/generated/google/apis/redis_v1/representations.rb +34 -0
- data/generated/google/apis/redis_v1/service.rb +34 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +7 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +27 -8
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +207 -65
- data/generated/google/apis/servicenetworking_v1/representations.rb +77 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +82 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +140 -65
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +23 -7
- data/generated/google/apis/sheets_v4/representations.rb +3 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2 -3
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +82 -50
- data/generated/google/apis/storagetransfer_v1/representations.rb +4 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +20 -21
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +12 -11
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
- data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +8 -8
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +47 -16
- data/generated/google/apis/displayvideo_v1beta.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
- data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
- data/generated/google/apis/displayvideo_v1dev.rb +0 -38
- data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1dev/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
@@ -34,6 +34,24 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class DailyCycle
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Date
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class DenyMaintenancePeriod
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
37
55
|
class Empty
|
38
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
57
|
|
@@ -136,6 +154,18 @@ module Google
|
|
136
154
|
include Google::Apis::Core::JsonObjectSupport
|
137
155
|
end
|
138
156
|
|
157
|
+
class MaintenancePolicy
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class MaintenanceWindow
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
139
169
|
class MemcacheParameters
|
140
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
171
|
|
@@ -160,18 +190,42 @@ module Google
|
|
160
190
|
include Google::Apis::Core::JsonObjectSupport
|
161
191
|
end
|
162
192
|
|
193
|
+
class Schedule
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
163
199
|
class Status
|
164
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
201
|
|
166
202
|
include Google::Apis::Core::JsonObjectSupport
|
167
203
|
end
|
168
204
|
|
205
|
+
class TimeOfDay
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
169
211
|
class UpdateParametersRequest
|
170
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
213
|
|
172
214
|
include Google::Apis::Core::JsonObjectSupport
|
173
215
|
end
|
174
216
|
|
217
|
+
class UpdatePolicy
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class WeeklyCycle
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
175
229
|
class ZoneMetadata
|
176
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
231
|
|
@@ -192,6 +246,36 @@ module Google
|
|
192
246
|
end
|
193
247
|
end
|
194
248
|
|
249
|
+
class DailyCycle
|
250
|
+
# @private
|
251
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
252
|
+
property :duration, as: 'duration'
|
253
|
+
property :start_time, as: 'startTime', class: Google::Apis::MemcacheV1beta2::TimeOfDay, decorator: Google::Apis::MemcacheV1beta2::TimeOfDay::Representation
|
254
|
+
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
class Date
|
259
|
+
# @private
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
261
|
+
property :day, as: 'day'
|
262
|
+
property :month, as: 'month'
|
263
|
+
property :year, as: 'year'
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
class DenyMaintenancePeriod
|
268
|
+
# @private
|
269
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
270
|
+
property :end_date, as: 'endDate', class: Google::Apis::MemcacheV1beta2::Date, decorator: Google::Apis::MemcacheV1beta2::Date::Representation
|
271
|
+
|
272
|
+
property :start_date, as: 'startDate', class: Google::Apis::MemcacheV1beta2::Date, decorator: Google::Apis::MemcacheV1beta2::Date::Representation
|
273
|
+
|
274
|
+
property :time, as: 'time', class: Google::Apis::MemcacheV1beta2::TimeOfDay, decorator: Google::Apis::MemcacheV1beta2::TimeOfDay::Representation
|
275
|
+
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
195
279
|
class Empty
|
196
280
|
# @private
|
197
281
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -258,6 +342,8 @@ module Google
|
|
258
342
|
# @private
|
259
343
|
class Representation < Google::Apis::Core::JsonRepresentation
|
260
344
|
property :exclude, as: 'exclude'
|
345
|
+
hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::MemcacheV1beta2::MaintenancePolicy, decorator: Google::Apis::MemcacheV1beta2::MaintenancePolicy::Representation
|
346
|
+
|
261
347
|
end
|
262
348
|
end
|
263
349
|
|
@@ -383,6 +469,30 @@ module Google
|
|
383
469
|
end
|
384
470
|
end
|
385
471
|
|
472
|
+
class MaintenancePolicy
|
473
|
+
# @private
|
474
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
475
|
+
property :create_time, as: 'createTime'
|
476
|
+
property :description, as: 'description'
|
477
|
+
hash :labels, as: 'labels'
|
478
|
+
property :name, as: 'name'
|
479
|
+
property :state, as: 'state'
|
480
|
+
property :update_policy, as: 'updatePolicy', class: Google::Apis::MemcacheV1beta2::UpdatePolicy, decorator: Google::Apis::MemcacheV1beta2::UpdatePolicy::Representation
|
481
|
+
|
482
|
+
property :update_time, as: 'updateTime'
|
483
|
+
end
|
484
|
+
end
|
485
|
+
|
486
|
+
class MaintenanceWindow
|
487
|
+
# @private
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
489
|
+
property :daily_cycle, as: 'dailyCycle', class: Google::Apis::MemcacheV1beta2::DailyCycle, decorator: Google::Apis::MemcacheV1beta2::DailyCycle::Representation
|
490
|
+
|
491
|
+
property :weekly_cycle, as: 'weeklyCycle', class: Google::Apis::MemcacheV1beta2::WeeklyCycle, decorator: Google::Apis::MemcacheV1beta2::WeeklyCycle::Representation
|
492
|
+
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
386
496
|
class MemcacheParameters
|
387
497
|
# @private
|
388
498
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -424,6 +534,16 @@ module Google
|
|
424
534
|
end
|
425
535
|
end
|
426
536
|
|
537
|
+
class Schedule
|
538
|
+
# @private
|
539
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
540
|
+
property :day, as: 'day'
|
541
|
+
property :duration, as: 'duration'
|
542
|
+
property :start_time, as: 'startTime', class: Google::Apis::MemcacheV1beta2::TimeOfDay, decorator: Google::Apis::MemcacheV1beta2::TimeOfDay::Representation
|
543
|
+
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
427
547
|
class Status
|
428
548
|
# @private
|
429
549
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -433,6 +553,16 @@ module Google
|
|
433
553
|
end
|
434
554
|
end
|
435
555
|
|
556
|
+
class TimeOfDay
|
557
|
+
# @private
|
558
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
559
|
+
property :hours, as: 'hours'
|
560
|
+
property :minutes, as: 'minutes'
|
561
|
+
property :nanos, as: 'nanos'
|
562
|
+
property :seconds, as: 'seconds'
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
436
566
|
class UpdateParametersRequest
|
437
567
|
# @private
|
438
568
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -442,6 +572,25 @@ module Google
|
|
442
572
|
end
|
443
573
|
end
|
444
574
|
|
575
|
+
class UpdatePolicy
|
576
|
+
# @private
|
577
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
578
|
+
property :channel, as: 'channel'
|
579
|
+
collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::MemcacheV1beta2::DenyMaintenancePeriod, decorator: Google::Apis::MemcacheV1beta2::DenyMaintenancePeriod::Representation
|
580
|
+
|
581
|
+
property :window, as: 'window', class: Google::Apis::MemcacheV1beta2::MaintenanceWindow, decorator: Google::Apis::MemcacheV1beta2::MaintenanceWindow::Representation
|
582
|
+
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
class WeeklyCycle
|
587
|
+
# @private
|
588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
589
|
+
collection :schedule, as: 'schedule', class: Google::Apis::MemcacheV1beta2::Schedule, decorator: Google::Apis::MemcacheV1beta2::Schedule::Representation
|
590
|
+
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
445
594
|
class ZoneMetadata
|
446
595
|
# @private
|
447
596
|
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 = '20201029'
|
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
|
@@ -1393,6 +1488,40 @@ module Google
|
|
1393
1488
|
end
|
1394
1489
|
end
|
1395
1490
|
|
1491
|
+
# The request message for the ListTrials service method.
|
1492
|
+
class GoogleCloudMlV1ListOptimalTrialsRequest
|
1493
|
+
include Google::Apis::Core::Hashable
|
1494
|
+
|
1495
|
+
def initialize(**args)
|
1496
|
+
update!(**args)
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
# Update properties of this object
|
1500
|
+
def update!(**args)
|
1501
|
+
end
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
# The response message for the ListOptimalTrials method.
|
1505
|
+
class GoogleCloudMlV1ListOptimalTrialsResponse
|
1506
|
+
include Google::Apis::Core::Hashable
|
1507
|
+
|
1508
|
+
# The pareto-optimal trials for multiple objective study or the optimal trial
|
1509
|
+
# for single objective study. The definition of pareto-optimal can be checked in
|
1510
|
+
# wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency
|
1511
|
+
# Corresponds to the JSON property `trials`
|
1512
|
+
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1Trial>]
|
1513
|
+
attr_accessor :trials
|
1514
|
+
|
1515
|
+
def initialize(**args)
|
1516
|
+
update!(**args)
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
# Update properties of this object
|
1520
|
+
def update!(**args)
|
1521
|
+
@trials = args[:trials] if args.key?(:trials)
|
1522
|
+
end
|
1523
|
+
end
|
1524
|
+
|
1396
1525
|
#
|
1397
1526
|
class GoogleCloudMlV1ListStudiesResponse
|
1398
1527
|
include Google::Apis::Core::Hashable
|
@@ -1537,6 +1666,33 @@ module Google
|
|
1537
1666
|
end
|
1538
1667
|
end
|
1539
1668
|
|
1669
|
+
# MetricSpec contains the specifications to use to calculate the desired nodes
|
1670
|
+
# count when autoscaling is enabled.
|
1671
|
+
class GoogleCloudMlV1MetricSpec
|
1672
|
+
include Google::Apis::Core::Hashable
|
1673
|
+
|
1674
|
+
# metric name.
|
1675
|
+
# Corresponds to the JSON property `name`
|
1676
|
+
# @return [String]
|
1677
|
+
attr_accessor :name
|
1678
|
+
|
1679
|
+
# Target specifies the target value for the given metric; once real metric
|
1680
|
+
# deviates from the threshold by a certain percentage, the node count changes.
|
1681
|
+
# Corresponds to the JSON property `target`
|
1682
|
+
# @return [Fixnum]
|
1683
|
+
attr_accessor :target
|
1684
|
+
|
1685
|
+
def initialize(**args)
|
1686
|
+
update!(**args)
|
1687
|
+
end
|
1688
|
+
|
1689
|
+
# Update properties of this object
|
1690
|
+
def update!(**args)
|
1691
|
+
@name = args[:name] if args.key?(:name)
|
1692
|
+
@target = args[:target] if args.key?(:target)
|
1693
|
+
end
|
1694
|
+
end
|
1695
|
+
|
1540
1696
|
# Represents a machine learning solution. A model can have multiple versions,
|
1541
1697
|
# each of which is a deployed, trained model ready to receive prediction
|
1542
1698
|
# requests. The model itself is just a container.
|
@@ -1583,23 +1739,22 @@ module Google
|
|
1583
1739
|
attr_accessor :name
|
1584
1740
|
|
1585
1741
|
# Optional. If true, online prediction nodes send `stderr` and `stdout` streams
|
1586
|
-
# to
|
1587
|
-
#
|
1588
|
-
#
|
1589
|
-
#
|
1590
|
-
#
|
1591
|
-
# false.
|
1742
|
+
# to Cloud Logging. These can be more verbose than the standard access logs (see
|
1743
|
+
# `onlinePredictionLogging`) and can incur higher cost. However, they are
|
1744
|
+
# helpful for debugging. Note that [logs may incur a cost](/stackdriver/pricing),
|
1745
|
+
# especially if your project receives prediction requests at a high QPS.
|
1746
|
+
# Estimate your costs before enabling this option. Default is false.
|
1592
1747
|
# Corresponds to the JSON property `onlinePredictionConsoleLogging`
|
1593
1748
|
# @return [Boolean]
|
1594
1749
|
attr_accessor :online_prediction_console_logging
|
1595
1750
|
alias_method :online_prediction_console_logging?, :online_prediction_console_logging
|
1596
1751
|
|
1597
|
-
# Optional. If true, online prediction access logs are sent to
|
1598
|
-
#
|
1599
|
-
#
|
1600
|
-
#
|
1601
|
-
#
|
1602
|
-
#
|
1752
|
+
# Optional. If true, online prediction access logs are sent to Cloud Logging.
|
1753
|
+
# These logs are like standard server access logs, containing information like
|
1754
|
+
# timestamp and latency for each request. Note that [logs may incur a cost](/
|
1755
|
+
# stackdriver/pricing), especially if your project receives prediction requests
|
1756
|
+
# at a high queries per second rate (QPS). Estimate your costs before enabling
|
1757
|
+
# this option. Default is false.
|
1603
1758
|
# Corresponds to the JSON property `onlinePredictionLogging`
|
1604
1759
|
# @return [Boolean]
|
1605
1760
|
attr_accessor :online_prediction_logging
|
@@ -2057,18 +2212,49 @@ module Google
|
|
2057
2212
|
end
|
2058
2213
|
end
|
2059
2214
|
|
2060
|
-
#
|
2061
|
-
#
|
2062
|
-
#
|
2215
|
+
# Specifies HTTP paths served by a custom container. AI Platform Prediction
|
2216
|
+
# sends requests to these paths on the container; the custom container must run
|
2217
|
+
# an HTTP server that responds to these requests with appropriate responses.
|
2218
|
+
# Read [Custom container requirements](/ai-platform/prediction/docs/custom-
|
2219
|
+
# container-requirements) for details on how to create your container image to
|
2220
|
+
# meet these requirements.
|
2063
2221
|
class GoogleCloudMlV1RouteMap
|
2064
2222
|
include Google::Apis::Core::Hashable
|
2065
2223
|
|
2066
|
-
# HTTP path to send health
|
2224
|
+
# HTTP path on the container to send health checkss to. AI Platform Prediction
|
2225
|
+
# intermittently sends GET requests to this path on the container's IP address
|
2226
|
+
# and port to check that the container is healthy. Read more about [health
|
2227
|
+
# checks](/ai-platform/prediction/docs/custom-container-requirements#checks).
|
2228
|
+
# For example, if you set this field to `/bar`, then AI Platform Prediction
|
2229
|
+
# intermittently sends a GET request to the following URL on the container:
|
2230
|
+
# localhost:PORT/bar PORT refers to the first value of Version.container.ports.
|
2231
|
+
# If you don't specify this field, it defaults to the following value: /v1/
|
2232
|
+
# models/MODEL/versions/VERSION The placeholders in this value are replaced as
|
2233
|
+
# follows: * MODEL: The name of the parent Model. This does not include the "
|
2234
|
+
# projects/PROJECT_ID/models/" prefix that the API returns in output; it is the
|
2235
|
+
# bare model name, as provided to projects.models.create. * VERSION: The name of
|
2236
|
+
# the model version. This does not include the "projects/PROJECT_ID/models/MODEL/
|
2237
|
+
# versions/" prefix that the API returns in output; it is the bare version name,
|
2238
|
+
# as provided to projects.models.versions.create.
|
2067
2239
|
# Corresponds to the JSON property `health`
|
2068
2240
|
# @return [String]
|
2069
2241
|
attr_accessor :health
|
2070
2242
|
|
2071
|
-
# HTTP path to send prediction requests.
|
2243
|
+
# HTTP path on the container to send prediction requests to. AI Platform
|
2244
|
+
# Prediction forwards requests sent using projects.predict to this path on the
|
2245
|
+
# container's IP address and port. AI Platform Prediction then returns the
|
2246
|
+
# container's response in the API response. For example, if you set this field
|
2247
|
+
# to `/foo`, then when AI Platform Prediction receives a prediction request, it
|
2248
|
+
# forwards the request body in a POST request to the following URL on the
|
2249
|
+
# container: localhost:PORT/foo PORT refers to the first value of Version.
|
2250
|
+
# container.ports. If you don't specify this field, it defaults to the following
|
2251
|
+
# value: /v1/models/MODEL/versions/VERSION:predict The placeholders in this
|
2252
|
+
# value are replaced as follows: * MODEL: The name of the parent Model. This
|
2253
|
+
# does not include the "projects/PROJECT_ID/models/" prefix that the API returns
|
2254
|
+
# in output; it is the bare model name, as provided to projects.models.create. *
|
2255
|
+
# VERSION: The name of the model version. This does not include the "projects/
|
2256
|
+
# PROJECT_ID/models/MODEL/versions/" prefix that the API returns in output; it
|
2257
|
+
# is the bare version name, as provided to projects.models.versions.create.
|
2072
2258
|
# Corresponds to the JSON property `predict`
|
2073
2259
|
# @return [String]
|
2074
2260
|
attr_accessor :predict
|
@@ -2785,9 +2971,9 @@ module Google
|
|
2785
2971
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling]
|
2786
2972
|
attr_accessor :auto_scaling
|
2787
2973
|
|
2788
|
-
#
|
2789
|
-
# Kubernetes Container specification
|
2790
|
-
# generated/kubernetes-api/v1.
|
2974
|
+
# Specification of a custom container for serving predictions. This message is a
|
2975
|
+
# subset of the [Kubernetes Container v1 core specification](https://kubernetes.
|
2976
|
+
# io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).
|
2791
2977
|
# Corresponds to the JSON property `container`
|
2792
2978
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec]
|
2793
2979
|
attr_accessor :container
|
@@ -2797,13 +2983,18 @@ module Google
|
|
2797
2983
|
# @return [String]
|
2798
2984
|
attr_accessor :create_time
|
2799
2985
|
|
2800
|
-
#
|
2801
|
-
# version. See the [guide to
|
2802
|
-
# deploying-models) for more information.
|
2803
|
-
#
|
2804
|
-
#
|
2805
|
-
#
|
2806
|
-
#
|
2986
|
+
# The Cloud Storage URI of a directory containing trained model artifacts to be
|
2987
|
+
# used to create the model version. See the [guide to deploying models](/ai-
|
2988
|
+
# platform/prediction/docs/deploying-models) for more information. The total
|
2989
|
+
# number of files under this directory must not exceed 1000. During projects.
|
2990
|
+
# models.versions.create, AI Platform Prediction copies all files from the
|
2991
|
+
# specified directory to a location managed by the service. From then on, AI
|
2992
|
+
# Platform Prediction uses these copies of the model artifacts to serve
|
2993
|
+
# predictions, not the original files in Cloud Storage, so this location is
|
2994
|
+
# useful only as a historical record. If you specify container, then this field
|
2995
|
+
# is optional. Otherwise, it is required. Learn [how to use this field with a
|
2996
|
+
# custom container](/ai-platform/prediction/docs/custom-container-requirements#
|
2997
|
+
# artifacts).
|
2807
2998
|
# Corresponds to the JSON property `deploymentUri`
|
2808
2999
|
# @return [String]
|
2809
3000
|
attr_accessor :deployment_uri
|
@@ -2844,10 +3035,8 @@ module Google
|
|
2844
3035
|
# deployment_uri to determine a framework. If you choose `SCIKIT_LEARN` or `
|
2845
3036
|
# XGBOOST`, you must also set the runtime version of the model to 1.4 or greater.
|
2846
3037
|
# 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.
|
3038
|
+
# routine](/ai-platform/prediction/docs/custom-prediction-routines) or if you're
|
3039
|
+
# using a [custom container](/ai-platform/prediction/docs/use-custom-container).
|
2851
3040
|
# Corresponds to the JSON property `framework`
|
2852
3041
|
# @return [String]
|
2853
3042
|
attr_accessor :framework
|
@@ -2880,9 +3069,9 @@ module Google
|
|
2880
3069
|
# standard-8` * `n1-standard-16` * `n1-standard-32` * `n1-highmem-2` * `n1-
|
2881
3070
|
# highmem-4` * `n1-highmem-8` * `n1-highmem-16` * `n1-highmem-32` * `n1-highcpu-
|
2882
3071
|
# 2` * `n1-highcpu-4` * `n1-highcpu-8` * `n1-highcpu-16` * `n1-highcpu-32` `mls1-
|
2883
|
-
#
|
2884
|
-
#
|
2885
|
-
#
|
3072
|
+
# c4-m2` is in beta. All other machine types are generally available. Learn more
|
3073
|
+
# about the [differences between machine types](/ml-engine/docs/machine-types-
|
3074
|
+
# online-prediction).
|
2886
3075
|
# Corresponds to the JSON property `machineType`
|
2887
3076
|
# @return [String]
|
2888
3077
|
attr_accessor :machine_type
|
@@ -2964,9 +3153,12 @@ module Google
|
|
2964
3153
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig]
|
2965
3154
|
attr_accessor :request_logging_config
|
2966
3155
|
|
2967
|
-
#
|
2968
|
-
#
|
2969
|
-
#
|
3156
|
+
# Specifies HTTP paths served by a custom container. AI Platform Prediction
|
3157
|
+
# sends requests to these paths on the container; the custom container must run
|
3158
|
+
# an HTTP server that responds to these requests with appropriate responses.
|
3159
|
+
# Read [Custom container requirements](/ai-platform/prediction/docs/custom-
|
3160
|
+
# container-requirements) for details on how to create your container image to
|
3161
|
+
# meet these requirements.
|
2970
3162
|
# Corresponds to the JSON property `routes`
|
2971
3163
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1RouteMap]
|
2972
3164
|
attr_accessor :routes
|
@@ -2978,7 +3170,10 @@ module Google
|
|
2978
3170
|
# @return [String]
|
2979
3171
|
attr_accessor :runtime_version
|
2980
3172
|
|
2981
|
-
# Optional. Specifies the service account for resource access control.
|
3173
|
+
# Optional. Specifies the service account for resource access control. If you
|
3174
|
+
# specify this field, then you must also specify either the `containerSpec` or
|
3175
|
+
# the `predictionClass` field. Learn more about [using a custom service account](
|
3176
|
+
# /ai-platform/prediction/docs/custom-service-account).
|
2982
3177
|
# Corresponds to the JSON property `serviceAccount`
|
2983
3178
|
# @return [String]
|
2984
3179
|
attr_accessor :service_account
|
@@ -3120,8 +3315,7 @@ module Google
|
|
3120
3315
|
class GoogleIamV1Binding
|
3121
3316
|
include Google::Apis::Core::Hashable
|
3122
3317
|
|
3123
|
-
#
|
3124
|
-
# support the internal bindings-by-ID API.
|
3318
|
+
#
|
3125
3319
|
# Corresponds to the JSON property `bindingId`
|
3126
3320
|
# @return [String]
|
3127
3321
|
attr_accessor :binding_id
|