google-api-client 0.43.0 → 0.44.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/CHANGELOG.md +218 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
- data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +205 -75
- data/generated/google/apis/apigee_v1/representations.rb +51 -0
- data/generated/google/apis/apigee_v1/service.rb +133 -34
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -35
- data/generated/google/apis/appengine_v1/representations.rb +2 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
- data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +355 -553
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +90 -115
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
- data/generated/google/apis/cloudasset_v1/service.rb +125 -167
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +681 -127
- data/generated/google/apis/compute_alpha/representations.rb +110 -6
- data/generated/google/apis/compute_alpha/service.rb +695 -692
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +570 -70
- data/generated/google/apis/compute_beta/representations.rb +112 -1
- data/generated/google/apis/compute_beta/service.rb +608 -605
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +977 -85
- data/generated/google/apis/compute_v1/representations.rb +372 -0
- data/generated/google/apis/compute_v1/service.rb +747 -15
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +915 -965
- data/generated/google/apis/container_v1/representations.rb +53 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
- data/generated/google/apis/container_v1beta1/representations.rb +70 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -2
- data/generated/google/apis/content_v2_1/representations.rb +34 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +37 -4
- 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 +56 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
- data/generated/google/apis/displayvideo_v1/service.rb +48 -36
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
- data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +14 -6
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +14 -6
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +85 -0
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +626 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +76 -83
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +84 -90
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +4 -3
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +563 -826
- data/generated/google/apis/healthcare_v1/service.rb +675 -853
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +388 -592
- data/generated/google/apis/iam_v1/service.rb +429 -555
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +246 -355
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +949 -1144
- data/generated/google/apis/ml_v1/representations.rb +64 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +103 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +220 -322
- data/generated/google/apis/monitoring_v3/service.rb +121 -140
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +226 -270
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
- data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +39 -39
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +392 -518
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1/service.rb +220 -246
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +172 -208
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +4 -3
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sql_v1beta4/service.rb +51 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +317 -382
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +40 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- 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 +347 -0
- data/generated/google/apis/youtube_v3/representations.rb +176 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -31
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/memcache_v1/representations.rb +0 -471
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/representations.rb +0 -68
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -160,12 +160,6 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
-
class OperationMetadata
|
164
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
-
|
166
|
-
include Google::Apis::Core::JsonObjectSupport
|
167
|
-
end
|
168
|
-
|
169
163
|
class Status
|
170
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
165
|
|
@@ -430,19 +424,6 @@ module Google
|
|
430
424
|
end
|
431
425
|
end
|
432
426
|
|
433
|
-
class OperationMetadata
|
434
|
-
# @private
|
435
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
-
property :api_version, as: 'apiVersion'
|
437
|
-
property :cancel_requested, as: 'cancelRequested'
|
438
|
-
property :create_time, as: 'createTime'
|
439
|
-
property :end_time, as: 'endTime'
|
440
|
-
property :status_detail, as: 'statusDetail'
|
441
|
-
property :target, as: 'target'
|
442
|
-
property :verb, as: 'verb'
|
443
|
-
end
|
444
|
-
end
|
445
|
-
|
446
427
|
class Status
|
447
428
|
# @private
|
448
429
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -117,12 +117,11 @@ module Google
|
|
117
117
|
execute_or_queue_command(command, &block)
|
118
118
|
end
|
119
119
|
|
120
|
-
# ApplyParameters will update current set of Parameters to the set of
|
121
|
-
#
|
120
|
+
# ApplyParameters will update current set of Parameters to the set of specified
|
121
|
+
# nodes of the Memcached Instance.
|
122
122
|
# @param [String] name
|
123
123
|
# Required. Resource name of the Memcached instance for which parameter group
|
124
|
-
# updates
|
125
|
-
# should be applied.
|
124
|
+
# updates should be applied.
|
126
125
|
# @param [Google::Apis::MemcacheV1beta2::ApplyParametersRequest] apply_parameters_request_object
|
127
126
|
# @param [String] fields
|
128
127
|
# Selector specifying which fields to include in a partial response.
|
@@ -155,18 +154,16 @@ module Google
|
|
155
154
|
|
156
155
|
# Creates a new Instance in a given project and location.
|
157
156
|
# @param [String] parent
|
158
|
-
# Required. The resource name of the instance location using the form:
|
159
|
-
# `
|
160
|
-
#
|
157
|
+
# Required. The resource name of the instance location using the form: `projects/
|
158
|
+
# `project_id`/locations/`location_id`` where `location_id` refers to a GCP
|
159
|
+
# region
|
161
160
|
# @param [Google::Apis::MemcacheV1beta2::Instance] instance_object
|
162
161
|
# @param [String] instance_id
|
163
|
-
# Required. The logical name of the Memcached instance in the user
|
164
|
-
#
|
165
|
-
# * Must
|
166
|
-
#
|
167
|
-
#
|
168
|
-
# * Must end with a number or a letter.
|
169
|
-
# * Must be unique within the user project / location
|
162
|
+
# Required. The logical name of the Memcached instance in the user project with
|
163
|
+
# the following restrictions: * Must contain only lowercase letters, numbers,
|
164
|
+
# and hyphens. * Must start with a letter. * Must be between 1-40 characters. *
|
165
|
+
# Must end with a number or a letter. * Must be unique within the user project /
|
166
|
+
# location
|
170
167
|
# @param [String] fields
|
171
168
|
# Selector specifying which fields to include in a partial response.
|
172
169
|
# @param [String] quota_user
|
@@ -199,9 +196,9 @@ module Google
|
|
199
196
|
|
200
197
|
# Deletes a single Instance.
|
201
198
|
# @param [String] name
|
202
|
-
# Required. Memcached instance resource name in the format:
|
203
|
-
#
|
204
|
-
#
|
199
|
+
# Required. Memcached instance resource name in the format: `projects/`
|
200
|
+
# project_id`/locations/`location_id`/instances/`instance_id`` where `
|
201
|
+
# location_id` refers to a GCP region
|
205
202
|
# @param [String] fields
|
206
203
|
# Selector specifying which fields to include in a partial response.
|
207
204
|
# @param [String] quota_user
|
@@ -231,9 +228,9 @@ module Google
|
|
231
228
|
|
232
229
|
# Gets details of a single Instance.
|
233
230
|
# @param [String] name
|
234
|
-
# Required. Memcached instance resource name in the format:
|
235
|
-
#
|
236
|
-
#
|
231
|
+
# Required. Memcached instance resource name in the format: `projects/`
|
232
|
+
# project_id`/locations/`location_id`/instances/`instance_id`` where `
|
233
|
+
# location_id` refers to a GCP region
|
237
234
|
# @param [String] fields
|
238
235
|
# Selector specifying which fields to include in a partial response.
|
239
236
|
# @param [String] quota_user
|
@@ -263,24 +260,21 @@ module Google
|
|
263
260
|
|
264
261
|
# Lists Instances in a given project and location.
|
265
262
|
# @param [String] parent
|
266
|
-
# Required. The resource name of the instance location using the form:
|
267
|
-
# `
|
268
|
-
#
|
263
|
+
# Required. The resource name of the instance location using the form: `projects/
|
264
|
+
# `project_id`/locations/`location_id`` where `location_id` refers to a GCP
|
265
|
+
# region
|
269
266
|
# @param [String] filter
|
270
|
-
# List filter. For example, exclude all Memcached instances with name as
|
271
|
-
#
|
267
|
+
# List filter. For example, exclude all Memcached instances with name as my-
|
268
|
+
# instance by specifying "name != my-instance".
|
272
269
|
# @param [String] order_by
|
273
270
|
# Sort results. Supported values are "name", "name desc" or "" (unsorted).
|
274
271
|
# @param [Fixnum] page_size
|
275
|
-
# The maximum number of items to return.
|
276
|
-
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
# next_page_token
|
280
|
-
# to determine if there are more instances left to be queried.
|
272
|
+
# The maximum number of items to return. If not specified, a default value of
|
273
|
+
# 1000 will be used by the service. Regardless of the page_size value, the
|
274
|
+
# response may include a partial list and a caller should only rely on response'
|
275
|
+
# s next_page_token to determine if there are more instances left to be queried.
|
281
276
|
# @param [String] page_token
|
282
|
-
# The next_page_token value returned from a previous List request,
|
283
|
-
# if any.
|
277
|
+
# The next_page_token value returned from a previous List request, if any.
|
284
278
|
# @param [String] fields
|
285
279
|
# Selector specifying which fields to include in a partial response.
|
286
280
|
# @param [String] quota_user
|
@@ -315,16 +309,14 @@ module Google
|
|
315
309
|
# Updates an existing Instance in a given project and location.
|
316
310
|
# @param [String] name
|
317
311
|
# Required. Unique name of the resource in this scope including project and
|
318
|
-
# location using the form:
|
319
|
-
#
|
320
|
-
#
|
321
|
-
#
|
322
|
-
#
|
323
|
-
# Refer to [zones] field for more details.
|
312
|
+
# location using the form: `projects/`project_id`/locations/`location_id`/
|
313
|
+
# instances/`instance_id`` Note: Memcached instances are managed and addressed
|
314
|
+
# at regional level so location_id here refers to a GCP region; however, users
|
315
|
+
# may choose which zones Memcached nodes within an instances should be
|
316
|
+
# provisioned in. Refer to [zones] field for more details.
|
324
317
|
# @param [Google::Apis::MemcacheV1beta2::Instance] instance_object
|
325
318
|
# @param [String] update_mask
|
326
|
-
# Required. Mask of fields to update.
|
327
|
-
# * `displayName`
|
319
|
+
# Required. Mask of fields to update. * `displayName`
|
328
320
|
# @param [String] fields
|
329
321
|
# Selector specifying which fields to include in a partial response.
|
330
322
|
# @param [String] quota_user
|
@@ -355,13 +347,12 @@ module Google
|
|
355
347
|
execute_or_queue_command(command, &block)
|
356
348
|
end
|
357
349
|
|
358
|
-
# Updates the defined Memcached Parameters for an existing Instance.
|
359
|
-
#
|
360
|
-
#
|
350
|
+
# Updates the defined Memcached Parameters for an existing Instance. This method
|
351
|
+
# only stages the parameters, it must be followed by ApplyParameters to apply
|
352
|
+
# the parameters to nodes of the Memcached Instance.
|
361
353
|
# @param [String] name
|
362
354
|
# Required. Resource name of the Memcached instance for which the parameters
|
363
|
-
# should be
|
364
|
-
# updated.
|
355
|
+
# should be updated.
|
365
356
|
# @param [Google::Apis::MemcacheV1beta2::UpdateParametersRequest] update_parameters_request_object
|
366
357
|
# @param [String] fields
|
367
358
|
# Selector specifying which fields to include in a partial response.
|
@@ -392,15 +383,13 @@ module Google
|
|
392
383
|
execute_or_queue_command(command, &block)
|
393
384
|
end
|
394
385
|
|
395
|
-
# Starts asynchronous cancellation on a long-running operation.
|
396
|
-
#
|
397
|
-
#
|
398
|
-
#
|
399
|
-
#
|
400
|
-
#
|
401
|
-
# operation
|
402
|
-
# the operation is not deleted; instead, it becomes an operation with
|
403
|
-
# an Operation.error value with a google.rpc.Status.code of 1,
|
386
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
387
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
388
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
389
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
390
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
391
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
392
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
404
393
|
# corresponding to `Code.CANCELLED`.
|
405
394
|
# @param [String] name
|
406
395
|
# The name of the operation resource to be cancelled.
|
@@ -434,10 +423,10 @@ module Google
|
|
434
423
|
execute_or_queue_command(command, &block)
|
435
424
|
end
|
436
425
|
|
437
|
-
# Deletes a long-running operation. This method indicates that the client is
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
426
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
427
|
+
# longer interested in the operation result. It does not cancel the operation.
|
428
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
429
|
+
# UNIMPLEMENTED`.
|
441
430
|
# @param [String] name
|
442
431
|
# The name of the operation resource to be deleted.
|
443
432
|
# @param [String] fields
|
@@ -467,9 +456,8 @@ module Google
|
|
467
456
|
execute_or_queue_command(command, &block)
|
468
457
|
end
|
469
458
|
|
470
|
-
# Gets the latest state of a long-running operation.
|
471
|
-
#
|
472
|
-
# service.
|
459
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
460
|
+
# to poll the operation result at intervals as recommended by the API service.
|
473
461
|
# @param [String] name
|
474
462
|
# The name of the operation resource.
|
475
463
|
# @param [String] fields
|
@@ -499,15 +487,14 @@ module Google
|
|
499
487
|
execute_or_queue_command(command, &block)
|
500
488
|
end
|
501
489
|
|
502
|
-
# Lists operations that match the specified filter in the request. If the
|
503
|
-
#
|
504
|
-
#
|
505
|
-
#
|
506
|
-
#
|
507
|
-
#
|
508
|
-
#
|
509
|
-
#
|
510
|
-
# is the parent resource, without the operations collection id.
|
490
|
+
# Lists operations that match the specified filter in the request. If the server
|
491
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
492
|
+
# binding allows API services to override the binding to use different resource
|
493
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
494
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
495
|
+
# service configuration. For backwards compatibility, the default name includes
|
496
|
+
# the operations collection id, however overriding users must ensure the name
|
497
|
+
# binding is the parent resource, without the operations collection id.
|
511
498
|
# @param [String] name
|
512
499
|
# The name of the operation's parent resource.
|
513
500
|
# @param [String] filter
|
@@ -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 = '20200821'
|
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'
|
@@ -23,34 +23,21 @@ module Google
|
|
23
23
|
module MlV1
|
24
24
|
|
25
25
|
# Message that represents an arbitrary HTTP body. It should only be used for
|
26
|
-
# payload formats that can't be represented as JSON, such as raw binary or
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
# request
|
33
|
-
#
|
34
|
-
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
# google.api.HttpBody
|
39
|
-
#
|
40
|
-
#
|
41
|
-
# rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
|
42
|
-
# rpc UpdateResource(google.api.HttpBody) returns
|
43
|
-
# (google.protobuf.Empty);
|
44
|
-
# `
|
45
|
-
# Example with streaming methods:
|
46
|
-
# service CaldavService `
|
47
|
-
# rpc GetCalendar(stream google.api.HttpBody)
|
48
|
-
# returns (stream google.api.HttpBody);
|
49
|
-
# rpc UpdateCalendar(stream google.api.HttpBody)
|
50
|
-
# returns (stream google.api.HttpBody);
|
51
|
-
# `
|
52
|
-
# Use of this type only changes how the request and response bodies are
|
53
|
-
# handled, all other features will continue to work unchanged.
|
26
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
27
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
28
|
+
# methods in the request as well as the response. It can be used as a top-level
|
29
|
+
# request field, which is convenient if one wants to extract parameters from
|
30
|
+
# either the URL or HTTP template into the request fields and also want access
|
31
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
32
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
33
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
34
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
35
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
36
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
37
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
38
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
39
|
+
# only changes how the request and response bodies are handled, all other
|
40
|
+
# features will continue to work unchanged.
|
54
41
|
class GoogleApiHttpBody
|
55
42
|
include Google::Apis::Core::Hashable
|
56
43
|
|
@@ -65,8 +52,8 @@ module Google
|
|
65
52
|
# @return [String]
|
66
53
|
attr_accessor :data
|
67
54
|
|
68
|
-
# Application specific response metadata. Must be set in the first response
|
69
|
-
#
|
55
|
+
# Application specific response metadata. Must be set in the first response for
|
56
|
+
# streaming APIs.
|
70
57
|
# Corresponds to the JSON property `extensions`
|
71
58
|
# @return [Array<Hash<String,Object>>]
|
72
59
|
attr_accessor :extensions
|
@@ -87,9 +74,8 @@ module Google
|
|
87
74
|
class GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
|
88
75
|
include Google::Apis::Core::Hashable
|
89
76
|
|
90
|
-
# If true, measurement.elapsed_time is used as the x-axis of each
|
91
|
-
#
|
92
|
-
# x-axis.
|
77
|
+
# If true, measurement.elapsed_time is used as the x-axis of each Trials Decay
|
78
|
+
# Curve. Otherwise, Measurement.steps will be used as the x-axis.
|
93
79
|
# Corresponds to the JSON property `useElapsedTime`
|
94
80
|
# @return [Boolean]
|
95
81
|
attr_accessor :use_elapsed_time
|
@@ -105,19 +91,18 @@ module Google
|
|
105
91
|
end
|
106
92
|
end
|
107
93
|
|
108
|
-
# The median automated stopping rule stops a pending trial if the trial's
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
94
|
+
# The median automated stopping rule stops a pending trial if the trial's best
|
95
|
+
# objective_value is strictly below the median 'performance' of all completed
|
96
|
+
# trials reported up to the trial's last measurement. Currently, 'performance'
|
97
|
+
# refers to the running average of the objective values reported by the trial in
|
98
|
+
# each measurement.
|
113
99
|
class GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig
|
114
100
|
include Google::Apis::Core::Hashable
|
115
101
|
|
116
|
-
# If true, the median automated stopping rule applies to
|
117
|
-
#
|
118
|
-
# the
|
119
|
-
#
|
120
|
-
# value for each completed trial.
|
102
|
+
# If true, the median automated stopping rule applies to measurement.
|
103
|
+
# use_elapsed_time, which means the elapsed_time field of the current trial's
|
104
|
+
# latest measurement is used to compute the median objective value for each
|
105
|
+
# completed trial.
|
121
106
|
# Corresponds to the JSON property `useElapsedTime`
|
122
107
|
# @return [Boolean]
|
123
108
|
attr_accessor :use_elapsed_time
|
@@ -187,8 +172,7 @@ module Google
|
|
187
172
|
class GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
|
188
173
|
include Google::Apis::Core::Hashable
|
189
174
|
|
190
|
-
# Must be specified if type is `CATEGORICAL`.
|
191
|
-
# The list of possible categories.
|
175
|
+
# Must be specified if type is `CATEGORICAL`. The list of possible categories.
|
192
176
|
# Corresponds to the JSON property `values`
|
193
177
|
# @return [Array<String>]
|
194
178
|
attr_accessor :values
|
@@ -207,11 +191,10 @@ module Google
|
|
207
191
|
class GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec
|
208
192
|
include Google::Apis::Core::Hashable
|
209
193
|
|
210
|
-
# Must be specified if type is `DISCRETE`.
|
211
|
-
#
|
212
|
-
#
|
213
|
-
#
|
214
|
-
# should not contain more than 1,000 values.
|
194
|
+
# Must be specified if type is `DISCRETE`. A list of feasible points. The list
|
195
|
+
# should be in strictly increasing order. For instance, this parameter might
|
196
|
+
# have possible settings of 1.5, 2.5, and 4.0. This list should not contain more
|
197
|
+
# than 1,000 values.
|
215
198
|
# Corresponds to the JSON property `values`
|
216
199
|
# @return [Array<Float>]
|
217
200
|
attr_accessor :values
|
@@ -280,8 +263,8 @@ module Google
|
|
280
263
|
class GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec
|
281
264
|
include Google::Apis::Core::Hashable
|
282
265
|
|
283
|
-
# Matches values of the parent parameter with type 'CATEGORICAL'.
|
284
|
-
#
|
266
|
+
# Matches values of the parent parameter with type 'CATEGORICAL'. All values
|
267
|
+
# must exist in `categorical_value_spec` of parent parameter.
|
285
268
|
# Corresponds to the JSON property `values`
|
286
269
|
# @return [Array<String>]
|
287
270
|
attr_accessor :values
|
@@ -300,8 +283,8 @@ module Google
|
|
300
283
|
class GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec
|
301
284
|
include Google::Apis::Core::Hashable
|
302
285
|
|
303
|
-
# Matches values of the parent parameter with type 'DISCRETE'.
|
304
|
-
#
|
286
|
+
# Matches values of the parent parameter with type 'DISCRETE'. All values must
|
287
|
+
# exist in `discrete_value_spec` of parent parameter.
|
305
288
|
# Corresponds to the JSON property `values`
|
306
289
|
# @return [Array<Float>]
|
307
290
|
attr_accessor :values
|
@@ -320,8 +303,8 @@ module Google
|
|
320
303
|
class GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec
|
321
304
|
include Google::Apis::Core::Hashable
|
322
305
|
|
323
|
-
# Matches values of the parent parameter with type 'INTEGER'.
|
324
|
-
#
|
306
|
+
# Matches values of the parent parameter with type 'INTEGER'. All values must
|
307
|
+
# lie in `integer_value_spec` of parent parameter.
|
325
308
|
# Corresponds to the JSON property `values`
|
326
309
|
# @return [Array<Fixnum>]
|
327
310
|
attr_accessor :values
|
@@ -371,9 +354,8 @@ module Google
|
|
371
354
|
attr_accessor :categorical_value_spec
|
372
355
|
|
373
356
|
# A child node is active if the parameter's value matches the child node's
|
374
|
-
# matching_parent_values.
|
375
|
-
#
|
376
|
-
# disjoint matching_parent_values.
|
357
|
+
# matching_parent_values. If two items in child_parameter_specs have the same
|
358
|
+
# name, they must have disjoint matching_parent_values.
|
377
359
|
# Corresponds to the JSON property `childParameterSpecs`
|
378
360
|
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpec>]
|
379
361
|
attr_accessor :child_parameter_specs
|
@@ -413,8 +395,7 @@ module Google
|
|
413
395
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec]
|
414
396
|
attr_accessor :parent_int_values
|
415
397
|
|
416
|
-
# How the parameter should be scaled.
|
417
|
-
# Leave unset for categorical parameters.
|
398
|
+
# How the parameter should be scaled. Leave unset for categorical parameters.
|
418
399
|
# Corresponds to the JSON property `scaleType`
|
419
400
|
# @return [String]
|
420
401
|
attr_accessor :scale_type
|
@@ -444,8 +425,8 @@ module Google
|
|
444
425
|
end
|
445
426
|
end
|
446
427
|
|
447
|
-
# A message representing a parameter to be tuned. Contains the name of
|
448
|
-
#
|
428
|
+
# A message representing a parameter to be tuned. Contains the name of the
|
429
|
+
# parameter and the suggested value to use for this trial.
|
449
430
|
class GoogleCloudMlV1TrialParameter
|
450
431
|
include Google::Apis::Core::Hashable
|
451
432
|
|
@@ -482,11 +463,10 @@ module Google
|
|
482
463
|
end
|
483
464
|
end
|
484
465
|
|
485
|
-
# Represents a hardware accelerator request config.
|
486
|
-
#
|
487
|
-
#
|
488
|
-
#
|
489
|
-
# prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
|
466
|
+
# Represents a hardware accelerator request config. Note that the
|
467
|
+
# AcceleratorConfig can be used in both Jobs and Versions. Learn more about [
|
468
|
+
# accelerators for training](/ml-engine/docs/using-gpus) and [accelerators for
|
469
|
+
# online prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
|
490
470
|
class GoogleCloudMlV1AcceleratorConfig
|
491
471
|
include Google::Apis::Core::Hashable
|
492
472
|
|
@@ -534,48 +514,30 @@ module Google
|
|
534
514
|
class GoogleCloudMlV1AutoScaling
|
535
515
|
include Google::Apis::Core::Hashable
|
536
516
|
|
537
|
-
# Optional. The minimum number of nodes to allocate for this model. These
|
538
|
-
#
|
539
|
-
#
|
540
|
-
#
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
544
|
-
#
|
545
|
-
#
|
546
|
-
#
|
547
|
-
#
|
548
|
-
#
|
549
|
-
#
|
550
|
-
#
|
551
|
-
#
|
552
|
-
#
|
553
|
-
#
|
554
|
-
# be
|
555
|
-
#
|
556
|
-
#
|
557
|
-
#
|
558
|
-
#
|
559
|
-
#
|
560
|
-
#
|
561
|
-
# ManualScaling.
|
562
|
-
# You can set `min_nodes` when creating the model version, and you can also
|
563
|
-
# update `min_nodes` for an existing version:
|
564
|
-
# <pre>
|
565
|
-
# update_body.json:
|
566
|
-
# `
|
567
|
-
# 'autoScaling': `
|
568
|
-
# 'minNodes': 5
|
569
|
-
# `
|
570
|
-
# `
|
571
|
-
# </pre>
|
572
|
-
# HTTP request:
|
573
|
-
# <pre style="max-width: 626px;">
|
574
|
-
# PATCH
|
575
|
-
# https://ml.googleapis.com/v1/`name=projects/*/models/*/versions/*`?update_mask=
|
576
|
-
# autoScaling.minNodes
|
577
|
-
# -d @./update_body.json
|
578
|
-
# </pre>
|
517
|
+
# Optional. The minimum number of nodes to allocate for this model. These nodes
|
518
|
+
# are always up, starting from the time the model is deployed. Therefore, the
|
519
|
+
# cost of operating this model will be at least `rate` * `min_nodes` * number of
|
520
|
+
# hours since last billing cycle, where `rate` is the cost per node-hour as
|
521
|
+
# documented in the [pricing guide](/ml-engine/docs/pricing), even if no
|
522
|
+
# predictions are performed. There is additional cost for each prediction
|
523
|
+
# performed. Unlike manual scaling, if the load gets too heavy for the nodes
|
524
|
+
# that are up, the service will automatically add nodes to handle the increased
|
525
|
+
# load as well as scale back as traffic drops, always maintaining at least `
|
526
|
+
# min_nodes`. You will be charged for the time in which additional nodes are
|
527
|
+
# used. If `min_nodes` is not specified and AutoScaling is used with a [legacy (
|
528
|
+
# MLS1) machine type](/ml-engine/docs/machine-types-online-prediction), `
|
529
|
+
# min_nodes` defaults to 0, in which case, when traffic to a model stops (and
|
530
|
+
# after a cool-down period), nodes will be shut down and no charges will be
|
531
|
+
# incurred until traffic to the model resumes. If `min_nodes` is not specified
|
532
|
+
# and AutoScaling is used with a [Compute Engine (N1) machine type](/ml-engine/
|
533
|
+
# docs/machine-types-online-prediction), `min_nodes` defaults to 1. `min_nodes`
|
534
|
+
# must be at least 1 for use with a Compute Engine machine type. Note that you
|
535
|
+
# cannot use AutoScaling if your version uses [GPUs](#Version.FIELDS.
|
536
|
+
# accelerator_config). Instead, you must use ManualScaling. You can set `
|
537
|
+
# min_nodes` when creating the model version, and you can also update `min_nodes`
|
538
|
+
# for an existing version: update_body.json: ` 'autoScaling': ` 'minNodes': 5 `
|
539
|
+
# ` HTTP request: PATCH https://ml.googleapis.com/v1/`name=projects/*/models/*/
|
540
|
+
# versions/*`?update_mask=autoScaling.minNodes -d @./update_body.json
|
579
541
|
# Corresponds to the JSON property `minNodes`
|
580
542
|
# @return [Fixnum]
|
581
543
|
attr_accessor :min_nodes
|
@@ -600,11 +562,11 @@ module Google
|
|
600
562
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig]
|
601
563
|
attr_accessor :decay_curve_stopping_config
|
602
564
|
|
603
|
-
# The median automated stopping rule stops a pending trial if the trial's
|
604
|
-
#
|
605
|
-
#
|
606
|
-
#
|
607
|
-
#
|
565
|
+
# The median automated stopping rule stops a pending trial if the trial's best
|
566
|
+
# objective_value is strictly below the median 'performance' of all completed
|
567
|
+
# trials reported up to the trial's last measurement. Currently, 'performance'
|
568
|
+
# refers to the running average of the objective values reported by the trial in
|
569
|
+
# each measurement.
|
608
570
|
# Corresponds to the JSON property `medianAutomatedStoppingConfig`
|
609
571
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig]
|
610
572
|
attr_accessor :median_automated_stopping_config
|
@@ -629,9 +591,9 @@ module Google
|
|
629
591
|
# @return [String]
|
630
592
|
attr_accessor :framework
|
631
593
|
|
632
|
-
# The Cloud Storage path to the `model/` directory where the training job
|
633
|
-
#
|
634
|
-
#
|
594
|
+
# The Cloud Storage path to the `model/` directory where the training job saves
|
595
|
+
# the trained model. Only set for successful jobs that don't use hyperparameter
|
596
|
+
# tuning.
|
635
597
|
# Corresponds to the JSON property `modelPath`
|
636
598
|
# @return [String]
|
637
599
|
attr_accessor :model_path
|
@@ -641,8 +603,7 @@ module Google
|
|
641
603
|
# @return [String]
|
642
604
|
attr_accessor :python_version
|
643
605
|
|
644
|
-
# AI Platform runtime version on which the built-in algorithm was
|
645
|
-
# trained.
|
606
|
+
# AI Platform runtime version on which the built-in algorithm was trained.
|
646
607
|
# Corresponds to the JSON property `runtimeVersion`
|
647
608
|
# @return [String]
|
648
609
|
attr_accessor :runtime_version
|
@@ -698,9 +659,8 @@ module Google
|
|
698
659
|
end
|
699
660
|
end
|
700
661
|
|
701
|
-
# This message will be placed in the metadata field of a
|
702
|
-
#
|
703
|
-
# request.
|
662
|
+
# This message will be placed in the metadata field of a google.longrunning.
|
663
|
+
# Operation associated with a CheckTrialEarlyStoppingState request.
|
704
664
|
class GoogleCloudMlV1CheckTrialEarlyStoppingStateMetatdata
|
705
665
|
include Google::Apis::Core::Hashable
|
706
666
|
|
@@ -744,9 +704,8 @@ module Google
|
|
744
704
|
end
|
745
705
|
end
|
746
706
|
|
747
|
-
# The message will be placed in the response field of a completed
|
748
|
-
#
|
749
|
-
# request.
|
707
|
+
# The message will be placed in the response field of a completed google.
|
708
|
+
# longrunning.Operation associated with a CheckTrialEarlyStoppingState request.
|
750
709
|
class GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse
|
751
710
|
include Google::Apis::Core::Hashable
|
752
711
|
|
@@ -831,15 +790,99 @@ module Google
|
|
831
790
|
end
|
832
791
|
end
|
833
792
|
|
834
|
-
#
|
835
|
-
|
793
|
+
# ContainerPort represents a network port in a single container.
|
794
|
+
class GoogleCloudMlV1ContainerPort
|
795
|
+
include Google::Apis::Core::Hashable
|
796
|
+
|
797
|
+
# Number of port to expose on the pod's IP address. This must be a valid port
|
798
|
+
# number, 0 < x < 65536.
|
799
|
+
# Corresponds to the JSON property `containerPort`
|
800
|
+
# @return [Fixnum]
|
801
|
+
attr_accessor :container_port
|
802
|
+
|
803
|
+
def initialize(**args)
|
804
|
+
update!(**args)
|
805
|
+
end
|
806
|
+
|
807
|
+
# Update properties of this object
|
808
|
+
def update!(**args)
|
809
|
+
@container_port = args[:container_port] if args.key?(:container_port)
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
813
|
+
# Specify a custom container to deploy. Our ContainerSpec is a subset of the
|
814
|
+
# Kubernetes Container specification. https://kubernetes.io/docs/reference/
|
815
|
+
# generated/kubernetes-api/v1.10/#container-v1-core
|
816
|
+
class GoogleCloudMlV1ContainerSpec
|
817
|
+
include Google::Apis::Core::Hashable
|
818
|
+
|
819
|
+
# Immutable. Arguments to the entrypoint. The docker image's CMD is used if this
|
820
|
+
# is not provided. Variable references $(VAR_NAME) are expanded using the
|
821
|
+
# container's environment. If a variable cannot be resolved, the reference in
|
822
|
+
# the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with
|
823
|
+
# a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
|
824
|
+
# regardless of whether the variable exists or not. More info: https://
|
825
|
+
# kubernetes.io/docs/tasks/inject-data-application/define-command-argument-
|
826
|
+
# container/#running-a-command-in-a-shell
|
827
|
+
# Corresponds to the JSON property `args`
|
828
|
+
# @return [Array<String>]
|
829
|
+
attr_accessor :args
|
830
|
+
|
831
|
+
# Immutable. Entrypoint array. Not executed within a shell. The docker image's
|
832
|
+
# ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME)
|
833
|
+
# are expanded using the container's environment. If a variable cannot be
|
834
|
+
# resolved, the reference in the input string will be unchanged. The $(VAR_NAME)
|
835
|
+
# syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references
|
836
|
+
# will never be expanded, regardless of whether the variable exists or not. More
|
837
|
+
# info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-
|
838
|
+
# argument-container/#running-a-command-in-a-shell
|
839
|
+
# Corresponds to the JSON property `command`
|
840
|
+
# @return [Array<String>]
|
841
|
+
attr_accessor :command
|
842
|
+
|
843
|
+
# Immutable. List of environment variables to set in the container.
|
844
|
+
# Corresponds to the JSON property `env`
|
845
|
+
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1EnvVar>]
|
846
|
+
attr_accessor :env
|
847
|
+
|
848
|
+
# Docker image name. More info: https://kubernetes.io/docs/concepts/containers/
|
849
|
+
# images
|
850
|
+
# Corresponds to the JSON property `image`
|
851
|
+
# @return [String]
|
852
|
+
attr_accessor :image
|
853
|
+
|
854
|
+
# Immutable. List of ports to expose from the container. Exposing a port here
|
855
|
+
# gives the system additional information about the network connections a
|
856
|
+
# container uses, but is primarily informational. Not specifying a port here
|
857
|
+
# DOES NOT prevent that port from being exposed. Any port which is listening on
|
858
|
+
# the default "0.0.0.0" address inside a container will be accessible from the
|
859
|
+
# network.
|
860
|
+
# Corresponds to the JSON property `ports`
|
861
|
+
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1ContainerPort>]
|
862
|
+
attr_accessor :ports
|
863
|
+
|
864
|
+
def initialize(**args)
|
865
|
+
update!(**args)
|
866
|
+
end
|
867
|
+
|
868
|
+
# Update properties of this object
|
869
|
+
def update!(**args)
|
870
|
+
@args = args[:args] if args.key?(:args)
|
871
|
+
@command = args[:command] if args.key?(:command)
|
872
|
+
@env = args[:env] if args.key?(:env)
|
873
|
+
@image = args[:image] if args.key?(:image)
|
874
|
+
@ports = args[:ports] if args.key?(:ports)
|
875
|
+
end
|
876
|
+
end
|
877
|
+
|
878
|
+
# Represents a custom encryption key configuration that can be applied to a
|
879
|
+
# resource.
|
836
880
|
class GoogleCloudMlV1EncryptionConfig
|
837
881
|
include Google::Apis::Core::Hashable
|
838
882
|
|
839
|
-
# The Cloud KMS resource identifier of the customer-managed encryption key
|
840
|
-
#
|
841
|
-
#
|
842
|
-
# `projects/`PROJECT_ID`/locations/`REGION`/keyRings/`KEY_RING_NAME`/cryptoKeys/`
|
883
|
+
# The Cloud KMS resource identifier of the customer-managed encryption key used
|
884
|
+
# to protect a resource, such as a training job. It has the following format: `
|
885
|
+
# projects/`PROJECT_ID`/locations/`REGION`/keyRings/`KEY_RING_NAME`/cryptoKeys/`
|
843
886
|
# KEY_NAME``
|
844
887
|
# Corresponds to the JSON property `kmsKeyName`
|
845
888
|
# @return [String]
|
@@ -855,39 +898,56 @@ module Google
|
|
855
898
|
end
|
856
899
|
end
|
857
900
|
|
901
|
+
# EnvVar represents an environment variable present in a Container.
|
902
|
+
class GoogleCloudMlV1EnvVar
|
903
|
+
include Google::Apis::Core::Hashable
|
904
|
+
|
905
|
+
# Name of the environment variable. Must be a C_IDENTIFIER.
|
906
|
+
# Corresponds to the JSON property `name`
|
907
|
+
# @return [String]
|
908
|
+
attr_accessor :name
|
909
|
+
|
910
|
+
# Variable references $(VAR_NAME) are expanded using the previous defined
|
911
|
+
# environment variables in the container and any service environment variables.
|
912
|
+
# If a variable cannot be resolved, the reference in the input string will be
|
913
|
+
# unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(
|
914
|
+
# VAR_NAME). Escaped references will never be expanded, regardless of whether
|
915
|
+
# the variable exists or not. Defaults to "".
|
916
|
+
# Corresponds to the JSON property `value`
|
917
|
+
# @return [String]
|
918
|
+
attr_accessor :value
|
919
|
+
|
920
|
+
def initialize(**args)
|
921
|
+
update!(**args)
|
922
|
+
end
|
923
|
+
|
924
|
+
# Update properties of this object
|
925
|
+
def update!(**args)
|
926
|
+
@name = args[:name] if args.key?(:name)
|
927
|
+
@value = args[:value] if args.key?(:value)
|
928
|
+
end
|
929
|
+
end
|
930
|
+
|
858
931
|
# Request for explanations to be issued against a trained model.
|
859
932
|
class GoogleCloudMlV1ExplainRequest
|
860
933
|
include Google::Apis::Core::Hashable
|
861
934
|
|
862
935
|
# Message that represents an arbitrary HTTP body. It should only be used for
|
863
|
-
# payload formats that can't be represented as JSON, such as raw binary or
|
864
|
-
#
|
865
|
-
#
|
866
|
-
#
|
867
|
-
#
|
868
|
-
#
|
869
|
-
# request
|
870
|
-
#
|
871
|
-
#
|
872
|
-
#
|
873
|
-
#
|
874
|
-
#
|
875
|
-
# google.api.HttpBody
|
876
|
-
#
|
877
|
-
#
|
878
|
-
# rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
|
879
|
-
# rpc UpdateResource(google.api.HttpBody) returns
|
880
|
-
# (google.protobuf.Empty);
|
881
|
-
# `
|
882
|
-
# Example with streaming methods:
|
883
|
-
# service CaldavService `
|
884
|
-
# rpc GetCalendar(stream google.api.HttpBody)
|
885
|
-
# returns (stream google.api.HttpBody);
|
886
|
-
# rpc UpdateCalendar(stream google.api.HttpBody)
|
887
|
-
# returns (stream google.api.HttpBody);
|
888
|
-
# `
|
889
|
-
# Use of this type only changes how the request and response bodies are
|
890
|
-
# handled, all other features will continue to work unchanged.
|
936
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
937
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
938
|
+
# methods in the request as well as the response. It can be used as a top-level
|
939
|
+
# request field, which is convenient if one wants to extract parameters from
|
940
|
+
# either the URL or HTTP template into the request fields and also want access
|
941
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
942
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
943
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
944
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
945
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
946
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
947
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
948
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
949
|
+
# only changes how the request and response bodies are handled, all other
|
950
|
+
# features will continue to work unchanged.
|
891
951
|
# Corresponds to the JSON property `httpBody`
|
892
952
|
# @return [Google::Apis::MlV1::GoogleApiHttpBody]
|
893
953
|
attr_accessor :http_body
|
@@ -902,17 +962,16 @@ module Google
|
|
902
962
|
end
|
903
963
|
end
|
904
964
|
|
905
|
-
# Message holding configuration options for explaining model predictions.
|
906
|
-
#
|
907
|
-
# integrated gradients
|
908
|
-
# [Learn more about feature
|
965
|
+
# Message holding configuration options for explaining model predictions. There
|
966
|
+
# are three feature attribution methods supported for TensorFlow models:
|
967
|
+
# integrated gradients, sampled Shapley, and XRAI. [Learn more about feature
|
909
968
|
# attributions.](/ai-platform/prediction/docs/ai-explanations/overview)
|
910
969
|
class GoogleCloudMlV1ExplanationConfig
|
911
970
|
include Google::Apis::Core::Hashable
|
912
971
|
|
913
|
-
# Attributes credit by computing the Aumann-Shapley value taking advantage
|
914
|
-
#
|
915
|
-
#
|
972
|
+
# Attributes credit by computing the Aumann-Shapley value taking advantage of
|
973
|
+
# the model's fully differentiable structure. Refer to this paper for more
|
974
|
+
# details: https://arxiv.org/abs/1703.01365
|
916
975
|
# Corresponds to the JSON property `integratedGradientsAttribution`
|
917
976
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1IntegratedGradientsAttribution]
|
918
977
|
attr_accessor :integrated_gradients_attribution
|
@@ -924,10 +983,10 @@ module Google
|
|
924
983
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1SampledShapleyAttribution]
|
925
984
|
attr_accessor :sampled_shapley_attribution
|
926
985
|
|
927
|
-
# Attributes credit by computing the XRAI taking advantage
|
928
|
-
#
|
929
|
-
#
|
930
|
-
#
|
986
|
+
# Attributes credit by computing the XRAI taking advantage of the model's fully
|
987
|
+
# differentiable structure. Refer to this paper for more details: https://arxiv.
|
988
|
+
# org/abs/1906.02825 Currently only implemented for models with natural image
|
989
|
+
# inputs.
|
931
990
|
# Corresponds to the JSON property `xraiAttribution`
|
932
991
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1XraiAttribution]
|
933
992
|
attr_accessor :xrai_attribution
|
@@ -975,10 +1034,10 @@ module Google
|
|
975
1034
|
end
|
976
1035
|
end
|
977
1036
|
|
978
|
-
# Represents the result of a single hyperparameter tuning trial from a
|
979
|
-
#
|
980
|
-
#
|
981
|
-
#
|
1037
|
+
# Represents the result of a single hyperparameter tuning trial from a training
|
1038
|
+
# job. The TrainingOutput object that is returned on successful completion of a
|
1039
|
+
# training job with hyperparameter tuning includes a list of
|
1040
|
+
# HyperparameterOutput objects, one for each successful trial.
|
982
1041
|
class GoogleCloudMlV1HyperparameterOutput
|
983
1042
|
include Google::Apis::Core::Hashable
|
984
1043
|
|
@@ -1051,61 +1110,55 @@ module Google
|
|
1051
1110
|
class GoogleCloudMlV1HyperparameterSpec
|
1052
1111
|
include Google::Apis::Core::Hashable
|
1053
1112
|
|
1054
|
-
# Optional. The search algorithm specified for the hyperparameter
|
1055
|
-
# tuning
|
1056
|
-
# Uses the default AI Platform hyperparameter tuning
|
1057
|
-
# algorithm if unspecified.
|
1113
|
+
# Optional. The search algorithm specified for the hyperparameter tuning job.
|
1114
|
+
# Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
|
1058
1115
|
# Corresponds to the JSON property `algorithm`
|
1059
1116
|
# @return [String]
|
1060
1117
|
attr_accessor :algorithm
|
1061
1118
|
|
1062
|
-
# Optional. Indicates if the hyperparameter tuning job enables auto trial
|
1063
|
-
#
|
1119
|
+
# Optional. Indicates if the hyperparameter tuning job enables auto trial early
|
1120
|
+
# stopping.
|
1064
1121
|
# Corresponds to the JSON property `enableTrialEarlyStopping`
|
1065
1122
|
# @return [Boolean]
|
1066
1123
|
attr_accessor :enable_trial_early_stopping
|
1067
1124
|
alias_method :enable_trial_early_stopping?, :enable_trial_early_stopping
|
1068
1125
|
|
1069
|
-
# Required. The type of goal to use for tuning. Available types are
|
1070
|
-
#
|
1071
|
-
# Defaults to `MAXIMIZE`.
|
1126
|
+
# Required. The type of goal to use for tuning. Available types are `MAXIMIZE`
|
1127
|
+
# and `MINIMIZE`. Defaults to `MAXIMIZE`.
|
1072
1128
|
# Corresponds to the JSON property `goal`
|
1073
1129
|
# @return [String]
|
1074
1130
|
attr_accessor :goal
|
1075
1131
|
|
1076
1132
|
# Optional. The TensorFlow summary tag name to use for optimizing trials. For
|
1077
1133
|
# current versions of TensorFlow, this tag name should exactly match what is
|
1078
|
-
# shown in TensorBoard, including all scopes.
|
1079
|
-
#
|
1080
|
-
#
|
1134
|
+
# shown in TensorBoard, including all scopes. For versions of TensorFlow prior
|
1135
|
+
# to 0.12, this should be only the tag passed to tf.Summary. By default, "
|
1136
|
+
# training/hptuning/metric" will be used.
|
1081
1137
|
# Corresponds to the JSON property `hyperparameterMetricTag`
|
1082
1138
|
# @return [String]
|
1083
1139
|
attr_accessor :hyperparameter_metric_tag
|
1084
1140
|
|
1085
|
-
# Optional. The number of failed trials that need to be seen before failing
|
1086
|
-
#
|
1087
|
-
#
|
1088
|
-
#
|
1089
|
-
# job should fail.
|
1141
|
+
# Optional. The number of failed trials that need to be seen before failing the
|
1142
|
+
# hyperparameter tuning job. You can specify this field to override the default
|
1143
|
+
# failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero,
|
1144
|
+
# which means the service decides when a hyperparameter job should fail.
|
1090
1145
|
# Corresponds to the JSON property `maxFailedTrials`
|
1091
1146
|
# @return [Fixnum]
|
1092
1147
|
attr_accessor :max_failed_trials
|
1093
1148
|
|
1094
|
-
# Optional. The number of training trials to run concurrently.
|
1095
|
-
#
|
1096
|
-
#
|
1097
|
-
#
|
1098
|
-
#
|
1099
|
-
#
|
1100
|
-
#
|
1101
|
-
# Defaults to one.
|
1149
|
+
# Optional. The number of training trials to run concurrently. You can reduce
|
1150
|
+
# the time it takes to perform hyperparameter tuning by adding trials in
|
1151
|
+
# parallel. However, each trail only benefits from the information gained in
|
1152
|
+
# completed trials. That means that a trial does not get access to the results
|
1153
|
+
# of trials running at the same time, which could reduce the quality of the
|
1154
|
+
# overall optimization. Each trial will use the same scale tier and machine
|
1155
|
+
# types. Defaults to one.
|
1102
1156
|
# Corresponds to the JSON property `maxParallelTrials`
|
1103
1157
|
# @return [Fixnum]
|
1104
1158
|
attr_accessor :max_parallel_trials
|
1105
1159
|
|
1106
|
-
# Optional. How many training trials should be attempted to optimize
|
1107
|
-
#
|
1108
|
-
# Defaults to one.
|
1160
|
+
# Optional. How many training trials should be attempted to optimize the
|
1161
|
+
# specified hyperparameters. Defaults to one.
|
1109
1162
|
# Corresponds to the JSON property `maxTrials`
|
1110
1163
|
# @return [Fixnum]
|
1111
1164
|
attr_accessor :max_trials
|
@@ -1115,9 +1168,9 @@ module Google
|
|
1115
1168
|
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec>]
|
1116
1169
|
attr_accessor :params
|
1117
1170
|
|
1118
|
-
# Optional. The prior hyperparameter tuning job id that users hope to
|
1119
|
-
#
|
1120
|
-
#
|
1171
|
+
# Optional. The prior hyperparameter tuning job id that users hope to continue
|
1172
|
+
# with. The job id will be used to find the corresponding vizier study guid and
|
1173
|
+
# resume the study.
|
1121
1174
|
# Corresponds to the JSON property `resumePreviousJobId`
|
1122
1175
|
# @return [String]
|
1123
1176
|
attr_accessor :resume_previous_job_id
|
@@ -1140,15 +1193,15 @@ module Google
|
|
1140
1193
|
end
|
1141
1194
|
end
|
1142
1195
|
|
1143
|
-
# Attributes credit by computing the Aumann-Shapley value taking advantage
|
1144
|
-
#
|
1145
|
-
#
|
1196
|
+
# Attributes credit by computing the Aumann-Shapley value taking advantage of
|
1197
|
+
# the model's fully differentiable structure. Refer to this paper for more
|
1198
|
+
# details: https://arxiv.org/abs/1703.01365
|
1146
1199
|
class GoogleCloudMlV1IntegratedGradientsAttribution
|
1147
1200
|
include Google::Apis::Core::Hashable
|
1148
1201
|
|
1149
|
-
# Number of steps for approximating the path integral.
|
1150
|
-
#
|
1151
|
-
#
|
1202
|
+
# Number of steps for approximating the path integral. A good value to start is
|
1203
|
+
# 50 and gradually increase until the sum to diff property is met within the
|
1204
|
+
# desired error range.
|
1152
1205
|
# Corresponds to the JSON property `numIntegralSteps`
|
1153
1206
|
# @return [Fixnum]
|
1154
1207
|
attr_accessor :num_integral_steps
|
@@ -1182,13 +1235,13 @@ module Google
|
|
1182
1235
|
# @return [String]
|
1183
1236
|
attr_accessor :error_message
|
1184
1237
|
|
1185
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1186
|
-
#
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
#
|
1190
|
-
#
|
1191
|
-
#
|
1238
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
1239
|
+
# simultaneous updates of a job from overwriting each other. It is strongly
|
1240
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
1241
|
+
# to perform job updates in order to avoid race conditions: An `etag` is
|
1242
|
+
# returned in the response to `GetJob`, and systems are expected to put that
|
1243
|
+
# etag in the request to `UpdateJob` to ensure that their change will be applied
|
1244
|
+
# to the same version of the job.
|
1192
1245
|
# Corresponds to the JSON property `etag`
|
1193
1246
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1194
1247
|
# @return [String]
|
@@ -1199,11 +1252,10 @@ module Google
|
|
1199
1252
|
# @return [String]
|
1200
1253
|
attr_accessor :job_id
|
1201
1254
|
|
1202
|
-
# Optional. One or more labels that you can add, to organize your jobs.
|
1203
|
-
#
|
1204
|
-
#
|
1205
|
-
#
|
1206
|
-
# <a href="/ml-engine/docs/tensorflow/resource-labels">using labels</a>.
|
1255
|
+
# Optional. One or more labels that you can add, to organize your jobs. Each
|
1256
|
+
# label is a key-value pair, where both the key and the value are arbitrary
|
1257
|
+
# strings that you supply. For more information, see the documentation on using
|
1258
|
+
# labels.
|
1207
1259
|
# Corresponds to the JSON property `labels`
|
1208
1260
|
# @return [Hash<String,String>]
|
1209
1261
|
attr_accessor :labels
|
@@ -1229,10 +1281,10 @@ module Google
|
|
1229
1281
|
attr_accessor :state
|
1230
1282
|
|
1231
1283
|
# Represents input parameters for a training job. When using the gcloud command
|
1232
|
-
# to submit your training job, you can specify the input parameters as
|
1233
|
-
#
|
1234
|
-
#
|
1235
|
-
#
|
1284
|
+
# to submit your training job, you can specify the input parameters as command-
|
1285
|
+
# line arguments and/or in a YAML configuration file referenced from the --
|
1286
|
+
# config command-line argument. For details, see the guide to [submitting a
|
1287
|
+
# training job](/ai-platform/training/docs/training-jobs).
|
1236
1288
|
# Corresponds to the JSON property `trainingInput`
|
1237
1289
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput]
|
1238
1290
|
attr_accessor :training_input
|
@@ -1435,9 +1487,9 @@ module Google
|
|
1435
1487
|
include Google::Apis::Core::Hashable
|
1436
1488
|
|
1437
1489
|
# The number of nodes to allocate for this model. These nodes are always up,
|
1438
|
-
# starting from the time the model is deployed, so the cost of operating
|
1439
|
-
#
|
1440
|
-
#
|
1490
|
+
# starting from the time the model is deployed, so the cost of operating this
|
1491
|
+
# model will be proportional to `nodes` * number of hours since last billing
|
1492
|
+
# cycle plus the cost for each prediction performed.
|
1441
1493
|
# Corresponds to the JSON property `nodes`
|
1442
1494
|
# @return [Fixnum]
|
1443
1495
|
attr_accessor :nodes
|
@@ -1456,20 +1508,19 @@ module Google
|
|
1456
1508
|
class GoogleCloudMlV1Measurement
|
1457
1509
|
include Google::Apis::Core::Hashable
|
1458
1510
|
|
1459
|
-
# Output only. Time that the trial has been running at the point of
|
1460
|
-
#
|
1511
|
+
# Output only. Time that the trial has been running at the point of this
|
1512
|
+
# measurement.
|
1461
1513
|
# Corresponds to the JSON property `elapsedTime`
|
1462
1514
|
# @return [String]
|
1463
1515
|
attr_accessor :elapsed_time
|
1464
1516
|
|
1465
|
-
# Provides a list of metrics that act as inputs into the objective
|
1466
|
-
# function.
|
1517
|
+
# Provides a list of metrics that act as inputs into the objective function.
|
1467
1518
|
# Corresponds to the JSON property `metrics`
|
1468
1519
|
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1MeasurementMetric>]
|
1469
1520
|
attr_accessor :metrics
|
1470
1521
|
|
1471
|
-
# The number of steps a machine learning model has been trained for.
|
1472
|
-
#
|
1522
|
+
# The number of steps a machine learning model has been trained for. Must be non-
|
1523
|
+
# negative.
|
1473
1524
|
# Corresponds to the JSON property `stepCount`
|
1474
1525
|
# @return [Fixnum]
|
1475
1526
|
attr_accessor :step_count
|
@@ -1486,18 +1537,16 @@ module Google
|
|
1486
1537
|
end
|
1487
1538
|
end
|
1488
1539
|
|
1489
|
-
# Represents a machine learning solution.
|
1490
|
-
#
|
1491
|
-
#
|
1492
|
-
# container.
|
1540
|
+
# Represents a machine learning solution. A model can have multiple versions,
|
1541
|
+
# each of which is a deployed, trained model ready to receive prediction
|
1542
|
+
# requests. The model itself is just a container.
|
1493
1543
|
class GoogleCloudMlV1Model
|
1494
1544
|
include Google::Apis::Core::Hashable
|
1495
1545
|
|
1496
|
-
# Represents a version of the model.
|
1497
|
-
#
|
1498
|
-
#
|
1499
|
-
#
|
1500
|
-
# projects.models.versions.list.
|
1546
|
+
# Represents a version of the model. Each version is a trained model deployed in
|
1547
|
+
# the cloud, ready to handle prediction requests. A model can have multiple
|
1548
|
+
# versions. You can get information about all of the versions of a given model
|
1549
|
+
# by calling projects.models.versions.list.
|
1501
1550
|
# Corresponds to the JSON property `defaultVersion`
|
1502
1551
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
1503
1552
|
attr_accessor :default_version
|
@@ -1507,41 +1556,39 @@ module Google
|
|
1507
1556
|
# @return [String]
|
1508
1557
|
attr_accessor :description
|
1509
1558
|
|
1510
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1511
|
-
#
|
1512
|
-
#
|
1513
|
-
#
|
1514
|
-
#
|
1515
|
-
#
|
1516
|
-
#
|
1559
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
1560
|
+
# simultaneous updates of a model from overwriting each other. It is strongly
|
1561
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
1562
|
+
# to perform model updates in order to avoid race conditions: An `etag` is
|
1563
|
+
# returned in the response to `GetModel`, and systems are expected to put that
|
1564
|
+
# etag in the request to `UpdateModel` to ensure that their change will be
|
1565
|
+
# applied to the model as intended.
|
1517
1566
|
# Corresponds to the JSON property `etag`
|
1518
1567
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1519
1568
|
# @return [String]
|
1520
1569
|
attr_accessor :etag
|
1521
1570
|
|
1522
|
-
# Optional. One or more labels that you can add, to organize your models.
|
1523
|
-
#
|
1524
|
-
#
|
1525
|
-
#
|
1526
|
-
# <a href="/ml-engine/docs/tensorflow/resource-labels">using labels</a>.
|
1571
|
+
# Optional. One or more labels that you can add, to organize your models. Each
|
1572
|
+
# label is a key-value pair, where both the key and the value are arbitrary
|
1573
|
+
# strings that you supply. For more information, see the documentation on using
|
1574
|
+
# labels.
|
1527
1575
|
# Corresponds to the JSON property `labels`
|
1528
1576
|
# @return [Hash<String,String>]
|
1529
1577
|
attr_accessor :labels
|
1530
1578
|
|
1531
|
-
# Required. The name specified for the model when it was created.
|
1532
|
-
#
|
1579
|
+
# Required. The name specified for the model when it was created. The model name
|
1580
|
+
# must be unique within the project it is created in.
|
1533
1581
|
# Corresponds to the JSON property `name`
|
1534
1582
|
# @return [String]
|
1535
1583
|
attr_accessor :name
|
1536
1584
|
|
1537
|
-
# Optional. If true, online prediction nodes send `stderr` and `stdout`
|
1538
|
-
#
|
1539
|
-
#
|
1540
|
-
#
|
1541
|
-
#
|
1542
|
-
#
|
1543
|
-
#
|
1544
|
-
# Default is false.
|
1585
|
+
# Optional. If true, online prediction nodes send `stderr` and `stdout` streams
|
1586
|
+
# to Stackdriver Logging. These can be more verbose than the standard access
|
1587
|
+
# logs (see `onlinePredictionLogging`) and can incur higher cost. However, they
|
1588
|
+
# are helpful for debugging. Note that [Stackdriver logs may incur a cost](/
|
1589
|
+
# stackdriver/pricing), especially if your project receives prediction requests
|
1590
|
+
# at a high QPS. Estimate your costs before enabling this option. Default is
|
1591
|
+
# false.
|
1545
1592
|
# Corresponds to the JSON property `onlinePredictionConsoleLogging`
|
1546
1593
|
# @return [Boolean]
|
1547
1594
|
attr_accessor :online_prediction_console_logging
|
@@ -1549,27 +1596,22 @@ module Google
|
|
1549
1596
|
|
1550
1597
|
# Optional. If true, online prediction access logs are sent to StackDriver
|
1551
1598
|
# Logging. These logs are like standard server access logs, containing
|
1552
|
-
# information like timestamp and latency for each request. Note that
|
1553
|
-
#
|
1554
|
-
#
|
1555
|
-
#
|
1556
|
-
# Default is false.
|
1599
|
+
# information like timestamp and latency for each request. Note that [
|
1600
|
+
# Stackdriver logs may incur a cost](/stackdriver/pricing), especially if your
|
1601
|
+
# project receives prediction requests at a high queries per second rate (QPS).
|
1602
|
+
# Estimate your costs before enabling this option. Default is false.
|
1557
1603
|
# Corresponds to the JSON property `onlinePredictionLogging`
|
1558
1604
|
# @return [Boolean]
|
1559
1605
|
attr_accessor :online_prediction_logging
|
1560
1606
|
alias_method :online_prediction_logging?, :online_prediction_logging
|
1561
1607
|
|
1562
|
-
# Optional. The list of regions where the model is going to be deployed.
|
1563
|
-
#
|
1564
|
-
#
|
1565
|
-
#
|
1566
|
-
# for
|
1567
|
-
#
|
1568
|
-
#
|
1569
|
-
# users from anywhere, both for online and batch prediction.
|
1570
|
-
# * The region for a batch prediction job is set by the region field when
|
1571
|
-
# submitting the batch prediction job and does not take its value from
|
1572
|
-
# this field.
|
1608
|
+
# Optional. The list of regions where the model is going to be deployed. Only
|
1609
|
+
# one region per model is supported. Defaults to 'us-central1' if nothing is set.
|
1610
|
+
# See the available regions for AI Platform services. Note: * No matter where a
|
1611
|
+
# model is deployed, it can always be accessed by users from anywhere, both for
|
1612
|
+
# online and batch prediction. * The region for a batch prediction job is set by
|
1613
|
+
# the region field when submitting the batch prediction job and does not take
|
1614
|
+
# its value from this field.
|
1573
1615
|
# Corresponds to the JSON property `regions`
|
1574
1616
|
# @return [Array<String>]
|
1575
1617
|
attr_accessor :regions
|
@@ -1611,8 +1653,8 @@ module Google
|
|
1611
1653
|
attr_accessor :is_cancellation_requested
|
1612
1654
|
alias_method :is_cancellation_requested?, :is_cancellation_requested
|
1613
1655
|
|
1614
|
-
# The user labels, inherited from the model or the model version being
|
1615
|
-
#
|
1656
|
+
# The user labels, inherited from the model or the model version being operated
|
1657
|
+
# on.
|
1616
1658
|
# Corresponds to the JSON property `labels`
|
1617
1659
|
# @return [Hash<String,String>]
|
1618
1660
|
attr_accessor :labels
|
@@ -1637,11 +1679,10 @@ module Google
|
|
1637
1679
|
# @return [String]
|
1638
1680
|
attr_accessor :start_time
|
1639
1681
|
|
1640
|
-
# Represents a version of the model.
|
1641
|
-
#
|
1642
|
-
#
|
1643
|
-
#
|
1644
|
-
# projects.models.versions.list.
|
1682
|
+
# Represents a version of the model. Each version is a trained model deployed in
|
1683
|
+
# the cloud, ready to handle prediction requests. A model can have multiple
|
1684
|
+
# versions. You can get information about all of the versions of a given model
|
1685
|
+
# by calling projects.models.versions.list.
|
1645
1686
|
# Corresponds to the JSON property `version`
|
1646
1687
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
1647
1688
|
attr_accessor :version
|
@@ -1673,39 +1714,35 @@ module Google
|
|
1673
1714
|
# @return [Array<String>]
|
1674
1715
|
attr_accessor :categorical_values
|
1675
1716
|
|
1676
|
-
# Required if type is `DISCRETE`.
|
1677
|
-
#
|
1678
|
-
#
|
1679
|
-
#
|
1680
|
-
# should not contain more than 1,000 values.
|
1717
|
+
# Required if type is `DISCRETE`. A list of feasible points. The list should be
|
1718
|
+
# in strictly increasing order. For instance, this parameter might have possible
|
1719
|
+
# settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000
|
1720
|
+
# values.
|
1681
1721
|
# Corresponds to the JSON property `discreteValues`
|
1682
1722
|
# @return [Array<Float>]
|
1683
1723
|
attr_accessor :discrete_values
|
1684
1724
|
|
1685
|
-
# Required if type is `DOUBLE` or `INTEGER`. This field
|
1686
|
-
#
|
1687
|
-
# type is `INTEGER`.
|
1725
|
+
# Required if type is `DOUBLE` or `INTEGER`. This field should be unset if type
|
1726
|
+
# is `CATEGORICAL`. This value should be integers if type is `INTEGER`.
|
1688
1727
|
# Corresponds to the JSON property `maxValue`
|
1689
1728
|
# @return [Float]
|
1690
1729
|
attr_accessor :max_value
|
1691
1730
|
|
1692
|
-
# Required if type is `DOUBLE` or `INTEGER`. This field
|
1693
|
-
#
|
1694
|
-
# type is INTEGER.
|
1731
|
+
# Required if type is `DOUBLE` or `INTEGER`. This field should be unset if type
|
1732
|
+
# is `CATEGORICAL`. This value should be integers if type is INTEGER.
|
1695
1733
|
# Corresponds to the JSON property `minValue`
|
1696
1734
|
# @return [Float]
|
1697
1735
|
attr_accessor :min_value
|
1698
1736
|
|
1699
|
-
# Required. The parameter name must be unique amongst all ParameterConfigs in
|
1700
|
-
#
|
1737
|
+
# Required. The parameter name must be unique amongst all ParameterConfigs in a
|
1738
|
+
# HyperparameterSpec message. E.g., "learning_rate".
|
1701
1739
|
# Corresponds to the JSON property `parameterName`
|
1702
1740
|
# @return [String]
|
1703
1741
|
attr_accessor :parameter_name
|
1704
1742
|
|
1705
|
-
# Optional. How the parameter should be scaled to the hypercube.
|
1706
|
-
#
|
1707
|
-
#
|
1708
|
-
# parameters (e.g., `UNIT_LINEAR_SCALE`).
|
1743
|
+
# Optional. How the parameter should be scaled to the hypercube. Leave unset for
|
1744
|
+
# categorical parameters. Some kind of scaling is strongly recommended for real
|
1745
|
+
# or integral parameters (e.g., `UNIT_LINEAR_SCALE`).
|
1709
1746
|
# Corresponds to the JSON property `scaleType`
|
1710
1747
|
# @return [String]
|
1711
1748
|
attr_accessor :scale_type
|
@@ -1736,34 +1773,21 @@ module Google
|
|
1736
1773
|
include Google::Apis::Core::Hashable
|
1737
1774
|
|
1738
1775
|
# Message that represents an arbitrary HTTP body. It should only be used for
|
1739
|
-
# payload formats that can't be represented as JSON, such as raw binary or
|
1740
|
-
#
|
1741
|
-
#
|
1742
|
-
#
|
1743
|
-
#
|
1744
|
-
#
|
1745
|
-
# request
|
1746
|
-
#
|
1747
|
-
#
|
1748
|
-
#
|
1749
|
-
#
|
1750
|
-
#
|
1751
|
-
# google.api.HttpBody
|
1752
|
-
#
|
1753
|
-
#
|
1754
|
-
# rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
|
1755
|
-
# rpc UpdateResource(google.api.HttpBody) returns
|
1756
|
-
# (google.protobuf.Empty);
|
1757
|
-
# `
|
1758
|
-
# Example with streaming methods:
|
1759
|
-
# service CaldavService `
|
1760
|
-
# rpc GetCalendar(stream google.api.HttpBody)
|
1761
|
-
# returns (stream google.api.HttpBody);
|
1762
|
-
# rpc UpdateCalendar(stream google.api.HttpBody)
|
1763
|
-
# returns (stream google.api.HttpBody);
|
1764
|
-
# `
|
1765
|
-
# Use of this type only changes how the request and response bodies are
|
1766
|
-
# handled, all other features will continue to work unchanged.
|
1776
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
1777
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
1778
|
+
# methods in the request as well as the response. It can be used as a top-level
|
1779
|
+
# request field, which is convenient if one wants to extract parameters from
|
1780
|
+
# either the URL or HTTP template into the request fields and also want access
|
1781
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
1782
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
1783
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
1784
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
1785
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
1786
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
1787
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
1788
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
1789
|
+
# only changes how the request and response bodies are handled, all other
|
1790
|
+
# features will continue to work unchanged.
|
1767
1791
|
# Corresponds to the JSON property `httpBody`
|
1768
1792
|
# @return [Google::Apis::MlV1::GoogleApiHttpBody]
|
1769
1793
|
attr_accessor :http_body
|
@@ -1782,10 +1806,10 @@ module Google
|
|
1782
1806
|
class GoogleCloudMlV1PredictionInput
|
1783
1807
|
include Google::Apis::Core::Hashable
|
1784
1808
|
|
1785
|
-
# Optional. Number of records per batch, defaults to 64.
|
1786
|
-
#
|
1787
|
-
#
|
1788
|
-
#
|
1809
|
+
# Optional. Number of records per batch, defaults to 64. The service will buffer
|
1810
|
+
# batch_size number of records in memory before invoking one Tensorflow
|
1811
|
+
# prediction call internally. So take the record size and memory available into
|
1812
|
+
# consideration when setting this parameter.
|
1789
1813
|
# Corresponds to the JSON property `batchSize`
|
1790
1814
|
# @return [Fixnum]
|
1791
1815
|
attr_accessor :batch_size
|
@@ -1796,7 +1820,7 @@ module Google
|
|
1796
1820
|
attr_accessor :data_format
|
1797
1821
|
|
1798
1822
|
# Required. The Cloud Storage location of the input data files. May contain
|
1799
|
-
#
|
1823
|
+
# wildcards.
|
1800
1824
|
# Corresponds to the JSON property `inputPaths`
|
1801
1825
|
# @return [Array<String>]
|
1802
1826
|
attr_accessor :input_paths
|
@@ -1807,9 +1831,9 @@ module Google
|
|
1807
1831
|
# @return [Fixnum]
|
1808
1832
|
attr_accessor :max_worker_count
|
1809
1833
|
|
1810
|
-
# Use this field if you want to use the default version for the specified
|
1811
|
-
#
|
1812
|
-
#
|
1834
|
+
# Use this field if you want to use the default version for the specified model.
|
1835
|
+
# The string must use the following format: `"projects/YOUR_PROJECT/models/
|
1836
|
+
# YOUR_MODEL"`
|
1813
1837
|
# Corresponds to the JSON property `modelName`
|
1814
1838
|
# @return [String]
|
1815
1839
|
attr_accessor :model_name
|
@@ -1824,44 +1848,40 @@ module Google
|
|
1824
1848
|
# @return [String]
|
1825
1849
|
attr_accessor :output_path
|
1826
1850
|
|
1827
|
-
# Required. The Google Compute Engine region to run the prediction job in.
|
1828
|
-
#
|
1829
|
-
# for AI Platform services.
|
1851
|
+
# Required. The Google Compute Engine region to run the prediction job in. See
|
1852
|
+
# the available regions for AI Platform services.
|
1830
1853
|
# Corresponds to the JSON property `region`
|
1831
1854
|
# @return [String]
|
1832
1855
|
attr_accessor :region
|
1833
1856
|
|
1834
|
-
# Optional. The AI Platform runtime version to use for this batch
|
1835
|
-
#
|
1836
|
-
#
|
1837
|
-
#
|
1838
|
-
#
|
1857
|
+
# Optional. The AI Platform runtime version to use for this batch prediction. If
|
1858
|
+
# not set, AI Platform will pick the runtime version used during the
|
1859
|
+
# CreateVersion request for this model version, or choose the latest stable
|
1860
|
+
# version when model version information is not available such as when the model
|
1861
|
+
# is specified by uri.
|
1839
1862
|
# Corresponds to the JSON property `runtimeVersion`
|
1840
1863
|
# @return [String]
|
1841
1864
|
attr_accessor :runtime_version
|
1842
1865
|
|
1843
|
-
# Optional. The name of the signature defined in the SavedModel to use for
|
1844
|
-
#
|
1845
|
-
#
|
1846
|
-
#
|
1847
|
-
#
|
1848
|
-
# [DEFAULT_SERVING_SIGNATURE_DEF_KEY](https://www.tensorflow.org/api_docs/python/
|
1849
|
-
# tf/saved_model/signature_constants)
|
1850
|
-
# , which is "serving_default".
|
1866
|
+
# Optional. The name of the signature defined in the SavedModel to use for this
|
1867
|
+
# job. Please refer to [SavedModel](https://tensorflow.github.io/serving/
|
1868
|
+
# serving_basic.html) for information about how to use signatures. Defaults to [
|
1869
|
+
# DEFAULT_SERVING_SIGNATURE_DEF_KEY](https://www.tensorflow.org/api_docs/python/
|
1870
|
+
# tf/saved_model/signature_constants) , which is "serving_default".
|
1851
1871
|
# Corresponds to the JSON property `signatureName`
|
1852
1872
|
# @return [String]
|
1853
1873
|
attr_accessor :signature_name
|
1854
1874
|
|
1855
|
-
# Use this field if you want to specify a Google Cloud Storage path for
|
1856
|
-
#
|
1875
|
+
# Use this field if you want to specify a Google Cloud Storage path for the
|
1876
|
+
# model to use.
|
1857
1877
|
# Corresponds to the JSON property `uri`
|
1858
1878
|
# @return [String]
|
1859
1879
|
attr_accessor :uri
|
1860
1880
|
|
1861
1881
|
# Use this field if you want to specify a version of the model to use. The
|
1862
|
-
# string is formatted the same way as `model_version`, with the addition
|
1863
|
-
#
|
1864
|
-
#
|
1882
|
+
# string is formatted the same way as `model_version`, with the addition of the
|
1883
|
+
# version information: `"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/
|
1884
|
+
# YOUR_VERSION"`
|
1865
1885
|
# Corresponds to the JSON property `versionName`
|
1866
1886
|
# @return [String]
|
1867
1887
|
attr_accessor :version_name
|
@@ -1928,68 +1948,56 @@ module Google
|
|
1928
1948
|
class GoogleCloudMlV1ReplicaConfig
|
1929
1949
|
include Google::Apis::Core::Hashable
|
1930
1950
|
|
1931
|
-
# Represents a hardware accelerator request config.
|
1932
|
-
#
|
1933
|
-
#
|
1934
|
-
#
|
1935
|
-
# prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
|
1951
|
+
# Represents a hardware accelerator request config. Note that the
|
1952
|
+
# AcceleratorConfig can be used in both Jobs and Versions. Learn more about [
|
1953
|
+
# accelerators for training](/ml-engine/docs/using-gpus) and [accelerators for
|
1954
|
+
# online prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
|
1936
1955
|
# Corresponds to the JSON property `acceleratorConfig`
|
1937
1956
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
|
1938
1957
|
attr_accessor :accelerator_config
|
1939
1958
|
|
1940
|
-
# Arguments to the entrypoint command.
|
1941
|
-
#
|
1942
|
-
# - If you
|
1943
|
-
# The
|
1944
|
-
#
|
1945
|
-
#
|
1946
|
-
#
|
1947
|
-
#
|
1948
|
-
#
|
1949
|
-
# that
|
1950
|
-
#
|
1951
|
-
# The default Entrypoint and the default Cmd defined in the Docker image
|
1952
|
-
# are ignored. Your command is run with your args.
|
1953
|
-
# It cannot be set if custom container image is
|
1954
|
-
# not provided.
|
1955
|
-
# Note that this field and [TrainingInput.args] are mutually exclusive, i.e.,
|
1956
|
-
# both cannot be set at the same time.
|
1959
|
+
# Arguments to the entrypoint command. The following rules apply for
|
1960
|
+
# container_command and container_args: - If you do not supply command or args:
|
1961
|
+
# The defaults defined in the Docker image are used. - If you supply a command
|
1962
|
+
# but no args: The default EntryPoint and the default Cmd defined in the Docker
|
1963
|
+
# image are ignored. Your command is run without any arguments. - If you supply
|
1964
|
+
# only args: The default Entrypoint defined in the Docker image is run with the
|
1965
|
+
# args that you supplied. - If you supply a command and args: The default
|
1966
|
+
# Entrypoint and the default Cmd defined in the Docker image are ignored. Your
|
1967
|
+
# command is run with your args. It cannot be set if custom container image is
|
1968
|
+
# not provided. Note that this field and [TrainingInput.args] are mutually
|
1969
|
+
# exclusive, i.e., both cannot be set at the same time.
|
1957
1970
|
# Corresponds to the JSON property `containerArgs`
|
1958
1971
|
# @return [Array<String>]
|
1959
1972
|
attr_accessor :container_args
|
1960
1973
|
|
1961
|
-
# The command with which the replica's custom container is run.
|
1962
|
-
#
|
1963
|
-
#
|
1964
|
-
#
|
1965
|
-
#
|
1966
|
-
# Note that this field and [TrainingInput.args] are mutually exclusive, i.e.,
|
1967
|
-
# both cannot be set at the same time.
|
1974
|
+
# The command with which the replica's custom container is run. If provided, it
|
1975
|
+
# will override default ENTRYPOINT of the docker image. If not provided, the
|
1976
|
+
# docker image's ENTRYPOINT is used. It cannot be set if custom container image
|
1977
|
+
# is not provided. Note that this field and [TrainingInput.args] are mutually
|
1978
|
+
# exclusive, i.e., both cannot be set at the same time.
|
1968
1979
|
# Corresponds to the JSON property `containerCommand`
|
1969
1980
|
# @return [Array<String>]
|
1970
1981
|
attr_accessor :container_command
|
1971
1982
|
|
1972
1983
|
# The Docker image to run on the replica. This image must be in Container
|
1973
|
-
# Registry. Learn more about [configuring custom
|
1974
|
-
#
|
1984
|
+
# Registry. Learn more about [configuring custom containers](/ai-platform/
|
1985
|
+
# training/docs/distributed-training-containers).
|
1975
1986
|
# Corresponds to the JSON property `imageUri`
|
1976
1987
|
# @return [String]
|
1977
1988
|
attr_accessor :image_uri
|
1978
1989
|
|
1979
1990
|
# The AI Platform runtime version that includes a TensorFlow version matching
|
1980
|
-
# the one used in the custom container. This field is required if the replica
|
1981
|
-
#
|
1982
|
-
#
|
1983
|
-
#
|
1984
|
-
#
|
1985
|
-
#
|
1986
|
-
#
|
1987
|
-
#
|
1988
|
-
# version
|
1989
|
-
#
|
1990
|
-
# In this field, you must specify the runtime version (TensorFlow minor
|
1991
|
-
# version). For example, if your custom container runs TensorFlow `1.x.y`,
|
1992
|
-
# specify `1.x`.
|
1991
|
+
# the one used in the custom container. This field is required if the replica is
|
1992
|
+
# a TPU worker that uses a custom container. Otherwise, do not specify this
|
1993
|
+
# field. This must be a [runtime version that currently supports training with
|
1994
|
+
# TPUs](/ml-engine/docs/tensorflow/runtime-version-list#tpu-support). Note that
|
1995
|
+
# the version of TensorFlow included in a runtime version may differ from the
|
1996
|
+
# numbering of the runtime version itself, because it may have a different [
|
1997
|
+
# patch version](https://www.tensorflow.org/guide/version_compat#
|
1998
|
+
# semantic_versioning_20). In this field, you must specify the runtime version (
|
1999
|
+
# TensorFlow minor version). For example, if your custom container runs
|
2000
|
+
# TensorFlow `1.x.y`, specify `1.x`.
|
1993
2001
|
# Corresponds to the JSON property `tpuTfVersion`
|
1994
2002
|
# @return [String]
|
1995
2003
|
attr_accessor :tpu_tf_version
|
@@ -2008,42 +2016,32 @@ module Google
|
|
2008
2016
|
end
|
2009
2017
|
end
|
2010
2018
|
|
2011
|
-
# Configuration for logging request-response pairs to a BigQuery table.
|
2012
|
-
#
|
2013
|
-
#
|
2014
|
-
#
|
2015
|
-
#
|
2016
|
-
#
|
2017
|
-
#
|
2018
|
-
#
|
2019
|
-
# evaluation](/ml-engine/docs/continuous-evaluation/), you do not need to
|
2020
|
-
# specify this configuration manually. Setting up continuous evaluation
|
2019
|
+
# Configuration for logging request-response pairs to a BigQuery table. Online
|
2020
|
+
# prediction requests to a model version and the responses to these requests are
|
2021
|
+
# converted to raw strings and saved to the specified BigQuery table. Logging is
|
2022
|
+
# constrained by [BigQuery quotas and limits](/bigquery/quotas). If your project
|
2023
|
+
# exceeds BigQuery quotas or limits, AI Platform Prediction does not log request-
|
2024
|
+
# response pairs, but it continues to serve predictions. If you are using [
|
2025
|
+
# continuous evaluation](/ml-engine/docs/continuous-evaluation/), you do not
|
2026
|
+
# need to specify this configuration manually. Setting up continuous evaluation
|
2021
2027
|
# automatically enables logging of request-response pairs.
|
2022
2028
|
class GoogleCloudMlV1RequestLoggingConfig
|
2023
2029
|
include Google::Apis::Core::Hashable
|
2024
2030
|
|
2025
|
-
# Required. Fully qualified BigQuery table name in the following format:
|
2026
|
-
#
|
2027
|
-
#
|
2028
|
-
#
|
2029
|
-
#
|
2030
|
-
#
|
2031
|
-
#
|
2032
|
-
# <th style="display: table-cell">Mode</th></tr>
|
2033
|
-
# <tr><td>model</td><td>STRING</td><td>REQUIRED</td></tr>
|
2034
|
-
# <tr><td>model_version</td><td>STRING</td><td>REQUIRED</td></tr>
|
2035
|
-
# <tr><td>time</td><td>TIMESTAMP</td><td>REQUIRED</td></tr>
|
2036
|
-
# <tr><td>raw_data</td><td>STRING</td><td>REQUIRED</td></tr>
|
2037
|
-
# <tr><td>raw_prediction</td><td>STRING</td><td>NULLABLE</td></tr>
|
2038
|
-
# <tr><td>groundtruth</td><td>STRING</td><td>NULLABLE</td></tr>
|
2039
|
-
# </table>
|
2031
|
+
# Required. Fully qualified BigQuery table name in the following format: "
|
2032
|
+
# project_id.dataset_name.table_name" The specified table must already exist,
|
2033
|
+
# and the "Cloud ML Service Agent" for your project must have permission to
|
2034
|
+
# write to it. The table must have the following [schema](/bigquery/docs/schemas)
|
2035
|
+
# : Field nameType Mode model STRING REQUIRED model_version STRING REQUIRED time
|
2036
|
+
# TIMESTAMP REQUIRED raw_data STRING REQUIRED raw_prediction STRING NULLABLE
|
2037
|
+
# groundtruth STRING NULLABLE
|
2040
2038
|
# Corresponds to the JSON property `bigqueryTableName`
|
2041
2039
|
# @return [String]
|
2042
2040
|
attr_accessor :bigquery_table_name
|
2043
2041
|
|
2044
|
-
# Percentage of requests to be logged, expressed as a fraction from 0 to 1.
|
2045
|
-
#
|
2046
|
-
#
|
2042
|
+
# Percentage of requests to be logged, expressed as a fraction from 0 to 1. For
|
2043
|
+
# example, if you want to log 10% of requests, enter `0.1`. The sampling window
|
2044
|
+
# is the lifetime of the model version. Defaults to 0.
|
2047
2045
|
# Corresponds to the JSON property `samplingPercentage`
|
2048
2046
|
# @return [Float]
|
2049
2047
|
attr_accessor :sampling_percentage
|
@@ -2059,14 +2057,41 @@ module Google
|
|
2059
2057
|
end
|
2060
2058
|
end
|
2061
2059
|
|
2060
|
+
# RouteMap is used to override HTTP paths sent to a Custom Container. If
|
2061
|
+
# specified, the HTTP server implemented in the ContainerSpec must support the
|
2062
|
+
# route. If unspecified, standard HTTP paths will be used.
|
2063
|
+
class GoogleCloudMlV1RouteMap
|
2064
|
+
include Google::Apis::Core::Hashable
|
2065
|
+
|
2066
|
+
# HTTP path to send health check requests.
|
2067
|
+
# Corresponds to the JSON property `health`
|
2068
|
+
# @return [String]
|
2069
|
+
attr_accessor :health
|
2070
|
+
|
2071
|
+
# HTTP path to send prediction requests.
|
2072
|
+
# Corresponds to the JSON property `predict`
|
2073
|
+
# @return [String]
|
2074
|
+
attr_accessor :predict
|
2075
|
+
|
2076
|
+
def initialize(**args)
|
2077
|
+
update!(**args)
|
2078
|
+
end
|
2079
|
+
|
2080
|
+
# Update properties of this object
|
2081
|
+
def update!(**args)
|
2082
|
+
@health = args[:health] if args.key?(:health)
|
2083
|
+
@predict = args[:predict] if args.key?(:predict)
|
2084
|
+
end
|
2085
|
+
end
|
2086
|
+
|
2062
2087
|
# An attribution method that approximates Shapley values for features that
|
2063
2088
|
# contribute to the label being predicted. A sampling strategy is used to
|
2064
2089
|
# approximate the value rather than considering all subsets of features.
|
2065
2090
|
class GoogleCloudMlV1SampledShapleyAttribution
|
2066
2091
|
include Google::Apis::Core::Hashable
|
2067
2092
|
|
2068
|
-
# The number of feature permutations to consider when approximating the
|
2069
|
-
#
|
2093
|
+
# The number of feature permutations to consider when approximating the Shapley
|
2094
|
+
# values.
|
2070
2095
|
# Corresponds to the JSON property `numPaths`
|
2071
2096
|
# @return [Fixnum]
|
2072
2097
|
attr_accessor :num_paths
|
@@ -2087,29 +2112,40 @@ module Google
|
|
2087
2112
|
|
2088
2113
|
# Optional. The maximum job running time, expressed in seconds. The field can
|
2089
2114
|
# contain up to nine fractional digits, terminated by `s`. If not specified,
|
2090
|
-
# this field defaults to `604800s` (seven days).
|
2091
|
-
#
|
2092
|
-
#
|
2093
|
-
#
|
2094
|
-
#
|
2095
|
-
# minute).
|
2096
|
-
#
|
2097
|
-
#
|
2098
|
-
#
|
2099
|
-
#
|
2100
|
-
# For example:
|
2101
|
-
# ```yaml
|
2102
|
-
# trainingInput:
|
2103
|
-
# ...
|
2104
|
-
# scheduling:
|
2105
|
-
# maxRunningTime: 7200s
|
2106
|
-
# ...
|
2107
|
-
# ```
|
2115
|
+
# this field defaults to `604800s` (seven days). If the training job is still
|
2116
|
+
# running after this duration, AI Platform Training cancels it. The duration is
|
2117
|
+
# measured from when the job enters the `RUNNING` state; therefore it does not
|
2118
|
+
# overlap with the duration limited by Scheduling.max_wait_time. For example, if
|
2119
|
+
# you want to ensure your job runs for no more than 2 hours, set this field to `
|
2120
|
+
# 7200s` (2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your
|
2121
|
+
# training job using the `gcloud` tool, you can [specify this field in a `config.
|
2122
|
+
# yaml` file](/ai-platform/training/docs/training-jobs#
|
2123
|
+
# formatting_your_configuration_parameters). For example: ```yaml trainingInput:
|
2124
|
+
# scheduling: maxRunningTime: 7200s ```
|
2108
2125
|
# Corresponds to the JSON property `maxRunningTime`
|
2109
2126
|
# @return [String]
|
2110
2127
|
attr_accessor :max_running_time
|
2111
2128
|
|
2112
|
-
#
|
2129
|
+
# Optional. The maximum job wait time, expressed in seconds. The field can
|
2130
|
+
# contain up to nine fractional digits, terminated by `s`. If not specified,
|
2131
|
+
# there is no limit to the wait time. The minimum for this field is `1800s` (30
|
2132
|
+
# minutes). If the training job has not entered the `RUNNING` state after this
|
2133
|
+
# duration, AI Platform Training cancels it. After the job begins running, it
|
2134
|
+
# can no longer be cancelled due to the maximum wait time. Therefore the
|
2135
|
+
# duration limited by this field does not overlap with the duration limited by
|
2136
|
+
# Scheduling.max_running_time. For example, if the job temporarily stops running
|
2137
|
+
# and retries due to a [VM restart](/ai-platform/training/docs/overview#restarts)
|
2138
|
+
# , this cannot lead to a maximum wait time cancellation. However, independently
|
2139
|
+
# of this constraint, AI Platform Training might stop a job if there are too
|
2140
|
+
# many retries due to exhausted resources in a region. The following example
|
2141
|
+
# describes how you might use this field: To cancel your job if it doesn't start
|
2142
|
+
# running within 1 hour, set this field to `3600s` (1 hour * 60 minutes / hour *
|
2143
|
+
# 60 seconds / minute). If the job is still in the `QUEUED` or `PREPARING` state
|
2144
|
+
# after an hour of waiting, AI Platform Training cancels the job. If you submit
|
2145
|
+
# your training job using the `gcloud` tool, you can [specify this field in a `
|
2146
|
+
# config.yaml` file](/ai-platform/training/docs/training-jobs#
|
2147
|
+
# formatting_your_configuration_parameters). For example: ```yaml trainingInput:
|
2148
|
+
# scheduling: maxWaitTime: 3600s ```
|
2113
2149
|
# Corresponds to the JSON property `maxWaitTime`
|
2114
2150
|
# @return [String]
|
2115
2151
|
attr_accessor :max_wait_time
|
@@ -2160,8 +2196,8 @@ module Google
|
|
2160
2196
|
# @return [String]
|
2161
2197
|
attr_accessor :create_time
|
2162
2198
|
|
2163
|
-
# Output only. A human readable reason why the Study is inactive.
|
2164
|
-
#
|
2199
|
+
# Output only. A human readable reason why the Study is inactive. This should be
|
2200
|
+
# empty if a study is ACTIVE or COMPLETED.
|
2165
2201
|
# Corresponds to the JSON property `inactiveReason`
|
2166
2202
|
# @return [String]
|
2167
2203
|
attr_accessor :inactive_reason
|
@@ -2233,8 +2269,8 @@ module Google
|
|
2233
2269
|
end
|
2234
2270
|
end
|
2235
2271
|
|
2236
|
-
# Metadata field of a google.longrunning.Operation associated
|
2237
|
-
#
|
2272
|
+
# Metadata field of a google.longrunning.Operation associated with a
|
2273
|
+
# SuggestTrialsRequest.
|
2238
2274
|
class GoogleCloudMlV1SuggestTrialsMetadata
|
2239
2275
|
include Google::Apis::Core::Hashable
|
2240
2276
|
|
@@ -2275,10 +2311,10 @@ module Google
|
|
2275
2311
|
class GoogleCloudMlV1SuggestTrialsRequest
|
2276
2312
|
include Google::Apis::Core::Hashable
|
2277
2313
|
|
2278
|
-
# Required. The identifier of the client that is requesting the suggestion.
|
2279
|
-
#
|
2280
|
-
#
|
2281
|
-
#
|
2314
|
+
# Required. The identifier of the client that is requesting the suggestion. If
|
2315
|
+
# multiple SuggestTrialsRequests have the same `client_id`, the service will
|
2316
|
+
# return the identical suggested trial if the trial is pending, and provide a
|
2317
|
+
# new trial if the last suggested trial was completed.
|
2282
2318
|
# Corresponds to the JSON property `clientId`
|
2283
2319
|
# @return [String]
|
2284
2320
|
attr_accessor :client_id
|
@@ -2299,8 +2335,8 @@ module Google
|
|
2299
2335
|
end
|
2300
2336
|
end
|
2301
2337
|
|
2302
|
-
# This message will be placed in the response field of a completed
|
2303
|
-
#
|
2338
|
+
# This message will be placed in the response field of a completed google.
|
2339
|
+
# longrunning.Operation associated with a SuggestTrials request.
|
2304
2340
|
class GoogleCloudMlV1SuggestTrialsResponse
|
2305
2341
|
include Google::Apis::Core::Hashable
|
2306
2342
|
|
@@ -2338,24 +2374,22 @@ module Google
|
|
2338
2374
|
end
|
2339
2375
|
|
2340
2376
|
# Represents input parameters for a training job. When using the gcloud command
|
2341
|
-
# to submit your training job, you can specify the input parameters as
|
2342
|
-
#
|
2343
|
-
#
|
2344
|
-
#
|
2377
|
+
# to submit your training job, you can specify the input parameters as command-
|
2378
|
+
# line arguments and/or in a YAML configuration file referenced from the --
|
2379
|
+
# config command-line argument. For details, see the guide to [submitting a
|
2380
|
+
# training job](/ai-platform/training/docs/training-jobs).
|
2345
2381
|
class GoogleCloudMlV1TrainingInput
|
2346
2382
|
include Google::Apis::Core::Hashable
|
2347
2383
|
|
2348
2384
|
# Optional. Command-line arguments passed to the training application when it
|
2349
|
-
# starts. If your job uses a custom container, then the arguments are passed
|
2350
|
-
#
|
2351
|
-
# href="https://docs.docker.com/engine/reference/builder/#entrypoint">
|
2352
|
-
# `ENTRYPOINT`</a> command.
|
2385
|
+
# starts. If your job uses a custom container, then the arguments are passed to
|
2386
|
+
# the container's `ENTRYPOINT` command.
|
2353
2387
|
# Corresponds to the JSON property `args`
|
2354
2388
|
# @return [Array<String>]
|
2355
2389
|
attr_accessor :args
|
2356
2390
|
|
2357
|
-
# Represents a custom encryption key configuration that can be applied to
|
2358
|
-
#
|
2391
|
+
# Represents a custom encryption key configuration that can be applied to a
|
2392
|
+
# resource.
|
2359
2393
|
# Corresponds to the JSON property `encryptionConfig`
|
2360
2394
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1EncryptionConfig]
|
2361
2395
|
attr_accessor :encryption_config
|
@@ -2365,25 +2399,21 @@ module Google
|
|
2365
2399
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig]
|
2366
2400
|
attr_accessor :evaluator_config
|
2367
2401
|
|
2368
|
-
# Optional. The number of evaluator replicas to use for the training job.
|
2369
|
-
#
|
2370
|
-
# `
|
2371
|
-
#
|
2372
|
-
# set this value, you must also set `evaluator_type`.
|
2373
|
-
# The default value is zero.
|
2402
|
+
# Optional. The number of evaluator replicas to use for the training job. Each
|
2403
|
+
# replica in the cluster will be of the type specified in `evaluator_type`. This
|
2404
|
+
# value can only be used when `scale_tier` is set to `CUSTOM`. If you set this
|
2405
|
+
# value, you must also set `evaluator_type`. The default value is zero.
|
2374
2406
|
# Corresponds to the JSON property `evaluatorCount`
|
2375
2407
|
# @return [Fixnum]
|
2376
2408
|
attr_accessor :evaluator_count
|
2377
2409
|
|
2378
|
-
# Optional. Specifies the type of virtual machine to use for your training
|
2379
|
-
#
|
2380
|
-
#
|
2381
|
-
# `masterType
|
2382
|
-
#
|
2383
|
-
# `
|
2384
|
-
#
|
2385
|
-
# This value must be present when `scaleTier` is set to `CUSTOM` and
|
2386
|
-
# `evaluatorCount` is greater than zero.
|
2410
|
+
# Optional. Specifies the type of virtual machine to use for your training job's
|
2411
|
+
# evaluator nodes. The supported values are the same as those described in the
|
2412
|
+
# entry for `masterType`. This value must be consistent with the category of
|
2413
|
+
# machine type that `masterType` uses. In other words, both must be Compute
|
2414
|
+
# Engine machine types or both must be legacy machine types. This value must be
|
2415
|
+
# present when `scaleTier` is set to `CUSTOM` and `evaluatorCount` is greater
|
2416
|
+
# than zero.
|
2387
2417
|
# Corresponds to the JSON property `evaluatorType`
|
2388
2418
|
# @return [String]
|
2389
2419
|
attr_accessor :evaluator_type
|
@@ -2393,10 +2423,10 @@ module Google
|
|
2393
2423
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec]
|
2394
2424
|
attr_accessor :hyperparameters
|
2395
2425
|
|
2396
|
-
# Optional. A Google Cloud Storage path in which to store training outputs
|
2397
|
-
#
|
2398
|
-
#
|
2399
|
-
#
|
2426
|
+
# Optional. A Google Cloud Storage path in which to store training outputs and
|
2427
|
+
# other data needed for training. This path is passed to your TensorFlow program
|
2428
|
+
# as the '--job-dir' command-line argument. The benefit of specifying this field
|
2429
|
+
# is that Cloud ML validates the path for use in training.
|
2400
2430
|
# Corresponds to the JSON property `jobDir`
|
2401
2431
|
# @return [String]
|
2402
2432
|
attr_accessor :job_dir
|
@@ -2406,71 +2436,42 @@ module Google
|
|
2406
2436
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig]
|
2407
2437
|
attr_accessor :master_config
|
2408
2438
|
|
2409
|
-
# Optional. Specifies the type of virtual machine to use for your training
|
2410
|
-
#
|
2411
|
-
#
|
2412
|
-
#
|
2413
|
-
#
|
2414
|
-
# - `n1-
|
2415
|
-
# - `n1-
|
2416
|
-
# - `n1-
|
2417
|
-
#
|
2418
|
-
# - `
|
2419
|
-
# - `
|
2420
|
-
# - `
|
2421
|
-
# - `
|
2422
|
-
# - `
|
2423
|
-
#
|
2424
|
-
#
|
2425
|
-
#
|
2426
|
-
# -
|
2427
|
-
# - `n1-highcpu-16`
|
2428
|
-
# - `n1-highcpu-32`
|
2429
|
-
# - `n1-highcpu-64`
|
2430
|
-
# - `n1-highcpu-96`
|
2431
|
-
# Learn more about [using Compute Engine machine
|
2432
|
-
# types](/ml-engine/docs/machine-types#compute-engine-machine-types).
|
2433
|
-
# Alternatively, you can use the following legacy machine types:
|
2434
|
-
# - `standard`
|
2435
|
-
# - `large_model`
|
2436
|
-
# - `complex_model_s`
|
2437
|
-
# - `complex_model_m`
|
2438
|
-
# - `complex_model_l`
|
2439
|
-
# - `standard_gpu`
|
2440
|
-
# - `complex_model_m_gpu`
|
2441
|
-
# - `complex_model_l_gpu`
|
2442
|
-
# - `standard_p100`
|
2443
|
-
# - `complex_model_m_p100`
|
2444
|
-
# - `standard_v100`
|
2445
|
-
# - `large_model_v100`
|
2446
|
-
# - `complex_model_m_v100`
|
2447
|
-
# - `complex_model_l_v100`
|
2448
|
-
# Learn more about [using legacy machine
|
2449
|
-
# types](/ml-engine/docs/machine-types#legacy-machine-types).
|
2450
|
-
# Finally, if you want to use a TPU for training, specify `cloud_tpu` in this
|
2451
|
-
# field. Learn more about the [special configuration options for training
|
2452
|
-
# with
|
2453
|
-
# TPUs](/ml-engine/docs/tensorflow/using-tpus#configuring_a_custom_tpu_machine).
|
2439
|
+
# Optional. Specifies the type of virtual machine to use for your training job's
|
2440
|
+
# master worker. You must specify this field when `scaleTier` is set to `CUSTOM`.
|
2441
|
+
# You can use certain Compute Engine machine types directly in this field. The
|
2442
|
+
# following types are supported: - `n1-standard-4` - `n1-standard-8` - `n1-
|
2443
|
+
# standard-16` - `n1-standard-32` - `n1-standard-64` - `n1-standard-96` - `n1-
|
2444
|
+
# highmem-2` - `n1-highmem-4` - `n1-highmem-8` - `n1-highmem-16` - `n1-highmem-
|
2445
|
+
# 32` - `n1-highmem-64` - `n1-highmem-96` - `n1-highcpu-16` - `n1-highcpu-32` - `
|
2446
|
+
# n1-highcpu-64` - `n1-highcpu-96` Learn more about [using Compute Engine
|
2447
|
+
# machine types](/ml-engine/docs/machine-types#compute-engine-machine-types).
|
2448
|
+
# Alternatively, you can use the following legacy machine types: - `standard` - `
|
2449
|
+
# large_model` - `complex_model_s` - `complex_model_m` - `complex_model_l` - `
|
2450
|
+
# standard_gpu` - `complex_model_m_gpu` - `complex_model_l_gpu` - `standard_p100`
|
2451
|
+
# - `complex_model_m_p100` - `standard_v100` - `large_model_v100` - `
|
2452
|
+
# complex_model_m_v100` - `complex_model_l_v100` Learn more about [using legacy
|
2453
|
+
# machine types](/ml-engine/docs/machine-types#legacy-machine-types). Finally,
|
2454
|
+
# if you want to use a TPU for training, specify `cloud_tpu` in this field.
|
2455
|
+
# Learn more about the [special configuration options for training with TPUs](/
|
2456
|
+
# ml-engine/docs/tensorflow/using-tpus#configuring_a_custom_tpu_machine).
|
2454
2457
|
# Corresponds to the JSON property `masterType`
|
2455
2458
|
# @return [String]
|
2456
2459
|
attr_accessor :master_type
|
2457
2460
|
|
2458
2461
|
# Optional. The full name of the [Compute Engine network](/vpc/docs/vpc) to
|
2459
|
-
# which the
|
2460
|
-
#
|
2461
|
-
# format of this field is `projects/`project`/global/networks/`network``,
|
2462
|
+
# which the Job is peered. For example, `projects/12345/global/networks/myVPC`.
|
2463
|
+
# The format of this field is `projects/`project`/global/networks/`network``,
|
2462
2464
|
# where `project` is a project number (like `12345`) and `network` is network
|
2463
|
-
# name.
|
2464
|
-
#
|
2465
|
-
#
|
2466
|
-
# Network Peering.](/ai-platform/training/docs/vpc-peering).
|
2465
|
+
# name. Private services access must already be configured for the network. If
|
2466
|
+
# left unspecified, the Job is not peered with any network. [Learn about using
|
2467
|
+
# VPC Network Peering.](/ai-platform/training/docs/vpc-peering).
|
2467
2468
|
# Corresponds to the JSON property `network`
|
2468
2469
|
# @return [String]
|
2469
2470
|
attr_accessor :network
|
2470
2471
|
|
2471
|
-
# Required. The Google Cloud Storage location of the packages with
|
2472
|
-
#
|
2473
|
-
#
|
2472
|
+
# Required. The Google Cloud Storage location of the packages with the training
|
2473
|
+
# program and any additional dependencies. The maximum number of package URIs is
|
2474
|
+
# 100.
|
2474
2475
|
# Corresponds to the JSON property `packageUris`
|
2475
2476
|
# @return [Array<String>]
|
2476
2477
|
attr_accessor :package_uris
|
@@ -2480,25 +2481,22 @@ module Google
|
|
2480
2481
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig]
|
2481
2482
|
attr_accessor :parameter_server_config
|
2482
2483
|
|
2483
|
-
# Optional. The number of parameter server replicas to use for the training
|
2484
|
-
#
|
2485
|
-
#
|
2486
|
-
#
|
2487
|
-
# set this value, you must also set `parameter_server_type`.
|
2484
|
+
# Optional. The number of parameter server replicas to use for the training job.
|
2485
|
+
# Each replica in the cluster will be of the type specified in `
|
2486
|
+
# parameter_server_type`. This value can only be used when `scale_tier` is set
|
2487
|
+
# to `CUSTOM`. If you set this value, you must also set `parameter_server_type`.
|
2488
2488
|
# The default value is zero.
|
2489
2489
|
# Corresponds to the JSON property `parameterServerCount`
|
2490
2490
|
# @return [Fixnum]
|
2491
2491
|
attr_accessor :parameter_server_count
|
2492
2492
|
|
2493
|
-
# Optional. Specifies the type of virtual machine to use for your training
|
2494
|
-
#
|
2495
|
-
#
|
2496
|
-
# `
|
2497
|
-
#
|
2498
|
-
# `
|
2499
|
-
#
|
2500
|
-
# This value must be present when `scaleTier` is set to `CUSTOM` and
|
2501
|
-
# `parameter_server_count` is greater than zero.
|
2493
|
+
# Optional. Specifies the type of virtual machine to use for your training job's
|
2494
|
+
# parameter server. The supported values are the same as those described in the
|
2495
|
+
# entry for `master_type`. This value must be consistent with the category of
|
2496
|
+
# machine type that `masterType` uses. In other words, both must be Compute
|
2497
|
+
# Engine machine types or both must be legacy machine types. This value must be
|
2498
|
+
# present when `scaleTier` is set to `CUSTOM` and `parameter_server_count` is
|
2499
|
+
# greater than zero.
|
2502
2500
|
# Corresponds to the JSON property `parameterServerType`
|
2503
2501
|
# @return [String]
|
2504
2502
|
attr_accessor :parameter_server_type
|
@@ -2508,38 +2506,35 @@ module Google
|
|
2508
2506
|
# @return [String]
|
2509
2507
|
attr_accessor :python_module
|
2510
2508
|
|
2511
|
-
# Optional. The version of Python used in training. You must either specify
|
2512
|
-
#
|
2513
|
-
#
|
2514
|
-
# * Python '3.
|
2515
|
-
#
|
2516
|
-
#
|
2517
|
-
#
|
2518
|
-
#
|
2519
|
-
# earlier.
|
2520
|
-
# Read more about the Python versions available for [each runtime
|
2521
|
-
# version](/ml-engine/docs/runtime-version-list).
|
2509
|
+
# Optional. The version of Python used in training. You must either specify this
|
2510
|
+
# field or specify `masterConfig.imageUri`. The following Python versions are
|
2511
|
+
# available: * Python '3.7' is available when `runtime_version` is set to '1.15'
|
2512
|
+
# or later. * Python '3.5' is available when `runtime_version` is set to a
|
2513
|
+
# version from '1.4' to '1.14'. * Python '2.7' is available when `
|
2514
|
+
# runtime_version` is set to '1.15' or earlier. Read more about the Python
|
2515
|
+
# versions available for [each runtime version](/ml-engine/docs/runtime-version-
|
2516
|
+
# list).
|
2522
2517
|
# Corresponds to the JSON property `pythonVersion`
|
2523
2518
|
# @return [String]
|
2524
2519
|
attr_accessor :python_version
|
2525
2520
|
|
2526
|
-
# Required. The region to run the training job in. See the [available
|
2527
|
-
#
|
2521
|
+
# Required. The region to run the training job in. See the [available regions](/
|
2522
|
+
# ai-platform/training/docs/regions) for AI Platform Training.
|
2528
2523
|
# Corresponds to the JSON property `region`
|
2529
2524
|
# @return [String]
|
2530
2525
|
attr_accessor :region
|
2531
2526
|
|
2532
|
-
# Optional. The AI Platform runtime version to use for training. You must
|
2533
|
-
#
|
2534
|
-
#
|
2535
|
-
#
|
2536
|
-
#
|
2527
|
+
# Optional. The AI Platform runtime version to use for training. You must either
|
2528
|
+
# specify this field or specify `masterConfig.imageUri`. For more information,
|
2529
|
+
# see the [runtime version list](/ai-platform/training/docs/runtime-version-list)
|
2530
|
+
# and learn [how to manage runtime versions](/ai-platform/training/docs/
|
2531
|
+
# versioning).
|
2537
2532
|
# Corresponds to the JSON property `runtimeVersion`
|
2538
2533
|
# @return [String]
|
2539
2534
|
attr_accessor :runtime_version
|
2540
2535
|
|
2541
|
-
# Required. Specifies the machine types, the number of replicas for workers
|
2542
|
-
#
|
2536
|
+
# Required. Specifies the machine types, the number of replicas for workers and
|
2537
|
+
# parameter servers.
|
2543
2538
|
# Corresponds to the JSON property `scaleTier`
|
2544
2539
|
# @return [String]
|
2545
2540
|
attr_accessor :scale_tier
|
@@ -2552,23 +2547,20 @@ module Google
|
|
2552
2547
|
# Optional. The email address of a service account to use when running the
|
2553
2548
|
# training appplication. You must have the `iam.serviceAccounts.actAs`
|
2554
2549
|
# permission for the specified service account. In addition, the AI Platform
|
2555
|
-
# Training Google-managed service account must have the
|
2556
|
-
#
|
2557
|
-
#
|
2558
|
-
# account
|
2559
|
-
#
|
2560
|
-
# is used by default.
|
2550
|
+
# Training Google-managed service account must have the `roles/iam.
|
2551
|
+
# serviceAccountAdmin` role for the specified service account. [Learn more about
|
2552
|
+
# configuring a service account.](/ai-platform/training/docs/custom-service-
|
2553
|
+
# account) If not specified, the AI Platform Training Google-managed service
|
2554
|
+
# account is used by default.
|
2561
2555
|
# Corresponds to the JSON property `serviceAccount`
|
2562
2556
|
# @return [String]
|
2563
2557
|
attr_accessor :service_account
|
2564
2558
|
|
2565
2559
|
# Optional. Use `chief` instead of `master` in the `TF_CONFIG` environment
|
2566
2560
|
# variable when training with a custom container. Defaults to `false`. [Learn
|
2567
|
-
# more about this
|
2568
|
-
#
|
2569
|
-
#
|
2570
|
-
# This field has no effect for training jobs that don't use a custom
|
2571
|
-
# container.
|
2561
|
+
# more about this field.](/ai-platform/training/docs/distributed-training-
|
2562
|
+
# details#chief-versus-master) This field has no effect for training jobs that
|
2563
|
+
# don't use a custom container.
|
2572
2564
|
# Corresponds to the JSON property `useChiefInTfConfig`
|
2573
2565
|
# @return [Boolean]
|
2574
2566
|
attr_accessor :use_chief_in_tf_config
|
@@ -2580,27 +2572,22 @@ module Google
|
|
2580
2572
|
attr_accessor :worker_config
|
2581
2573
|
|
2582
2574
|
# Optional. The number of worker replicas to use for the training job. Each
|
2583
|
-
# replica in the cluster will be of the type specified in `worker_type`.
|
2584
|
-
#
|
2585
|
-
#
|
2586
|
-
# The default value is zero.
|
2575
|
+
# replica in the cluster will be of the type specified in `worker_type`. This
|
2576
|
+
# value can only be used when `scale_tier` is set to `CUSTOM`. If you set this
|
2577
|
+
# value, you must also set `worker_type`. The default value is zero.
|
2587
2578
|
# Corresponds to the JSON property `workerCount`
|
2588
2579
|
# @return [Fixnum]
|
2589
2580
|
attr_accessor :worker_count
|
2590
2581
|
|
2591
|
-
# Optional. Specifies the type of virtual machine to use for your training
|
2592
|
-
#
|
2593
|
-
#
|
2594
|
-
# `masterType
|
2595
|
-
#
|
2596
|
-
# `
|
2597
|
-
#
|
2598
|
-
#
|
2599
|
-
#
|
2600
|
-
# machine](/ml-engine/docs/tensorflow/using-tpus#
|
2601
|
-
# configuring_a_custom_tpu_machine).
|
2602
|
-
# This value must be present when `scaleTier` is set to `CUSTOM` and
|
2603
|
-
# `workerCount` is greater than zero.
|
2582
|
+
# Optional. Specifies the type of virtual machine to use for your training job's
|
2583
|
+
# worker nodes. The supported values are the same as those described in the
|
2584
|
+
# entry for `masterType`. This value must be consistent with the category of
|
2585
|
+
# machine type that `masterType` uses. In other words, both must be Compute
|
2586
|
+
# Engine machine types or both must be legacy machine types. If you use `
|
2587
|
+
# cloud_tpu` for this value, see special instructions for [configuring a custom
|
2588
|
+
# TPU machine](/ml-engine/docs/tensorflow/using-tpus#
|
2589
|
+
# configuring_a_custom_tpu_machine). This value must be present when `scaleTier`
|
2590
|
+
# is set to `CUSTOM` and `workerCount` is greater than zero.
|
2604
2591
|
# Corresponds to the JSON property `workerType`
|
2605
2592
|
# @return [String]
|
2606
2593
|
attr_accessor :worker_type
|
@@ -2648,8 +2635,8 @@ module Google
|
|
2648
2635
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput]
|
2649
2636
|
attr_accessor :built_in_algorithm_output
|
2650
2637
|
|
2651
|
-
# The number of hyperparameter tuning trials that completed successfully.
|
2652
|
-
#
|
2638
|
+
# The number of hyperparameter tuning trials that completed successfully. Only
|
2639
|
+
# set for hyperparameter tuning jobs.
|
2653
2640
|
# Corresponds to the JSON property `completedTrialCount`
|
2654
2641
|
# @return [Fixnum]
|
2655
2642
|
attr_accessor :completed_trial_count
|
@@ -2660,10 +2647,9 @@ module Google
|
|
2660
2647
|
attr_accessor :consumed_ml_units
|
2661
2648
|
|
2662
2649
|
# The TensorFlow summary tag name used for optimizing hyperparameter tuning
|
2663
|
-
# trials. See
|
2664
|
-
#
|
2665
|
-
#
|
2666
|
-
# for more information. Only set for hyperparameter tuning jobs.
|
2650
|
+
# trials. See [`HyperparameterSpec.hyperparameterMetricTag`](#HyperparameterSpec.
|
2651
|
+
# FIELDS.hyperparameter_metric_tag) for more information. Only set for
|
2652
|
+
# hyperparameter tuning jobs.
|
2667
2653
|
# Corresponds to the JSON property `hyperparameterMetricTag`
|
2668
2654
|
# @return [String]
|
2669
2655
|
attr_accessor :hyperparameter_metric_tag
|
@@ -2680,8 +2666,8 @@ module Google
|
|
2680
2666
|
attr_accessor :is_hyperparameter_tuning_job
|
2681
2667
|
alias_method :is_hyperparameter_tuning_job?, :is_hyperparameter_tuning_job
|
2682
2668
|
|
2683
|
-
# Results for individual Hyperparameter trials.
|
2684
|
-
#
|
2669
|
+
# Results for individual Hyperparameter trials. Only set for hyperparameter
|
2670
|
+
# tuning jobs.
|
2685
2671
|
# Corresponds to the JSON property `trials`
|
2686
2672
|
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput>]
|
2687
2673
|
attr_accessor :trials
|
@@ -2721,15 +2707,15 @@ module Google
|
|
2721
2707
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Measurement]
|
2722
2708
|
attr_accessor :final_measurement
|
2723
2709
|
|
2724
|
-
# Output only. A human readable string describing why the trial is
|
2725
|
-
#
|
2710
|
+
# Output only. A human readable string describing why the trial is infeasible.
|
2711
|
+
# This should only be set if trial_infeasible is true.
|
2726
2712
|
# Corresponds to the JSON property `infeasibleReason`
|
2727
2713
|
# @return [String]
|
2728
2714
|
attr_accessor :infeasible_reason
|
2729
2715
|
|
2730
|
-
# A list of measurements that are strictly lexicographically
|
2731
|
-
#
|
2732
|
-
#
|
2716
|
+
# A list of measurements that are strictly lexicographically ordered by their
|
2717
|
+
# induced tuples (steps, elapsed_time). These are used for early stopping
|
2718
|
+
# computations.
|
2733
2719
|
# Corresponds to the JSON property `measurements`
|
2734
2720
|
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1Measurement>]
|
2735
2721
|
attr_accessor :measurements
|
@@ -2779,19 +2765,17 @@ module Google
|
|
2779
2765
|
end
|
2780
2766
|
end
|
2781
2767
|
|
2782
|
-
# Represents a version of the model.
|
2783
|
-
#
|
2784
|
-
#
|
2785
|
-
#
|
2786
|
-
# projects.models.versions.list.
|
2768
|
+
# Represents a version of the model. Each version is a trained model deployed in
|
2769
|
+
# the cloud, ready to handle prediction requests. A model can have multiple
|
2770
|
+
# versions. You can get information about all of the versions of a given model
|
2771
|
+
# by calling projects.models.versions.list.
|
2787
2772
|
class GoogleCloudMlV1Version
|
2788
2773
|
include Google::Apis::Core::Hashable
|
2789
2774
|
|
2790
|
-
# Represents a hardware accelerator request config.
|
2791
|
-
#
|
2792
|
-
#
|
2793
|
-
#
|
2794
|
-
# prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
|
2775
|
+
# Represents a hardware accelerator request config. Note that the
|
2776
|
+
# AcceleratorConfig can be used in both Jobs and Versions. Learn more about [
|
2777
|
+
# accelerators for training](/ml-engine/docs/using-gpus) and [accelerators for
|
2778
|
+
# online prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
|
2795
2779
|
# Corresponds to the JSON property `acceleratorConfig`
|
2796
2780
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
|
2797
2781
|
attr_accessor :accelerator_config
|
@@ -2801,21 +2785,24 @@ module Google
|
|
2801
2785
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling]
|
2802
2786
|
attr_accessor :auto_scaling
|
2803
2787
|
|
2788
|
+
# Specify a custom container to deploy. Our ContainerSpec is a subset of the
|
2789
|
+
# Kubernetes Container specification. https://kubernetes.io/docs/reference/
|
2790
|
+
# generated/kubernetes-api/v1.10/#container-v1-core
|
2791
|
+
# Corresponds to the JSON property `container`
|
2792
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec]
|
2793
|
+
attr_accessor :container
|
2794
|
+
|
2804
2795
|
# Output only. The time the version was created.
|
2805
2796
|
# Corresponds to the JSON property `createTime`
|
2806
2797
|
# @return [String]
|
2807
2798
|
attr_accessor :create_time
|
2808
2799
|
|
2809
|
-
# Required. The Cloud Storage location of the trained model used to
|
2810
|
-
#
|
2811
|
-
#
|
2812
|
-
#
|
2813
|
-
#
|
2814
|
-
#
|
2815
|
-
# projects.models.versions.create
|
2816
|
-
# the model service uses the specified location as the source of the model.
|
2817
|
-
# Once deployed, the model version is hosted by the prediction service, so
|
2818
|
-
# this location is useful only as a historical record.
|
2800
|
+
# Required. The Cloud Storage location of the trained model used to create the
|
2801
|
+
# version. See the [guide to model deployment](/ml-engine/docs/tensorflow/
|
2802
|
+
# deploying-models) for more information. When passing Version to projects.
|
2803
|
+
# models.versions.create the model service uses the specified location as the
|
2804
|
+
# source of the model. Once deployed, the model version is hosted by the
|
2805
|
+
# prediction service, so this location is useful only as a historical record.
|
2819
2806
|
# The total number of model files can't exceed 1000.
|
2820
2807
|
# Corresponds to the JSON property `deploymentUri`
|
2821
2808
|
# @return [String]
|
@@ -2831,57 +2818,52 @@ module Google
|
|
2831
2818
|
# @return [String]
|
2832
2819
|
attr_accessor :error_message
|
2833
2820
|
|
2834
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
2835
|
-
#
|
2836
|
-
#
|
2837
|
-
#
|
2838
|
-
#
|
2839
|
-
#
|
2840
|
-
#
|
2821
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
2822
|
+
# simultaneous updates of a model from overwriting each other. It is strongly
|
2823
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
2824
|
+
# to perform model updates in order to avoid race conditions: An `etag` is
|
2825
|
+
# returned in the response to `GetVersion`, and systems are expected to put that
|
2826
|
+
# etag in the request to `UpdateVersion` to ensure that their change will be
|
2827
|
+
# applied to the model as intended.
|
2841
2828
|
# Corresponds to the JSON property `etag`
|
2842
2829
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2843
2830
|
# @return [String]
|
2844
2831
|
attr_accessor :etag
|
2845
2832
|
|
2846
|
-
# Message holding configuration options for explaining model predictions.
|
2847
|
-
#
|
2848
|
-
# integrated gradients
|
2849
|
-
# [Learn more about feature
|
2833
|
+
# Message holding configuration options for explaining model predictions. There
|
2834
|
+
# are three feature attribution methods supported for TensorFlow models:
|
2835
|
+
# integrated gradients, sampled Shapley, and XRAI. [Learn more about feature
|
2850
2836
|
# attributions.](/ai-platform/prediction/docs/ai-explanations/overview)
|
2851
2837
|
# Corresponds to the JSON property `explanationConfig`
|
2852
2838
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig]
|
2853
2839
|
attr_accessor :explanation_config
|
2854
2840
|
|
2855
|
-
# Optional. The machine learning framework AI Platform uses to train
|
2856
|
-
#
|
2857
|
-
#
|
2858
|
-
#
|
2859
|
-
#
|
2860
|
-
#
|
2861
|
-
#
|
2862
|
-
#
|
2863
|
-
#
|
2864
|
-
# type](/ml-engine/docs/machine-types-online-prediction) in the
|
2865
|
-
# `machineType` field, you must specify `TENSORFLOW`
|
2841
|
+
# Optional. The machine learning framework AI Platform uses to train this
|
2842
|
+
# version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`, `XGBOOST`.
|
2843
|
+
# If you do not specify a framework, AI Platform will analyze files in the
|
2844
|
+
# deployment_uri to determine a framework. If you choose `SCIKIT_LEARN` or `
|
2845
|
+
# XGBOOST`, you must also set the runtime version of the model to 1.4 or greater.
|
2846
|
+
# Do **not** specify a framework if you're deploying a [custom prediction
|
2847
|
+
# routine](/ml-engine/docs/tensorflow/custom-prediction-routines). If you
|
2848
|
+
# specify a [Compute Engine (N1) machine type](/ml-engine/docs/machine-types-
|
2849
|
+
# online-prediction) in the `machineType` field, you must specify `TENSORFLOW`
|
2866
2850
|
# for the framework.
|
2867
2851
|
# Corresponds to the JSON property `framework`
|
2868
2852
|
# @return [String]
|
2869
2853
|
attr_accessor :framework
|
2870
2854
|
|
2871
|
-
# Output only. If true, this version will be used to handle prediction
|
2872
|
-
#
|
2873
|
-
# You can change the default version by calling
|
2855
|
+
# Output only. If true, this version will be used to handle prediction requests
|
2856
|
+
# that do not specify a version. You can change the default version by calling
|
2874
2857
|
# projects.methods.versions.setDefault.
|
2875
2858
|
# Corresponds to the JSON property `isDefault`
|
2876
2859
|
# @return [Boolean]
|
2877
2860
|
attr_accessor :is_default
|
2878
2861
|
alias_method :is_default?, :is_default
|
2879
2862
|
|
2880
|
-
# Optional. One or more labels that you can add, to organize your model
|
2881
|
-
#
|
2882
|
-
#
|
2883
|
-
#
|
2884
|
-
# <a href="/ml-engine/docs/tensorflow/resource-labels">using labels</a>.
|
2863
|
+
# Optional. One or more labels that you can add, to organize your model versions.
|
2864
|
+
# Each label is a key-value pair, where both the key and the value are
|
2865
|
+
# arbitrary strings that you supply. For more information, see the documentation
|
2866
|
+
# on using labels.
|
2885
2867
|
# Corresponds to the JSON property `labels`
|
2886
2868
|
# @return [Hash<String,String>]
|
2887
2869
|
attr_accessor :labels
|
@@ -2893,28 +2875,14 @@ module Google
|
|
2893
2875
|
|
2894
2876
|
# Optional. The type of machine on which to serve the model. Currently only
|
2895
2877
|
# applies to online prediction service. If this field is not specified, it
|
2896
|
-
# defaults to `mls1-c1-m2`.
|
2897
|
-
#
|
2898
|
-
# * `
|
2899
|
-
# * `
|
2900
|
-
# * `n1-
|
2901
|
-
#
|
2902
|
-
#
|
2903
|
-
#
|
2904
|
-
# * `n1-standard-32`
|
2905
|
-
# * `n1-highmem-2`
|
2906
|
-
# * `n1-highmem-4`
|
2907
|
-
# * `n1-highmem-8`
|
2908
|
-
# * `n1-highmem-16`
|
2909
|
-
# * `n1-highmem-32`
|
2910
|
-
# * `n1-highcpu-2`
|
2911
|
-
# * `n1-highcpu-4`
|
2912
|
-
# * `n1-highcpu-8`
|
2913
|
-
# * `n1-highcpu-16`
|
2914
|
-
# * `n1-highcpu-32`
|
2915
|
-
# `mls1-c1-m2` is generally available. All other machine types are available
|
2916
|
-
# in beta. Learn more about the [differences between machine
|
2917
|
-
# types](/ml-engine/docs/machine-types-online-prediction).
|
2878
|
+
# defaults to `mls1-c1-m2`. Online prediction supports the following machine
|
2879
|
+
# types: * `mls1-c1-m2` * `mls1-c4-m2` * `n1-standard-2` * `n1-standard-4` * `n1-
|
2880
|
+
# standard-8` * `n1-standard-16` * `n1-standard-32` * `n1-highmem-2` * `n1-
|
2881
|
+
# highmem-4` * `n1-highmem-8` * `n1-highmem-16` * `n1-highmem-32` * `n1-highcpu-
|
2882
|
+
# 2` * `n1-highcpu-4` * `n1-highcpu-8` * `n1-highcpu-16` * `n1-highcpu-32` `mls1-
|
2883
|
+
# c1-m2` is generally available. All other machine types are available in beta.
|
2884
|
+
# Learn more about the [differences between machine types](/ml-engine/docs/
|
2885
|
+
# machine-types-online-prediction).
|
2918
2886
|
# Corresponds to the JSON property `machineType`
|
2919
2887
|
# @return [String]
|
2920
2888
|
attr_accessor :machine_type
|
@@ -2924,108 +2892,88 @@ module Google
|
|
2924
2892
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1ManualScaling]
|
2925
2893
|
attr_accessor :manual_scaling
|
2926
2894
|
|
2927
|
-
# Required. The name specified for the version when it was created.
|
2928
|
-
#
|
2895
|
+
# Required. The name specified for the version when it was created. The version
|
2896
|
+
# name must be unique within the model it is created in.
|
2929
2897
|
# Corresponds to the JSON property `name`
|
2930
2898
|
# @return [String]
|
2931
2899
|
attr_accessor :name
|
2932
2900
|
|
2933
|
-
# Optional. Cloud Storage paths (`gs://…`) of packages for [custom
|
2934
|
-
#
|
2935
|
-
#
|
2936
|
-
#
|
2937
|
-
#
|
2938
|
-
#
|
2939
|
-
#
|
2940
|
-
#
|
2941
|
-
#
|
2942
|
-
#
|
2943
|
-
# If you specify this field, you must also set
|
2944
|
-
# [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater.
|
2901
|
+
# Optional. Cloud Storage paths (`gs://…`) of packages for [custom prediction
|
2902
|
+
# routines](/ml-engine/docs/tensorflow/custom-prediction-routines) or [scikit-
|
2903
|
+
# learn pipelines with custom code](/ml-engine/docs/scikit/exporting-for-
|
2904
|
+
# prediction#custom-pipeline-code). For a custom prediction routine, one of
|
2905
|
+
# these packages must contain your Predictor class (see [`predictionClass`](#
|
2906
|
+
# Version.FIELDS.prediction_class)). Additionally, include any dependencies used
|
2907
|
+
# by your Predictor or scikit-learn pipeline uses that are not already included
|
2908
|
+
# in your selected [runtime version](/ml-engine/docs/tensorflow/runtime-version-
|
2909
|
+
# list). If you specify this field, you must also set [`runtimeVersion`](#
|
2910
|
+
# Version.FIELDS.runtime_version) to 1.4 or greater.
|
2945
2911
|
# Corresponds to the JSON property `packageUris`
|
2946
2912
|
# @return [Array<String>]
|
2947
2913
|
attr_accessor :package_uris
|
2948
2914
|
|
2949
|
-
# Optional. The fully qualified name
|
2950
|
-
#
|
2951
|
-
#
|
2952
|
-
#
|
2953
|
-
# [
|
2954
|
-
#
|
2955
|
-
#
|
2956
|
-
#
|
2957
|
-
#
|
2958
|
-
#
|
2959
|
-
#
|
2960
|
-
#
|
2961
|
-
#
|
2962
|
-
#
|
2963
|
-
#
|
2964
|
-
#
|
2965
|
-
# """
|
2966
|
-
#
|
2967
|
-
#
|
2968
|
-
#
|
2969
|
-
#
|
2970
|
-
#
|
2971
|
-
#
|
2972
|
-
#
|
2973
|
-
# A list of outputs containing the prediction results. This list must
|
2974
|
-
# be JSON serializable.
|
2975
|
-
# """
|
2976
|
-
# raise NotImplementedError()
|
2977
|
-
# @classmethod
|
2978
|
-
# def from_path(cls, model_dir):
|
2979
|
-
# """Creates an instance of Predictor using the given path.
|
2980
|
-
# Loading of the predictor should be done in this method.
|
2981
|
-
# Args:
|
2982
|
-
# model_dir: The local directory that contains the exported model
|
2983
|
-
# file along with any additional files uploaded when creating the
|
2984
|
-
# version resource.
|
2985
|
-
# Returns:
|
2986
|
-
# An instance implementing this Predictor class.
|
2987
|
-
# """
|
2988
|
-
# raise NotImplementedError()
|
2989
|
-
# </pre>
|
2990
|
-
# Learn more about [the Predictor interface and custom prediction
|
2991
|
-
# routines](/ml-engine/docs/tensorflow/custom-prediction-routines).
|
2915
|
+
# Optional. The fully qualified name (module_name.class_name) of a class that
|
2916
|
+
# implements the Predictor interface described in this reference field. The
|
2917
|
+
# module containing this class should be included in a package provided to the [`
|
2918
|
+
# packageUris` field](#Version.FIELDS.package_uris). Specify this field if and
|
2919
|
+
# only if you are deploying a [custom prediction routine (beta)](/ml-engine/docs/
|
2920
|
+
# tensorflow/custom-prediction-routines). If you specify this field, you must
|
2921
|
+
# set [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater and
|
2922
|
+
# you must set `machineType` to a [legacy (MLS1) machine type](/ml-engine/docs/
|
2923
|
+
# machine-types-online-prediction). The following code sample provides the
|
2924
|
+
# Predictor interface: class Predictor(object): """Interface for constructing
|
2925
|
+
# custom predictors.""" def predict(self, instances, **kwargs): """Performs
|
2926
|
+
# custom prediction. Instances are the decoded values from the request. They
|
2927
|
+
# have already been deserialized from JSON. Args: instances: A list of
|
2928
|
+
# prediction input instances. **kwargs: A dictionary of keyword args provided as
|
2929
|
+
# additional fields on the predict request body. Returns: A list of outputs
|
2930
|
+
# containing the prediction results. This list must be JSON serializable. """
|
2931
|
+
# raise NotImplementedError() @classmethod def from_path(cls, model_dir): """
|
2932
|
+
# Creates an instance of Predictor using the given path. Loading of the
|
2933
|
+
# predictor should be done in this method. Args: model_dir: The local directory
|
2934
|
+
# that contains the exported model file along with any additional files uploaded
|
2935
|
+
# when creating the version resource. Returns: An instance implementing this
|
2936
|
+
# Predictor class. """ raise NotImplementedError() Learn more about [the
|
2937
|
+
# Predictor interface and custom prediction routines](/ml-engine/docs/tensorflow/
|
2938
|
+
# custom-prediction-routines).
|
2992
2939
|
# Corresponds to the JSON property `predictionClass`
|
2993
2940
|
# @return [String]
|
2994
2941
|
attr_accessor :prediction_class
|
2995
2942
|
|
2996
|
-
# Required. The version of Python used in prediction.
|
2997
|
-
#
|
2998
|
-
# * Python '3.
|
2999
|
-
#
|
3000
|
-
#
|
3001
|
-
#
|
3002
|
-
#
|
3003
|
-
# earlier.
|
3004
|
-
# Read more about the Python versions available for [each runtime
|
3005
|
-
# version](/ml-engine/docs/runtime-version-list).
|
2943
|
+
# Required. The version of Python used in prediction. The following Python
|
2944
|
+
# versions are available: * Python '3.7' is available when `runtime_version` is
|
2945
|
+
# set to '1.15' or later. * Python '3.5' is available when `runtime_version` is
|
2946
|
+
# set to a version from '1.4' to '1.14'. * Python '2.7' is available when `
|
2947
|
+
# runtime_version` is set to '1.15' or earlier. Read more about the Python
|
2948
|
+
# versions available for [each runtime version](/ml-engine/docs/runtime-version-
|
2949
|
+
# list).
|
3006
2950
|
# Corresponds to the JSON property `pythonVersion`
|
3007
2951
|
# @return [String]
|
3008
2952
|
attr_accessor :python_version
|
3009
2953
|
|
3010
|
-
# Configuration for logging request-response pairs to a BigQuery table.
|
3011
|
-
#
|
3012
|
-
#
|
3013
|
-
#
|
3014
|
-
#
|
3015
|
-
#
|
3016
|
-
#
|
3017
|
-
#
|
3018
|
-
# evaluation](/ml-engine/docs/continuous-evaluation/), you do not need to
|
3019
|
-
# specify this configuration manually. Setting up continuous evaluation
|
2954
|
+
# Configuration for logging request-response pairs to a BigQuery table. Online
|
2955
|
+
# prediction requests to a model version and the responses to these requests are
|
2956
|
+
# converted to raw strings and saved to the specified BigQuery table. Logging is
|
2957
|
+
# constrained by [BigQuery quotas and limits](/bigquery/quotas). If your project
|
2958
|
+
# exceeds BigQuery quotas or limits, AI Platform Prediction does not log request-
|
2959
|
+
# response pairs, but it continues to serve predictions. If you are using [
|
2960
|
+
# continuous evaluation](/ml-engine/docs/continuous-evaluation/), you do not
|
2961
|
+
# need to specify this configuration manually. Setting up continuous evaluation
|
3020
2962
|
# automatically enables logging of request-response pairs.
|
3021
2963
|
# Corresponds to the JSON property `requestLoggingConfig`
|
3022
2964
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig]
|
3023
2965
|
attr_accessor :request_logging_config
|
3024
2966
|
|
3025
|
-
#
|
3026
|
-
#
|
3027
|
-
#
|
3028
|
-
#
|
2967
|
+
# RouteMap is used to override HTTP paths sent to a Custom Container. If
|
2968
|
+
# specified, the HTTP server implemented in the ContainerSpec must support the
|
2969
|
+
# route. If unspecified, standard HTTP paths will be used.
|
2970
|
+
# Corresponds to the JSON property `routes`
|
2971
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1RouteMap]
|
2972
|
+
attr_accessor :routes
|
2973
|
+
|
2974
|
+
# Required. The AI Platform runtime version to use for this deployment. For more
|
2975
|
+
# information, see the [runtime version list](/ml-engine/docs/runtime-version-
|
2976
|
+
# list) and [how to manage runtime versions](/ml-engine/docs/versioning).
|
3029
2977
|
# Corresponds to the JSON property `runtimeVersion`
|
3030
2978
|
# @return [String]
|
3031
2979
|
attr_accessor :runtime_version
|
@@ -3048,6 +2996,7 @@ module Google
|
|
3048
2996
|
def update!(**args)
|
3049
2997
|
@accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
|
3050
2998
|
@auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
|
2999
|
+
@container = args[:container] if args.key?(:container)
|
3051
3000
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3052
3001
|
@deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri)
|
3053
3002
|
@description = args[:description] if args.key?(:description)
|
@@ -3065,22 +3014,23 @@ module Google
|
|
3065
3014
|
@prediction_class = args[:prediction_class] if args.key?(:prediction_class)
|
3066
3015
|
@python_version = args[:python_version] if args.key?(:python_version)
|
3067
3016
|
@request_logging_config = args[:request_logging_config] if args.key?(:request_logging_config)
|
3017
|
+
@routes = args[:routes] if args.key?(:routes)
|
3068
3018
|
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
3069
3019
|
@service_account = args[:service_account] if args.key?(:service_account)
|
3070
3020
|
@state = args[:state] if args.key?(:state)
|
3071
3021
|
end
|
3072
3022
|
end
|
3073
3023
|
|
3074
|
-
# Attributes credit by computing the XRAI taking advantage
|
3075
|
-
#
|
3076
|
-
#
|
3077
|
-
#
|
3024
|
+
# Attributes credit by computing the XRAI taking advantage of the model's fully
|
3025
|
+
# differentiable structure. Refer to this paper for more details: https://arxiv.
|
3026
|
+
# org/abs/1906.02825 Currently only implemented for models with natural image
|
3027
|
+
# inputs.
|
3078
3028
|
class GoogleCloudMlV1XraiAttribution
|
3079
3029
|
include Google::Apis::Core::Hashable
|
3080
3030
|
|
3081
|
-
# Number of steps for approximating the path integral.
|
3082
|
-
#
|
3083
|
-
#
|
3031
|
+
# Number of steps for approximating the path integral. A good value to start is
|
3032
|
+
# 50 and gradually increase until the sum to diff property is met within the
|
3033
|
+
# desired error range.
|
3084
3034
|
# Corresponds to the JSON property `numIntegralSteps`
|
3085
3035
|
# @return [Fixnum]
|
3086
3036
|
attr_accessor :num_integral_steps
|
@@ -3095,53 +3045,21 @@ module Google
|
|
3095
3045
|
end
|
3096
3046
|
end
|
3097
3047
|
|
3098
|
-
# Specifies the audit configuration for a service.
|
3099
|
-
#
|
3100
|
-
#
|
3101
|
-
#
|
3102
|
-
#
|
3103
|
-
#
|
3104
|
-
#
|
3105
|
-
#
|
3106
|
-
#
|
3107
|
-
# `
|
3108
|
-
# "
|
3109
|
-
# `
|
3110
|
-
#
|
3111
|
-
#
|
3112
|
-
#
|
3113
|
-
# "log_type": "DATA_READ",
|
3114
|
-
# "exempted_members": [
|
3115
|
-
# "user:jose@example.com"
|
3116
|
-
# ]
|
3117
|
-
# `,
|
3118
|
-
# `
|
3119
|
-
# "log_type": "DATA_WRITE"
|
3120
|
-
# `,
|
3121
|
-
# `
|
3122
|
-
# "log_type": "ADMIN_READ"
|
3123
|
-
# `
|
3124
|
-
# ]
|
3125
|
-
# `,
|
3126
|
-
# `
|
3127
|
-
# "service": "sampleservice.googleapis.com",
|
3128
|
-
# "audit_log_configs": [
|
3129
|
-
# `
|
3130
|
-
# "log_type": "DATA_READ"
|
3131
|
-
# `,
|
3132
|
-
# `
|
3133
|
-
# "log_type": "DATA_WRITE",
|
3134
|
-
# "exempted_members": [
|
3135
|
-
# "user:aliya@example.com"
|
3136
|
-
# ]
|
3137
|
-
# `
|
3138
|
-
# ]
|
3139
|
-
# `
|
3140
|
-
# ]
|
3141
|
-
# `
|
3142
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
3143
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
3144
|
-
# aliya@example.com from DATA_WRITE logging.
|
3048
|
+
# Specifies the audit configuration for a service. The configuration determines
|
3049
|
+
# which permission types are logged, and what identities, if any, are exempted
|
3050
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
3051
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
3052
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
3053
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
3054
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
3055
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
3056
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
3057
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
3058
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
3059
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
3060
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
3061
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
3062
|
+
# DATA_WRITE logging.
|
3145
3063
|
class GoogleIamV1AuditConfig
|
3146
3064
|
include Google::Apis::Core::Hashable
|
3147
3065
|
|
@@ -3150,9 +3068,9 @@ module Google
|
|
3150
3068
|
# @return [Array<Google::Apis::MlV1::GoogleIamV1AuditLogConfig>]
|
3151
3069
|
attr_accessor :audit_log_configs
|
3152
3070
|
|
3153
|
-
# Specifies a service that will be enabled for audit logging.
|
3154
|
-
#
|
3155
|
-
#
|
3071
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
3072
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
3073
|
+
# value that covers all services.
|
3156
3074
|
# Corresponds to the JSON property `service`
|
3157
3075
|
# @return [String]
|
3158
3076
|
attr_accessor :service
|
@@ -3168,28 +3086,15 @@ module Google
|
|
3168
3086
|
end
|
3169
3087
|
end
|
3170
3088
|
|
3171
|
-
# Provides the configuration for logging a type of permissions.
|
3172
|
-
#
|
3173
|
-
# `
|
3174
|
-
#
|
3175
|
-
#
|
3176
|
-
# "log_type": "DATA_READ",
|
3177
|
-
# "exempted_members": [
|
3178
|
-
# "user:jose@example.com"
|
3179
|
-
# ]
|
3180
|
-
# `,
|
3181
|
-
# `
|
3182
|
-
# "log_type": "DATA_WRITE"
|
3183
|
-
# `
|
3184
|
-
# ]
|
3185
|
-
# `
|
3186
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
3187
|
-
# jose@example.com from DATA_READ logging.
|
3089
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
3090
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
3091
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
3092
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
3093
|
+
# DATA_READ logging.
|
3188
3094
|
class GoogleIamV1AuditLogConfig
|
3189
3095
|
include Google::Apis::Core::Hashable
|
3190
3096
|
|
3191
|
-
# Specifies the identities that do not cause logging for this type of
|
3192
|
-
# permission.
|
3097
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
3193
3098
|
# Follows the same format of Binding.members.
|
3194
3099
|
# Corresponds to the JSON property `exemptedMembers`
|
3195
3100
|
# @return [Array<String>]
|
@@ -3215,69 +3120,57 @@ module Google
|
|
3215
3120
|
class GoogleIamV1Binding
|
3216
3121
|
include Google::Apis::Core::Hashable
|
3217
3122
|
|
3218
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
3219
|
-
#
|
3220
|
-
#
|
3221
|
-
#
|
3222
|
-
#
|
3223
|
-
# description: "Determines if
|
3224
|
-
# expression: "document.
|
3225
|
-
#
|
3226
|
-
#
|
3227
|
-
#
|
3228
|
-
#
|
3229
|
-
#
|
3230
|
-
#
|
3231
|
-
#
|
3232
|
-
#
|
3233
|
-
# Example (Data Manipulation):
|
3234
|
-
# title: "Notification string"
|
3235
|
-
# description: "Create a notification string with a timestamp."
|
3236
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
3237
|
-
# The exact variables and functions that may be referenced within an expression
|
3238
|
-
# are determined by the service that evaluates it. See the service
|
3239
|
-
# documentation for additional information.
|
3123
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
3124
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
3125
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
3126
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
3127
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
3128
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
3129
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
3130
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
3131
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
3132
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
3133
|
+
# string" description: "Create a notification string with a timestamp."
|
3134
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
3135
|
+
# exact variables and functions that may be referenced within an expression are
|
3136
|
+
# determined by the service that evaluates it. See the service documentation for
|
3137
|
+
# additional information.
|
3240
3138
|
# Corresponds to the JSON property `condition`
|
3241
3139
|
# @return [Google::Apis::MlV1::GoogleTypeExpr]
|
3242
3140
|
attr_accessor :condition
|
3243
3141
|
|
3244
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
3245
|
-
#
|
3246
|
-
#
|
3247
|
-
#
|
3248
|
-
#
|
3249
|
-
#
|
3250
|
-
# * `
|
3251
|
-
# account. For example, `
|
3252
|
-
# * `
|
3253
|
-
#
|
3254
|
-
#
|
3255
|
-
# For example, `
|
3256
|
-
#
|
3257
|
-
#
|
3258
|
-
#
|
3259
|
-
#
|
3260
|
-
#
|
3261
|
-
#
|
3262
|
-
#
|
3263
|
-
# deleted
|
3264
|
-
#
|
3265
|
-
# If the
|
3266
|
-
# `
|
3267
|
-
# role in the binding.
|
3268
|
-
#
|
3269
|
-
#
|
3270
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
3271
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
3272
|
-
# recovered group retains the role in the binding.
|
3273
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
3274
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
3142
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
3143
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
3144
|
+
# that represents anyone who is on the internet; with or without a Google
|
3145
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
3146
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
3147
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
3148
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
3149
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
3150
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
3151
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
3152
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
3153
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
3154
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
3155
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
3156
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
3157
|
+
# identifier) representing a service account that has been recently deleted. For
|
3158
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
3159
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
3160
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
3161
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
3162
|
+
# identifier) representing a Google group that has been recently deleted. For
|
3163
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
3164
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
3165
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
3166
|
+
# primary) that represents all the users of that domain. For example, `google.
|
3167
|
+
# com` or `example.com`.
|
3275
3168
|
# Corresponds to the JSON property `members`
|
3276
3169
|
# @return [Array<String>]
|
3277
3170
|
attr_accessor :members
|
3278
3171
|
|
3279
|
-
# Role that is assigned to `members`.
|
3280
|
-
#
|
3172
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
3173
|
+
# , or `roles/owner`.
|
3281
3174
|
# Corresponds to the JSON property `role`
|
3282
3175
|
# @return [String]
|
3283
3176
|
attr_accessor :role
|
@@ -3295,66 +3188,32 @@ module Google
|
|
3295
3188
|
end
|
3296
3189
|
|
3297
3190
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3298
|
-
# controls for Google Cloud resources.
|
3299
|
-
# A `
|
3300
|
-
#
|
3301
|
-
#
|
3302
|
-
#
|
3303
|
-
#
|
3304
|
-
#
|
3305
|
-
#
|
3306
|
-
#
|
3307
|
-
#
|
3308
|
-
#
|
3309
|
-
# [
|
3310
|
-
#
|
3311
|
-
#
|
3312
|
-
# `
|
3313
|
-
# "
|
3314
|
-
# `
|
3315
|
-
# "
|
3316
|
-
#
|
3317
|
-
#
|
3318
|
-
#
|
3319
|
-
#
|
3320
|
-
#
|
3321
|
-
#
|
3322
|
-
#
|
3323
|
-
#
|
3324
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
3325
|
-
# "members": [
|
3326
|
-
# "user:eve@example.com"
|
3327
|
-
# ],
|
3328
|
-
# "condition": `
|
3329
|
-
# "title": "expirable access",
|
3330
|
-
# "description": "Does not grant access after Sep 2020",
|
3331
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
3332
|
-
# ",
|
3333
|
-
# `
|
3334
|
-
# `
|
3335
|
-
# ],
|
3336
|
-
# "etag": "BwWWja0YfJA=",
|
3337
|
-
# "version": 3
|
3338
|
-
# `
|
3339
|
-
# **YAML example:**
|
3340
|
-
# bindings:
|
3341
|
-
# - members:
|
3342
|
-
# - user:mike@example.com
|
3343
|
-
# - group:admins@example.com
|
3344
|
-
# - domain:google.com
|
3345
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3346
|
-
# role: roles/resourcemanager.organizationAdmin
|
3347
|
-
# - members:
|
3348
|
-
# - user:eve@example.com
|
3349
|
-
# role: roles/resourcemanager.organizationViewer
|
3350
|
-
# condition:
|
3351
|
-
# title: expirable access
|
3352
|
-
# description: Does not grant access after Sep 2020
|
3353
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
3354
|
-
# - etag: BwWWja0YfJA=
|
3355
|
-
# - version: 3
|
3356
|
-
# For a description of IAM and its features, see the
|
3357
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
3191
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3192
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
3193
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
3194
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
3195
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
3196
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
3197
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
3198
|
+
# condition can add constraints based on attributes of the request, the resource,
|
3199
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
3200
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
3201
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
3202
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
3203
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
3204
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
3205
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
3206
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
3207
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
3208
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
3209
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
3210
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
3211
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
3212
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
3213
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
3214
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
3215
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
3216
|
+
# google.com/iam/docs/).
|
3358
3217
|
class GoogleIamV1Policy
|
3359
3218
|
include Google::Apis::Core::Hashable
|
3360
3219
|
|
@@ -3363,48 +3222,44 @@ module Google
|
|
3363
3222
|
# @return [Array<Google::Apis::MlV1::GoogleIamV1AuditConfig>]
|
3364
3223
|
attr_accessor :audit_configs
|
3365
3224
|
|
3366
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
3367
|
-
#
|
3368
|
-
#
|
3225
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
3226
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
3227
|
+
# the `bindings` must contain at least one member.
|
3369
3228
|
# Corresponds to the JSON property `bindings`
|
3370
3229
|
# @return [Array<Google::Apis::MlV1::GoogleIamV1Binding>]
|
3371
3230
|
attr_accessor :bindings
|
3372
3231
|
|
3373
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
3374
|
-
#
|
3375
|
-
#
|
3376
|
-
#
|
3377
|
-
#
|
3378
|
-
#
|
3379
|
-
#
|
3380
|
-
#
|
3381
|
-
#
|
3382
|
-
#
|
3383
|
-
#
|
3232
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
3233
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
3234
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
3235
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
3236
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
3237
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
3238
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
3239
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
3240
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
3241
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
3242
|
+
# are lost.
|
3384
3243
|
# Corresponds to the JSON property `etag`
|
3385
3244
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3386
3245
|
# @return [String]
|
3387
3246
|
attr_accessor :etag
|
3388
3247
|
|
3389
|
-
# Specifies the format of the policy.
|
3390
|
-
#
|
3391
|
-
#
|
3392
|
-
#
|
3393
|
-
#
|
3394
|
-
#
|
3395
|
-
#
|
3396
|
-
#
|
3397
|
-
#
|
3398
|
-
#
|
3399
|
-
#
|
3400
|
-
#
|
3401
|
-
#
|
3402
|
-
#
|
3403
|
-
#
|
3404
|
-
# specify any valid version or leave the field unset.
|
3405
|
-
# To learn which resources support conditions in their IAM policies, see the
|
3406
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
3407
|
-
# policies).
|
3248
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
3249
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
3250
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
3251
|
+
# applies to the following operations: * Getting a policy that includes a
|
3252
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
3253
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
3254
|
+
# with or without a condition, from a policy that includes conditions **
|
3255
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
3256
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
3257
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
3258
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
3259
|
+
# any conditions, operations on that policy may specify any valid version or
|
3260
|
+
# leave the field unset. To learn which resources support conditions in their
|
3261
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
3262
|
+
# conditions/resource-policies).
|
3408
3263
|
# Corresponds to the JSON property `version`
|
3409
3264
|
# @return [Fixnum]
|
3410
3265
|
attr_accessor :version
|
@@ -3427,74 +3282,39 @@ module Google
|
|
3427
3282
|
include Google::Apis::Core::Hashable
|
3428
3283
|
|
3429
3284
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3430
|
-
# controls for Google Cloud resources.
|
3431
|
-
# A `
|
3432
|
-
#
|
3433
|
-
#
|
3434
|
-
#
|
3435
|
-
#
|
3436
|
-
#
|
3437
|
-
#
|
3438
|
-
#
|
3439
|
-
#
|
3440
|
-
#
|
3441
|
-
# [
|
3442
|
-
#
|
3443
|
-
#
|
3444
|
-
# `
|
3445
|
-
# "
|
3446
|
-
# `
|
3447
|
-
# "
|
3448
|
-
#
|
3449
|
-
#
|
3450
|
-
#
|
3451
|
-
#
|
3452
|
-
#
|
3453
|
-
#
|
3454
|
-
#
|
3455
|
-
#
|
3456
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
3457
|
-
# "members": [
|
3458
|
-
# "user:eve@example.com"
|
3459
|
-
# ],
|
3460
|
-
# "condition": `
|
3461
|
-
# "title": "expirable access",
|
3462
|
-
# "description": "Does not grant access after Sep 2020",
|
3463
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
3464
|
-
# ",
|
3465
|
-
# `
|
3466
|
-
# `
|
3467
|
-
# ],
|
3468
|
-
# "etag": "BwWWja0YfJA=",
|
3469
|
-
# "version": 3
|
3470
|
-
# `
|
3471
|
-
# **YAML example:**
|
3472
|
-
# bindings:
|
3473
|
-
# - members:
|
3474
|
-
# - user:mike@example.com
|
3475
|
-
# - group:admins@example.com
|
3476
|
-
# - domain:google.com
|
3477
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3478
|
-
# role: roles/resourcemanager.organizationAdmin
|
3479
|
-
# - members:
|
3480
|
-
# - user:eve@example.com
|
3481
|
-
# role: roles/resourcemanager.organizationViewer
|
3482
|
-
# condition:
|
3483
|
-
# title: expirable access
|
3484
|
-
# description: Does not grant access after Sep 2020
|
3485
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
3486
|
-
# - etag: BwWWja0YfJA=
|
3487
|
-
# - version: 3
|
3488
|
-
# For a description of IAM and its features, see the
|
3489
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
3285
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3286
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
3287
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
3288
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
3289
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
3290
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
3291
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
3292
|
+
# condition can add constraints based on attributes of the request, the resource,
|
3293
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
3294
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
3295
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
3296
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
3297
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
3298
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
3299
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
3300
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
3301
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
3302
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
3303
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
3304
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
3305
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
3306
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
3307
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
3308
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
3309
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
3310
|
+
# google.com/iam/docs/).
|
3490
3311
|
# Corresponds to the JSON property `policy`
|
3491
3312
|
# @return [Google::Apis::MlV1::GoogleIamV1Policy]
|
3492
3313
|
attr_accessor :policy
|
3493
3314
|
|
3494
3315
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
3495
|
-
# the fields in the mask will be modified. If no mask is provided, the
|
3496
|
-
#
|
3497
|
-
# `paths: "bindings, etag"`
|
3316
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
3317
|
+
# default mask is used: `paths: "bindings, etag"`
|
3498
3318
|
# Corresponds to the JSON property `updateMask`
|
3499
3319
|
# @return [String]
|
3500
3320
|
attr_accessor :update_mask
|
@@ -3514,10 +3334,9 @@ module Google
|
|
3514
3334
|
class GoogleIamV1TestIamPermissionsRequest
|
3515
3335
|
include Google::Apis::Core::Hashable
|
3516
3336
|
|
3517
|
-
# The set of permissions to check for the `resource`. Permissions with
|
3518
|
-
#
|
3519
|
-
#
|
3520
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
3337
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
3338
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
3339
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
3521
3340
|
# Corresponds to the JSON property `permissions`
|
3522
3341
|
# @return [Array<String>]
|
3523
3342
|
attr_accessor :permissions
|
@@ -3536,8 +3355,7 @@ module Google
|
|
3536
3355
|
class GoogleIamV1TestIamPermissionsResponse
|
3537
3356
|
include Google::Apis::Core::Hashable
|
3538
3357
|
|
3539
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
3540
|
-
# allowed.
|
3358
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
3541
3359
|
# Corresponds to the JSON property `permissions`
|
3542
3360
|
# @return [Array<String>]
|
3543
3361
|
attr_accessor :permissions
|
@@ -3582,47 +3400,45 @@ module Google
|
|
3582
3400
|
class GoogleLongrunningOperation
|
3583
3401
|
include Google::Apis::Core::Hashable
|
3584
3402
|
|
3585
|
-
# If the value is `false`, it means the operation is still in progress.
|
3586
|
-
#
|
3587
|
-
# available.
|
3403
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
3404
|
+
# , the operation is completed, and either `error` or `response` is available.
|
3588
3405
|
# Corresponds to the JSON property `done`
|
3589
3406
|
# @return [Boolean]
|
3590
3407
|
attr_accessor :done
|
3591
3408
|
alias_method :done?, :done
|
3592
3409
|
|
3593
|
-
# The `Status` type defines a logical error model that is suitable for
|
3594
|
-
#
|
3595
|
-
#
|
3596
|
-
#
|
3597
|
-
#
|
3598
|
-
#
|
3410
|
+
# The `Status` type defines a logical error model that is suitable for different
|
3411
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3412
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
3413
|
+
# data: error code, error message, and error details. You can find out more
|
3414
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
3415
|
+
# //cloud.google.com/apis/design/errors).
|
3599
3416
|
# Corresponds to the JSON property `error`
|
3600
3417
|
# @return [Google::Apis::MlV1::GoogleRpcStatus]
|
3601
3418
|
attr_accessor :error
|
3602
3419
|
|
3603
|
-
# Service-specific metadata associated with the operation.
|
3604
|
-
#
|
3605
|
-
#
|
3606
|
-
#
|
3420
|
+
# Service-specific metadata associated with the operation. It typically contains
|
3421
|
+
# progress information and common metadata such as create time. Some services
|
3422
|
+
# might not provide such metadata. Any method that returns a long-running
|
3423
|
+
# operation should document the metadata type, if any.
|
3607
3424
|
# Corresponds to the JSON property `metadata`
|
3608
3425
|
# @return [Hash<String,Object>]
|
3609
3426
|
attr_accessor :metadata
|
3610
3427
|
|
3611
3428
|
# The server-assigned name, which is only unique within the same service that
|
3612
|
-
# originally returns it. If you use the default HTTP mapping, the
|
3613
|
-
#
|
3429
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
3430
|
+
# be a resource name ending with `operations/`unique_id``.
|
3614
3431
|
# Corresponds to the JSON property `name`
|
3615
3432
|
# @return [String]
|
3616
3433
|
attr_accessor :name
|
3617
3434
|
|
3618
|
-
# The normal response of the operation in case of success.
|
3619
|
-
# method returns no data on success, such as `Delete`, the response is
|
3620
|
-
#
|
3621
|
-
#
|
3622
|
-
#
|
3623
|
-
#
|
3624
|
-
#
|
3625
|
-
# `TakeSnapshotResponse`.
|
3435
|
+
# The normal response of the operation in case of success. If the original
|
3436
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
3437
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
3438
|
+
# the response should be the resource. For other methods, the response should
|
3439
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
3440
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
3441
|
+
# response type is `TakeSnapshotResponse`.
|
3626
3442
|
# Corresponds to the JSON property `response`
|
3627
3443
|
# @return [Hash<String,Object>]
|
3628
3444
|
attr_accessor :response
|
@@ -3641,13 +3457,11 @@ module Google
|
|
3641
3457
|
end
|
3642
3458
|
end
|
3643
3459
|
|
3644
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
3645
|
-
#
|
3646
|
-
#
|
3647
|
-
#
|
3648
|
-
#
|
3649
|
-
# `
|
3650
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
3460
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
3461
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
3462
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
3463
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
3464
|
+
# `Empty` is empty JSON object ````.
|
3651
3465
|
class GoogleProtobufEmpty
|
3652
3466
|
include Google::Apis::Core::Hashable
|
3653
3467
|
|
@@ -3660,12 +3474,12 @@ module Google
|
|
3660
3474
|
end
|
3661
3475
|
end
|
3662
3476
|
|
3663
|
-
# The `Status` type defines a logical error model that is suitable for
|
3664
|
-
#
|
3665
|
-
#
|
3666
|
-
#
|
3667
|
-
#
|
3668
|
-
#
|
3477
|
+
# The `Status` type defines a logical error model that is suitable for different
|
3478
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3479
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
3480
|
+
# data: error code, error message, and error details. You can find out more
|
3481
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
3482
|
+
# //cloud.google.com/apis/design/errors).
|
3669
3483
|
class GoogleRpcStatus
|
3670
3484
|
include Google::Apis::Core::Hashable
|
3671
3485
|
|
@@ -3674,15 +3488,15 @@ module Google
|
|
3674
3488
|
# @return [Fixnum]
|
3675
3489
|
attr_accessor :code
|
3676
3490
|
|
3677
|
-
# A list of messages that carry the error details.
|
3491
|
+
# A list of messages that carry the error details. There is a common set of
|
3678
3492
|
# message types for APIs to use.
|
3679
3493
|
# Corresponds to the JSON property `details`
|
3680
3494
|
# @return [Array<Hash<String,Object>>]
|
3681
3495
|
attr_accessor :details
|
3682
3496
|
|
3683
|
-
# A developer-facing error message, which should be in English. Any
|
3684
|
-
#
|
3685
|
-
#
|
3497
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
3498
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
3499
|
+
# field, or localized by the client.
|
3686
3500
|
# Corresponds to the JSON property `message`
|
3687
3501
|
# @return [String]
|
3688
3502
|
attr_accessor :message
|
@@ -3699,52 +3513,43 @@ module Google
|
|
3699
3513
|
end
|
3700
3514
|
end
|
3701
3515
|
|
3702
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
3703
|
-
#
|
3704
|
-
#
|
3705
|
-
#
|
3706
|
-
#
|
3707
|
-
# description: "Determines if
|
3708
|
-
# expression: "document.
|
3709
|
-
#
|
3710
|
-
#
|
3711
|
-
#
|
3712
|
-
#
|
3713
|
-
#
|
3714
|
-
#
|
3715
|
-
#
|
3716
|
-
#
|
3717
|
-
# Example (Data Manipulation):
|
3718
|
-
# title: "Notification string"
|
3719
|
-
# description: "Create a notification string with a timestamp."
|
3720
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
3721
|
-
# The exact variables and functions that may be referenced within an expression
|
3722
|
-
# are determined by the service that evaluates it. See the service
|
3723
|
-
# documentation for additional information.
|
3516
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
3517
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
3518
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
3519
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
3520
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
3521
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
3522
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
3523
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
3524
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
3525
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
3526
|
+
# string" description: "Create a notification string with a timestamp."
|
3527
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
3528
|
+
# exact variables and functions that may be referenced within an expression are
|
3529
|
+
# determined by the service that evaluates it. See the service documentation for
|
3530
|
+
# additional information.
|
3724
3531
|
class GoogleTypeExpr
|
3725
3532
|
include Google::Apis::Core::Hashable
|
3726
3533
|
|
3727
|
-
# Optional. Description of the expression. This is a longer text which
|
3728
|
-
#
|
3534
|
+
# Optional. Description of the expression. This is a longer text which describes
|
3535
|
+
# the expression, e.g. when hovered over it in a UI.
|
3729
3536
|
# Corresponds to the JSON property `description`
|
3730
3537
|
# @return [String]
|
3731
3538
|
attr_accessor :description
|
3732
3539
|
|
3733
|
-
# Textual representation of an expression in Common Expression Language
|
3734
|
-
# syntax.
|
3540
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
3735
3541
|
# Corresponds to the JSON property `expression`
|
3736
3542
|
# @return [String]
|
3737
3543
|
attr_accessor :expression
|
3738
3544
|
|
3739
|
-
# Optional. String indicating the location of the expression for error
|
3740
|
-
#
|
3545
|
+
# Optional. String indicating the location of the expression for error reporting,
|
3546
|
+
# e.g. a file name and a position in the file.
|
3741
3547
|
# Corresponds to the JSON property `location`
|
3742
3548
|
# @return [String]
|
3743
3549
|
attr_accessor :location
|
3744
3550
|
|
3745
|
-
# Optional. Title for the expression, i.e. a short string describing
|
3746
|
-
#
|
3747
|
-
# expression.
|
3551
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
3552
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
3748
3553
|
# Corresponds to the JSON property `title`
|
3749
3554
|
# @return [String]
|
3750
3555
|
attr_accessor :title
|