google-api-client 0.41.1 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +352 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +199 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +356 -339
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +272 -152
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +1898 -1067
- data/generated/google/apis/apigee_v1/representations.rb +542 -0
- data/generated/google/apis/apigee_v1/service.rb +1895 -1090
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +645 -900
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1_1.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -43
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +402 -48
- data/generated/google/apis/compute_alpha/representations.rb +103 -0
- data/generated/google/apis/compute_alpha/service.rb +38 -36
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +371 -41
- data/generated/google/apis/compute_beta/representations.rb +94 -0
- data/generated/google/apis/compute_beta/service.rb +347 -36
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +397 -40
- data/generated/google/apis/compute_v1/representations.rb +110 -0
- data/generated/google/apis/compute_v1/service.rb +341 -48
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +129 -2
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +136 -17
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +17 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +19 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -93
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +207 -330
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +236 -325
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1341 -1513
- data/generated/google/apis/dialogflow_v2/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1419 -1591
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +780 -1022
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1776 -1728
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -929
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +10 -6
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +77 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +82 -2
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +180 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- data/generated/google/apis/gameservices_v1/classes.rb +2175 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1432 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +301 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +230 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +72 -13
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +146 -16
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +355 -437
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +78 -96
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +365 -442
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -109
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +361 -441
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -93
- data/generated/google/apis/{groupsmigration_v1.rb → memcache_v1.rb} +11 -11
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -503
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +23 -17
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +97 -47
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +798 -2
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -28
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2017 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +50 -2
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1456 -1134
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +1225 -1274
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -27
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/run/
|
27
27
|
module RunV1alpha1
|
28
28
|
VERSION = 'V1alpha1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200720'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -47,53 +47,21 @@ module Google
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
# Specifies the audit configuration for a service.
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
# `
|
60
|
-
# "
|
61
|
-
# `
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# "log_type": "DATA_READ",
|
66
|
-
# "exempted_members": [
|
67
|
-
# "user:jose@example.com"
|
68
|
-
# ]
|
69
|
-
# `,
|
70
|
-
# `
|
71
|
-
# "log_type": "DATA_WRITE"
|
72
|
-
# `,
|
73
|
-
# `
|
74
|
-
# "log_type": "ADMIN_READ"
|
75
|
-
# `
|
76
|
-
# ]
|
77
|
-
# `,
|
78
|
-
# `
|
79
|
-
# "service": "sampleservice.googleapis.com",
|
80
|
-
# "audit_log_configs": [
|
81
|
-
# `
|
82
|
-
# "log_type": "DATA_READ"
|
83
|
-
# `,
|
84
|
-
# `
|
85
|
-
# "log_type": "DATA_WRITE",
|
86
|
-
# "exempted_members": [
|
87
|
-
# "user:aliya@example.com"
|
88
|
-
# ]
|
89
|
-
# `
|
90
|
-
# ]
|
91
|
-
# `
|
92
|
-
# ]
|
93
|
-
# `
|
94
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
95
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
96
|
-
# aliya@example.com from DATA_WRITE logging.
|
50
|
+
# Specifies the audit configuration for a service. The configuration determines
|
51
|
+
# which permission types are logged, and what identities, if any, are exempted
|
52
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
53
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
54
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
55
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
56
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
57
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
58
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
59
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
60
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
61
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
62
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
63
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
64
|
+
# DATA_WRITE logging.
|
97
65
|
class AuditConfig
|
98
66
|
include Google::Apis::Core::Hashable
|
99
67
|
|
@@ -102,9 +70,9 @@ module Google
|
|
102
70
|
# @return [Array<Google::Apis::RunV1alpha1::AuditLogConfig>]
|
103
71
|
attr_accessor :audit_log_configs
|
104
72
|
|
105
|
-
# Specifies a service that will be enabled for audit logging.
|
106
|
-
#
|
107
|
-
#
|
73
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
74
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
75
|
+
# value that covers all services.
|
108
76
|
# Corresponds to the JSON property `service`
|
109
77
|
# @return [String]
|
110
78
|
attr_accessor :service
|
@@ -120,28 +88,15 @@ module Google
|
|
120
88
|
end
|
121
89
|
end
|
122
90
|
|
123
|
-
# Provides the configuration for logging a type of permissions.
|
124
|
-
#
|
125
|
-
# `
|
126
|
-
#
|
127
|
-
#
|
128
|
-
# "log_type": "DATA_READ",
|
129
|
-
# "exempted_members": [
|
130
|
-
# "user:jose@example.com"
|
131
|
-
# ]
|
132
|
-
# `,
|
133
|
-
# `
|
134
|
-
# "log_type": "DATA_WRITE"
|
135
|
-
# `
|
136
|
-
# ]
|
137
|
-
# `
|
138
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
139
|
-
# jose@example.com from DATA_READ logging.
|
91
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
92
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
93
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
94
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
95
|
+
# DATA_READ logging.
|
140
96
|
class AuditLogConfig
|
141
97
|
include Google::Apis::Core::Hashable
|
142
98
|
|
143
|
-
# Specifies the identities that do not cause logging for this type of
|
144
|
-
# permission.
|
99
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
145
100
|
# Follows the same format of Binding.members.
|
146
101
|
# Corresponds to the JSON property `exemptedMembers`
|
147
102
|
# @return [Array<String>]
|
@@ -163,9 +118,9 @@ module Google
|
|
163
118
|
end
|
164
119
|
end
|
165
120
|
|
166
|
-
# A domain that a user has been authorized to administer. To authorize use
|
167
|
-
#
|
168
|
-
#
|
121
|
+
# A domain that a user has been authorized to administer. To authorize use of a
|
122
|
+
# domain, verify ownership via [Webmaster Central](https://www.google.com/
|
123
|
+
# webmasters/verification/home).
|
169
124
|
class AuthorizedDomain
|
170
125
|
include Google::Apis::Core::Hashable
|
171
126
|
|
@@ -174,8 +129,8 @@ module Google
|
|
174
129
|
# @return [String]
|
175
130
|
attr_accessor :id
|
176
131
|
|
177
|
-
# Read only. Full path to the `AuthorizedDomain` resource in the API.
|
178
|
-
#
|
132
|
+
# Read only. Full path to the `AuthorizedDomain` resource in the API. Example: `
|
133
|
+
# apps/myapp/authorizedDomains/example.com`.
|
179
134
|
# Corresponds to the JSON property `name`
|
180
135
|
# @return [String]
|
181
136
|
attr_accessor :name
|
@@ -195,69 +150,57 @@ module Google
|
|
195
150
|
class Binding
|
196
151
|
include Google::Apis::Core::Hashable
|
197
152
|
|
198
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
199
|
-
#
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
203
|
-
# description: "Determines if
|
204
|
-
# expression: "document.
|
205
|
-
#
|
206
|
-
#
|
207
|
-
#
|
208
|
-
#
|
209
|
-
#
|
210
|
-
#
|
211
|
-
#
|
212
|
-
#
|
213
|
-
# Example (Data Manipulation):
|
214
|
-
# title: "Notification string"
|
215
|
-
# description: "Create a notification string with a timestamp."
|
216
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
217
|
-
# The exact variables and functions that may be referenced within an expression
|
218
|
-
# are determined by the service that evaluates it. See the service
|
219
|
-
# documentation for additional information.
|
153
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
154
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
155
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
156
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
157
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
158
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
159
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
160
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
161
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
162
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
163
|
+
# string" description: "Create a notification string with a timestamp."
|
164
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
165
|
+
# exact variables and functions that may be referenced within an expression are
|
166
|
+
# determined by the service that evaluates it. See the service documentation for
|
167
|
+
# additional information.
|
220
168
|
# Corresponds to the JSON property `condition`
|
221
169
|
# @return [Google::Apis::RunV1alpha1::Expr]
|
222
170
|
attr_accessor :condition
|
223
171
|
|
224
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
230
|
-
# * `
|
231
|
-
# account. For example, `
|
232
|
-
# * `
|
233
|
-
#
|
234
|
-
#
|
235
|
-
# For example, `
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
# deleted
|
244
|
-
#
|
245
|
-
# If the
|
246
|
-
# `
|
247
|
-
# role in the binding.
|
248
|
-
#
|
249
|
-
#
|
250
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
251
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
252
|
-
# recovered group retains the role in the binding.
|
253
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
254
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
172
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
173
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
174
|
+
# that represents anyone who is on the internet; with or without a Google
|
175
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
176
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
177
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
178
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
179
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
180
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
181
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
182
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
183
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
184
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
185
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
186
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
187
|
+
# identifier) representing a service account that has been recently deleted. For
|
188
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
189
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
190
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
191
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
192
|
+
# identifier) representing a Google group that has been recently deleted. For
|
193
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
194
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
195
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
196
|
+
# primary) that represents all the users of that domain. For example, `google.
|
197
|
+
# com` or `example.com`.
|
255
198
|
# Corresponds to the JSON property `members`
|
256
199
|
# @return [Array<String>]
|
257
200
|
attr_accessor :members
|
258
201
|
|
259
|
-
# Role that is assigned to `members`.
|
260
|
-
#
|
202
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
203
|
+
# , or `roles/owner`.
|
261
204
|
# Corresponds to the JSON property `role`
|
262
205
|
# @return [String]
|
263
206
|
attr_accessor :role
|
@@ -278,14 +221,12 @@ module Google
|
|
278
221
|
class Capabilities
|
279
222
|
include Google::Apis::Core::Hashable
|
280
223
|
|
281
|
-
# Added capabilities
|
282
|
-
# +optional
|
224
|
+
# Added capabilities +optional
|
283
225
|
# Corresponds to the JSON property `add`
|
284
226
|
# @return [Array<String>]
|
285
227
|
attr_accessor :add
|
286
228
|
|
287
|
-
# Removed capabilities
|
288
|
-
# +optional
|
229
|
+
# Removed capabilities +optional
|
289
230
|
# Corresponds to the JSON property `drop`
|
290
231
|
# @return [Array<String>]
|
291
232
|
attr_accessor :drop
|
@@ -357,39 +298,36 @@ module Google
|
|
357
298
|
attr_accessor :ce_overrides
|
358
299
|
|
359
300
|
# Required. The method name at the service API. This must match "methodName" in
|
360
|
-
# Cloud
|
361
|
-
#
|
362
|
-
# Example: "google.cloud.bigquery.job.create".
|
301
|
+
# Cloud Audit Logs. Regex or Wildcards (*) are not supported. Example: "google.
|
302
|
+
# cloud.bigquery.job.create".
|
363
303
|
# Corresponds to the JSON property `methodName`
|
364
304
|
# @return [String]
|
365
305
|
attr_accessor :method_name
|
366
306
|
|
367
|
-
# Optional. The resource specification. This must match "methodName"
|
368
|
-
#
|
369
|
-
#
|
307
|
+
# Optional. The resource specification. This must match "methodName" in Cloud
|
308
|
+
# Audit Logs. Regex or Wildcards (*) are not supported. Example: "projects/my-
|
309
|
+
# project/jobs/foo".
|
370
310
|
# Corresponds to the JSON property `resourceName`
|
371
311
|
# @return [String]
|
372
312
|
attr_accessor :resource_name
|
373
313
|
|
374
314
|
# Optional. Email address of the IAM service account associated with the source.
|
375
|
-
# The
|
376
|
-
#
|
377
|
-
#
|
378
|
-
# project's default service account.
|
315
|
+
# The service account represents the identity of the source, and determines what
|
316
|
+
# permissions the source has. If not provided, the source will use the project's
|
317
|
+
# default service account.
|
379
318
|
# Corresponds to the JSON property `serviceAccountName`
|
380
319
|
# @return [String]
|
381
320
|
attr_accessor :service_account_name
|
382
321
|
|
383
322
|
# Required. The GCP service name. This must match "serviceName" in Cloud Audit
|
384
|
-
# Logs.
|
385
|
-
#
|
386
|
-
# Example: "bigquery.googleapis.com".
|
323
|
+
# Logs. Regex or Wildcards (*) are not supported. Example: "bigquery.googleapis.
|
324
|
+
# com".
|
387
325
|
# Corresponds to the JSON property `serviceName`
|
388
326
|
# @return [String]
|
389
327
|
attr_accessor :service_name
|
390
328
|
|
391
|
-
# Sink is a reference to an object that will resolve to a domain name or a
|
392
|
-
#
|
329
|
+
# Sink is a reference to an object that will resolve to a domain name or a URI
|
330
|
+
# directly to use as the sink.
|
393
331
|
# Corresponds to the JSON property `sink`
|
394
332
|
# @return [Google::Apis::RunV1alpha1::Destination]
|
395
333
|
attr_accessor :sink
|
@@ -414,20 +352,19 @@ module Google
|
|
414
352
|
class CloudAuditLogsSourceStatus
|
415
353
|
include Google::Apis::Core::Hashable
|
416
354
|
|
417
|
-
# Array of observed CloudAuditLogsSourceConditions, indicating the current
|
418
|
-
#
|
355
|
+
# Array of observed CloudAuditLogsSourceConditions, indicating the current state
|
356
|
+
# of the CloudAuditLogsSource.
|
419
357
|
# Corresponds to the JSON property `conditions`
|
420
358
|
# @return [Array<Google::Apis::RunV1alpha1::Condition>]
|
421
359
|
attr_accessor :conditions
|
422
360
|
|
423
|
-
# ObservedGeneration is the 'Generation' of the CloudAuditLogsSource that
|
424
|
-
#
|
361
|
+
# ObservedGeneration is the 'Generation' of the CloudAuditLogsSource that was
|
362
|
+
# last processed by the controller.
|
425
363
|
# Corresponds to the JSON property `observedGeneration`
|
426
364
|
# @return [Fixnum]
|
427
365
|
attr_accessor :observed_generation
|
428
366
|
|
429
|
-
# SinkURI is the current active sink URI that has been configured for the
|
430
|
-
# Source.
|
367
|
+
# SinkURI is the current active sink URI that has been configured for the Source.
|
431
368
|
# +optional
|
432
369
|
# Corresponds to the JSON property `sinkUri`
|
433
370
|
# @return [String]
|
@@ -451,9 +388,8 @@ module Google
|
|
451
388
|
include Google::Apis::Core::Hashable
|
452
389
|
|
453
390
|
# Extensions specify what attribute are added or overridden on the outbound
|
454
|
-
# event. Each `Extensions` key-value pair are set on the event as an
|
455
|
-
#
|
456
|
-
# +optional
|
391
|
+
# event. Each `Extensions` key-value pair are set on the event as an attribute
|
392
|
+
# extension independently. +optional
|
457
393
|
# Corresponds to the JSON property `extensions`
|
458
394
|
# @return [Hash<String,String>]
|
459
395
|
attr_accessor :extensions
|
@@ -516,10 +452,9 @@ module Google
|
|
516
452
|
class CloudPubSubSourceSpec
|
517
453
|
include Google::Apis::Core::Hashable
|
518
454
|
|
519
|
-
# AckDeadline is the default maximum time after a subscriber receives a
|
520
|
-
#
|
521
|
-
#
|
522
|
-
# +optional
|
455
|
+
# AckDeadline is the default maximum time after a subscriber receives a message
|
456
|
+
# before the subscriber should acknowledge the message. Defaults to 30 seconds ('
|
457
|
+
# 30s'). +optional
|
523
458
|
# Corresponds to the JSON property `ackDeadline`
|
524
459
|
# @return [String]
|
525
460
|
attr_accessor :ack_deadline
|
@@ -530,54 +465,50 @@ module Google
|
|
530
465
|
# @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
|
531
466
|
attr_accessor :ce_overrides
|
532
467
|
|
533
|
-
# Project is the ID of the Google Cloud Project that the CloudPubSubSource
|
534
|
-
#
|
468
|
+
# Project is the ID of the Google Cloud Project that the CloudPubSubSource Topic
|
469
|
+
# exists in. If omitted, defaults to same as the cluster. +optional
|
535
470
|
# Corresponds to the JSON property `project`
|
536
471
|
# @return [String]
|
537
472
|
attr_accessor :project
|
538
473
|
|
539
|
-
# Cloud Run fully managed: not supported
|
540
|
-
# Cloud Run on GKE: supported
|
474
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
541
475
|
# SecretKeySelector selects a key of a Secret.
|
542
476
|
# Corresponds to the JSON property `pubsubSecret`
|
543
477
|
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
544
478
|
attr_accessor :pubsub_secret
|
545
479
|
|
546
|
-
# RetainAckedMessages defines whether to retain acknowledged messages. If
|
547
|
-
#
|
548
|
-
#
|
480
|
+
# RetainAckedMessages defines whether to retain acknowledged messages. If true,
|
481
|
+
# acknowledged messages will not be expunged until they fall out of the
|
482
|
+
# RetentionDuration window.
|
549
483
|
# Corresponds to the JSON property `retainAckedMessages`
|
550
484
|
# @return [Boolean]
|
551
485
|
attr_accessor :retain_acked_messages
|
552
486
|
alias_method :retain_acked_messages?, :retain_acked_messages
|
553
487
|
|
554
|
-
# RetentionDuration defines how long to retain messages in backlog, from
|
555
|
-
#
|
556
|
-
#
|
557
|
-
#
|
558
|
-
#
|
559
|
-
# +optional
|
488
|
+
# RetentionDuration defines how long to retain messages in backlog, from the
|
489
|
+
# time of publish. If RetainAckedMessages is true, this duration affects the
|
490
|
+
# retention of acknowledged messages, otherwise only unacknowledged messages are
|
491
|
+
# retained. Cannot be longer than 7 days or shorter than 10 minutes. Defaults to
|
492
|
+
# 7 days ('7d'). +optional
|
560
493
|
# Corresponds to the JSON property `retentionDuration`
|
561
494
|
# @return [String]
|
562
495
|
attr_accessor :retention_duration
|
563
496
|
|
564
|
-
# Cloud Run fully managed: not supported
|
565
|
-
# Cloud Run on GKE: supported
|
497
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
566
498
|
# SecretKeySelector selects a key of a Secret.
|
567
499
|
# Corresponds to the JSON property `secret`
|
568
500
|
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
569
501
|
attr_accessor :secret
|
570
502
|
|
571
|
-
# Sink is a reference to an object that will resolve to a domain name or a
|
572
|
-
#
|
503
|
+
# Sink is a reference to an object that will resolve to a domain name or a URI
|
504
|
+
# directly to use as the sink.
|
573
505
|
# Corresponds to the JSON property `sink`
|
574
506
|
# @return [Google::Apis::RunV1alpha1::Destination]
|
575
507
|
attr_accessor :sink
|
576
508
|
|
577
|
-
# Topic is the ID of the CloudPubSubSource Topic to Subscribe to. It must
|
578
|
-
#
|
579
|
-
#
|
580
|
-
# 'projects/my-proj/topics/laconia'.
|
509
|
+
# Topic is the ID of the CloudPubSubSource Topic to Subscribe to. It must be in
|
510
|
+
# the form of the unique identifier within the project, not the entire name. E.g.
|
511
|
+
# it must be 'laconia', not 'projects/my-proj/topics/laconia'.
|
581
512
|
# Corresponds to the JSON property `topic`
|
582
513
|
# @return [String]
|
583
514
|
attr_accessor :topic
|
@@ -604,20 +535,19 @@ module Google
|
|
604
535
|
class CloudPubSubSourceStatus
|
605
536
|
include Google::Apis::Core::Hashable
|
606
537
|
|
607
|
-
# Array of observed CloudPubSubSourceConditions, indicating the current state
|
608
|
-
#
|
538
|
+
# Array of observed CloudPubSubSourceConditions, indicating the current state of
|
539
|
+
# the CloudPubSubSource.
|
609
540
|
# Corresponds to the JSON property `conditions`
|
610
541
|
# @return [Array<Google::Apis::RunV1alpha1::Condition>]
|
611
542
|
attr_accessor :conditions
|
612
543
|
|
613
|
-
# ObservedGeneration is the 'Generation' of the CloudPubSubSource that
|
614
|
-
#
|
544
|
+
# ObservedGeneration is the 'Generation' of the CloudPubSubSource that was last
|
545
|
+
# processed by the controller.
|
615
546
|
# Corresponds to the JSON property `observedGeneration`
|
616
547
|
# @return [Fixnum]
|
617
548
|
attr_accessor :observed_generation
|
618
549
|
|
619
|
-
# SinkURI is the current active sink URI that has been configured for the
|
620
|
-
# Source.
|
550
|
+
# SinkURI is the current active sink URI that has been configured for the Source.
|
621
551
|
# +optional
|
622
552
|
# Corresponds to the JSON property `sinkUri`
|
623
553
|
# @return [String]
|
@@ -700,34 +630,31 @@ module Google
|
|
700
630
|
# @return [String]
|
701
631
|
attr_accessor :location
|
702
632
|
|
703
|
-
# Project is the ID of the Google Cloud Project that the CloudPubSubSource
|
704
|
-
#
|
633
|
+
# Project is the ID of the Google Cloud Project that the CloudPubSubSource Topic
|
634
|
+
# exists in. If omitted, defaults to same as the cluster.
|
705
635
|
# Corresponds to the JSON property `project`
|
706
636
|
# @return [String]
|
707
637
|
attr_accessor :project
|
708
638
|
|
709
|
-
# Cloud Run fully managed: not supported
|
710
|
-
# Cloud Run on GKE: supported
|
639
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
711
640
|
# SecretKeySelector selects a key of a Secret.
|
712
641
|
# Corresponds to the JSON property `pubsubSecret`
|
713
642
|
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
714
643
|
attr_accessor :pubsub_secret
|
715
644
|
|
716
|
-
# Schedule in cron format, for example: "* * * * *" would be run
|
717
|
-
# every minute.
|
645
|
+
# Schedule in cron format, for example: "* * * * *" would be run every minute.
|
718
646
|
# Corresponds to the JSON property `schedule`
|
719
647
|
# @return [String]
|
720
648
|
attr_accessor :schedule
|
721
649
|
|
722
|
-
# Cloud Run fully managed: not supported
|
723
|
-
# Cloud Run on GKE: supported
|
650
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
724
651
|
# SecretKeySelector selects a key of a Secret.
|
725
652
|
# Corresponds to the JSON property `secret`
|
726
653
|
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
727
654
|
attr_accessor :secret
|
728
655
|
|
729
|
-
# Sink is a reference to an object that will resolve to a domain name or a
|
730
|
-
#
|
656
|
+
# Sink is a reference to an object that will resolve to a domain name or a URI
|
657
|
+
# directly to use as the sink.
|
731
658
|
# Corresponds to the JSON property `sink`
|
732
659
|
# @return [Google::Apis::RunV1alpha1::Destination]
|
733
660
|
attr_accessor :sink
|
@@ -754,20 +681,19 @@ module Google
|
|
754
681
|
class CloudSchedulerSourceStatus
|
755
682
|
include Google::Apis::Core::Hashable
|
756
683
|
|
757
|
-
# Array of observed CloudSchedulerSourceConditions, indicating the current
|
758
|
-
#
|
684
|
+
# Array of observed CloudSchedulerSourceConditions, indicating the current state
|
685
|
+
# of the CloudSchedulerSource.
|
759
686
|
# Corresponds to the JSON property `conditions`
|
760
687
|
# @return [Array<Google::Apis::RunV1alpha1::Condition>]
|
761
688
|
attr_accessor :conditions
|
762
689
|
|
763
|
-
# ObservedGeneration is the 'Generation' of the CloudSchedulerSource that
|
764
|
-
#
|
690
|
+
# ObservedGeneration is the 'Generation' of the CloudSchedulerSource that was
|
691
|
+
# last processed by the controller.
|
765
692
|
# Corresponds to the JSON property `observedGeneration`
|
766
693
|
# @return [Fixnum]
|
767
694
|
attr_accessor :observed_generation
|
768
695
|
|
769
|
-
# SinkURI is the current active sink URI that has been configured for the
|
770
|
-
# Source.
|
696
|
+
# SinkURI is the current active sink URI that has been configured for the Source.
|
771
697
|
# Corresponds to the JSON property `sinkUri`
|
772
698
|
# @return [String]
|
773
699
|
attr_accessor :sink_uri
|
@@ -809,8 +735,7 @@ module Google
|
|
809
735
|
# @return [Google::Apis::RunV1alpha1::CloudStorageSourceSpec]
|
810
736
|
attr_accessor :spec
|
811
737
|
|
812
|
-
# CloudStorageSourceStatus represents the current state of a
|
813
|
-
# CloudStorageSource.
|
738
|
+
# CloudStorageSourceStatus represents the current state of a CloudStorageSource.
|
814
739
|
# Corresponds to the JSON property `status`
|
815
740
|
# @return [Google::Apis::RunV1alpha1::CloudStorageSourceStatus]
|
816
741
|
attr_accessor :status
|
@@ -854,42 +779,39 @@ module Google
|
|
854
779
|
# @return [String]
|
855
780
|
attr_accessor :object_name_prefix
|
856
781
|
|
857
|
-
# PayloadFormat specifies the contents of the message payload.
|
858
|
-
#
|
782
|
+
# PayloadFormat specifies the contents of the message payload. See https://cloud.
|
783
|
+
# google.com/storage/docs/pubsub-notifications#payload.
|
859
784
|
# Corresponds to the JSON property `payloadFormat`
|
860
785
|
# @return [String]
|
861
786
|
attr_accessor :payload_format
|
862
787
|
|
863
|
-
# Project is the ID of the Google Cloud Project that the PubSub Topic exists
|
864
|
-
#
|
788
|
+
# Project is the ID of the Google Cloud Project that the PubSub Topic exists in.
|
789
|
+
# If omitted, defaults to same as the cluster.
|
865
790
|
# Corresponds to the JSON property `project`
|
866
791
|
# @return [String]
|
867
792
|
attr_accessor :project
|
868
793
|
|
869
|
-
# Cloud Run fully managed: not supported
|
870
|
-
# Cloud Run on GKE: supported
|
794
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
871
795
|
# SecretKeySelector selects a key of a Secret.
|
872
796
|
# Corresponds to the JSON property `pubsubSecret`
|
873
797
|
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
874
798
|
attr_accessor :pubsub_secret
|
875
799
|
|
876
|
-
# Cloud Run fully managed: not supported
|
877
|
-
# Cloud Run on GKE: supported
|
800
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
878
801
|
# SecretKeySelector selects a key of a Secret.
|
879
802
|
# Corresponds to the JSON property `secret`
|
880
803
|
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
881
804
|
attr_accessor :secret
|
882
805
|
|
883
|
-
# ServiceAccountName holds the name of the Kubernetes service account
|
884
|
-
#
|
885
|
-
#
|
886
|
-
# in which the GCS exists.
|
806
|
+
# ServiceAccountName holds the name of the Kubernetes service account as which
|
807
|
+
# the underlying K8s resources should be run. If unspecified this will default
|
808
|
+
# to the "default" service account for the namespace in which the GCS exists.
|
887
809
|
# Corresponds to the JSON property `serviceAccountName`
|
888
810
|
# @return [String]
|
889
811
|
attr_accessor :service_account_name
|
890
812
|
|
891
|
-
# Sink is a reference to an object that will resolve to a domain name or a
|
892
|
-
#
|
813
|
+
# Sink is a reference to an object that will resolve to a domain name or a URI
|
814
|
+
# directly to use as the sink.
|
893
815
|
# Corresponds to the JSON property `sink`
|
894
816
|
# @return [Google::Apis::RunV1alpha1::Destination]
|
895
817
|
attr_accessor :sink
|
@@ -913,25 +835,23 @@ module Google
|
|
913
835
|
end
|
914
836
|
end
|
915
837
|
|
916
|
-
# CloudStorageSourceStatus represents the current state of a
|
917
|
-
# CloudStorageSource.
|
838
|
+
# CloudStorageSourceStatus represents the current state of a CloudStorageSource.
|
918
839
|
class CloudStorageSourceStatus
|
919
840
|
include Google::Apis::Core::Hashable
|
920
841
|
|
921
|
-
# Array of observed CloudStorageSourceConditions, indicating the current
|
922
|
-
#
|
842
|
+
# Array of observed CloudStorageSourceConditions, indicating the current state
|
843
|
+
# of the CloudStorageSource.
|
923
844
|
# Corresponds to the JSON property `conditions`
|
924
845
|
# @return [Array<Google::Apis::RunV1alpha1::Condition>]
|
925
846
|
attr_accessor :conditions
|
926
847
|
|
927
|
-
# ObservedGeneration is the 'Generation' of the CloudStorageSource that
|
928
|
-
#
|
848
|
+
# ObservedGeneration is the 'Generation' of the CloudStorageSource that was last
|
849
|
+
# processed by the controller.
|
929
850
|
# Corresponds to the JSON property `observedGeneration`
|
930
851
|
# @return [Fixnum]
|
931
852
|
attr_accessor :observed_generation
|
932
853
|
|
933
|
-
# SinkURI is the current active sink URI that has been configured for the
|
934
|
-
# Source.
|
854
|
+
# SinkURI is the current active sink URI that has been configured for the Source.
|
935
855
|
# Corresponds to the JSON property `sinkUri`
|
936
856
|
# @return [String]
|
937
857
|
attr_accessor :sink_uri
|
@@ -978,12 +898,10 @@ module Google
|
|
978
898
|
# @return [String]
|
979
899
|
attr_accessor :status
|
980
900
|
|
981
|
-
# type is used to communicate the status of the reconciliation process.
|
982
|
-
# See also:
|
901
|
+
# type is used to communicate the status of the reconciliation process. See also:
|
983
902
|
# https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
|
984
|
-
# conditions-and-reporting
|
985
|
-
#
|
986
|
-
# * "Ready": True when the Resource is ready.
|
903
|
+
# conditions-and-reporting Types common to all resources include: * "Ready":
|
904
|
+
# True when the Resource is ready.
|
987
905
|
# Corresponds to the JSON property `type`
|
988
906
|
# @return [String]
|
989
907
|
attr_accessor :type
|
@@ -1003,10 +921,9 @@ module Google
|
|
1003
921
|
end
|
1004
922
|
end
|
1005
923
|
|
1006
|
-
# ConfigMapEnvSource selects a ConfigMap to populate the environment
|
1007
|
-
#
|
1008
|
-
#
|
1009
|
-
# key-value pairs as environment variables.
|
924
|
+
# ConfigMapEnvSource selects a ConfigMap to populate the environment variables
|
925
|
+
# with. The contents of the target ConfigMap's Data field will represent the key-
|
926
|
+
# value pairs as environment variables.
|
1010
927
|
class ConfigMapEnvSource
|
1011
928
|
include Google::Apis::Core::Hashable
|
1012
929
|
|
@@ -1016,17 +933,14 @@ module Google
|
|
1016
933
|
# @return [Google::Apis::RunV1alpha1::LocalObjectReference]
|
1017
934
|
attr_accessor :local_object_reference
|
1018
935
|
|
1019
|
-
# Cloud Run fully managed: not supported
|
1020
|
-
#
|
1021
|
-
# The ConfigMap to select from.
|
936
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The
|
937
|
+
# ConfigMap to select from.
|
1022
938
|
# Corresponds to the JSON property `name`
|
1023
939
|
# @return [String]
|
1024
940
|
attr_accessor :name
|
1025
941
|
|
1026
|
-
# Cloud Run fully managed: not supported
|
1027
|
-
#
|
1028
|
-
# Specify whether the ConfigMap must be defined
|
1029
|
-
# +optional
|
942
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Specify
|
943
|
+
# whether the ConfigMap must be defined +optional
|
1030
944
|
# Corresponds to the JSON property `optional`
|
1031
945
|
# @return [Boolean]
|
1032
946
|
attr_accessor :optional
|
@@ -1044,15 +958,13 @@ module Google
|
|
1044
958
|
end
|
1045
959
|
end
|
1046
960
|
|
1047
|
-
# Cloud Run fully managed: not supported
|
1048
|
-
#
|
1049
|
-
# Selects a key from a ConfigMap.
|
961
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Selects a
|
962
|
+
# key from a ConfigMap.
|
1050
963
|
class ConfigMapKeySelector
|
1051
964
|
include Google::Apis::Core::Hashable
|
1052
965
|
|
1053
|
-
# Cloud Run fully managed: not supported
|
1054
|
-
#
|
1055
|
-
# The key to select.
|
966
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported The key to
|
967
|
+
# select.
|
1056
968
|
# Corresponds to the JSON property `key`
|
1057
969
|
# @return [String]
|
1058
970
|
attr_accessor :key
|
@@ -1063,17 +975,14 @@ module Google
|
|
1063
975
|
# @return [Google::Apis::RunV1alpha1::LocalObjectReference]
|
1064
976
|
attr_accessor :local_object_reference
|
1065
977
|
|
1066
|
-
# Cloud Run fully managed: not supported
|
1067
|
-
#
|
1068
|
-
# The ConfigMap to select from.
|
978
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported The
|
979
|
+
# ConfigMap to select from.
|
1069
980
|
# Corresponds to the JSON property `name`
|
1070
981
|
# @return [String]
|
1071
982
|
attr_accessor :name
|
1072
983
|
|
1073
|
-
# Cloud Run fully managed: not supported
|
1074
|
-
#
|
1075
|
-
# Specify whether the ConfigMap or its key must be defined
|
1076
|
-
# +optional
|
984
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Specify
|
985
|
+
# whether the ConfigMap or its key must be defined +optional
|
1077
986
|
# Corresponds to the JSON property `optional`
|
1078
987
|
# @return [Boolean]
|
1079
988
|
attr_accessor :optional
|
@@ -1092,27 +1001,27 @@ module Google
|
|
1092
1001
|
end
|
1093
1002
|
end
|
1094
1003
|
|
1095
|
-
# Adapts a ConfigMap into a volume.
|
1096
|
-
#
|
1097
|
-
#
|
1098
|
-
#
|
1004
|
+
# Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data
|
1005
|
+
# field will be presented in a volume as files using the keys in the Data field
|
1006
|
+
# as the file names, unless the items element is populated with specific
|
1007
|
+
# mappings of keys to paths.
|
1099
1008
|
class ConfigMapVolumeSource
|
1100
1009
|
include Google::Apis::Core::Hashable
|
1101
1010
|
|
1102
1011
|
# Mode bits to use on created files by default. Must be a value between 0 and
|
1103
|
-
# 0777. Defaults to 0644. Directories within the path are not affected by
|
1104
|
-
#
|
1105
|
-
#
|
1012
|
+
# 0777. Defaults to 0644. Directories within the path are not affected by this
|
1013
|
+
# setting. This might be in conflict with other options that affect the file
|
1014
|
+
# mode, like fsGroup, and the result can be other mode bits set.
|
1106
1015
|
# Corresponds to the JSON property `defaultMode`
|
1107
1016
|
# @return [Fixnum]
|
1108
1017
|
attr_accessor :default_mode
|
1109
1018
|
|
1110
|
-
# If unspecified, each key-value pair in the Data field of the referenced
|
1111
|
-
#
|
1112
|
-
#
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
#
|
1019
|
+
# If unspecified, each key-value pair in the Data field of the referenced Secret
|
1020
|
+
# will be projected into the volume as a file whose name is the key and content
|
1021
|
+
# is the value. If specified, the listed keys will be projected into the
|
1022
|
+
# specified paths, and unlisted keys will not be present. If a key is specified
|
1023
|
+
# which is not present in the Secret, the volume setup will error unless it is
|
1024
|
+
# marked optional.
|
1116
1025
|
# Corresponds to the JSON property `items`
|
1117
1026
|
# @return [Array<Google::Apis::RunV1alpha1::KeyToPath>]
|
1118
1027
|
attr_accessor :items
|
@@ -1141,13 +1050,12 @@ module Google
|
|
1141
1050
|
end
|
1142
1051
|
end
|
1143
1052
|
|
1144
|
-
# Configuration represents the "floating HEAD" of a linear history of
|
1145
|
-
#
|
1146
|
-
#
|
1147
|
-
#
|
1148
|
-
#
|
1149
|
-
#
|
1150
|
-
# configuration
|
1053
|
+
# Configuration represents the "floating HEAD" of a linear history of Revisions,
|
1054
|
+
# and optionally how the containers those revisions reference are built. Users
|
1055
|
+
# create new Revisions by updating the Configuration's spec. The "latest created"
|
1056
|
+
# revision's name is available under status, as is the "latest ready" revision'
|
1057
|
+
# s name. See also: https://github.com/knative/serving/blob/master/docs/spec/
|
1058
|
+
# overview.md#configuration
|
1151
1059
|
class Configuration
|
1152
1060
|
include Google::Apis::Core::Hashable
|
1153
1061
|
|
@@ -1173,8 +1081,8 @@ module Google
|
|
1173
1081
|
# @return [Google::Apis::RunV1alpha1::ConfigurationSpec]
|
1174
1082
|
attr_accessor :spec
|
1175
1083
|
|
1176
|
-
# ConfigurationStatus communicates the observed state of the Configuration
|
1177
|
-
#
|
1084
|
+
# ConfigurationStatus communicates the observed state of the Configuration (from
|
1085
|
+
# the controller).
|
1178
1086
|
# Corresponds to the JSON property `status`
|
1179
1087
|
# @return [Google::Apis::RunV1alpha1::ConfigurationStatus]
|
1180
1088
|
attr_accessor :status
|
@@ -1197,26 +1105,23 @@ module Google
|
|
1197
1105
|
class ConfigurationCondition
|
1198
1106
|
include Google::Apis::Core::Hashable
|
1199
1107
|
|
1200
|
-
# Last time the condition transitioned from one status to another.
|
1201
|
-
# +optional
|
1108
|
+
# Last time the condition transitioned from one status to another. +optional
|
1202
1109
|
# Corresponds to the JSON property `lastTransitionTime`
|
1203
1110
|
# @return [String]
|
1204
1111
|
attr_accessor :last_transition_time
|
1205
1112
|
|
1206
|
-
# Human-readable message indicating details about last transition.
|
1207
|
-
# +optional
|
1113
|
+
# Human-readable message indicating details about last transition. +optional
|
1208
1114
|
# Corresponds to the JSON property `message`
|
1209
1115
|
# @return [String]
|
1210
1116
|
attr_accessor :message
|
1211
1117
|
|
1212
|
-
# One-word CamelCase reason for the condition's last transition.
|
1213
|
-
# +optional
|
1118
|
+
# One-word CamelCase reason for the condition's last transition. +optional
|
1214
1119
|
# Corresponds to the JSON property `reason`
|
1215
1120
|
# @return [String]
|
1216
1121
|
attr_accessor :reason
|
1217
1122
|
|
1218
|
-
# How to interpret failures of this condition, one of Error, Warning, Info
|
1219
|
-
#
|
1123
|
+
# How to interpret failures of this condition, one of Error, Warning, Info +
|
1124
|
+
# optional
|
1220
1125
|
# Corresponds to the JSON property `severity`
|
1221
1126
|
# @return [String]
|
1222
1127
|
attr_accessor :severity
|
@@ -1227,10 +1132,8 @@ module Google
|
|
1227
1132
|
attr_accessor :status
|
1228
1133
|
|
1229
1134
|
# ConfigurationConditionType is used to communicate the status of the
|
1230
|
-
# reconciliation process. See also:
|
1231
|
-
#
|
1232
|
-
# conditions-and-reporting
|
1233
|
-
# Types include:"Ready"
|
1135
|
+
# reconciliation process. See also: https://github.com/knative/serving/blob/
|
1136
|
+
# master/docs/spec/errors.md#error-conditions-and-reporting Types include:"Ready"
|
1234
1137
|
# Corresponds to the JSON property `type`
|
1235
1138
|
# @return [String]
|
1236
1139
|
attr_accessor :type
|
@@ -1255,24 +1158,23 @@ module Google
|
|
1255
1158
|
class ConfigurationSpec
|
1256
1159
|
include Google::Apis::Core::Hashable
|
1257
1160
|
|
1258
|
-
# Deprecated and not currently populated by Cloud Run. See
|
1259
|
-
#
|
1260
|
-
#
|
1261
|
-
# Read-only.
|
1161
|
+
# Deprecated and not currently populated by Cloud Run. See metadata.generation
|
1162
|
+
# instead, which is the sequence number containing the latest generation of the
|
1163
|
+
# desired state. Read-only.
|
1262
1164
|
# Corresponds to the JSON property `generation`
|
1263
1165
|
# @return [Fixnum]
|
1264
1166
|
attr_accessor :generation
|
1265
1167
|
|
1266
1168
|
# RevisionTemplateSpec describes the data a revision should have when created
|
1267
|
-
# from a template. Based on:
|
1268
|
-
#
|
1169
|
+
# from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/
|
1170
|
+
# core/v1/types.go#L3179-L3190
|
1269
1171
|
# Corresponds to the JSON property `revisionTemplate`
|
1270
1172
|
# @return [Google::Apis::RunV1alpha1::RevisionTemplate]
|
1271
1173
|
attr_accessor :revision_template
|
1272
1174
|
|
1273
1175
|
# RevisionTemplateSpec describes the data a revision should have when created
|
1274
|
-
# from a template. Based on:
|
1275
|
-
#
|
1176
|
+
# from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/
|
1177
|
+
# core/v1/types.go#L3179-L3190
|
1276
1178
|
# Corresponds to the JSON property `template`
|
1277
1179
|
# @return [Google::Apis::RunV1alpha1::RevisionTemplate]
|
1278
1180
|
attr_accessor :template
|
@@ -1289,37 +1191,34 @@ module Google
|
|
1289
1191
|
end
|
1290
1192
|
end
|
1291
1193
|
|
1292
|
-
# ConfigurationStatus communicates the observed state of the Configuration
|
1293
|
-
#
|
1194
|
+
# ConfigurationStatus communicates the observed state of the Configuration (from
|
1195
|
+
# the controller).
|
1294
1196
|
class ConfigurationStatus
|
1295
1197
|
include Google::Apis::Core::Hashable
|
1296
1198
|
|
1297
|
-
# Conditions communicates information about ongoing/complete
|
1298
|
-
#
|
1299
|
-
# state of the world.
|
1199
|
+
# Conditions communicates information about ongoing/complete reconciliation
|
1200
|
+
# processes that bring the "spec" inline with the observed state of the world.
|
1300
1201
|
# Corresponds to the JSON property `conditions`
|
1301
1202
|
# @return [Array<Google::Apis::RunV1alpha1::ConfigurationCondition>]
|
1302
1203
|
attr_accessor :conditions
|
1303
1204
|
|
1304
1205
|
# LatestCreatedRevisionName is the last revision that was created from this
|
1305
|
-
# Configuration. It might not be ready yet, for that use
|
1306
|
-
# LatestReadyRevisionName.
|
1206
|
+
# Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
|
1307
1207
|
# Corresponds to the JSON property `latestCreatedRevisionName`
|
1308
1208
|
# @return [String]
|
1309
1209
|
attr_accessor :latest_created_revision_name
|
1310
1210
|
|
1311
|
-
# LatestReadyRevisionName holds the name of the latest Revision stamped out
|
1312
|
-
#
|
1211
|
+
# LatestReadyRevisionName holds the name of the latest Revision stamped out from
|
1212
|
+
# this Configuration that has had its "Ready" condition become "True".
|
1313
1213
|
# Corresponds to the JSON property `latestReadyRevisionName`
|
1314
1214
|
# @return [String]
|
1315
1215
|
attr_accessor :latest_ready_revision_name
|
1316
1216
|
|
1317
|
-
# ObservedGeneration is the 'Generation' of the Configuration that
|
1318
|
-
#
|
1319
|
-
#
|
1320
|
-
#
|
1321
|
-
#
|
1322
|
-
# is True or False.
|
1217
|
+
# ObservedGeneration is the 'Generation' of the Configuration that was last
|
1218
|
+
# processed by the controller. The observed generation is updated even if the
|
1219
|
+
# controller failed to process the spec and create the Revision. Clients polling
|
1220
|
+
# for completed reconciliation should poll until observedGeneration = metadata.
|
1221
|
+
# generation, and the Ready condition's status is True or False.
|
1323
1222
|
# Corresponds to the JSON property `observedGeneration`
|
1324
1223
|
# @return [Fixnum]
|
1325
1224
|
attr_accessor :observed_generation
|
@@ -1337,85 +1236,70 @@ module Google
|
|
1337
1236
|
end
|
1338
1237
|
end
|
1339
1238
|
|
1340
|
-
# A single application container.
|
1341
|
-
#
|
1342
|
-
#
|
1343
|
-
# Note that additional arguments may be supplied by the system to the container
|
1344
|
-
# at runtime.
|
1239
|
+
# A single application container. This specifies both the container to run, the
|
1240
|
+
# command to run in the container and the arguments to supply to it. Note that
|
1241
|
+
# additional arguments may be supplied by the system to the container at runtime.
|
1345
1242
|
class Container
|
1346
1243
|
include Google::Apis::Core::Hashable
|
1347
1244
|
|
1348
|
-
# Arguments to the entrypoint.
|
1349
|
-
#
|
1350
|
-
# Variable references $(VAR_NAME) are expanded using the container's
|
1245
|
+
# Arguments to the entrypoint. The docker image's CMD is used if this is not
|
1246
|
+
# provided. Variable references $(VAR_NAME) are expanded using the container's
|
1351
1247
|
# environment. If a variable cannot be resolved, the reference in the input
|
1352
|
-
# string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
|
1353
|
-
#
|
1354
|
-
#
|
1355
|
-
#
|
1356
|
-
#
|
1357
|
-
# https://kubernetes.io/docs/tasks/inject-data-application/define-command-
|
1358
|
-
# argument-container/#running-a-command-in-a-shell
|
1359
|
-
# +optional
|
1248
|
+
# string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $
|
1249
|
+
# $, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of
|
1250
|
+
# whether the variable exists or not. Cannot be updated. More info: https://
|
1251
|
+
# kubernetes.io/docs/tasks/inject-data-application/define-command-argument-
|
1252
|
+
# container/#running-a-command-in-a-shell +optional
|
1360
1253
|
# Corresponds to the JSON property `args`
|
1361
1254
|
# @return [Array<String>]
|
1362
1255
|
attr_accessor :args
|
1363
1256
|
|
1364
|
-
# Entrypoint array. Not executed within a shell.
|
1365
|
-
#
|
1366
|
-
#
|
1367
|
-
#
|
1368
|
-
#
|
1369
|
-
#
|
1370
|
-
#
|
1371
|
-
#
|
1372
|
-
# More info:
|
1373
|
-
# https://kubernetes.io/docs/tasks/inject-data-application/define-command-
|
1374
|
-
# argument-container/#running-a-command-in-a-shell
|
1375
|
-
# +optional
|
1257
|
+
# Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT
|
1258
|
+
# is used if this is not provided. Variable references $(VAR_NAME) are expanded
|
1259
|
+
# using the container's environment. If a variable cannot be resolved, the
|
1260
|
+
# reference in the input string will be unchanged. The $(VAR_NAME) syntax can be
|
1261
|
+
# escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be
|
1262
|
+
# expanded, regardless of whether the variable exists or not. Cannot be updated.
|
1263
|
+
# More info: https://kubernetes.io/docs/tasks/inject-data-application/define-
|
1264
|
+
# command-argument-container/#running-a-command-in-a-shell +optional
|
1376
1265
|
# Corresponds to the JSON property `command`
|
1377
1266
|
# @return [Array<String>]
|
1378
1267
|
attr_accessor :command
|
1379
1268
|
|
1380
|
-
# List of environment variables to set in the container.
|
1381
|
-
#
|
1382
|
-
# +optional
|
1269
|
+
# List of environment variables to set in the container. Cannot be updated. +
|
1270
|
+
# optional
|
1383
1271
|
# Corresponds to the JSON property `env`
|
1384
1272
|
# @return [Array<Google::Apis::RunV1alpha1::EnvVar>]
|
1385
1273
|
attr_accessor :env
|
1386
1274
|
|
1387
|
-
# List of sources to populate environment variables in the container.
|
1388
|
-
#
|
1389
|
-
#
|
1390
|
-
#
|
1391
|
-
#
|
1392
|
-
#
|
1275
|
+
# List of sources to populate environment variables in the container. The keys
|
1276
|
+
# defined within a source must be a C_IDENTIFIER. All invalid keys will be
|
1277
|
+
# reported as an event when the container is starting. When a key exists in
|
1278
|
+
# multiple sources, the value associated with the last source will take
|
1279
|
+
# precedence. Values defined by an Env with a duplicate key will take precedence.
|
1280
|
+
# Cannot be updated. +optional
|
1393
1281
|
# Corresponds to the JSON property `envFrom`
|
1394
1282
|
# @return [Array<Google::Apis::RunV1alpha1::EnvFromSource>]
|
1395
1283
|
attr_accessor :env_from
|
1396
1284
|
|
1397
|
-
# Docker image name.
|
1398
|
-
#
|
1285
|
+
# Docker image name. More info: https://kubernetes.io/docs/concepts/containers/
|
1286
|
+
# images
|
1399
1287
|
# Corresponds to the JSON property `image`
|
1400
1288
|
# @return [String]
|
1401
1289
|
attr_accessor :image
|
1402
1290
|
|
1403
|
-
# Image pull policy.
|
1404
|
-
#
|
1405
|
-
#
|
1406
|
-
#
|
1407
|
-
# More info:
|
1408
|
-
# https://kubernetes.io/docs/concepts/containers/images#updating-images
|
1409
|
-
# +optional
|
1291
|
+
# Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :
|
1292
|
+
# latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More
|
1293
|
+
# info: https://kubernetes.io/docs/concepts/containers/images#updating-images +
|
1294
|
+
# optional
|
1410
1295
|
# Corresponds to the JSON property `imagePullPolicy`
|
1411
1296
|
# @return [String]
|
1412
1297
|
attr_accessor :image_pull_policy
|
1413
1298
|
|
1414
|
-
# Lifecycle describes actions that the management system should take in
|
1415
|
-
#
|
1416
|
-
#
|
1417
|
-
#
|
1418
|
-
# aborted.
|
1299
|
+
# Lifecycle describes actions that the management system should take in response
|
1300
|
+
# to container lifecycle events. For the PostStart and PreStop lifecycle
|
1301
|
+
# handlers, management of the container blocks until the action is complete,
|
1302
|
+
# unless the container process fails, in which case the handler is aborted.
|
1419
1303
|
# Corresponds to the JSON property `lifecycle`
|
1420
1304
|
# @return [Google::Apis::RunV1alpha1::Lifecycle]
|
1421
1305
|
attr_accessor :lifecycle
|
@@ -1426,21 +1310,18 @@ module Google
|
|
1426
1310
|
# @return [Google::Apis::RunV1alpha1::Probe]
|
1427
1311
|
attr_accessor :liveness_probe
|
1428
1312
|
|
1429
|
-
# Name of the container specified as a DNS_LABEL.
|
1430
|
-
#
|
1431
|
-
# Cannot be updated.
|
1313
|
+
# Name of the container specified as a DNS_LABEL. Each container must have a
|
1314
|
+
# unique name (DNS_LABEL). Cannot be updated.
|
1432
1315
|
# Corresponds to the JSON property `name`
|
1433
1316
|
# @return [String]
|
1434
1317
|
attr_accessor :name
|
1435
1318
|
|
1436
|
-
# List of ports to expose from the container. Exposing a port here gives
|
1437
|
-
#
|
1438
|
-
#
|
1439
|
-
#
|
1440
|
-
#
|
1441
|
-
#
|
1442
|
-
# Cannot be updated.
|
1443
|
-
# +optional
|
1319
|
+
# List of ports to expose from the container. Exposing a port here gives the
|
1320
|
+
# system additional information about the network connections a container uses,
|
1321
|
+
# but is primarily informational. Not specifying a port here DOES NOT prevent
|
1322
|
+
# that port from being exposed. Any port which is listening on the default "0.0.
|
1323
|
+
# 0.0" address inside a container will be accessible from the network. Cannot be
|
1324
|
+
# updated. +optional
|
1444
1325
|
# Corresponds to the JSON property `ports`
|
1445
1326
|
# @return [Array<Google::Apis::RunV1alpha1::ContainerPort>]
|
1446
1327
|
attr_accessor :ports
|
@@ -1458,7 +1339,7 @@ module Google
|
|
1458
1339
|
|
1459
1340
|
# SecurityContext holds security configuration that will be applied to a
|
1460
1341
|
# container. Some fields are present in both SecurityContext and
|
1461
|
-
# PodSecurityContext.
|
1342
|
+
# PodSecurityContext. When both are set, the values in SecurityContext take
|
1462
1343
|
# precedence.
|
1463
1344
|
# Corresponds to the JSON property `securityContext`
|
1464
1345
|
# @return [Google::Apis::RunV1alpha1::SecurityContext]
|
@@ -1472,68 +1353,61 @@ module Google
|
|
1472
1353
|
attr_accessor :stdin
|
1473
1354
|
alias_method :stdin?, :stdin
|
1474
1355
|
|
1475
|
-
# Whether the container runtime should close the stdin channel after it has
|
1476
|
-
#
|
1477
|
-
#
|
1478
|
-
#
|
1479
|
-
#
|
1480
|
-
#
|
1481
|
-
#
|
1482
|
-
#
|
1356
|
+
# Whether the container runtime should close the stdin channel after it has been
|
1357
|
+
# opened by a single attach. When stdin is true the stdin stream will remain
|
1358
|
+
# open across multiple attach sessions. If stdinOnce is set to true, stdin is
|
1359
|
+
# opened on container start, is empty until the first client attaches to stdin,
|
1360
|
+
# and then remains open and accepts data until the client disconnects, at which
|
1361
|
+
# time stdin is closed and remains closed until the container is restarted. If
|
1362
|
+
# this flag is false, a container processes that reads from stdin will never
|
1363
|
+
# receive an EOF. Default is false +optional
|
1483
1364
|
# Corresponds to the JSON property `stdinOnce`
|
1484
1365
|
# @return [Boolean]
|
1485
1366
|
attr_accessor :stdin_once
|
1486
1367
|
alias_method :stdin_once?, :stdin_once
|
1487
1368
|
|
1488
|
-
# Optional: Path at which the file to which the container's termination
|
1489
|
-
#
|
1490
|
-
#
|
1491
|
-
#
|
1492
|
-
#
|
1493
|
-
#
|
1494
|
-
# Cannot be updated.
|
1495
|
-
# +optional
|
1369
|
+
# Optional: Path at which the file to which the container's termination message
|
1370
|
+
# will be written is mounted into the container's filesystem. Message written is
|
1371
|
+
# intended to be brief final status, such as an assertion failure message. Will
|
1372
|
+
# be truncated by the node if greater than 4096 bytes. The total message length
|
1373
|
+
# across all containers will be limited to 12kb. Defaults to /dev/termination-
|
1374
|
+
# log. Cannot be updated. +optional
|
1496
1375
|
# Corresponds to the JSON property `terminationMessagePath`
|
1497
1376
|
# @return [String]
|
1498
1377
|
attr_accessor :termination_message_path
|
1499
1378
|
|
1500
1379
|
# Indicate how the termination message should be populated. File will use the
|
1501
|
-
# contents of terminationMessagePath to populate the container status message
|
1502
|
-
#
|
1503
|
-
#
|
1504
|
-
# container exited with an error. The log output is limited to 2048 bytes or
|
1505
|
-
#
|
1506
|
-
# +optional
|
1380
|
+
# contents of terminationMessagePath to populate the container status message on
|
1381
|
+
# both success and failure. FallbackToLogsOnError will use the last chunk of
|
1382
|
+
# container log output if the termination message file is empty and the
|
1383
|
+
# container exited with an error. The log output is limited to 2048 bytes or 80
|
1384
|
+
# lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
|
1507
1385
|
# Corresponds to the JSON property `terminationMessagePolicy`
|
1508
1386
|
# @return [String]
|
1509
1387
|
attr_accessor :termination_message_policy
|
1510
1388
|
|
1511
|
-
# Whether this container should allocate a TTY for itself, also requires
|
1512
|
-
#
|
1389
|
+
# Whether this container should allocate a TTY for itself, also requires 'stdin'
|
1390
|
+
# to be true. Default is false. +optional
|
1513
1391
|
# Corresponds to the JSON property `tty`
|
1514
1392
|
# @return [Boolean]
|
1515
1393
|
attr_accessor :tty
|
1516
1394
|
alias_method :tty?, :tty
|
1517
1395
|
|
1518
|
-
# volumeDevices is the list of block devices to be used by the container.
|
1519
|
-
#
|
1520
|
-
# +optional
|
1396
|
+
# volumeDevices is the list of block devices to be used by the container. This
|
1397
|
+
# is an alpha feature and may change in the future. +optional
|
1521
1398
|
# Corresponds to the JSON property `volumeDevices`
|
1522
1399
|
# @return [Array<Google::Apis::RunV1alpha1::VolumeDevice>]
|
1523
1400
|
attr_accessor :volume_devices
|
1524
1401
|
|
1525
|
-
# Pod volumes to mount into the container's filesystem.
|
1526
|
-
#
|
1527
|
-
# +optional
|
1402
|
+
# Pod volumes to mount into the container's filesystem. Cannot be updated. +
|
1403
|
+
# optional
|
1528
1404
|
# Corresponds to the JSON property `volumeMounts`
|
1529
1405
|
# @return [Array<Google::Apis::RunV1alpha1::VolumeMount>]
|
1530
1406
|
attr_accessor :volume_mounts
|
1531
1407
|
|
1532
|
-
# Container's working directory.
|
1533
|
-
#
|
1534
|
-
#
|
1535
|
-
# Cannot be updated.
|
1536
|
-
# +optional
|
1408
|
+
# Container's working directory. If not specified, the container runtime's
|
1409
|
+
# default will be used, which might be configured in the container image. Cannot
|
1410
|
+
# be updated. +optional
|
1537
1411
|
# Corresponds to the JSON property `workingDir`
|
1538
1412
|
# @return [String]
|
1539
1413
|
attr_accessor :working_dir
|
@@ -1572,38 +1446,32 @@ module Google
|
|
1572
1446
|
class ContainerPort
|
1573
1447
|
include Google::Apis::Core::Hashable
|
1574
1448
|
|
1575
|
-
# Number of port to expose on the pod's IP address.
|
1576
|
-
#
|
1449
|
+
# Number of port to expose on the pod's IP address. This must be a valid port
|
1450
|
+
# number, 0 < x < 65536.
|
1577
1451
|
# Corresponds to the JSON property `containerPort`
|
1578
1452
|
# @return [Fixnum]
|
1579
1453
|
attr_accessor :container_port
|
1580
1454
|
|
1581
|
-
# What host IP to bind the external port to.
|
1582
|
-
# +optional
|
1455
|
+
# What host IP to bind the external port to. +optional
|
1583
1456
|
# Corresponds to the JSON property `hostIP`
|
1584
1457
|
# @return [String]
|
1585
1458
|
attr_accessor :host_ip
|
1586
1459
|
|
1587
|
-
# Number of port to expose on the host.
|
1588
|
-
#
|
1589
|
-
#
|
1590
|
-
# Most containers do not need this.
|
1591
|
-
# +optional
|
1460
|
+
# Number of port to expose on the host. If specified, this must be a valid port
|
1461
|
+
# number, 0 < x < 65536. If HostNetwork is specified, this must match
|
1462
|
+
# ContainerPort. Most containers do not need this. +optional
|
1592
1463
|
# Corresponds to the JSON property `hostPort`
|
1593
1464
|
# @return [Fixnum]
|
1594
1465
|
attr_accessor :host_port
|
1595
1466
|
|
1596
1467
|
# If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
|
1597
1468
|
# named port in a pod must have a unique name. Name for the port that can be
|
1598
|
-
# referred to by services.
|
1599
|
-
# +optional
|
1469
|
+
# referred to by services. +optional
|
1600
1470
|
# Corresponds to the JSON property `name`
|
1601
1471
|
# @return [String]
|
1602
1472
|
attr_accessor :name
|
1603
1473
|
|
1604
|
-
# Protocol for port. Must be UDP or TCP.
|
1605
|
-
# Defaults to "TCP".
|
1606
|
-
# +optional
|
1474
|
+
# Protocol for port. Must be UDP or TCP. Defaults to "TCP". +optional
|
1607
1475
|
# Corresponds to the JSON property `protocol`
|
1608
1476
|
# @return [String]
|
1609
1477
|
attr_accessor :protocol
|
@@ -1633,9 +1501,8 @@ module Google
|
|
1633
1501
|
attr_accessor :ref
|
1634
1502
|
|
1635
1503
|
# URI is for direct URI Designations or used with the resulting URL from
|
1636
|
-
# Addressable ObjectReference. If used with an ObjectReference, will be
|
1637
|
-
#
|
1638
|
-
# + optional
|
1504
|
+
# Addressable ObjectReference. If used with an ObjectReference, will be appended
|
1505
|
+
# to the path of the resulting URL from the Addressable. + optional
|
1639
1506
|
# Corresponds to the JSON property `uri`
|
1640
1507
|
# @return [String]
|
1641
1508
|
attr_accessor :uri
|
@@ -1699,26 +1566,23 @@ module Google
|
|
1699
1566
|
class DomainMappingCondition
|
1700
1567
|
include Google::Apis::Core::Hashable
|
1701
1568
|
|
1702
|
-
# Last time the condition transitioned from one status to another.
|
1703
|
-
# +optional
|
1569
|
+
# Last time the condition transitioned from one status to another. +optional
|
1704
1570
|
# Corresponds to the JSON property `lastTransitionTime`
|
1705
1571
|
# @return [String]
|
1706
1572
|
attr_accessor :last_transition_time
|
1707
1573
|
|
1708
|
-
# Human readable message indicating details about the current status.
|
1709
|
-
# +optional
|
1574
|
+
# Human readable message indicating details about the current status. +optional
|
1710
1575
|
# Corresponds to the JSON property `message`
|
1711
1576
|
# @return [String]
|
1712
1577
|
attr_accessor :message
|
1713
1578
|
|
1714
|
-
# One-word CamelCase reason for the condition's current status.
|
1715
|
-
# +optional
|
1579
|
+
# One-word CamelCase reason for the condition's current status. +optional
|
1716
1580
|
# Corresponds to the JSON property `reason`
|
1717
1581
|
# @return [String]
|
1718
1582
|
attr_accessor :reason
|
1719
1583
|
|
1720
|
-
# How to interpret failures of this condition, one of Error, Warning, Info
|
1721
|
-
#
|
1584
|
+
# How to interpret failures of this condition, one of Error, Warning, Info +
|
1585
|
+
# optional
|
1722
1586
|
# Corresponds to the JSON property `severity`
|
1723
1587
|
# @return [String]
|
1724
1588
|
attr_accessor :severity
|
@@ -1757,17 +1621,17 @@ module Google
|
|
1757
1621
|
# @return [String]
|
1758
1622
|
attr_accessor :certificate_mode
|
1759
1623
|
|
1760
|
-
# If set, the mapping will override any mapping set before this spec was set.
|
1761
|
-
#
|
1762
|
-
#
|
1763
|
-
#
|
1624
|
+
# If set, the mapping will override any mapping set before this spec was set. It
|
1625
|
+
# is recommended that the user leaves this empty to receive an error warning
|
1626
|
+
# about a potential conflict and only set it once the respective UI has given
|
1627
|
+
# such a warning.
|
1764
1628
|
# Corresponds to the JSON property `forceOverride`
|
1765
1629
|
# @return [Boolean]
|
1766
1630
|
attr_accessor :force_override
|
1767
1631
|
alias_method :force_override?, :force_override
|
1768
1632
|
|
1769
|
-
# The name of the Knative Route that this DomainMapping applies to.
|
1770
|
-
#
|
1633
|
+
# The name of the Knative Route that this DomainMapping applies to. The route
|
1634
|
+
# must exist.
|
1771
1635
|
# Corresponds to the JSON property `routeName`
|
1772
1636
|
# @return [String]
|
1773
1637
|
attr_accessor :route_name
|
@@ -1788,8 +1652,8 @@ module Google
|
|
1788
1652
|
class DomainMappingStatus
|
1789
1653
|
include Google::Apis::Core::Hashable
|
1790
1654
|
|
1791
|
-
# Array of observed DomainMappingConditions, indicating the current state
|
1792
|
-
#
|
1655
|
+
# Array of observed DomainMappingConditions, indicating the current state of the
|
1656
|
+
# DomainMapping.
|
1793
1657
|
# Corresponds to the JSON property `conditions`
|
1794
1658
|
# @return [Array<Google::Apis::RunV1alpha1::DomainMappingCondition>]
|
1795
1659
|
attr_accessor :conditions
|
@@ -1799,26 +1663,23 @@ module Google
|
|
1799
1663
|
# @return [String]
|
1800
1664
|
attr_accessor :mapped_route_name
|
1801
1665
|
|
1802
|
-
# ObservedGeneration is the 'Generation' of the DomainMapping that
|
1803
|
-
#
|
1804
|
-
#
|
1805
|
-
#
|
1806
|
-
# is True or False.
|
1666
|
+
# ObservedGeneration is the 'Generation' of the DomainMapping that was last
|
1667
|
+
# processed by the controller. Clients polling for completed reconciliation
|
1668
|
+
# should poll until observedGeneration = metadata.generation and the Ready
|
1669
|
+
# condition's status is True or False.
|
1807
1670
|
# Corresponds to the JSON property `observedGeneration`
|
1808
1671
|
# @return [Fixnum]
|
1809
1672
|
attr_accessor :observed_generation
|
1810
1673
|
|
1811
|
-
# The resource records required to configure this domain mapping. These
|
1812
|
-
#
|
1813
|
-
#
|
1674
|
+
# The resource records required to configure this domain mapping. These records
|
1675
|
+
# must be added to the domain's DNS configuration in order to serve the
|
1676
|
+
# application via this domain mapping.
|
1814
1677
|
# Corresponds to the JSON property `resourceRecords`
|
1815
1678
|
# @return [Array<Google::Apis::RunV1alpha1::ResourceRecord>]
|
1816
1679
|
attr_accessor :resource_records
|
1817
1680
|
|
1818
|
-
# Cloud Run fully managed: not supported
|
1819
|
-
#
|
1820
|
-
# Holds the URL that will serve the traffic of the DomainMapping.
|
1821
|
-
# +optional
|
1681
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the
|
1682
|
+
# URL that will serve the traffic of the DomainMapping. +optional
|
1822
1683
|
# Corresponds to the JSON property `url`
|
1823
1684
|
# @return [String]
|
1824
1685
|
attr_accessor :url
|
@@ -1837,13 +1698,11 @@ module Google
|
|
1837
1698
|
end
|
1838
1699
|
end
|
1839
1700
|
|
1840
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
1841
|
-
#
|
1842
|
-
#
|
1843
|
-
#
|
1844
|
-
#
|
1845
|
-
# `
|
1846
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
1701
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1702
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
1703
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1704
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
1705
|
+
# `Empty` is empty JSON object ````.
|
1847
1706
|
class Empty
|
1848
1707
|
include Google::Apis::Core::Hashable
|
1849
1708
|
|
@@ -1860,10 +1719,9 @@ module Google
|
|
1860
1719
|
class EnvFromSource
|
1861
1720
|
include Google::Apis::Core::Hashable
|
1862
1721
|
|
1863
|
-
# ConfigMapEnvSource selects a ConfigMap to populate the environment
|
1864
|
-
#
|
1865
|
-
#
|
1866
|
-
# key-value pairs as environment variables.
|
1722
|
+
# ConfigMapEnvSource selects a ConfigMap to populate the environment variables
|
1723
|
+
# with. The contents of the target ConfigMap's Data field will represent the key-
|
1724
|
+
# value pairs as environment variables.
|
1867
1725
|
# Corresponds to the JSON property `configMapRef`
|
1868
1726
|
# @return [Google::Apis::RunV1alpha1::ConfigMapEnvSource]
|
1869
1727
|
attr_accessor :config_map_ref
|
@@ -1874,10 +1732,9 @@ module Google
|
|
1874
1732
|
# @return [String]
|
1875
1733
|
attr_accessor :prefix
|
1876
1734
|
|
1877
|
-
# SecretEnvSource selects a Secret to populate the environment
|
1878
|
-
#
|
1879
|
-
#
|
1880
|
-
# key-value pairs as environment variables.
|
1735
|
+
# SecretEnvSource selects a Secret to populate the environment variables with.
|
1736
|
+
# The contents of the target Secret's Data field will represent the key-value
|
1737
|
+
# pairs as environment variables.
|
1881
1738
|
# Corresponds to the JSON property `secretRef`
|
1882
1739
|
# @return [Google::Apis::RunV1alpha1::SecretEnvSource]
|
1883
1740
|
attr_accessor :secret_ref
|
@@ -1903,21 +1760,17 @@ module Google
|
|
1903
1760
|
# @return [String]
|
1904
1761
|
attr_accessor :name
|
1905
1762
|
|
1906
|
-
# Variable references $(VAR_NAME) are expanded
|
1907
|
-
#
|
1908
|
-
#
|
1909
|
-
#
|
1910
|
-
#
|
1911
|
-
#
|
1912
|
-
# exists or not.
|
1913
|
-
# Defaults to "".
|
1914
|
-
# +optional
|
1763
|
+
# Variable references $(VAR_NAME) are expanded using the previous defined
|
1764
|
+
# environment variables in the container and any route environment variables. If
|
1765
|
+
# a variable cannot be resolved, the reference in the input string will be
|
1766
|
+
# unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(
|
1767
|
+
# VAR_NAME). Escaped references will never be expanded, regardless of whether
|
1768
|
+
# the variable exists or not. Defaults to "". +optional
|
1915
1769
|
# Corresponds to the JSON property `value`
|
1916
1770
|
# @return [String]
|
1917
1771
|
attr_accessor :value
|
1918
1772
|
|
1919
|
-
# Cloud Run fully managed: not supported
|
1920
|
-
# Cloud Run on GKE: supported
|
1773
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
1921
1774
|
# EnvVarSource represents a source for the value of an EnvVar.
|
1922
1775
|
# Corresponds to the JSON property `valueFrom`
|
1923
1776
|
# @return [Google::Apis::RunV1alpha1::EnvVarSource]
|
@@ -1935,21 +1788,18 @@ module Google
|
|
1935
1788
|
end
|
1936
1789
|
end
|
1937
1790
|
|
1938
|
-
# Cloud Run fully managed: not supported
|
1939
|
-
# Cloud Run on GKE: supported
|
1791
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
1940
1792
|
# EnvVarSource represents a source for the value of an EnvVar.
|
1941
1793
|
class EnvVarSource
|
1942
1794
|
include Google::Apis::Core::Hashable
|
1943
1795
|
|
1944
|
-
# Cloud Run fully managed: not supported
|
1945
|
-
#
|
1946
|
-
# Selects a key from a ConfigMap.
|
1796
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Selects a
|
1797
|
+
# key from a ConfigMap.
|
1947
1798
|
# Corresponds to the JSON property `configMapKeyRef`
|
1948
1799
|
# @return [Google::Apis::RunV1alpha1::ConfigMapKeySelector]
|
1949
1800
|
attr_accessor :config_map_key_ref
|
1950
1801
|
|
1951
|
-
# Cloud Run fully managed: not supported
|
1952
|
-
# Cloud Run on GKE: supported
|
1802
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
1953
1803
|
# SecretKeySelector selects a key of a Secret.
|
1954
1804
|
# Corresponds to the JSON property `secretKeyRef`
|
1955
1805
|
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
@@ -1971,11 +1821,11 @@ module Google
|
|
1971
1821
|
include Google::Apis::Core::Hashable
|
1972
1822
|
|
1973
1823
|
# Command is the command line to execute inside the container, the working
|
1974
|
-
# directory for the command
|
1975
|
-
# command is simply exec'd, it is not run inside a shell, so traditional
|
1976
|
-
#
|
1977
|
-
#
|
1978
|
-
#
|
1824
|
+
# directory for the command is root ('/') in the container's filesystem. The
|
1825
|
+
# command is simply exec'd, it is not run inside a shell, so traditional shell
|
1826
|
+
# instructions ('|', etc) won't work. To use a shell, you need to explicitly
|
1827
|
+
# call out to that shell. Exit status of 0 is treated as live/healthy and non-
|
1828
|
+
# zero is unhealthy. +optional
|
1979
1829
|
# Corresponds to the JSON property `command`
|
1980
1830
|
# @return [String]
|
1981
1831
|
attr_accessor :command
|
@@ -1990,52 +1840,43 @@ module Google
|
|
1990
1840
|
end
|
1991
1841
|
end
|
1992
1842
|
|
1993
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
1994
|
-
#
|
1995
|
-
#
|
1996
|
-
#
|
1997
|
-
#
|
1998
|
-
# description: "Determines if
|
1999
|
-
# expression: "document.
|
2000
|
-
#
|
2001
|
-
#
|
2002
|
-
#
|
2003
|
-
#
|
2004
|
-
#
|
2005
|
-
#
|
2006
|
-
#
|
2007
|
-
#
|
2008
|
-
# Example (Data Manipulation):
|
2009
|
-
# title: "Notification string"
|
2010
|
-
# description: "Create a notification string with a timestamp."
|
2011
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
2012
|
-
# The exact variables and functions that may be referenced within an expression
|
2013
|
-
# are determined by the service that evaluates it. See the service
|
2014
|
-
# documentation for additional information.
|
1843
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
1844
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
1845
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
1846
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
1847
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
1848
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
1849
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
1850
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
1851
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
1852
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
1853
|
+
# string" description: "Create a notification string with a timestamp."
|
1854
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
1855
|
+
# exact variables and functions that may be referenced within an expression are
|
1856
|
+
# determined by the service that evaluates it. See the service documentation for
|
1857
|
+
# additional information.
|
2015
1858
|
class Expr
|
2016
1859
|
include Google::Apis::Core::Hashable
|
2017
1860
|
|
2018
|
-
# Optional. Description of the expression. This is a longer text which
|
2019
|
-
#
|
1861
|
+
# Optional. Description of the expression. This is a longer text which describes
|
1862
|
+
# the expression, e.g. when hovered over it in a UI.
|
2020
1863
|
# Corresponds to the JSON property `description`
|
2021
1864
|
# @return [String]
|
2022
1865
|
attr_accessor :description
|
2023
1866
|
|
2024
|
-
# Textual representation of an expression in Common Expression Language
|
2025
|
-
# syntax.
|
1867
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
2026
1868
|
# Corresponds to the JSON property `expression`
|
2027
1869
|
# @return [String]
|
2028
1870
|
attr_accessor :expression
|
2029
1871
|
|
2030
|
-
# Optional. String indicating the location of the expression for error
|
2031
|
-
#
|
1872
|
+
# Optional. String indicating the location of the expression for error reporting,
|
1873
|
+
# e.g. a file name and a position in the file.
|
2032
1874
|
# Corresponds to the JSON property `location`
|
2033
1875
|
# @return [String]
|
2034
1876
|
attr_accessor :location
|
2035
1877
|
|
2036
|
-
# Optional. Title for the expression, i.e. a short string describing
|
2037
|
-
#
|
2038
|
-
# expression.
|
1878
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
1879
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
2039
1880
|
# Corresponds to the JSON property `title`
|
2040
1881
|
# @return [String]
|
2041
1882
|
attr_accessor :title
|
@@ -2057,36 +1898,31 @@ module Google
|
|
2057
1898
|
class HttpGetAction
|
2058
1899
|
include Google::Apis::Core::Hashable
|
2059
1900
|
|
2060
|
-
# Host name to connect to, defaults to the pod IP. You probably want to set
|
2061
|
-
#
|
2062
|
-
# +optional
|
1901
|
+
# Host name to connect to, defaults to the pod IP. You probably want to set "
|
1902
|
+
# Host" in httpHeaders instead. +optional
|
2063
1903
|
# Corresponds to the JSON property `host`
|
2064
1904
|
# @return [String]
|
2065
1905
|
attr_accessor :host
|
2066
1906
|
|
2067
|
-
# Custom headers to set in the request. HTTP allows repeated headers.
|
2068
|
-
# +optional
|
1907
|
+
# Custom headers to set in the request. HTTP allows repeated headers. +optional
|
2069
1908
|
# Corresponds to the JSON property `httpHeaders`
|
2070
1909
|
# @return [Array<Google::Apis::RunV1alpha1::HttpHeader>]
|
2071
1910
|
attr_accessor :http_headers
|
2072
1911
|
|
2073
|
-
# Path to access on the HTTP server.
|
2074
|
-
# +optional
|
1912
|
+
# Path to access on the HTTP server. +optional
|
2075
1913
|
# Corresponds to the JSON property `path`
|
2076
1914
|
# @return [String]
|
2077
1915
|
attr_accessor :path
|
2078
1916
|
|
2079
|
-
# IntOrString is a type that can hold an int32 or a string.
|
2080
|
-
#
|
2081
|
-
#
|
2082
|
-
#
|
1917
|
+
# IntOrString is a type that can hold an int32 or a string. When used in JSON or
|
1918
|
+
# YAML marshalling and unmarshalling, it produces or consumes the inner type.
|
1919
|
+
# This allows you to have, for example, a JSON field that can accept a name or
|
1920
|
+
# number.
|
2083
1921
|
# Corresponds to the JSON property `port`
|
2084
1922
|
# @return [Google::Apis::RunV1alpha1::IntOrString]
|
2085
1923
|
attr_accessor :port
|
2086
1924
|
|
2087
|
-
# Scheme to use for connecting to the host.
|
2088
|
-
# Defaults to HTTP.
|
2089
|
-
# +optional
|
1925
|
+
# Scheme to use for connecting to the host. Defaults to HTTP. +optional
|
2090
1926
|
# Corresponds to the JSON property `scheme`
|
2091
1927
|
# @return [String]
|
2092
1928
|
attr_accessor :scheme
|
@@ -2161,10 +1997,10 @@ module Google
|
|
2161
1997
|
end
|
2162
1998
|
end
|
2163
1999
|
|
2164
|
-
# IntOrString is a type that can hold an int32 or a string.
|
2165
|
-
#
|
2166
|
-
#
|
2167
|
-
#
|
2000
|
+
# IntOrString is a type that can hold an int32 or a string. When used in JSON or
|
2001
|
+
# YAML marshalling and unmarshalling, it produces or consumes the inner type.
|
2002
|
+
# This allows you to have, for example, a JSON field that can accept a name or
|
2003
|
+
# number.
|
2168
2004
|
class IntOrString
|
2169
2005
|
include Google::Apis::Core::Hashable
|
2170
2006
|
|
@@ -2205,17 +2041,15 @@ module Google
|
|
2205
2041
|
attr_accessor :key
|
2206
2042
|
|
2207
2043
|
# Mode bits to use on this file, must be a value between 0 and 0777. If not
|
2208
|
-
# specified, the volume defaultMode will be used. This might be in conflict
|
2209
|
-
#
|
2210
|
-
#
|
2044
|
+
# specified, the volume defaultMode will be used. This might be in conflict with
|
2045
|
+
# other options that affect the file mode, like fsGroup, and the result can be
|
2046
|
+
# other mode bits set. +optional
|
2211
2047
|
# Corresponds to the JSON property `mode`
|
2212
2048
|
# @return [Fixnum]
|
2213
2049
|
attr_accessor :mode
|
2214
2050
|
|
2215
|
-
# The relative path of the file to map the key to.
|
2216
|
-
# May not
|
2217
|
-
# May not contain the path element '..'.
|
2218
|
-
# May not start with the string '..'.
|
2051
|
+
# The relative path of the file to map the key to. May not be an absolute path.
|
2052
|
+
# May not contain the path element '..'. May not start with the string '..'.
|
2219
2053
|
# Corresponds to the JSON property `path`
|
2220
2054
|
# @return [String]
|
2221
2055
|
attr_accessor :path
|
@@ -2232,11 +2066,10 @@ module Google
|
|
2232
2066
|
end
|
2233
2067
|
end
|
2234
2068
|
|
2235
|
-
# Lifecycle describes actions that the management system should take in
|
2236
|
-
#
|
2237
|
-
#
|
2238
|
-
#
|
2239
|
-
# aborted.
|
2069
|
+
# Lifecycle describes actions that the management system should take in response
|
2070
|
+
# to container lifecycle events. For the PostStart and PreStop lifecycle
|
2071
|
+
# handlers, management of the container blocks until the action is complete,
|
2072
|
+
# unless the container process fails, in which case the handler is aborted.
|
2240
2073
|
class Lifecycle
|
2241
2074
|
include Google::Apis::Core::Hashable
|
2242
2075
|
|
@@ -2286,8 +2119,7 @@ module Google
|
|
2286
2119
|
end
|
2287
2120
|
end
|
2288
2121
|
|
2289
|
-
# ListCloudAuditLogsSourcesResponse is a list of CloudAuditLogsSource
|
2290
|
-
# resources.
|
2122
|
+
# ListCloudAuditLogsSourcesResponse is a list of CloudAuditLogsSource resources.
|
2291
2123
|
class ListCloudAuditLogsSourcesResponse
|
2292
2124
|
include Google::Apis::Core::Hashable
|
2293
2125
|
|
@@ -2307,8 +2139,8 @@ module Google
|
|
2307
2139
|
attr_accessor :kind
|
2308
2140
|
|
2309
2141
|
# ListMeta describes metadata that synthetic resources must have, including
|
2310
|
-
# lists and various status objects. A resource may have only one of
|
2311
|
-
#
|
2142
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
2143
|
+
# ListMeta`.
|
2312
2144
|
# Corresponds to the JSON property `metadata`
|
2313
2145
|
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2314
2146
|
attr_accessor :metadata
|
@@ -2352,8 +2184,8 @@ module Google
|
|
2352
2184
|
attr_accessor :kind
|
2353
2185
|
|
2354
2186
|
# ListMeta describes metadata that synthetic resources must have, including
|
2355
|
-
# lists and various status objects. A resource may have only one of
|
2356
|
-
#
|
2187
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
2188
|
+
# ListMeta`.
|
2357
2189
|
# Corresponds to the JSON property `metadata`
|
2358
2190
|
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2359
2191
|
attr_accessor :metadata
|
@@ -2377,8 +2209,7 @@ module Google
|
|
2377
2209
|
end
|
2378
2210
|
end
|
2379
2211
|
|
2380
|
-
# ListCloudSchedulerSourcesResponse is a list of CloudSchedulerSource
|
2381
|
-
# resources.
|
2212
|
+
# ListCloudSchedulerSourcesResponse is a list of CloudSchedulerSource resources.
|
2382
2213
|
class ListCloudSchedulerSourcesResponse
|
2383
2214
|
include Google::Apis::Core::Hashable
|
2384
2215
|
|
@@ -2398,8 +2229,8 @@ module Google
|
|
2398
2229
|
attr_accessor :kind
|
2399
2230
|
|
2400
2231
|
# ListMeta describes metadata that synthetic resources must have, including
|
2401
|
-
# lists and various status objects. A resource may have only one of
|
2402
|
-
#
|
2232
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
2233
|
+
# ListMeta`.
|
2403
2234
|
# Corresponds to the JSON property `metadata`
|
2404
2235
|
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2405
2236
|
attr_accessor :metadata
|
@@ -2443,8 +2274,8 @@ module Google
|
|
2443
2274
|
attr_accessor :kind
|
2444
2275
|
|
2445
2276
|
# ListMeta describes metadata that synthetic resources must have, including
|
2446
|
-
# lists and various status objects. A resource may have only one of
|
2447
|
-
#
|
2277
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
2278
|
+
# ListMeta`.
|
2448
2279
|
# Corresponds to the JSON property `metadata`
|
2449
2280
|
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2450
2281
|
attr_accessor :metadata
|
@@ -2488,8 +2319,8 @@ module Google
|
|
2488
2319
|
attr_accessor :kind
|
2489
2320
|
|
2490
2321
|
# ListMeta describes metadata that synthetic resources must have, including
|
2491
|
-
# lists and various status objects. A resource may have only one of
|
2492
|
-
#
|
2322
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
2323
|
+
# ListMeta`.
|
2493
2324
|
# Corresponds to the JSON property `metadata`
|
2494
2325
|
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2495
2326
|
attr_accessor :metadata
|
@@ -2533,8 +2364,8 @@ module Google
|
|
2533
2364
|
attr_accessor :kind
|
2534
2365
|
|
2535
2366
|
# ListMeta describes metadata that synthetic resources must have, including
|
2536
|
-
# lists and various status objects. A resource may have only one of
|
2537
|
-
#
|
2367
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
2368
|
+
# ListMeta`.
|
2538
2369
|
# Corresponds to the JSON property `metadata`
|
2539
2370
|
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2540
2371
|
attr_accessor :metadata
|
@@ -2584,39 +2415,33 @@ module Google
|
|
2584
2415
|
end
|
2585
2416
|
|
2586
2417
|
# ListMeta describes metadata that synthetic resources must have, including
|
2587
|
-
# lists and various status objects. A resource may have only one of
|
2588
|
-
#
|
2418
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
2419
|
+
# ListMeta`.
|
2589
2420
|
class ListMeta
|
2590
2421
|
include Google::Apis::Core::Hashable
|
2591
2422
|
|
2592
|
-
# continue may be set if the user set a limit on the number of items
|
2593
|
-
#
|
2594
|
-
#
|
2595
|
-
#
|
2596
|
-
#
|
2597
|
-
#
|
2598
|
-
#
|
2599
|
-
# response.
|
2423
|
+
# continue may be set if the user set a limit on the number of items returned,
|
2424
|
+
# and indicates that the server has more data available. The value is opaque and
|
2425
|
+
# may be used to issue another request to the endpoint that served this list to
|
2426
|
+
# retrieve the next set of available objects. Continuing a list may not be
|
2427
|
+
# possible if the server configuration has changed or more than a few minutes
|
2428
|
+
# have passed. The resourceVersion field returned when using this continue value
|
2429
|
+
# will be identical to the value in the first response.
|
2600
2430
|
# Corresponds to the JSON property `continue`
|
2601
2431
|
# @return [String]
|
2602
2432
|
attr_accessor :continue
|
2603
2433
|
|
2604
|
-
# String that identifies the server's internal version of this object that
|
2605
|
-
#
|
2606
|
-
#
|
2607
|
-
# Populated by the system.
|
2608
|
-
#
|
2609
|
-
#
|
2610
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
|
2611
|
-
# control-and-consistency
|
2612
|
-
# +optional
|
2434
|
+
# String that identifies the server's internal version of this object that can
|
2435
|
+
# be used by clients to determine when objects have changed. Value must be
|
2436
|
+
# treated as opaque by clients and passed unmodified back to the server.
|
2437
|
+
# Populated by the system. Read-only. More info: https://git.k8s.io/community/
|
2438
|
+
# contributors/devel/api-conventions.md#concurrency-control-and-consistency +
|
2439
|
+
# optional
|
2613
2440
|
# Corresponds to the JSON property `resourceVersion`
|
2614
2441
|
# @return [String]
|
2615
2442
|
attr_accessor :resource_version
|
2616
2443
|
|
2617
|
-
# SelfLink is a URL representing this object.
|
2618
|
-
# Populated by the system.
|
2619
|
-
# Read-only.
|
2444
|
+
# SelfLink is a URL representing this object. Populated by the system. Read-only.
|
2620
2445
|
# +optional
|
2621
2446
|
# Corresponds to the JSON property `selfLink`
|
2622
2447
|
# @return [String]
|
@@ -2654,8 +2479,8 @@ module Google
|
|
2654
2479
|
attr_accessor :kind
|
2655
2480
|
|
2656
2481
|
# ListMeta describes metadata that synthetic resources must have, including
|
2657
|
-
# lists and various status objects. A resource may have only one of
|
2658
|
-
#
|
2482
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
2483
|
+
# ListMeta`.
|
2659
2484
|
# Corresponds to the JSON property `metadata`
|
2660
2485
|
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2661
2486
|
attr_accessor :metadata
|
@@ -2699,8 +2524,8 @@ module Google
|
|
2699
2524
|
attr_accessor :kind
|
2700
2525
|
|
2701
2526
|
# ListMeta describes metadata that synthetic resources must have, including
|
2702
|
-
# lists and various status objects. A resource may have only one of
|
2703
|
-
#
|
2527
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
2528
|
+
# ListMeta`.
|
2704
2529
|
# Corresponds to the JSON property `metadata`
|
2705
2530
|
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2706
2531
|
attr_accessor :metadata
|
@@ -2744,8 +2569,8 @@ module Google
|
|
2744
2569
|
attr_accessor :kind
|
2745
2570
|
|
2746
2571
|
# ListMeta describes metadata that synthetic resources must have, including
|
2747
|
-
# lists and various status objects. A resource may have only one of
|
2748
|
-
#
|
2572
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
2573
|
+
# ListMeta`.
|
2749
2574
|
# Corresponds to the JSON property `metadata`
|
2750
2575
|
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2751
2576
|
attr_accessor :metadata
|
@@ -2789,8 +2614,8 @@ module Google
|
|
2789
2614
|
attr_accessor :kind
|
2790
2615
|
|
2791
2616
|
# ListMeta describes metadata that synthetic resources must have, including
|
2792
|
-
# lists and various status objects. A resource may have only one of
|
2793
|
-
#
|
2617
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
2618
|
+
# ListMeta`.
|
2794
2619
|
# Corresponds to the JSON property `metadata`
|
2795
2620
|
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2796
2621
|
attr_accessor :metadata
|
@@ -2819,9 +2644,8 @@ module Google
|
|
2819
2644
|
class LocalObjectReference
|
2820
2645
|
include Google::Apis::Core::Hashable
|
2821
2646
|
|
2822
|
-
# Name of the referent.
|
2823
|
-
#
|
2824
|
-
# https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
2647
|
+
# Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/
|
2648
|
+
# working-with-objects/names/#names
|
2825
2649
|
# Corresponds to the JSON property `name`
|
2826
2650
|
# @return [String]
|
2827
2651
|
attr_accessor :name
|
@@ -2840,14 +2664,14 @@ module Google
|
|
2840
2664
|
class Location
|
2841
2665
|
include Google::Apis::Core::Hashable
|
2842
2666
|
|
2843
|
-
# The friendly name for this location, typically a nearby city name.
|
2844
|
-
#
|
2667
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
2668
|
+
# "Tokyo".
|
2845
2669
|
# Corresponds to the JSON property `displayName`
|
2846
2670
|
# @return [String]
|
2847
2671
|
attr_accessor :display_name
|
2848
2672
|
|
2849
|
-
# Cross-service attributes for the location. For example
|
2850
|
-
#
|
2673
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
2674
|
+
# region": "us-east1"`
|
2851
2675
|
# Corresponds to the JSON property `labels`
|
2852
2676
|
# @return [Hash<String,String>]
|
2853
2677
|
attr_accessor :labels
|
@@ -2863,8 +2687,8 @@ module Google
|
|
2863
2687
|
# @return [Hash<String,Object>]
|
2864
2688
|
attr_accessor :metadata
|
2865
2689
|
|
2866
|
-
# Resource name for the location, which may vary between implementations.
|
2867
|
-
#
|
2690
|
+
# Resource name for the location, which may vary between implementations. For
|
2691
|
+
# example: `"projects/example-project/locations/us-east1"`
|
2868
2692
|
# Corresponds to the JSON property `name`
|
2869
2693
|
# @return [String]
|
2870
2694
|
attr_accessor :name
|
@@ -2888,178 +2712,148 @@ module Google
|
|
2888
2712
|
class ObjectMeta
|
2889
2713
|
include Google::Apis::Core::Hashable
|
2890
2714
|
|
2891
|
-
# Annotations is an unstructured key value map stored with a resource that
|
2892
|
-
#
|
2893
|
-
#
|
2894
|
-
#
|
2715
|
+
# Annotations is an unstructured key value map stored with a resource that may
|
2716
|
+
# be set by external tools to store and retrieve arbitrary metadata. They are
|
2717
|
+
# not queryable and should be preserved when modifying objects. More info: http:/
|
2718
|
+
# /kubernetes.io/docs/user-guide/annotations +optional
|
2895
2719
|
# Corresponds to the JSON property `annotations`
|
2896
2720
|
# @return [Hash<String,String>]
|
2897
2721
|
attr_accessor :annotations
|
2898
2722
|
|
2899
|
-
# Not currently supported by Cloud Run.
|
2900
|
-
#
|
2901
|
-
# This is
|
2902
|
-
# different clusters. This field is not set anywhere right now and apiserver
|
2723
|
+
# Not currently supported by Cloud Run. The name of the cluster which the object
|
2724
|
+
# belongs to. This is used to distinguish resources with same name and namespace
|
2725
|
+
# in different clusters. This field is not set anywhere right now and apiserver
|
2903
2726
|
# is going to ignore it if set in create or update request. +optional
|
2904
2727
|
# Corresponds to the JSON property `clusterName`
|
2905
2728
|
# @return [String]
|
2906
2729
|
attr_accessor :cluster_name
|
2907
2730
|
|
2908
|
-
# CreationTimestamp is a timestamp representing the server time when this
|
2909
|
-
#
|
2910
|
-
#
|
2911
|
-
#
|
2912
|
-
#
|
2913
|
-
#
|
2914
|
-
# Null for lists.
|
2915
|
-
# More info:
|
2916
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
2917
|
-
# +optional
|
2731
|
+
# CreationTimestamp is a timestamp representing the server time when this object
|
2732
|
+
# was created. It is not guaranteed to be set in happens-before order across
|
2733
|
+
# separate operations. Clients may not set this value. It is represented in
|
2734
|
+
# RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists.
|
2735
|
+
# More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2736
|
+
# metadata +optional
|
2918
2737
|
# Corresponds to the JSON property `creationTimestamp`
|
2919
2738
|
# @return [String]
|
2920
2739
|
attr_accessor :creation_timestamp
|
2921
2740
|
|
2922
|
-
# Not currently supported by Cloud Run.
|
2923
|
-
#
|
2924
|
-
#
|
2925
|
-
#
|
2741
|
+
# Not currently supported by Cloud Run. Number of seconds allowed for this
|
2742
|
+
# object to gracefully terminate before it will be removed from the system. Only
|
2743
|
+
# set when deletionTimestamp is also set. May only be shortened. Read-only. +
|
2744
|
+
# optional
|
2926
2745
|
# Corresponds to the JSON property `deletionGracePeriodSeconds`
|
2927
2746
|
# @return [Fixnum]
|
2928
2747
|
attr_accessor :deletion_grace_period_seconds
|
2929
2748
|
|
2930
2749
|
# DeletionTimestamp is RFC 3339 date and time at which this resource will be
|
2931
|
-
# deleted. This field is set by the server when a graceful deletion is
|
2932
|
-
#
|
2933
|
-
#
|
2934
|
-
#
|
2935
|
-
#
|
2936
|
-
#
|
2937
|
-
#
|
2938
|
-
#
|
2939
|
-
#
|
2940
|
-
#
|
2941
|
-
#
|
2942
|
-
#
|
2943
|
-
#
|
2944
|
-
#
|
2945
|
-
#
|
2946
|
-
#
|
2947
|
-
#
|
2948
|
-
#
|
2949
|
-
# More info:
|
2950
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
2951
|
-
# +optional
|
2750
|
+
# deleted. This field is set by the server when a graceful deletion is requested
|
2751
|
+
# by the user, and is not directly settable by a client. The resource is
|
2752
|
+
# expected to be deleted (no longer visible from resource lists, and not
|
2753
|
+
# reachable by name) after the time in this field, once the finalizers list is
|
2754
|
+
# empty. As long as the finalizers list contains items, deletion is blocked.
|
2755
|
+
# Once the deletionTimestamp is set, this value may not be unset or be set
|
2756
|
+
# further into the future, although it may be shortened or the resource may be
|
2757
|
+
# deleted prior to this time. For example, a user may request that a pod is
|
2758
|
+
# deleted in 30 seconds. The Kubelet will react by sending a graceful
|
2759
|
+
# termination signal to the containers in the pod. After that 30 seconds, the
|
2760
|
+
# Kubelet will send a hard termination signal (SIGKILL) to the container and
|
2761
|
+
# after cleanup, remove the pod from the API. In the presence of network
|
2762
|
+
# partitions, this object may still exist after this timestamp, until an
|
2763
|
+
# administrator or automated process can determine the resource is fully
|
2764
|
+
# terminated. If not set, graceful deletion of the object has not been requested.
|
2765
|
+
# Populated by the system when a graceful deletion is requested. Read-only.
|
2766
|
+
# More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2767
|
+
# metadata +optional
|
2952
2768
|
# Corresponds to the JSON property `deletionTimestamp`
|
2953
2769
|
# @return [String]
|
2954
2770
|
attr_accessor :deletion_timestamp
|
2955
2771
|
|
2956
|
-
# Not currently supported by Cloud Run.
|
2957
|
-
#
|
2958
|
-
#
|
2959
|
-
#
|
2960
|
-
#
|
2961
|
-
# +optional
|
2962
|
-
# +patchStrategy=merge
|
2772
|
+
# Not currently supported by Cloud Run. Must be empty before the object is
|
2773
|
+
# deleted from the registry. Each entry is an identifier for the responsible
|
2774
|
+
# component that will remove the entry from the list. If the deletionTimestamp
|
2775
|
+
# of the object is non-nil, entries in this list can only be removed. +optional +
|
2776
|
+
# patchStrategy=merge
|
2963
2777
|
# Corresponds to the JSON property `finalizers`
|
2964
2778
|
# @return [Array<String>]
|
2965
2779
|
attr_accessor :finalizers
|
2966
2780
|
|
2967
|
-
# Not currently supported by Cloud Run.
|
2968
|
-
#
|
2969
|
-
#
|
2970
|
-
#
|
2971
|
-
#
|
2972
|
-
#
|
2973
|
-
#
|
2974
|
-
# server
|
2975
|
-
#
|
2976
|
-
#
|
2977
|
-
#
|
2978
|
-
#
|
2979
|
-
#
|
2980
|
-
# Applied only if Name is not specified.
|
2981
|
-
# More info:
|
2982
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
|
2983
|
-
# +optional
|
2984
|
-
# string generateName = 2;
|
2781
|
+
# Not currently supported by Cloud Run. GenerateName is an optional prefix, used
|
2782
|
+
# by the server, to generate a unique name ONLY IF the Name field has not been
|
2783
|
+
# provided. If this field is used, the name returned to the client will be
|
2784
|
+
# different than the name passed. This value will also be combined with a unique
|
2785
|
+
# suffix. The provided value has the same validation rules as the Name field,
|
2786
|
+
# and may be truncated by the length of the suffix required to make the value
|
2787
|
+
# unique on the server. If this field is specified and the generated name exists,
|
2788
|
+
# the server will NOT return a 409 - instead, it will either return 201 Created
|
2789
|
+
# or 500 with Reason ServerTimeout indicating a unique name could not be found
|
2790
|
+
# in the time allotted, and the client should retry (optionally after the time
|
2791
|
+
# indicated in the Retry-After header). Applied only if Name is not specified.
|
2792
|
+
# More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2793
|
+
# idempotency +optional string generateName = 2;
|
2985
2794
|
# Corresponds to the JSON property `generateName`
|
2986
2795
|
# @return [String]
|
2987
2796
|
attr_accessor :generate_name
|
2988
2797
|
|
2989
2798
|
# A sequence number representing a specific generation of the desired state.
|
2990
|
-
# Populated by the system. Read-only.
|
2991
|
-
# +optional
|
2799
|
+
# Populated by the system. Read-only. +optional
|
2992
2800
|
# Corresponds to the JSON property `generation`
|
2993
2801
|
# @return [Fixnum]
|
2994
2802
|
attr_accessor :generation
|
2995
2803
|
|
2996
|
-
# Map of string keys and values that can be used to organize and categorize
|
2997
|
-
#
|
2998
|
-
#
|
2999
|
-
# More info: http://kubernetes.io/docs/user-guide/labels
|
3000
|
-
# +optional
|
2804
|
+
# Map of string keys and values that can be used to organize and categorize (
|
2805
|
+
# scope and select) objects. May match selectors of replication controllers and
|
2806
|
+
# routes. More info: http://kubernetes.io/docs/user-guide/labels +optional
|
3001
2807
|
# Corresponds to the JSON property `labels`
|
3002
2808
|
# @return [Hash<String,String>]
|
3003
2809
|
attr_accessor :labels
|
3004
2810
|
|
3005
|
-
# Name must be unique within a namespace, within a Cloud Run region.
|
3006
|
-
#
|
3007
|
-
#
|
3008
|
-
#
|
3009
|
-
#
|
3010
|
-
#
|
3011
|
-
# +optional
|
2811
|
+
# Name must be unique within a namespace, within a Cloud Run region. Is required
|
2812
|
+
# when creating resources, although some resources may allow a client to request
|
2813
|
+
# the generation of an appropriate name automatically. Name is primarily
|
2814
|
+
# intended for creation idempotence and configuration definition. Cannot be
|
2815
|
+
# updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names +
|
2816
|
+
# optional
|
3012
2817
|
# Corresponds to the JSON property `name`
|
3013
2818
|
# @return [String]
|
3014
2819
|
attr_accessor :name
|
3015
2820
|
|
3016
|
-
# Namespace defines the space within each name must be unique, within a
|
3017
|
-
#
|
3018
|
-
#
|
2821
|
+
# Namespace defines the space within each name must be unique, within a Cloud
|
2822
|
+
# Run region. In Cloud Run the namespace must be equal to either the project ID
|
2823
|
+
# or project number.
|
3019
2824
|
# Corresponds to the JSON property `namespace`
|
3020
2825
|
# @return [String]
|
3021
2826
|
attr_accessor :namespace
|
3022
2827
|
|
3023
|
-
# List of objects that own this object. If ALL objects in the list have
|
3024
|
-
#
|
3025
|
-
# +optional
|
2828
|
+
# List of objects that own this object. If ALL objects in the list have been
|
2829
|
+
# deleted, this object will be garbage collected. +optional
|
3026
2830
|
# Corresponds to the JSON property `ownerReferences`
|
3027
2831
|
# @return [Array<Google::Apis::RunV1alpha1::OwnerReference>]
|
3028
2832
|
attr_accessor :owner_references
|
3029
2833
|
|
3030
|
-
# An opaque value that represents the internal version of this object that
|
3031
|
-
#
|
3032
|
-
#
|
2834
|
+
# An opaque value that represents the internal version of this object that can
|
2835
|
+
# be used by clients to determine when objects have changed. May be used for
|
2836
|
+
# optimistic concurrency, change detection, and the watch operation on a
|
3033
2837
|
# resource or set of resources. Clients must treat these values as opaque and
|
3034
|
-
# passed unmodified back to the server. They may only be valid for a
|
3035
|
-
#
|
3036
|
-
#
|
3037
|
-
#
|
3038
|
-
#
|
3039
|
-
# More info:
|
3040
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
|
3041
|
-
# control-and-consistency
|
3042
|
-
# +optional
|
2838
|
+
# passed unmodified back to the server. They may only be valid for a particular
|
2839
|
+
# resource or set of resources. Populated by the system. Read-only. Value must
|
2840
|
+
# be treated as opaque by clients and . More info: https://git.k8s.io/community/
|
2841
|
+
# contributors/devel/api-conventions.md#concurrency-control-and-consistency +
|
2842
|
+
# optional
|
3043
2843
|
# Corresponds to the JSON property `resourceVersion`
|
3044
2844
|
# @return [String]
|
3045
2845
|
attr_accessor :resource_version
|
3046
2846
|
|
3047
|
-
# SelfLink is a URL representing this object.
|
3048
|
-
#
|
3049
|
-
# Read-only.
|
3050
|
-
# +optional
|
3051
|
-
# string selfLink = 4;
|
2847
|
+
# SelfLink is a URL representing this object. Populated by the system. Read-only.
|
2848
|
+
# +optional string selfLink = 4;
|
3052
2849
|
# Corresponds to the JSON property `selfLink`
|
3053
2850
|
# @return [String]
|
3054
2851
|
attr_accessor :self_link
|
3055
2852
|
|
3056
2853
|
# UID is the unique in time and space value for this object. It is typically
|
3057
2854
|
# generated by the server on successful creation of a resource and is not
|
3058
|
-
# allowed to change on PUT operations.
|
3059
|
-
#
|
3060
|
-
# Read-only.
|
3061
|
-
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
3062
|
-
# +optional
|
2855
|
+
# allowed to change on PUT operations. Populated by the system. Read-only. More
|
2856
|
+
# info: http://kubernetes.io/docs/user-guide/identifiers#uids +optional
|
3063
2857
|
# Corresponds to the JSON property `uid`
|
3064
2858
|
# @return [String]
|
3065
2859
|
attr_accessor :uid
|
@@ -3093,62 +2887,50 @@ module Google
|
|
3093
2887
|
class ObjectReference
|
3094
2888
|
include Google::Apis::Core::Hashable
|
3095
2889
|
|
3096
|
-
# API version of the referent.
|
3097
|
-
# +optional
|
2890
|
+
# API version of the referent. +optional
|
3098
2891
|
# Corresponds to the JSON property `apiVersion`
|
3099
2892
|
# @return [String]
|
3100
2893
|
attr_accessor :api_version
|
3101
2894
|
|
3102
|
-
# If referring to a piece of an object instead of an entire object, this
|
3103
|
-
#
|
3104
|
-
#
|
3105
|
-
#
|
3106
|
-
#
|
3107
|
-
#
|
3108
|
-
#
|
3109
|
-
#
|
3110
|
-
# object.
|
2895
|
+
# If referring to a piece of an object instead of an entire object, this string
|
2896
|
+
# should contain a valid JSON/Go field access statement, such as desiredState.
|
2897
|
+
# manifest.containers[2]. For example, if the object reference is to a container
|
2898
|
+
# within a pod, this would take on a value like: "spec.containers`name`" (where "
|
2899
|
+
# name" refers to the name of the container that triggered the event) or if no
|
2900
|
+
# container name is specified "spec.containers[2]" (container with index 2 in
|
2901
|
+
# this pod). This syntax is chosen only to have some well-defined way of
|
2902
|
+
# referencing a part of an object.
|
3111
2903
|
# Corresponds to the JSON property `fieldPath`
|
3112
2904
|
# @return [String]
|
3113
2905
|
attr_accessor :field_path
|
3114
2906
|
|
3115
|
-
# Kind of the referent.
|
3116
|
-
#
|
3117
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
|
3118
|
-
# +optional
|
2907
|
+
# Kind of the referent. More info: https://git.k8s.io/community/contributors/
|
2908
|
+
# devel/api-conventions.md#types-kinds +optional
|
3119
2909
|
# Corresponds to the JSON property `kind`
|
3120
2910
|
# @return [String]
|
3121
2911
|
attr_accessor :kind
|
3122
2912
|
|
3123
|
-
# Name of the referent.
|
3124
|
-
#
|
3125
|
-
# https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
3126
|
-
# +optional
|
2913
|
+
# Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/
|
2914
|
+
# working-with-objects/names/#names +optional
|
3127
2915
|
# Corresponds to the JSON property `name`
|
3128
2916
|
# @return [String]
|
3129
2917
|
attr_accessor :name
|
3130
2918
|
|
3131
|
-
# Namespace of the referent.
|
3132
|
-
#
|
3133
|
-
# https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
3134
|
-
# +optional
|
2919
|
+
# Namespace of the referent. More info: https://kubernetes.io/docs/concepts/
|
2920
|
+
# overview/working-with-objects/namespaces/ +optional
|
3135
2921
|
# Corresponds to the JSON property `namespace`
|
3136
2922
|
# @return [String]
|
3137
2923
|
attr_accessor :namespace
|
3138
2924
|
|
3139
|
-
# Specific resourceVersion to which this reference is made, if any.
|
3140
|
-
# More info:
|
2925
|
+
# Specific resourceVersion to which this reference is made, if any. More info:
|
3141
2926
|
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
|
3142
|
-
# control-and-consistency
|
3143
|
-
# +optional
|
2927
|
+
# control-and-consistency +optional
|
3144
2928
|
# Corresponds to the JSON property `resourceVersion`
|
3145
2929
|
# @return [String]
|
3146
2930
|
attr_accessor :resource_version
|
3147
2931
|
|
3148
|
-
# UID of the referent.
|
3149
|
-
#
|
3150
|
-
# https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
3151
|
-
# +optional
|
2932
|
+
# UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/
|
2933
|
+
# working-with-objects/names/#uids +optional
|
3152
2934
|
# Corresponds to the JSON property `uid`
|
3153
2935
|
# @return [String]
|
3154
2936
|
attr_accessor :uid
|
@@ -3170,8 +2952,8 @@ module Google
|
|
3170
2952
|
end
|
3171
2953
|
|
3172
2954
|
# OwnerReference contains enough information to let you identify an owning
|
3173
|
-
# object. Currently, an owning object must be in the same namespace, so there
|
3174
|
-
#
|
2955
|
+
# object. Currently, an owning object must be in the same namespace, so there is
|
2956
|
+
# no namespace field.
|
3175
2957
|
class OwnerReference
|
3176
2958
|
include Google::Apis::Core::Hashable
|
3177
2959
|
|
@@ -3180,40 +2962,36 @@ module Google
|
|
3180
2962
|
# @return [String]
|
3181
2963
|
attr_accessor :api_version
|
3182
2964
|
|
3183
|
-
# If true, AND if the owner has the "foregroundDeletion" finalizer, then
|
3184
|
-
#
|
3185
|
-
#
|
3186
|
-
#
|
3187
|
-
# To set this field, a user needs "delete" permission of the owner,
|
3188
|
-
# otherwise 422 (Unprocessable Entity) will be returned.
|
2965
|
+
# If true, AND if the owner has the "foregroundDeletion" finalizer, then the
|
2966
|
+
# owner cannot be deleted from the key-value store until this reference is
|
2967
|
+
# removed. Defaults to false. To set this field, a user needs "delete"
|
2968
|
+
# permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
|
3189
2969
|
# +optional
|
3190
2970
|
# Corresponds to the JSON property `blockOwnerDeletion`
|
3191
2971
|
# @return [Boolean]
|
3192
2972
|
attr_accessor :block_owner_deletion
|
3193
2973
|
alias_method :block_owner_deletion?, :block_owner_deletion
|
3194
2974
|
|
3195
|
-
# If true, this reference points to the managing controller.
|
3196
|
-
# +optional
|
2975
|
+
# If true, this reference points to the managing controller. +optional
|
3197
2976
|
# Corresponds to the JSON property `controller`
|
3198
2977
|
# @return [Boolean]
|
3199
2978
|
attr_accessor :controller
|
3200
2979
|
alias_method :controller?, :controller
|
3201
2980
|
|
3202
|
-
# Kind of the referent.
|
3203
|
-
#
|
3204
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
|
2981
|
+
# Kind of the referent. More info: https://git.k8s.io/community/contributors/
|
2982
|
+
# devel/api-conventions.md#types-kinds
|
3205
2983
|
# Corresponds to the JSON property `kind`
|
3206
2984
|
# @return [String]
|
3207
2985
|
attr_accessor :kind
|
3208
2986
|
|
3209
|
-
# Name of the referent.
|
3210
|
-
#
|
2987
|
+
# Name of the referent. More info: http://kubernetes.io/docs/user-guide/
|
2988
|
+
# identifiers#names
|
3211
2989
|
# Corresponds to the JSON property `name`
|
3212
2990
|
# @return [String]
|
3213
2991
|
attr_accessor :name
|
3214
2992
|
|
3215
|
-
# UID of the referent.
|
3216
|
-
#
|
2993
|
+
# UID of the referent. More info: http://kubernetes.io/docs/user-guide/
|
2994
|
+
# identifiers#uids
|
3217
2995
|
# Corresponds to the JSON property `uid`
|
3218
2996
|
# @return [String]
|
3219
2997
|
attr_accessor :uid
|
@@ -3234,66 +3012,32 @@ module Google
|
|
3234
3012
|
end
|
3235
3013
|
|
3236
3014
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3237
|
-
# controls for Google Cloud resources.
|
3238
|
-
# A `
|
3239
|
-
#
|
3240
|
-
#
|
3241
|
-
#
|
3242
|
-
#
|
3243
|
-
#
|
3244
|
-
#
|
3245
|
-
#
|
3246
|
-
#
|
3247
|
-
#
|
3248
|
-
# [
|
3249
|
-
#
|
3250
|
-
#
|
3251
|
-
# `
|
3252
|
-
# "
|
3253
|
-
# `
|
3254
|
-
# "
|
3255
|
-
#
|
3256
|
-
#
|
3257
|
-
#
|
3258
|
-
#
|
3259
|
-
#
|
3260
|
-
#
|
3261
|
-
#
|
3262
|
-
#
|
3263
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
3264
|
-
# "members": [
|
3265
|
-
# "user:eve@example.com"
|
3266
|
-
# ],
|
3267
|
-
# "condition": `
|
3268
|
-
# "title": "expirable access",
|
3269
|
-
# "description": "Does not grant access after Sep 2020",
|
3270
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
3271
|
-
# ",
|
3272
|
-
# `
|
3273
|
-
# `
|
3274
|
-
# ],
|
3275
|
-
# "etag": "BwWWja0YfJA=",
|
3276
|
-
# "version": 3
|
3277
|
-
# `
|
3278
|
-
# **YAML example:**
|
3279
|
-
# bindings:
|
3280
|
-
# - members:
|
3281
|
-
# - user:mike@example.com
|
3282
|
-
# - group:admins@example.com
|
3283
|
-
# - domain:google.com
|
3284
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3285
|
-
# role: roles/resourcemanager.organizationAdmin
|
3286
|
-
# - members:
|
3287
|
-
# - user:eve@example.com
|
3288
|
-
# role: roles/resourcemanager.organizationViewer
|
3289
|
-
# condition:
|
3290
|
-
# title: expirable access
|
3291
|
-
# description: Does not grant access after Sep 2020
|
3292
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
3293
|
-
# - etag: BwWWja0YfJA=
|
3294
|
-
# - version: 3
|
3295
|
-
# For a description of IAM and its features, see the
|
3296
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
3015
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3016
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
3017
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
3018
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
3019
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
3020
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
3021
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
3022
|
+
# condition can add constraints based on attributes of the request, the resource,
|
3023
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
3024
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
3025
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
3026
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
3027
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
3028
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
3029
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
3030
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
3031
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
3032
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
3033
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
3034
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
3035
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
3036
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
3037
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
3038
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
3039
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
3040
|
+
# google.com/iam/docs/).
|
3297
3041
|
class Policy
|
3298
3042
|
include Google::Apis::Core::Hashable
|
3299
3043
|
|
@@ -3302,48 +3046,44 @@ module Google
|
|
3302
3046
|
# @return [Array<Google::Apis::RunV1alpha1::AuditConfig>]
|
3303
3047
|
attr_accessor :audit_configs
|
3304
3048
|
|
3305
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
3306
|
-
#
|
3307
|
-
#
|
3049
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
3050
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
3051
|
+
# the `bindings` must contain at least one member.
|
3308
3052
|
# Corresponds to the JSON property `bindings`
|
3309
3053
|
# @return [Array<Google::Apis::RunV1alpha1::Binding>]
|
3310
3054
|
attr_accessor :bindings
|
3311
3055
|
|
3312
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
3313
|
-
#
|
3314
|
-
#
|
3315
|
-
#
|
3316
|
-
#
|
3317
|
-
#
|
3318
|
-
#
|
3319
|
-
#
|
3320
|
-
#
|
3321
|
-
#
|
3322
|
-
#
|
3056
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
3057
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
3058
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
3059
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
3060
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
3061
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
3062
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
3063
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
3064
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
3065
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
3066
|
+
# are lost.
|
3323
3067
|
# Corresponds to the JSON property `etag`
|
3324
3068
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3325
3069
|
# @return [String]
|
3326
3070
|
attr_accessor :etag
|
3327
3071
|
|
3328
|
-
# Specifies the format of the policy.
|
3329
|
-
#
|
3330
|
-
#
|
3331
|
-
#
|
3332
|
-
#
|
3333
|
-
#
|
3334
|
-
#
|
3335
|
-
#
|
3336
|
-
#
|
3337
|
-
#
|
3338
|
-
#
|
3339
|
-
#
|
3340
|
-
#
|
3341
|
-
#
|
3342
|
-
#
|
3343
|
-
# specify any valid version or leave the field unset.
|
3344
|
-
# To learn which resources support conditions in their IAM policies, see the
|
3345
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
3346
|
-
# policies).
|
3072
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
3073
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
3074
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
3075
|
+
# applies to the following operations: * Getting a policy that includes a
|
3076
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
3077
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
3078
|
+
# with or without a condition, from a policy that includes conditions **
|
3079
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
3080
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
3081
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
3082
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
3083
|
+
# any conditions, operations on that policy may specify any valid version or
|
3084
|
+
# leave the field unset. To learn which resources support conditions in their
|
3085
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
3086
|
+
# conditions/resource-policies).
|
3347
3087
|
# Corresponds to the JSON property `version`
|
3348
3088
|
# @return [Fixnum]
|
3349
3089
|
attr_accessor :version
|
@@ -3377,35 +3117,29 @@ module Google
|
|
3377
3117
|
# @return [Google::Apis::RunV1alpha1::Handler]
|
3378
3118
|
attr_accessor :handler
|
3379
3119
|
|
3380
|
-
# Number of seconds after the container has started before liveness probes
|
3381
|
-
#
|
3382
|
-
#
|
3383
|
-
# probes
|
3384
|
-
# +optional
|
3120
|
+
# Number of seconds after the container has started before liveness probes are
|
3121
|
+
# initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-
|
3122
|
+
# lifecycle#container-probes +optional
|
3385
3123
|
# Corresponds to the JSON property `initialDelaySeconds`
|
3386
3124
|
# @return [Fixnum]
|
3387
3125
|
attr_accessor :initial_delay_seconds
|
3388
3126
|
|
3389
|
-
# How often (in seconds) to perform the probe.
|
3390
|
-
#
|
3391
|
-
# +optional
|
3127
|
+
# How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
|
3128
|
+
# value is 1. +optional
|
3392
3129
|
# Corresponds to the JSON property `periodSeconds`
|
3393
3130
|
# @return [Fixnum]
|
3394
3131
|
attr_accessor :period_seconds
|
3395
3132
|
|
3396
|
-
# Minimum consecutive successes for the probe to be considered successful
|
3397
|
-
#
|
3398
|
-
#
|
3133
|
+
# Minimum consecutive successes for the probe to be considered successful after
|
3134
|
+
# having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. +
|
3135
|
+
# optional
|
3399
3136
|
# Corresponds to the JSON property `successThreshold`
|
3400
3137
|
# @return [Fixnum]
|
3401
3138
|
attr_accessor :success_threshold
|
3402
3139
|
|
3403
|
-
# Number of seconds after which the probe times out.
|
3404
|
-
#
|
3405
|
-
#
|
3406
|
-
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
|
3407
|
-
# probes
|
3408
|
-
# +optional
|
3140
|
+
# Number of seconds after which the probe times out. Defaults to 1 second.
|
3141
|
+
# Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/
|
3142
|
+
# pods/pod-lifecycle#container-probes +optional
|
3409
3143
|
# Corresponds to the JSON property `timeoutSeconds`
|
3410
3144
|
# @return [Fixnum]
|
3411
3145
|
attr_accessor :timeout_seconds
|
@@ -3425,9 +3159,9 @@ module Google
|
|
3425
3159
|
end
|
3426
3160
|
end
|
3427
3161
|
|
3428
|
-
# The view model of a single quantity, e.g. "800 MiB". Corresponds to
|
3429
|
-
#
|
3430
|
-
#
|
3162
|
+
# The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
|
3163
|
+
# github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
|
3164
|
+
# pkg/api/resource/generated.proto
|
3431
3165
|
class Quantity
|
3432
3166
|
include Google::Apis::Core::Hashable
|
3433
3167
|
|
@@ -3450,14 +3184,14 @@ module Google
|
|
3450
3184
|
class ResourceRecord
|
3451
3185
|
include Google::Apis::Core::Hashable
|
3452
3186
|
|
3453
|
-
# Relative name of the object affected by this record. Only applicable for
|
3454
|
-
#
|
3187
|
+
# Relative name of the object affected by this record. Only applicable for `
|
3188
|
+
# CNAME` records. Example: 'www'.
|
3455
3189
|
# Corresponds to the JSON property `name`
|
3456
3190
|
# @return [String]
|
3457
3191
|
attr_accessor :name
|
3458
3192
|
|
3459
|
-
# Data for this record. Values vary by record type, as defined in RFC 1035
|
3460
|
-
#
|
3193
|
+
# Data for this record. Values vary by record type, as defined in RFC 1035 (
|
3194
|
+
# section 5) and RFC 1034 (section 3.6.1).
|
3461
3195
|
# Corresponds to the JSON property `rrdata`
|
3462
3196
|
# @return [String]
|
3463
3197
|
attr_accessor :rrdata
|
@@ -3483,40 +3217,38 @@ module Google
|
|
3483
3217
|
class ResourceRequirements
|
3484
3218
|
include Google::Apis::Core::Hashable
|
3485
3219
|
|
3486
|
-
# Limits describes the maximum amount of compute resources allowed.
|
3487
|
-
#
|
3488
|
-
#
|
3489
|
-
#
|
3220
|
+
# Limits describes the maximum amount of compute resources allowed. The values
|
3221
|
+
# of the map is string form of the 'quantity' k8s type: https://github.com/
|
3222
|
+
# kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/
|
3223
|
+
# resource/quantity.go
|
3490
3224
|
# Corresponds to the JSON property `limits`
|
3491
3225
|
# @return [Hash<String,String>]
|
3492
3226
|
attr_accessor :limits
|
3493
3227
|
|
3494
|
-
# Limits describes the maximum amount of compute resources allowed.
|
3495
|
-
#
|
3496
|
-
#
|
3497
|
-
#
|
3498
|
-
# This field is deprecated in favor of limits field.
|
3228
|
+
# Limits describes the maximum amount of compute resources allowed. This is a
|
3229
|
+
# temporary field created to migrate away from the map limits field. This is
|
3230
|
+
# done to become compliant with k8s style API. This field is deprecated in favor
|
3231
|
+
# of limits field.
|
3499
3232
|
# Corresponds to the JSON property `limitsInMap`
|
3500
3233
|
# @return [Hash<String,Google::Apis::RunV1alpha1::Quantity>]
|
3501
3234
|
attr_accessor :limits_in_map
|
3502
3235
|
|
3503
|
-
# Requests describes the minimum amount of compute resources required.
|
3504
|
-
#
|
3505
|
-
# explicitly specified, otherwise to an implementation-defined value.
|
3506
|
-
#
|
3507
|
-
#
|
3508
|
-
#
|
3236
|
+
# Requests describes the minimum amount of compute resources required. If
|
3237
|
+
# Requests is omitted for a container, it defaults to Limits if that is
|
3238
|
+
# explicitly specified, otherwise to an implementation-defined value. The values
|
3239
|
+
# of the map is string form of the 'quantity' k8s type: https://github.com/
|
3240
|
+
# kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/
|
3241
|
+
# resource/quantity.go
|
3509
3242
|
# Corresponds to the JSON property `requests`
|
3510
3243
|
# @return [Hash<String,String>]
|
3511
3244
|
attr_accessor :requests
|
3512
3245
|
|
3513
|
-
# Requests describes the minimum amount of compute resources required.
|
3514
|
-
#
|
3515
|
-
# explicitly specified, otherwise to an implementation-defined value.
|
3516
|
-
#
|
3517
|
-
#
|
3518
|
-
#
|
3519
|
-
# This field is deprecated in favor of requests field.
|
3246
|
+
# Requests describes the minimum amount of compute resources required. If
|
3247
|
+
# Requests is omitted for a container, it defaults to Limits if that is
|
3248
|
+
# explicitly specified, otherwise to an implementation-defined value. This is a
|
3249
|
+
# temporary field created to migrate away from the map requests field. This is
|
3250
|
+
# done to become compliant with k8s style API. This field is deprecated in favor
|
3251
|
+
# of requests field.
|
3520
3252
|
# Corresponds to the JSON property `requestsInMap`
|
3521
3253
|
# @return [Hash<String,Google::Apis::RunV1alpha1::Quantity>]
|
3522
3254
|
attr_accessor :requests_in_map
|
@@ -3534,12 +3266,10 @@ module Google
|
|
3534
3266
|
end
|
3535
3267
|
end
|
3536
3268
|
|
3537
|
-
# Revision is an immutable snapshot of code and configuration.
|
3269
|
+
# Revision is an immutable snapshot of code and configuration. A revision
|
3538
3270
|
# references a container image. Revisions are created by updates to a
|
3539
|
-
# Configuration.
|
3540
|
-
#
|
3541
|
-
# for materializing the container image from source.
|
3542
|
-
# See also:
|
3271
|
+
# Configuration. Cloud Run does not currently support referencing a build that
|
3272
|
+
# is responsible for materializing the container image from source. See also:
|
3543
3273
|
# https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision
|
3544
3274
|
class Revision
|
3545
3275
|
include Google::Apis::Core::Hashable
|
@@ -3589,26 +3319,23 @@ module Google
|
|
3589
3319
|
class RevisionCondition
|
3590
3320
|
include Google::Apis::Core::Hashable
|
3591
3321
|
|
3592
|
-
# Last time the condition transitioned from one status to another.
|
3593
|
-
# +optional
|
3322
|
+
# Last time the condition transitioned from one status to another. +optional
|
3594
3323
|
# Corresponds to the JSON property `lastTransitionTime`
|
3595
3324
|
# @return [String]
|
3596
3325
|
attr_accessor :last_transition_time
|
3597
3326
|
|
3598
|
-
# Human readable message indicating details about the current status.
|
3599
|
-
# +optional
|
3327
|
+
# Human readable message indicating details about the current status. +optional
|
3600
3328
|
# Corresponds to the JSON property `message`
|
3601
3329
|
# @return [String]
|
3602
3330
|
attr_accessor :message
|
3603
3331
|
|
3604
|
-
# One-word CamelCase reason for the condition's last transition.
|
3605
|
-
# +optional
|
3332
|
+
# One-word CamelCase reason for the condition's last transition. +optional
|
3606
3333
|
# Corresponds to the JSON property `reason`
|
3607
3334
|
# @return [String]
|
3608
3335
|
attr_accessor :reason
|
3609
3336
|
|
3610
|
-
# How to interpret failures of this condition, one of Error, Warning, Info
|
3611
|
-
#
|
3337
|
+
# How to interpret failures of this condition, one of Error, Warning, Info +
|
3338
|
+
# optional
|
3612
3339
|
# Corresponds to the JSON property `severity`
|
3613
3340
|
# @return [String]
|
3614
3341
|
attr_accessor :severity
|
@@ -3618,16 +3345,12 @@ module Google
|
|
3618
3345
|
# @return [String]
|
3619
3346
|
attr_accessor :status
|
3620
3347
|
|
3621
|
-
# RevisionConditionType is used to communicate the status of the
|
3622
|
-
#
|
3623
|
-
#
|
3624
|
-
#
|
3625
|
-
#
|
3626
|
-
# * "
|
3627
|
-
# * "ResourcesAvailable": True when underlying resources have been
|
3628
|
-
# provisioned.
|
3629
|
-
# * "ContainerHealthy": True when the Revision readiness check completes.
|
3630
|
-
# * "Active": True when the Revision may receive traffic.
|
3348
|
+
# RevisionConditionType is used to communicate the status of the reconciliation
|
3349
|
+
# process. See also: https://github.com/knative/serving/blob/master/docs/spec/
|
3350
|
+
# errors.md#error-conditions-and-reporting Types include: * "Ready": True when
|
3351
|
+
# the Revision is ready. * "ResourcesAvailable": True when underlying resources
|
3352
|
+
# have been provisioned. * "ContainerHealthy": True when the Revision readiness
|
3353
|
+
# check completes. * "Active": True when the Revision may receive traffic.
|
3631
3354
|
# Corresponds to the JSON property `type`
|
3632
3355
|
# @return [String]
|
3633
3356
|
attr_accessor :type
|
@@ -3651,71 +3374,62 @@ module Google
|
|
3651
3374
|
class RevisionSpec
|
3652
3375
|
include Google::Apis::Core::Hashable
|
3653
3376
|
|
3654
|
-
# ConcurrencyModel specifies the desired concurrency model
|
3655
|
-
#
|
3656
|
-
#
|
3657
|
-
# +optional
|
3377
|
+
# ConcurrencyModel specifies the desired concurrency model (Single or Multi) for
|
3378
|
+
# the Revision. Defaults to Multi. Deprecated in favor of ContainerConcurrency. +
|
3379
|
+
# optional
|
3658
3380
|
# Corresponds to the JSON property `concurrencyModel`
|
3659
3381
|
# @return [String]
|
3660
3382
|
attr_accessor :concurrency_model
|
3661
3383
|
|
3662
|
-
# A single application container.
|
3663
|
-
#
|
3664
|
-
#
|
3665
|
-
# Note that additional arguments may be supplied by the system to the container
|
3666
|
-
# at runtime.
|
3384
|
+
# A single application container. This specifies both the container to run, the
|
3385
|
+
# command to run in the container and the arguments to supply to it. Note that
|
3386
|
+
# additional arguments may be supplied by the system to the container at runtime.
|
3667
3387
|
# Corresponds to the JSON property `container`
|
3668
3388
|
# @return [Google::Apis::RunV1alpha1::Container]
|
3669
3389
|
attr_accessor :container
|
3670
3390
|
|
3671
|
-
# (Optional)
|
3672
|
-
#
|
3673
|
-
#
|
3674
|
-
#
|
3675
|
-
#
|
3676
|
-
# to the application is not limited, and the system decides the
|
3677
|
-
# target concurrency for the autoscaler.
|
3391
|
+
# (Optional) ContainerConcurrency specifies the maximum allowed in-flight (
|
3392
|
+
# concurrent) requests per container instance of the Revision. Cloud Run fully
|
3393
|
+
# managed: supported, defaults to 80 Cloud Run on GKE: supported, defaults to 0,
|
3394
|
+
# which means concurrency to the application is not limited, and the system
|
3395
|
+
# decides the target concurrency for the autoscaler.
|
3678
3396
|
# Corresponds to the JSON property `containerConcurrency`
|
3679
3397
|
# @return [Fixnum]
|
3680
3398
|
attr_accessor :container_concurrency
|
3681
3399
|
|
3682
|
-
# Containers holds the single container that defines the unit of execution
|
3683
|
-
#
|
3684
|
-
#
|
3685
|
-
#
|
3400
|
+
# Containers holds the single container that defines the unit of execution for
|
3401
|
+
# this Revision. In the context of a Revision, we disallow a number of fields on
|
3402
|
+
# this Container, including: name and lifecycle. In Cloud Run, only a single
|
3403
|
+
# container may be provided.
|
3686
3404
|
# Corresponds to the JSON property `containers`
|
3687
3405
|
# @return [Array<Google::Apis::RunV1alpha1::Container>]
|
3688
3406
|
attr_accessor :containers
|
3689
3407
|
|
3690
|
-
# Deprecated and not currently populated by Cloud Run. See
|
3691
|
-
#
|
3692
|
-
#
|
3693
|
-
# Read-only.
|
3408
|
+
# Deprecated and not currently populated by Cloud Run. See metadata.generation
|
3409
|
+
# instead, which is the sequence number containing the latest generation of the
|
3410
|
+
# desired state. Read-only.
|
3694
3411
|
# Corresponds to the JSON property `generation`
|
3695
3412
|
# @return [Fixnum]
|
3696
3413
|
attr_accessor :generation
|
3697
3414
|
|
3698
|
-
# Email address of the IAM service account associated with the revision
|
3699
|
-
#
|
3700
|
-
#
|
3701
|
-
#
|
3415
|
+
# Email address of the IAM service account associated with the revision of the
|
3416
|
+
# service. The service account represents the identity of the running revision,
|
3417
|
+
# and determines what permissions the revision has. If not provided, the
|
3418
|
+
# revision will use the project's default service account.
|
3702
3419
|
# Corresponds to the JSON property `serviceAccountName`
|
3703
3420
|
# @return [String]
|
3704
3421
|
attr_accessor :service_account_name
|
3705
3422
|
|
3706
|
-
# ServingState holds a value describing the state the resources
|
3707
|
-
#
|
3708
|
-
#
|
3709
|
-
#
|
3710
|
-
# Populated by the system.
|
3711
|
-
# Read-only.
|
3423
|
+
# ServingState holds a value describing the state the resources are in for this
|
3424
|
+
# Revision. Users must not specify this when creating a revision. It is expected
|
3425
|
+
# that the system will manipulate this based on routability and load. Populated
|
3426
|
+
# by the system. Read-only.
|
3712
3427
|
# Corresponds to the JSON property `servingState`
|
3713
3428
|
# @return [String]
|
3714
3429
|
attr_accessor :serving_state
|
3715
3430
|
|
3716
|
-
# TimeoutSeconds holds the max duration the instance is allowed for
|
3717
|
-
#
|
3718
|
-
# Not currently used by Cloud Run.
|
3431
|
+
# TimeoutSeconds holds the max duration the instance is allowed for responding
|
3432
|
+
# to a request. Not currently used by Cloud Run.
|
3719
3433
|
# Corresponds to the JSON property `timeoutSeconds`
|
3720
3434
|
# @return [Fixnum]
|
3721
3435
|
attr_accessor :timeout_seconds
|
@@ -3748,36 +3462,33 @@ module Google
|
|
3748
3462
|
class RevisionStatus
|
3749
3463
|
include Google::Apis::Core::Hashable
|
3750
3464
|
|
3751
|
-
# Conditions communicates information about ongoing/complete
|
3752
|
-
#
|
3753
|
-
#
|
3754
|
-
#
|
3755
|
-
#
|
3756
|
-
# which contribute to the overall "Ready" condition.
|
3465
|
+
# Conditions communicates information about ongoing/complete reconciliation
|
3466
|
+
# processes that bring the "spec" inline with the observed state of the world.
|
3467
|
+
# As a Revision is being prepared, it will incrementally update conditions "
|
3468
|
+
# ResourcesAvailable", "ContainerHealthy", and "Active", which contribute to the
|
3469
|
+
# overall "Ready" condition.
|
3757
3470
|
# Corresponds to the JSON property `conditions`
|
3758
3471
|
# @return [Array<Google::Apis::RunV1alpha1::RevisionCondition>]
|
3759
3472
|
attr_accessor :conditions
|
3760
3473
|
|
3761
|
-
# ImageDigest holds the resolved digest for the image specified
|
3762
|
-
#
|
3763
|
-
#
|
3764
|
-
#
|
3474
|
+
# ImageDigest holds the resolved digest for the image specified within .Spec.
|
3475
|
+
# Container.Image. The digest is resolved during the creation of Revision. This
|
3476
|
+
# field holds the digest value regardless of whether a tag or digest was
|
3477
|
+
# originally specified in the Container object.
|
3765
3478
|
# Corresponds to the JSON property `imageDigest`
|
3766
3479
|
# @return [String]
|
3767
3480
|
attr_accessor :image_digest
|
3768
3481
|
|
3769
|
-
# Specifies the generated logging url for this particular revision
|
3770
|
-
#
|
3771
|
-
# +optional
|
3482
|
+
# Specifies the generated logging url for this particular revision based on the
|
3483
|
+
# revision url template specified in the controller's config. +optional
|
3772
3484
|
# Corresponds to the JSON property `logUrl`
|
3773
3485
|
# @return [String]
|
3774
3486
|
attr_accessor :log_url
|
3775
3487
|
|
3776
|
-
# ObservedGeneration is the 'Generation' of the Revision that
|
3777
|
-
#
|
3778
|
-
#
|
3779
|
-
#
|
3780
|
-
# is True or False.
|
3488
|
+
# ObservedGeneration is the 'Generation' of the Revision that was last processed
|
3489
|
+
# by the controller. Clients polling for completed reconciliation should poll
|
3490
|
+
# until observedGeneration = metadata.generation, and the Ready condition's
|
3491
|
+
# status is True or False.
|
3781
3492
|
# Corresponds to the JSON property `observedGeneration`
|
3782
3493
|
# @return [Fixnum]
|
3783
3494
|
attr_accessor :observed_generation
|
@@ -3802,8 +3513,8 @@ module Google
|
|
3802
3513
|
end
|
3803
3514
|
|
3804
3515
|
# RevisionTemplateSpec describes the data a revision should have when created
|
3805
|
-
# from a template. Based on:
|
3806
|
-
#
|
3516
|
+
# from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/
|
3517
|
+
# core/v1/types.go#L3179-L3190
|
3807
3518
|
class RevisionTemplate
|
3808
3519
|
include Google::Apis::Core::Hashable
|
3809
3520
|
|
@@ -3832,11 +3543,10 @@ module Google
|
|
3832
3543
|
# Route is responsible for configuring ingress over a collection of Revisions.
|
3833
3544
|
# Some of the Revisions a Route distributes traffic over may be specified by
|
3834
3545
|
# referencing the Configuration responsible for creating them; in these cases
|
3835
|
-
# the Route is additionally responsible for monitoring the Configuration for
|
3836
|
-
#
|
3837
|
-
#
|
3838
|
-
#
|
3839
|
-
# Cloud Run currently supports referencing a single Configuration to
|
3546
|
+
# the Route is additionally responsible for monitoring the Configuration for "
|
3547
|
+
# latest ready" revision changes, and smoothly rolling out latest revisions. See
|
3548
|
+
# also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#
|
3549
|
+
# route Cloud Run currently supports referencing a single Configuration to
|
3840
3550
|
# automatically deploy the "latest ready" Revision from that Configuration.
|
3841
3551
|
class Route
|
3842
3552
|
include Google::Apis::Core::Hashable
|
@@ -3862,8 +3572,7 @@ module Google
|
|
3862
3572
|
# @return [Google::Apis::RunV1alpha1::RouteSpec]
|
3863
3573
|
attr_accessor :spec
|
3864
3574
|
|
3865
|
-
# RouteStatus communicates the observed state of the Route (from the
|
3866
|
-
# controller).
|
3575
|
+
# RouteStatus communicates the observed state of the Route (from the controller).
|
3867
3576
|
# Corresponds to the JSON property `status`
|
3868
3577
|
# @return [Google::Apis::RunV1alpha1::RouteStatus]
|
3869
3578
|
attr_accessor :status
|
@@ -3886,26 +3595,23 @@ module Google
|
|
3886
3595
|
class RouteCondition
|
3887
3596
|
include Google::Apis::Core::Hashable
|
3888
3597
|
|
3889
|
-
# Last time the condition transitioned from one status to another.
|
3890
|
-
# +optional
|
3598
|
+
# Last time the condition transitioned from one status to another. +optional
|
3891
3599
|
# Corresponds to the JSON property `lastTransitionTime`
|
3892
3600
|
# @return [String]
|
3893
3601
|
attr_accessor :last_transition_time
|
3894
3602
|
|
3895
|
-
# Human-readable message indicating details about last transition.
|
3896
|
-
# +optional
|
3603
|
+
# Human-readable message indicating details about last transition. +optional
|
3897
3604
|
# Corresponds to the JSON property `message`
|
3898
3605
|
# @return [String]
|
3899
3606
|
attr_accessor :message
|
3900
3607
|
|
3901
|
-
# One-word CamelCase reason for the condition's last transition.
|
3902
|
-
# +optional
|
3608
|
+
# One-word CamelCase reason for the condition's last transition. +optional
|
3903
3609
|
# Corresponds to the JSON property `reason`
|
3904
3610
|
# @return [String]
|
3905
3611
|
attr_accessor :reason
|
3906
3612
|
|
3907
|
-
# How to interpret failures of this condition, one of Error, Warning, Info
|
3908
|
-
#
|
3613
|
+
# How to interpret failures of this condition, one of Error, Warning, Info +
|
3614
|
+
# optional
|
3909
3615
|
# Corresponds to the JSON property `severity`
|
3910
3616
|
# @return [String]
|
3911
3617
|
attr_accessor :severity
|
@@ -3916,10 +3622,8 @@ module Google
|
|
3916
3622
|
attr_accessor :status
|
3917
3623
|
|
3918
3624
|
# RouteConditionType is used to communicate the status of the reconciliation
|
3919
|
-
# process. See also:
|
3920
|
-
#
|
3921
|
-
# conditions-and-reporting
|
3922
|
-
# Types include: "Ready".
|
3625
|
+
# process. See also: https://github.com/knative/serving/blob/master/docs/spec/
|
3626
|
+
# errors.md#error-conditions-and-reporting Types include: "Ready".
|
3923
3627
|
# Corresponds to the JSON property `type`
|
3924
3628
|
# @return [String]
|
3925
3629
|
attr_accessor :type
|
@@ -3943,17 +3647,16 @@ module Google
|
|
3943
3647
|
class RouteSpec
|
3944
3648
|
include Google::Apis::Core::Hashable
|
3945
3649
|
|
3946
|
-
# Deprecated and not currently populated by Cloud Run. See
|
3947
|
-
#
|
3948
|
-
#
|
3949
|
-
# Read-only.
|
3650
|
+
# Deprecated and not currently populated by Cloud Run. See metadata.generation
|
3651
|
+
# instead, which is the sequence number containing the latest generation of the
|
3652
|
+
# desired state. Read-only.
|
3950
3653
|
# Corresponds to the JSON property `generation`
|
3951
3654
|
# @return [Fixnum]
|
3952
3655
|
attr_accessor :generation
|
3953
3656
|
|
3954
3657
|
# Traffic specifies how to distribute traffic over a collection of Knative
|
3955
|
-
# Revisions and Configurations.
|
3956
|
-
#
|
3658
|
+
# Revisions and Configurations. Cloud Run currently supports a single
|
3659
|
+
# configurationName.
|
3957
3660
|
# Corresponds to the JSON property `traffic`
|
3958
3661
|
# @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
|
3959
3662
|
attr_accessor :traffic
|
@@ -3969,8 +3672,7 @@ module Google
|
|
3969
3672
|
end
|
3970
3673
|
end
|
3971
3674
|
|
3972
|
-
# RouteStatus communicates the observed state of the Route (from the
|
3973
|
-
# controller).
|
3675
|
+
# RouteStatus communicates the observed state of the Route (from the controller).
|
3974
3676
|
class RouteStatus
|
3975
3677
|
include Google::Apis::Core::Hashable
|
3976
3678
|
|
@@ -3979,50 +3681,44 @@ module Google
|
|
3979
3681
|
# @return [Google::Apis::RunV1alpha1::Addressable]
|
3980
3682
|
attr_accessor :address
|
3981
3683
|
|
3982
|
-
# Conditions communicates information about ongoing/complete
|
3983
|
-
#
|
3984
|
-
# state of the world.
|
3684
|
+
# Conditions communicates information about ongoing/complete reconciliation
|
3685
|
+
# processes that bring the "spec" inline with the observed state of the world.
|
3985
3686
|
# Corresponds to the JSON property `conditions`
|
3986
3687
|
# @return [Array<Google::Apis::RunV1alpha1::RouteCondition>]
|
3987
3688
|
attr_accessor :conditions
|
3988
3689
|
|
3989
|
-
# Deprecated - use url instead.
|
3990
|
-
#
|
3991
|
-
# provided targets.
|
3690
|
+
# Deprecated - use url instead. Domain holds the top-level domain that will
|
3691
|
+
# distribute traffic over the provided targets.
|
3992
3692
|
# Corresponds to the JSON property `domain`
|
3993
3693
|
# @return [String]
|
3994
3694
|
attr_accessor :domain
|
3995
3695
|
|
3996
|
-
# Deprecated - use address instead.
|
3997
|
-
# For Cloud Run, identifical to domain.
|
3696
|
+
# Deprecated - use address instead. For Cloud Run, identifical to domain.
|
3998
3697
|
# Corresponds to the JSON property `domainInternal`
|
3999
3698
|
# @return [String]
|
4000
3699
|
attr_accessor :domain_internal
|
4001
3700
|
|
4002
|
-
# ObservedGeneration is the 'Generation' of the Route that
|
4003
|
-
#
|
4004
|
-
#
|
4005
|
-
#
|
4006
|
-
#
|
4007
|
-
#
|
4008
|
-
#
|
4009
|
-
# its observedGeneration, as new "latest ready" revisions from the
|
4010
|
-
# Configuration are processed without an update to the Route's spec.
|
3701
|
+
# ObservedGeneration is the 'Generation' of the Route that was last processed by
|
3702
|
+
# the controller. Clients polling for completed reconciliation should poll until
|
3703
|
+
# observedGeneration = metadata.generation and the Ready condition's status is
|
3704
|
+
# True or False. Note that providing a trafficTarget that only has a
|
3705
|
+
# configurationName will result in a Route that does not increment either its
|
3706
|
+
# metadata.generation or its observedGeneration, as new "latest ready" revisions
|
3707
|
+
# from the Configuration are processed without an update to the Route's spec.
|
4011
3708
|
# Corresponds to the JSON property `observedGeneration`
|
4012
3709
|
# @return [Fixnum]
|
4013
3710
|
attr_accessor :observed_generation
|
4014
3711
|
|
4015
|
-
# Traffic holds the configured traffic distribution.
|
4016
|
-
#
|
4017
|
-
#
|
4018
|
-
# LatestReadyRevisionName that we last observed.
|
3712
|
+
# Traffic holds the configured traffic distribution. These entries will always
|
3713
|
+
# contain RevisionName references. When ConfigurationName appears in the spec,
|
3714
|
+
# this will hold the LatestReadyRevisionName that we last observed.
|
4019
3715
|
# Corresponds to the JSON property `traffic`
|
4020
3716
|
# @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
|
4021
3717
|
attr_accessor :traffic
|
4022
3718
|
|
4023
3719
|
# URL holds the url that will distribute traffic over the provided traffic
|
4024
|
-
# targets. It generally has the form
|
4025
|
-
#
|
3720
|
+
# targets. It generally has the form https://`route-hash`-`project-hash`-`
|
3721
|
+
# cluster-level-suffix`.a.run.app
|
4026
3722
|
# Corresponds to the JSON property `url`
|
4027
3723
|
# @return [String]
|
4028
3724
|
attr_accessor :url
|
@@ -4047,26 +3743,22 @@ module Google
|
|
4047
3743
|
class SeLinuxOptions
|
4048
3744
|
include Google::Apis::Core::Hashable
|
4049
3745
|
|
4050
|
-
# Level is SELinux level label that applies to the container.
|
4051
|
-
# +optional
|
3746
|
+
# Level is SELinux level label that applies to the container. +optional
|
4052
3747
|
# Corresponds to the JSON property `level`
|
4053
3748
|
# @return [String]
|
4054
3749
|
attr_accessor :level
|
4055
3750
|
|
4056
|
-
# Role is a SELinux role label that applies to the container.
|
4057
|
-
# +optional
|
3751
|
+
# Role is a SELinux role label that applies to the container. +optional
|
4058
3752
|
# Corresponds to the JSON property `role`
|
4059
3753
|
# @return [String]
|
4060
3754
|
attr_accessor :role
|
4061
3755
|
|
4062
|
-
# Type is a SELinux type label that applies to the container.
|
4063
|
-
# +optional
|
3756
|
+
# Type is a SELinux type label that applies to the container. +optional
|
4064
3757
|
# Corresponds to the JSON property `type`
|
4065
3758
|
# @return [String]
|
4066
3759
|
attr_accessor :type
|
4067
3760
|
|
4068
|
-
# User is a SELinux user label that applies to the container.
|
4069
|
-
# +optional
|
3761
|
+
# User is a SELinux user label that applies to the container. +optional
|
4070
3762
|
# Corresponds to the JSON property `user`
|
4071
3763
|
# @return [String]
|
4072
3764
|
attr_accessor :user
|
@@ -4084,10 +3776,9 @@ module Google
|
|
4084
3776
|
end
|
4085
3777
|
end
|
4086
3778
|
|
4087
|
-
# SecretEnvSource selects a Secret to populate the environment
|
4088
|
-
#
|
4089
|
-
#
|
4090
|
-
# key-value pairs as environment variables.
|
3779
|
+
# SecretEnvSource selects a Secret to populate the environment variables with.
|
3780
|
+
# The contents of the target Secret's Data field will represent the key-value
|
3781
|
+
# pairs as environment variables.
|
4091
3782
|
class SecretEnvSource
|
4092
3783
|
include Google::Apis::Core::Hashable
|
4093
3784
|
|
@@ -4097,17 +3788,14 @@ module Google
|
|
4097
3788
|
# @return [Google::Apis::RunV1alpha1::LocalObjectReference]
|
4098
3789
|
attr_accessor :local_object_reference
|
4099
3790
|
|
4100
|
-
# Cloud Run fully managed: not supported
|
4101
|
-
#
|
4102
|
-
# The Secret to select from.
|
3791
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The
|
3792
|
+
# Secret to select from.
|
4103
3793
|
# Corresponds to the JSON property `name`
|
4104
3794
|
# @return [String]
|
4105
3795
|
attr_accessor :name
|
4106
3796
|
|
4107
|
-
# Cloud Run fully managed: not supported
|
4108
|
-
#
|
4109
|
-
# Specify whether the Secret must be defined
|
4110
|
-
# +optional
|
3797
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Specify
|
3798
|
+
# whether the Secret must be defined +optional
|
4111
3799
|
# Corresponds to the JSON property `optional`
|
4112
3800
|
# @return [Boolean]
|
4113
3801
|
attr_accessor :optional
|
@@ -4125,15 +3813,13 @@ module Google
|
|
4125
3813
|
end
|
4126
3814
|
end
|
4127
3815
|
|
4128
|
-
# Cloud Run fully managed: not supported
|
4129
|
-
# Cloud Run on GKE: supported
|
3816
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
4130
3817
|
# SecretKeySelector selects a key of a Secret.
|
4131
3818
|
class SecretKeySelector
|
4132
3819
|
include Google::Apis::Core::Hashable
|
4133
3820
|
|
4134
|
-
# Cloud Run fully managed: not supported
|
4135
|
-
#
|
4136
|
-
# The key of the secret to select from. Must be a valid secret key.
|
3821
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported The key of
|
3822
|
+
# the secret to select from. Must be a valid secret key.
|
4137
3823
|
# Corresponds to the JSON property `key`
|
4138
3824
|
# @return [String]
|
4139
3825
|
attr_accessor :key
|
@@ -4144,17 +3830,14 @@ module Google
|
|
4144
3830
|
# @return [Google::Apis::RunV1alpha1::LocalObjectReference]
|
4145
3831
|
attr_accessor :local_object_reference
|
4146
3832
|
|
4147
|
-
# Cloud Run fully managed: not supported
|
4148
|
-
#
|
4149
|
-
# The name of the secret in the pod's namespace to select from.
|
3833
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported The name of
|
3834
|
+
# the secret in the pod's namespace to select from.
|
4150
3835
|
# Corresponds to the JSON property `name`
|
4151
3836
|
# @return [String]
|
4152
3837
|
attr_accessor :name
|
4153
3838
|
|
4154
|
-
# Cloud Run fully managed: not supported
|
4155
|
-
#
|
4156
|
-
# Specify whether the Secret or its key must be defined
|
4157
|
-
# +optional
|
3839
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Specify
|
3840
|
+
# whether the Secret or its key must be defined +optional
|
4158
3841
|
# Corresponds to the JSON property `optional`
|
4159
3842
|
# @return [Boolean]
|
4160
3843
|
attr_accessor :optional
|
@@ -4179,19 +3862,19 @@ module Google
|
|
4179
3862
|
include Google::Apis::Core::Hashable
|
4180
3863
|
|
4181
3864
|
# Mode bits to use on created files by default. Must be a value between 0 and
|
4182
|
-
# 0777. Defaults to 0644. Directories within the path are not affected by
|
4183
|
-
#
|
4184
|
-
#
|
3865
|
+
# 0777. Defaults to 0644. Directories within the path are not affected by this
|
3866
|
+
# setting. This might be in conflict with other options that affect the file
|
3867
|
+
# mode, like fsGroup, and the result can be other mode bits set.
|
4185
3868
|
# Corresponds to the JSON property `defaultMode`
|
4186
3869
|
# @return [Fixnum]
|
4187
3870
|
attr_accessor :default_mode
|
4188
3871
|
|
4189
|
-
# If unspecified, each key-value pair in the Data field of the referenced
|
4190
|
-
#
|
4191
|
-
#
|
4192
|
-
#
|
4193
|
-
#
|
4194
|
-
#
|
3872
|
+
# If unspecified, each key-value pair in the Data field of the referenced Secret
|
3873
|
+
# will be projected into the volume as a file whose name is the key and content
|
3874
|
+
# is the value. If specified, the listed keys will be projected into the
|
3875
|
+
# specified paths, and unlisted keys will not be present. If a key is specified
|
3876
|
+
# which is not present in the Secret, the volume setup will error unless it is
|
3877
|
+
# marked optional.
|
4195
3878
|
# Corresponds to the JSON property `items`
|
4196
3879
|
# @return [Array<Google::Apis::RunV1alpha1::KeyToPath>]
|
4197
3880
|
attr_accessor :items
|
@@ -4222,18 +3905,15 @@ module Google
|
|
4222
3905
|
|
4223
3906
|
# SecurityContext holds security configuration that will be applied to a
|
4224
3907
|
# container. Some fields are present in both SecurityContext and
|
4225
|
-
# PodSecurityContext.
|
3908
|
+
# PodSecurityContext. When both are set, the values in SecurityContext take
|
4226
3909
|
# precedence.
|
4227
3910
|
class SecurityContext
|
4228
3911
|
include Google::Apis::Core::Hashable
|
4229
3912
|
|
4230
|
-
# AllowPrivilegeEscalation controls whether a process can gain more
|
4231
|
-
#
|
4232
|
-
#
|
4233
|
-
#
|
4234
|
-
# 1) run as Privileged
|
4235
|
-
# 2) has CAP_SYS_ADMIN
|
4236
|
-
# +optional
|
3913
|
+
# AllowPrivilegeEscalation controls whether a process can gain more privileges
|
3914
|
+
# than its parent process. This bool directly controls if the no_new_privs flag
|
3915
|
+
# will be set on the container process. AllowPrivilegeEscalation is true always
|
3916
|
+
# when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN +optional
|
4237
3917
|
# Corresponds to the JSON property `allowPrivilegeEscalation`
|
4238
3918
|
# @return [Boolean]
|
4239
3919
|
attr_accessor :allow_privilege_escalation
|
@@ -4244,48 +3924,43 @@ module Google
|
|
4244
3924
|
# @return [Google::Apis::RunV1alpha1::Capabilities]
|
4245
3925
|
attr_accessor :capabilities
|
4246
3926
|
|
4247
|
-
# Run container in privileged mode.
|
4248
|
-
#
|
4249
|
-
# the host. Defaults to false. +optional
|
3927
|
+
# Run container in privileged mode. Processes in privileged containers are
|
3928
|
+
# essentially equivalent to root on the host. Defaults to false. +optional
|
4250
3929
|
# Corresponds to the JSON property `privileged`
|
4251
3930
|
# @return [Boolean]
|
4252
3931
|
attr_accessor :privileged
|
4253
3932
|
alias_method :privileged?, :privileged
|
4254
3933
|
|
4255
|
-
# Whether this container has a read-only root filesystem.
|
4256
|
-
#
|
4257
|
-
# +optional
|
3934
|
+
# Whether this container has a read-only root filesystem. Default is false. +
|
3935
|
+
# optional
|
4258
3936
|
# Corresponds to the JSON property `readOnlyRootFilesystem`
|
4259
3937
|
# @return [Boolean]
|
4260
3938
|
attr_accessor :read_only_root_filesystem
|
4261
3939
|
alias_method :read_only_root_filesystem?, :read_only_root_filesystem
|
4262
3940
|
|
4263
|
-
# The GID to run the entrypoint of the container process.
|
4264
|
-
#
|
4265
|
-
#
|
4266
|
-
#
|
4267
|
-
# precedence. +optional
|
3941
|
+
# The GID to run the entrypoint of the container process. Uses runtime default
|
3942
|
+
# if unset. May also be set in PodSecurityContext. If set in both
|
3943
|
+
# SecurityContext and PodSecurityContext, the value specified in SecurityContext
|
3944
|
+
# takes precedence. +optional
|
4268
3945
|
# Corresponds to the JSON property `runAsGroup`
|
4269
3946
|
# @return [Fixnum]
|
4270
3947
|
attr_accessor :run_as_group
|
4271
3948
|
|
4272
|
-
# Indicates that the container must run as a non-root user.
|
4273
|
-
#
|
4274
|
-
#
|
4275
|
-
#
|
4276
|
-
#
|
4277
|
-
#
|
4278
|
-
# precedence. +optional
|
3949
|
+
# Indicates that the container must run as a non-root user. If true, the Kubelet
|
3950
|
+
# will validate the image at runtime to ensure that it does not run as UID 0 (
|
3951
|
+
# root) and fail to start the container if it does. If unset or false, no such
|
3952
|
+
# validation will be performed. May also be set in PodSecurityContext. If set in
|
3953
|
+
# both SecurityContext and PodSecurityContext, the value specified in
|
3954
|
+
# SecurityContext takes precedence. +optional
|
4279
3955
|
# Corresponds to the JSON property `runAsNonRoot`
|
4280
3956
|
# @return [Boolean]
|
4281
3957
|
attr_accessor :run_as_non_root
|
4282
3958
|
alias_method :run_as_non_root?, :run_as_non_root
|
4283
3959
|
|
4284
|
-
# The UID to run the entrypoint of the container process.
|
4285
|
-
#
|
4286
|
-
#
|
4287
|
-
#
|
4288
|
-
# precedence. +optional
|
3960
|
+
# The UID to run the entrypoint of the container process. Defaults to user
|
3961
|
+
# specified in image metadata if unspecified. May also be set in
|
3962
|
+
# PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the
|
3963
|
+
# value specified in SecurityContext takes precedence. +optional
|
4289
3964
|
# Corresponds to the JSON property `runAsUser`
|
4290
3965
|
# @return [Fixnum]
|
4291
3966
|
attr_accessor :run_as_user
|
@@ -4314,15 +3989,14 @@ module Google
|
|
4314
3989
|
|
4315
3990
|
# Service acts as a top-level container that manages a set of Routes and
|
4316
3991
|
# Configurations which implement a network service. Service exists to provide a
|
4317
|
-
# singular abstraction which can be access controlled, reasoned about, and
|
4318
|
-
#
|
4319
|
-
#
|
4320
|
-
#
|
4321
|
-
#
|
4322
|
-
#
|
4323
|
-
#
|
4324
|
-
#
|
4325
|
-
# https://github.com/knative/serving/blob/master/docs/spec/overview.md#service
|
3992
|
+
# singular abstraction which can be access controlled, reasoned about, and which
|
3993
|
+
# encapsulates software lifecycle decisions such as rollout policy and team
|
3994
|
+
# resource ownership. Service acts only as an orchestrator of the underlying
|
3995
|
+
# Routes and Configurations (much as a kubernetes Deployment orchestrates
|
3996
|
+
# ReplicaSets). The Service's controller will track the statuses of its owned
|
3997
|
+
# Configuration and Route, reflecting their statuses and conditions as its own.
|
3998
|
+
# See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#
|
3999
|
+
# service
|
4326
4000
|
class Service
|
4327
4001
|
include Google::Apis::Core::Hashable
|
4328
4002
|
|
@@ -4342,8 +4016,8 @@ module Google
|
|
4342
4016
|
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
|
4343
4017
|
attr_accessor :metadata
|
4344
4018
|
|
4345
|
-
# ServiceSpec holds the desired state of the Route (from the client), which
|
4346
|
-
#
|
4019
|
+
# ServiceSpec holds the desired state of the Route (from the client), which is
|
4020
|
+
# used to manipulate the underlying Route and Configuration(s).
|
4347
4021
|
# Corresponds to the JSON property `spec`
|
4348
4022
|
# @return [Google::Apis::RunV1alpha1::ServiceSpec]
|
4349
4023
|
attr_accessor :spec
|
@@ -4371,26 +4045,23 @@ module Google
|
|
4371
4045
|
class ServiceCondition
|
4372
4046
|
include Google::Apis::Core::Hashable
|
4373
4047
|
|
4374
|
-
# Last time the condition transitioned from one status to another.
|
4375
|
-
# +optional
|
4048
|
+
# Last time the condition transitioned from one status to another. +optional
|
4376
4049
|
# Corresponds to the JSON property `lastTransitionTime`
|
4377
4050
|
# @return [String]
|
4378
4051
|
attr_accessor :last_transition_time
|
4379
4052
|
|
4380
|
-
# Human-readable message indicating details about last transition.
|
4381
|
-
# +optional
|
4053
|
+
# Human-readable message indicating details about last transition. +optional
|
4382
4054
|
# Corresponds to the JSON property `message`
|
4383
4055
|
# @return [String]
|
4384
4056
|
attr_accessor :message
|
4385
4057
|
|
4386
|
-
# One-word CamelCase reason for the condition's last transition.
|
4387
|
-
# +optional
|
4058
|
+
# One-word CamelCase reason for the condition's last transition. +optional
|
4388
4059
|
# Corresponds to the JSON property `reason`
|
4389
4060
|
# @return [String]
|
4390
4061
|
attr_accessor :reason
|
4391
4062
|
|
4392
|
-
# How to interpret failures of this condition, one of Error, Warning, Info
|
4393
|
-
#
|
4063
|
+
# How to interpret failures of this condition, one of Error, Warning, Info +
|
4064
|
+
# optional
|
4394
4065
|
# Corresponds to the JSON property `severity`
|
4395
4066
|
# @return [String]
|
4396
4067
|
attr_accessor :severity
|
@@ -4400,12 +4071,11 @@ module Google
|
|
4400
4071
|
# @return [String]
|
4401
4072
|
attr_accessor :status
|
4402
4073
|
|
4403
|
-
# ServiceConditionType is used to communicate the status of the
|
4404
|
-
#
|
4405
|
-
#
|
4406
|
-
#
|
4407
|
-
#
|
4408
|
-
# will be true when the underlying Route and Configuration are ready.
|
4074
|
+
# ServiceConditionType is used to communicate the status of the reconciliation
|
4075
|
+
# process. See also: https://github.com/knative/serving/blob/master/docs/spec/
|
4076
|
+
# errors.md#error-conditions-and-reporting Types include: "Ready", "
|
4077
|
+
# ConfigurationsReady", and "RoutesReady". "Ready" will be true when the
|
4078
|
+
# underlying Route and Configuration are ready.
|
4409
4079
|
# Corresponds to the JSON property `type`
|
4410
4080
|
# @return [String]
|
4411
4081
|
attr_accessor :type
|
@@ -4425,36 +4095,33 @@ module Google
|
|
4425
4095
|
end
|
4426
4096
|
end
|
4427
4097
|
|
4428
|
-
# ServiceSpec holds the desired state of the Route (from the client), which
|
4429
|
-
#
|
4098
|
+
# ServiceSpec holds the desired state of the Route (from the client), which is
|
4099
|
+
# used to manipulate the underlying Route and Configuration(s).
|
4430
4100
|
class ServiceSpec
|
4431
4101
|
include Google::Apis::Core::Hashable
|
4432
4102
|
|
4433
|
-
# Deprecated and not currently populated by Cloud Run. See
|
4434
|
-
#
|
4435
|
-
#
|
4436
|
-
# Read-only.
|
4103
|
+
# Deprecated and not currently populated by Cloud Run. See metadata.generation
|
4104
|
+
# instead, which is the sequence number containing the latest generation of the
|
4105
|
+
# desired state. Read-only.
|
4437
4106
|
# Corresponds to the JSON property `generation`
|
4438
4107
|
# @return [Fixnum]
|
4439
4108
|
attr_accessor :generation
|
4440
4109
|
|
4441
4110
|
# ServiceSpecManualType contains the options for configuring a manual service.
|
4442
|
-
# See ServiceSpec for more details.
|
4443
|
-
# Not currently supported by Cloud Run.
|
4111
|
+
# See ServiceSpec for more details. Not currently supported by Cloud Run.
|
4444
4112
|
# Corresponds to the JSON property `manual`
|
4445
4113
|
# @return [Google::Apis::RunV1alpha1::ServiceSpecManualType]
|
4446
4114
|
attr_accessor :manual
|
4447
4115
|
|
4448
4116
|
# ServiceSpecPinnedType Pins this service to a specific revision name. The
|
4449
|
-
# revision must be owned by the configuration provided.
|
4450
|
-
#
|
4117
|
+
# revision must be owned by the configuration provided. Deprecated and not
|
4118
|
+
# supported by Cloud Run.
|
4451
4119
|
# Corresponds to the JSON property `pinned`
|
4452
4120
|
# @return [Google::Apis::RunV1alpha1::ServiceSpecPinnedType]
|
4453
4121
|
attr_accessor :pinned
|
4454
4122
|
|
4455
4123
|
# ServiceSpecReleaseType contains the options for slowly releasing revisions.
|
4456
|
-
# See ServiceSpec for more details.
|
4457
|
-
# Not currently supported by Cloud Run.
|
4124
|
+
# See ServiceSpec for more details. Not currently supported by Cloud Run.
|
4458
4125
|
# Corresponds to the JSON property `release`
|
4459
4126
|
# @return [Google::Apis::RunV1alpha1::ServiceSpecReleaseType]
|
4460
4127
|
attr_accessor :release
|
@@ -4466,8 +4133,8 @@ module Google
|
|
4466
4133
|
attr_accessor :run_latest
|
4467
4134
|
|
4468
4135
|
# RevisionTemplateSpec describes the data a revision should have when created
|
4469
|
-
# from a template. Based on:
|
4470
|
-
#
|
4136
|
+
# from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/
|
4137
|
+
# core/v1/types.go#L3179-L3190
|
4471
4138
|
# Corresponds to the JSON property `template`
|
4472
4139
|
# @return [Google::Apis::RunV1alpha1::RevisionTemplate]
|
4473
4140
|
attr_accessor :template
|
@@ -4495,8 +4162,7 @@ module Google
|
|
4495
4162
|
end
|
4496
4163
|
|
4497
4164
|
# ServiceSpecManualType contains the options for configuring a manual service.
|
4498
|
-
# See ServiceSpec for more details.
|
4499
|
-
# Not currently supported by Cloud Run.
|
4165
|
+
# See ServiceSpec for more details. Not currently supported by Cloud Run.
|
4500
4166
|
class ServiceSpecManualType
|
4501
4167
|
include Google::Apis::Core::Hashable
|
4502
4168
|
|
@@ -4510,8 +4176,8 @@ module Google
|
|
4510
4176
|
end
|
4511
4177
|
|
4512
4178
|
# ServiceSpecPinnedType Pins this service to a specific revision name. The
|
4513
|
-
# revision must be owned by the configuration provided.
|
4514
|
-
#
|
4179
|
+
# revision must be owned by the configuration provided. Deprecated and not
|
4180
|
+
# supported by Cloud Run.
|
4515
4181
|
class ServiceSpecPinnedType
|
4516
4182
|
include Google::Apis::Core::Hashable
|
4517
4183
|
|
@@ -4521,8 +4187,8 @@ module Google
|
|
4521
4187
|
# @return [Google::Apis::RunV1alpha1::ConfigurationSpec]
|
4522
4188
|
attr_accessor :configuration
|
4523
4189
|
|
4524
|
-
# The revision name to pin this service to until changed
|
4525
|
-
#
|
4190
|
+
# The revision name to pin this service to until changed to a different service
|
4191
|
+
# type.
|
4526
4192
|
# Corresponds to the JSON property `revisionName`
|
4527
4193
|
# @return [String]
|
4528
4194
|
attr_accessor :revision_name
|
@@ -4539,8 +4205,7 @@ module Google
|
|
4539
4205
|
end
|
4540
4206
|
|
4541
4207
|
# ServiceSpecReleaseType contains the options for slowly releasing revisions.
|
4542
|
-
# See ServiceSpec for more details.
|
4543
|
-
# Not currently supported by Cloud Run.
|
4208
|
+
# See ServiceSpec for more details. Not currently supported by Cloud Run.
|
4544
4209
|
class ServiceSpecReleaseType
|
4545
4210
|
include Google::Apis::Core::Hashable
|
4546
4211
|
|
@@ -4551,17 +4216,16 @@ module Google
|
|
4551
4216
|
attr_accessor :configuration
|
4552
4217
|
|
4553
4218
|
# Revisions is an ordered list of 1 or 2 revisions. The first is the current
|
4554
|
-
# revision, and the second is the candidate revision. If a single revision
|
4555
|
-
#
|
4556
|
-
#
|
4557
|
-
# revision by the configuration.
|
4219
|
+
# revision, and the second is the candidate revision. If a single revision is
|
4220
|
+
# provided, traffic will be pinned at that revision. "@latest" is a shortcut for
|
4221
|
+
# usage that refers to the latest created revision by the configuration.
|
4558
4222
|
# Corresponds to the JSON property `revisions`
|
4559
4223
|
# @return [Array<String>]
|
4560
4224
|
attr_accessor :revisions
|
4561
4225
|
|
4562
|
-
# RolloutPercent is the percent of traffic that should be sent to the
|
4563
|
-
#
|
4564
|
-
#
|
4226
|
+
# RolloutPercent is the percent of traffic that should be sent to the candidate
|
4227
|
+
# revision, i.e. the 2nd revision in the revisions list. Valid values are
|
4228
|
+
# between 0 and 99 inclusive.
|
4565
4229
|
# Corresponds to the JSON property `rolloutPercent`
|
4566
4230
|
# @return [Fixnum]
|
4567
4231
|
attr_accessor :rollout_percent
|
@@ -4608,59 +4272,52 @@ module Google
|
|
4608
4272
|
# @return [Google::Apis::RunV1alpha1::Addressable]
|
4609
4273
|
attr_accessor :address
|
4610
4274
|
|
4611
|
-
# Conditions communicates information about ongoing/complete
|
4612
|
-
#
|
4613
|
-
# state of the world.
|
4275
|
+
# Conditions communicates information about ongoing/complete reconciliation
|
4276
|
+
# processes that bring the "spec" inline with the observed state of the world.
|
4614
4277
|
# Corresponds to the JSON property `conditions`
|
4615
4278
|
# @return [Array<Google::Apis::RunV1alpha1::ServiceCondition>]
|
4616
4279
|
attr_accessor :conditions
|
4617
4280
|
|
4618
|
-
# From RouteStatus.
|
4619
|
-
#
|
4620
|
-
#
|
4621
|
-
# https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
|
4281
|
+
# From RouteStatus. Domain holds the top-level domain that will distribute
|
4282
|
+
# traffic over the provided targets. It generally has the form https://`route-
|
4283
|
+
# hash`-`project-hash`-`cluster-level-suffix`.a.run.app
|
4622
4284
|
# Corresponds to the JSON property `domain`
|
4623
4285
|
# @return [String]
|
4624
4286
|
attr_accessor :domain
|
4625
4287
|
|
4626
|
-
# From ConfigurationStatus.
|
4627
|
-
#
|
4628
|
-
#
|
4629
|
-
# LatestReadyRevisionName.
|
4288
|
+
# From ConfigurationStatus. LatestCreatedRevisionName is the last revision that
|
4289
|
+
# was created from this Service's Configuration. It might not be ready yet, for
|
4290
|
+
# that use LatestReadyRevisionName.
|
4630
4291
|
# Corresponds to the JSON property `latestCreatedRevisionName`
|
4631
4292
|
# @return [String]
|
4632
4293
|
attr_accessor :latest_created_revision_name
|
4633
4294
|
|
4634
|
-
# From ConfigurationStatus.
|
4635
|
-
#
|
4636
|
-
#
|
4637
|
-
# "True".
|
4295
|
+
# From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest
|
4296
|
+
# Revision stamped out from this Service's Configuration that has had its "Ready"
|
4297
|
+
# condition become "True".
|
4638
4298
|
# Corresponds to the JSON property `latestReadyRevisionName`
|
4639
4299
|
# @return [String]
|
4640
4300
|
attr_accessor :latest_ready_revision_name
|
4641
4301
|
|
4642
|
-
# ObservedGeneration is the 'Generation' of the Route that
|
4643
|
-
#
|
4644
|
-
#
|
4645
|
-
#
|
4646
|
-
# is True or False.
|
4302
|
+
# ObservedGeneration is the 'Generation' of the Route that was last processed by
|
4303
|
+
# the controller. Clients polling for completed reconciliation should poll until
|
4304
|
+
# observedGeneration = metadata.generation and the Ready condition's status is
|
4305
|
+
# True or False.
|
4647
4306
|
# Corresponds to the JSON property `observedGeneration`
|
4648
4307
|
# @return [Fixnum]
|
4649
4308
|
attr_accessor :observed_generation
|
4650
4309
|
|
4651
|
-
# From RouteStatus.
|
4652
|
-
#
|
4653
|
-
#
|
4654
|
-
#
|
4655
|
-
# LatestReadyRevisionName that we last observed.
|
4310
|
+
# From RouteStatus. Traffic holds the configured traffic distribution. These
|
4311
|
+
# entries will always contain RevisionName references. When ConfigurationName
|
4312
|
+
# appears in the spec, this will hold the LatestReadyRevisionName that we last
|
4313
|
+
# observed.
|
4656
4314
|
# Corresponds to the JSON property `traffic`
|
4657
4315
|
# @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
|
4658
4316
|
attr_accessor :traffic
|
4659
4317
|
|
4660
|
-
# From RouteStatus.
|
4661
|
-
#
|
4662
|
-
#
|
4663
|
-
# https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
|
4318
|
+
# From RouteStatus. URL holds the url that will distribute traffic over the
|
4319
|
+
# provided traffic targets. It generally has the form https://`route-hash`-`
|
4320
|
+
# project-hash`-`cluster-level-suffix`.a.run.app
|
4664
4321
|
# Corresponds to the JSON property `url`
|
4665
4322
|
# @return [String]
|
4666
4323
|
attr_accessor :url
|
@@ -4687,74 +4344,39 @@ module Google
|
|
4687
4344
|
include Google::Apis::Core::Hashable
|
4688
4345
|
|
4689
4346
|
# An Identity and Access Management (IAM) policy, which specifies access
|
4690
|
-
# controls for Google Cloud resources.
|
4691
|
-
# A `
|
4692
|
-
#
|
4693
|
-
#
|
4694
|
-
#
|
4695
|
-
#
|
4696
|
-
#
|
4697
|
-
#
|
4698
|
-
#
|
4699
|
-
#
|
4700
|
-
#
|
4701
|
-
# [
|
4702
|
-
#
|
4703
|
-
#
|
4704
|
-
# `
|
4705
|
-
# "
|
4706
|
-
# `
|
4707
|
-
# "
|
4708
|
-
#
|
4709
|
-
#
|
4710
|
-
#
|
4711
|
-
#
|
4712
|
-
#
|
4713
|
-
#
|
4714
|
-
#
|
4715
|
-
#
|
4716
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
4717
|
-
# "members": [
|
4718
|
-
# "user:eve@example.com"
|
4719
|
-
# ],
|
4720
|
-
# "condition": `
|
4721
|
-
# "title": "expirable access",
|
4722
|
-
# "description": "Does not grant access after Sep 2020",
|
4723
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
4724
|
-
# ",
|
4725
|
-
# `
|
4726
|
-
# `
|
4727
|
-
# ],
|
4728
|
-
# "etag": "BwWWja0YfJA=",
|
4729
|
-
# "version": 3
|
4730
|
-
# `
|
4731
|
-
# **YAML example:**
|
4732
|
-
# bindings:
|
4733
|
-
# - members:
|
4734
|
-
# - user:mike@example.com
|
4735
|
-
# - group:admins@example.com
|
4736
|
-
# - domain:google.com
|
4737
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
4738
|
-
# role: roles/resourcemanager.organizationAdmin
|
4739
|
-
# - members:
|
4740
|
-
# - user:eve@example.com
|
4741
|
-
# role: roles/resourcemanager.organizationViewer
|
4742
|
-
# condition:
|
4743
|
-
# title: expirable access
|
4744
|
-
# description: Does not grant access after Sep 2020
|
4745
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
4746
|
-
# - etag: BwWWja0YfJA=
|
4747
|
-
# - version: 3
|
4748
|
-
# For a description of IAM and its features, see the
|
4749
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
4347
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
4348
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
4349
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
4350
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
4351
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
4352
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
4353
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
4354
|
+
# condition can add constraints based on attributes of the request, the resource,
|
4355
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
4356
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
4357
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
4358
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
4359
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
4360
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
4361
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
4362
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
4363
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
4364
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
4365
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
4366
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
4367
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
4368
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
4369
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
4370
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
4371
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
4372
|
+
# google.com/iam/docs/).
|
4750
4373
|
# Corresponds to the JSON property `policy`
|
4751
4374
|
# @return [Google::Apis::RunV1alpha1::Policy]
|
4752
4375
|
attr_accessor :policy
|
4753
4376
|
|
4754
4377
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
4755
|
-
# the fields in the mask will be modified. If no mask is provided, the
|
4756
|
-
#
|
4757
|
-
# `paths: "bindings, etag"`
|
4378
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
4379
|
+
# default mask is used: `paths: "bindings, etag"`
|
4758
4380
|
# Corresponds to the JSON property `updateMask`
|
4759
4381
|
# @return [String]
|
4760
4382
|
attr_accessor :update_mask
|
@@ -4774,16 +4396,15 @@ module Google
|
|
4774
4396
|
class TcpSocketAction
|
4775
4397
|
include Google::Apis::Core::Hashable
|
4776
4398
|
|
4777
|
-
# Optional: Host name to connect to, defaults to the pod IP.
|
4778
|
-
# +optional
|
4399
|
+
# Optional: Host name to connect to, defaults to the pod IP. +optional
|
4779
4400
|
# Corresponds to the JSON property `host`
|
4780
4401
|
# @return [String]
|
4781
4402
|
attr_accessor :host
|
4782
4403
|
|
4783
|
-
# IntOrString is a type that can hold an int32 or a string.
|
4784
|
-
#
|
4785
|
-
#
|
4786
|
-
#
|
4404
|
+
# IntOrString is a type that can hold an int32 or a string. When used in JSON or
|
4405
|
+
# YAML marshalling and unmarshalling, it produces or consumes the inner type.
|
4406
|
+
# This allows you to have, for example, a JSON field that can accept a name or
|
4407
|
+
# number.
|
4787
4408
|
# Corresponds to the JSON property `port`
|
4788
4409
|
# @return [Google::Apis::RunV1alpha1::IntOrString]
|
4789
4410
|
attr_accessor :port
|
@@ -4803,10 +4424,9 @@ module Google
|
|
4803
4424
|
class TestIamPermissionsRequest
|
4804
4425
|
include Google::Apis::Core::Hashable
|
4805
4426
|
|
4806
|
-
# The set of permissions to check for the `resource`. Permissions with
|
4807
|
-
#
|
4808
|
-
#
|
4809
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
4427
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
4428
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
4429
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
4810
4430
|
# Corresponds to the JSON property `permissions`
|
4811
4431
|
# @return [Array<String>]
|
4812
4432
|
attr_accessor :permissions
|
@@ -4825,8 +4445,7 @@ module Google
|
|
4825
4445
|
class TestIamPermissionsResponse
|
4826
4446
|
include Google::Apis::Core::Hashable
|
4827
4447
|
|
4828
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
4829
|
-
# allowed.
|
4448
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
4830
4449
|
# Corresponds to the JSON property `permissions`
|
4831
4450
|
# @return [Array<String>]
|
4832
4451
|
attr_accessor :permissions
|
@@ -4845,63 +4464,55 @@ module Google
|
|
4845
4464
|
class TrafficTarget
|
4846
4465
|
include Google::Apis::Core::Hashable
|
4847
4466
|
|
4848
|
-
# ConfigurationName of a configuration to whose latest revision we will
|
4849
|
-
#
|
4850
|
-
#
|
4851
|
-
#
|
4852
|
-
#
|
4853
|
-
# with RevisionName.
|
4467
|
+
# ConfigurationName of a configuration to whose latest revision we will send
|
4468
|
+
# this portion of traffic. When the "status.latestReadyRevisionName" of the
|
4469
|
+
# referenced configuration changes, we will automatically migrate traffic from
|
4470
|
+
# the prior "latest ready" revision to the new one. This field is never set in
|
4471
|
+
# Route's status, only its spec. This is mutually exclusive with RevisionName.
|
4854
4472
|
# Cloud Run currently supports a single ConfigurationName.
|
4855
4473
|
# Corresponds to the JSON property `configurationName`
|
4856
4474
|
# @return [String]
|
4857
4475
|
attr_accessor :configuration_name
|
4858
4476
|
|
4859
|
-
# LatestRevision may be optionally provided to indicate that the latest
|
4860
|
-
#
|
4861
|
-
#
|
4862
|
-
#
|
4863
|
-
# +optional
|
4477
|
+
# LatestRevision may be optionally provided to indicate that the latest ready
|
4478
|
+
# Revision of the Configuration should be used for this traffic target. When
|
4479
|
+
# provided LatestRevision must be true if RevisionName is empty; it must be
|
4480
|
+
# false when RevisionName is non-empty. +optional
|
4864
4481
|
# Corresponds to the JSON property `latestRevision`
|
4865
4482
|
# @return [Boolean]
|
4866
4483
|
attr_accessor :latest_revision
|
4867
4484
|
alias_method :latest_revision?, :latest_revision
|
4868
4485
|
|
4869
4486
|
# Name is optionally used to expose a dedicated hostname for referencing this
|
4870
|
-
# target exclusively.
|
4871
|
-
# Not currently supported by Cloud Run.
|
4872
|
-
# +optional
|
4487
|
+
# target exclusively. Not currently supported by Cloud Run. +optional
|
4873
4488
|
# Corresponds to the JSON property `name`
|
4874
4489
|
# @return [String]
|
4875
4490
|
attr_accessor :name
|
4876
4491
|
|
4877
4492
|
# Percent specifies percent of the traffic to this Revision or Configuration.
|
4878
|
-
# This defaults to zero if unspecified.
|
4879
|
-
#
|
4880
|
-
# TrafficTarget entry.
|
4493
|
+
# This defaults to zero if unspecified. Cloud Run currently requires 100 percent
|
4494
|
+
# for a single ConfigurationName TrafficTarget entry.
|
4881
4495
|
# Corresponds to the JSON property `percent`
|
4882
4496
|
# @return [Fixnum]
|
4883
4497
|
attr_accessor :percent
|
4884
4498
|
|
4885
|
-
# RevisionName of a specific revision to which to send this portion of
|
4886
|
-
#
|
4887
|
-
#
|
4499
|
+
# RevisionName of a specific revision to which to send this portion of traffic.
|
4500
|
+
# This is mutually exclusive with ConfigurationName. Providing RevisionName in
|
4501
|
+
# spec is not currently supported by Cloud Run.
|
4888
4502
|
# Corresponds to the JSON property `revisionName`
|
4889
4503
|
# @return [String]
|
4890
4504
|
attr_accessor :revision_name
|
4891
4505
|
|
4892
|
-
# Tag is optionally used to expose a dedicated url for referencing
|
4893
|
-
#
|
4894
|
-
# Not currently supported in Cloud Run.
|
4895
|
-
# +optional
|
4506
|
+
# Tag is optionally used to expose a dedicated url for referencing this target
|
4507
|
+
# exclusively. Not currently supported in Cloud Run. +optional
|
4896
4508
|
# Corresponds to the JSON property `tag`
|
4897
4509
|
# @return [String]
|
4898
4510
|
attr_accessor :tag
|
4899
4511
|
|
4900
|
-
# Output only. URL displays the URL for accessing named traffic targets. URL
|
4901
|
-
#
|
4902
|
-
#
|
4903
|
-
#
|
4904
|
-
# Not currently supported in Cloud Run.
|
4512
|
+
# Output only. URL displays the URL for accessing named traffic targets. URL is
|
4513
|
+
# displayed in status, and is disallowed on spec. URL must contain a scheme (e.g.
|
4514
|
+
# http://) and a hostname, but may not contain anything else (e.g. basic auth,
|
4515
|
+
# url path, etc. Not currently supported in Cloud Run.
|
4905
4516
|
# Corresponds to the JSON property `url`
|
4906
4517
|
# @return [String]
|
4907
4518
|
attr_accessor :url
|
@@ -5021,13 +4632,11 @@ module Google
|
|
5021
4632
|
include Google::Apis::Core::Hashable
|
5022
4633
|
|
5023
4634
|
# Optional. Attributes filters events by exact match on event context attributes.
|
5024
|
-
# Each key in the map is compared with the equivalent key in the event
|
5025
|
-
#
|
5026
|
-
#
|
5027
|
-
#
|
5028
|
-
#
|
5029
|
-
# Note that this field is optional in knative. In fully managed, 'type'
|
5030
|
-
# attribute is required due to different broker implementation.
|
4635
|
+
# Each key in the map is compared with the equivalent key in the event context.
|
4636
|
+
# An event passes the filter if all values are equal to the specified values.
|
4637
|
+
# Nested context attributes are not supported as keys. Only string values are
|
4638
|
+
# supported. Note that this field is optional in knative. In fully managed, '
|
4639
|
+
# type' attribute is required due to different broker implementation.
|
5031
4640
|
# Corresponds to the JSON property `attributes`
|
5032
4641
|
# @return [Hash<String,String>]
|
5033
4642
|
attr_accessor :attributes
|
@@ -5046,18 +4655,16 @@ module Google
|
|
5046
4655
|
class TriggerSpec
|
5047
4656
|
include Google::Apis::Core::Hashable
|
5048
4657
|
|
5049
|
-
# Broker is the broker that this trigger receives events from. If not
|
5050
|
-
#
|
5051
|
-
# Not currently supported by Cloud Run.
|
4658
|
+
# Broker is the broker that this trigger receives events from. If not specified,
|
4659
|
+
# will default to 'default'. Not currently supported by Cloud Run.
|
5052
4660
|
# Corresponds to the JSON property `broker`
|
5053
4661
|
# @return [String]
|
5054
4662
|
attr_accessor :broker
|
5055
4663
|
|
5056
4664
|
# Optional. Filter is the filter to apply against all events from the Broker.
|
5057
|
-
# Only
|
5058
|
-
#
|
5059
|
-
#
|
5060
|
-
# managed due to different broker implementation.
|
4665
|
+
# Only events that pass this filter will be sent to the Subscriber. Note that
|
4666
|
+
# filter is optional in knative and is only required in fully managed due to
|
4667
|
+
# different broker implementation.
|
5061
4668
|
# Corresponds to the JSON property `filter`
|
5062
4669
|
# @return [Google::Apis::RunV1alpha1::TriggerFilter]
|
5063
4670
|
attr_accessor :filter
|
@@ -5083,14 +4690,14 @@ module Google
|
|
5083
4690
|
class TriggerStatus
|
5084
4691
|
include Google::Apis::Core::Hashable
|
5085
4692
|
|
5086
|
-
# Array of observed TriggerConditions, indicating the current state
|
5087
|
-
#
|
4693
|
+
# Array of observed TriggerConditions, indicating the current state of the
|
4694
|
+
# Trigger.
|
5088
4695
|
# Corresponds to the JSON property `conditions`
|
5089
4696
|
# @return [Array<Google::Apis::RunV1alpha1::TriggerCondition>]
|
5090
4697
|
attr_accessor :conditions
|
5091
4698
|
|
5092
|
-
# ObservedGeneration is the 'Generation' of the Trigger that
|
5093
|
-
#
|
4699
|
+
# ObservedGeneration is the 'Generation' of the Trigger that was last processed
|
4700
|
+
# by the controller.
|
5094
4701
|
# Corresponds to the JSON property `observedGeneration`
|
5095
4702
|
# @return [Fixnum]
|
5096
4703
|
attr_accessor :observed_generation
|
@@ -5116,10 +4723,10 @@ module Google
|
|
5116
4723
|
class Volume
|
5117
4724
|
include Google::Apis::Core::Hashable
|
5118
4725
|
|
5119
|
-
# Adapts a ConfigMap into a volume.
|
5120
|
-
#
|
5121
|
-
#
|
5122
|
-
#
|
4726
|
+
# Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data
|
4727
|
+
# field will be presented in a volume as files using the keys in the Data field
|
4728
|
+
# as the file names, unless the items element is populated with specific
|
4729
|
+
# mappings of keys to paths.
|
5123
4730
|
# Corresponds to the JSON property `configMap`
|
5124
4731
|
# @return [Google::Apis::RunV1alpha1::ConfigMapVolumeSource]
|
5125
4732
|
attr_accessor :config_map
|
@@ -5151,8 +4758,8 @@ module Google
|
|
5151
4758
|
class VolumeDevice
|
5152
4759
|
include Google::Apis::Core::Hashable
|
5153
4760
|
|
5154
|
-
# devicePath is the path inside of the container that the device will be
|
5155
|
-
#
|
4761
|
+
# devicePath is the path inside of the container that the device will be mapped
|
4762
|
+
# to.
|
5156
4763
|
# Corresponds to the JSON property `devicePath`
|
5157
4764
|
# @return [String]
|
5158
4765
|
attr_accessor :device_path
|
@@ -5177,17 +4784,15 @@ module Google
|
|
5177
4784
|
class VolumeMount
|
5178
4785
|
include Google::Apis::Core::Hashable
|
5179
4786
|
|
5180
|
-
# Path within the container at which the volume should be mounted.
|
5181
|
-
#
|
4787
|
+
# Path within the container at which the volume should be mounted. Must not
|
4788
|
+
# contain ':'.
|
5182
4789
|
# Corresponds to the JSON property `mountPath`
|
5183
4790
|
# @return [String]
|
5184
4791
|
attr_accessor :mount_path
|
5185
4792
|
|
5186
|
-
# mountPropagation determines how mounts are propagated from the host
|
5187
|
-
#
|
5188
|
-
#
|
5189
|
-
# This field is beta in 1.10.
|
5190
|
-
# +optional
|
4793
|
+
# mountPropagation determines how mounts are propagated from the host to
|
4794
|
+
# container and the other way around. When not set,
|
4795
|
+
# MountPropagationHostToContainer is used. This field is beta in 1.10. +optional
|
5191
4796
|
# Corresponds to the JSON property `mountPropagation`
|
5192
4797
|
# @return [String]
|
5193
4798
|
attr_accessor :mount_propagation
|
@@ -5198,16 +4803,14 @@ module Google
|
|
5198
4803
|
attr_accessor :name
|
5199
4804
|
|
5200
4805
|
# Mounted read-only if true, read-write otherwise (false or unspecified).
|
5201
|
-
# Defaults to false.
|
5202
|
-
# +optional
|
4806
|
+
# Defaults to false. +optional
|
5203
4807
|
# Corresponds to the JSON property `readOnly`
|
5204
4808
|
# @return [Boolean]
|
5205
4809
|
attr_accessor :read_only
|
5206
4810
|
alias_method :read_only?, :read_only
|
5207
4811
|
|
5208
4812
|
# Path within the volume from which the container's volume should be mounted.
|
5209
|
-
# Defaults to "" (volume's root).
|
5210
|
-
# +optional
|
4813
|
+
# Defaults to "" (volume's root). +optional
|
5211
4814
|
# Corresponds to the JSON property `subPath`
|
5212
4815
|
# @return [String]
|
5213
4816
|
attr_accessor :sub_path
|