google-api-client 0.41.0 → 0.42.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +295 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- 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/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +3 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1475 -107
- data/generated/google/apis/apigee_v1/representations.rb +558 -0
- data/generated/google/apis/apigee_v1/service.rb +1175 -117
- 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 +234 -9
- data/generated/google/apis/bigquery_v2/representations.rb +74 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- 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 +28 -13
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/blogger_v3.rb +1 -1
- 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 +22 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
- data/generated/google/apis/civicinfo_v2/service.rb +28 -63
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +9 -5
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/{androidpublisher_v2.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -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/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -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 -136
- 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/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -49
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- 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 -755
- 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 -430
- 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 +18 -6
- 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 +18 -6
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- 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/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +99 -61
- data/generated/google/apis/compute_alpha/representations.rb +3 -0
- data/generated/google/apis/compute_alpha/service.rb +32 -33
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +596 -60
- data/generated/google/apis/compute_beta/representations.rb +162 -0
- data/generated/google/apis/compute_beta/service.rb +565 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +967 -70
- data/generated/google/apis/compute_v1/representations.rb +289 -0
- data/generated/google/apis/compute_v1/service.rb +784 -38
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +132 -5
- 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/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +8 -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 +182 -4
- data/generated/google/apis/content_v2_1/representations.rb +72 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1610 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +618 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +400 -565
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +351 -435
- 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/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -14
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.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 +416 -63
- data/generated/google/apis/dialogflow_v2/representations.rb +108 -0
- data/generated/google/apis/dialogflow_v2/service.rb +4 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +436 -66
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +108 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +58 -44
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1727 -1680
- data/generated/google/apis/displayvideo_v1/representations.rb +275 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1245 -924
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -2
- 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/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +75 -76
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +43 -75
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +75 -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 +74 -2
- data/generated/google/apis/drive_v3/representations.rb +23 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- 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 +10 -16
- data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- 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 +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +55 -55
- data/generated/google/apis/gmail_v1/service.rb +74 -73
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -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/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1/service.rb +48 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
- 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/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +28 -14
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +2 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +71 -38
- data/generated/google/apis/monitoring_v3/representations.rb +1 -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 +77 -2
- data/generated/google/apis/osconfig_v1/representations.rb +35 -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 +4 -1
- data/generated/google/apis/people_v1/classes.rb +243 -397
- data/generated/google/apis/people_v1/service.rb +156 -384
- data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +49 -30
- 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 +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -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 +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +398 -1
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +398 -1
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.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 +2 -2
- data/generated/google/apis/run_v1/classes.rb +835 -1245
- data/generated/google/apis/run_v1/service.rb +196 -246
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +322 -378
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +17 -19
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +4 -5
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -3
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +3 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +118 -28
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +7 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- 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/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- 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/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
- data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → vectortile_v1}/representations.rb +105 -121
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +15 -22
- 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 +526 -1086
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +562 -2
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +270 -10
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -23
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
- 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/cloudfunctions_v1beta2/service.rb +0 -486
- 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
|
@@ -18,7 +18,7 @@ require 'google/apis/run_v1/representations.rb'
|
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
21
|
-
# Cloud Run API
|
|
21
|
+
# Cloud Run Admin API
|
|
22
22
|
#
|
|
23
23
|
# Deploy and manage user provided container images that scale automatically
|
|
24
24
|
# based on HTTP traffic.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/run/
|
|
27
27
|
module RunV1
|
|
28
28
|
VERSION = 'V1'
|
|
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'
|
|
@@ -41,53 +41,21 @@ module Google
|
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
-
# Specifies the audit configuration for a service.
|
|
45
|
-
#
|
|
46
|
-
#
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
#
|
|
50
|
-
#
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
# `
|
|
54
|
-
# "
|
|
55
|
-
# `
|
|
56
|
-
#
|
|
57
|
-
#
|
|
58
|
-
#
|
|
59
|
-
# "log_type": "DATA_READ",
|
|
60
|
-
# "exempted_members": [
|
|
61
|
-
# "user:jose@example.com"
|
|
62
|
-
# ]
|
|
63
|
-
# `,
|
|
64
|
-
# `
|
|
65
|
-
# "log_type": "DATA_WRITE"
|
|
66
|
-
# `,
|
|
67
|
-
# `
|
|
68
|
-
# "log_type": "ADMIN_READ"
|
|
69
|
-
# `
|
|
70
|
-
# ]
|
|
71
|
-
# `,
|
|
72
|
-
# `
|
|
73
|
-
# "service": "sampleservice.googleapis.com",
|
|
74
|
-
# "audit_log_configs": [
|
|
75
|
-
# `
|
|
76
|
-
# "log_type": "DATA_READ"
|
|
77
|
-
# `,
|
|
78
|
-
# `
|
|
79
|
-
# "log_type": "DATA_WRITE",
|
|
80
|
-
# "exempted_members": [
|
|
81
|
-
# "user:aliya@example.com"
|
|
82
|
-
# ]
|
|
83
|
-
# `
|
|
84
|
-
# ]
|
|
85
|
-
# `
|
|
86
|
-
# ]
|
|
87
|
-
# `
|
|
88
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
89
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
90
|
-
# aliya@example.com from DATA_WRITE logging.
|
|
44
|
+
# Specifies the audit configuration for a service. The configuration determines
|
|
45
|
+
# which permission types are logged, and what identities, if any, are exempted
|
|
46
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
|
47
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
|
48
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
|
49
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
|
50
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
|
51
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
|
52
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
|
53
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
|
54
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
|
55
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
|
56
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
|
57
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
|
58
|
+
# DATA_WRITE logging.
|
|
91
59
|
class AuditConfig
|
|
92
60
|
include Google::Apis::Core::Hashable
|
|
93
61
|
|
|
@@ -96,9 +64,9 @@ module Google
|
|
|
96
64
|
# @return [Array<Google::Apis::RunV1::AuditLogConfig>]
|
|
97
65
|
attr_accessor :audit_log_configs
|
|
98
66
|
|
|
99
|
-
# Specifies a service that will be enabled for audit logging.
|
|
100
|
-
#
|
|
101
|
-
#
|
|
67
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
|
68
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
|
69
|
+
# value that covers all services.
|
|
102
70
|
# Corresponds to the JSON property `service`
|
|
103
71
|
# @return [String]
|
|
104
72
|
attr_accessor :service
|
|
@@ -114,28 +82,15 @@ module Google
|
|
|
114
82
|
end
|
|
115
83
|
end
|
|
116
84
|
|
|
117
|
-
# Provides the configuration for logging a type of permissions.
|
|
118
|
-
#
|
|
119
|
-
# `
|
|
120
|
-
#
|
|
121
|
-
#
|
|
122
|
-
# "log_type": "DATA_READ",
|
|
123
|
-
# "exempted_members": [
|
|
124
|
-
# "user:jose@example.com"
|
|
125
|
-
# ]
|
|
126
|
-
# `,
|
|
127
|
-
# `
|
|
128
|
-
# "log_type": "DATA_WRITE"
|
|
129
|
-
# `
|
|
130
|
-
# ]
|
|
131
|
-
# `
|
|
132
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
133
|
-
# jose@example.com from DATA_READ logging.
|
|
85
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
|
86
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
|
87
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
|
88
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
|
89
|
+
# DATA_READ logging.
|
|
134
90
|
class AuditLogConfig
|
|
135
91
|
include Google::Apis::Core::Hashable
|
|
136
92
|
|
|
137
|
-
# Specifies the identities that do not cause logging for this type of
|
|
138
|
-
# permission.
|
|
93
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
|
139
94
|
# Follows the same format of Binding.members.
|
|
140
95
|
# Corresponds to the JSON property `exemptedMembers`
|
|
141
96
|
# @return [Array<String>]
|
|
@@ -157,9 +112,9 @@ module Google
|
|
|
157
112
|
end
|
|
158
113
|
end
|
|
159
114
|
|
|
160
|
-
# A domain that a user has been authorized to administer. To authorize use
|
|
161
|
-
#
|
|
162
|
-
#
|
|
115
|
+
# A domain that a user has been authorized to administer. To authorize use of a
|
|
116
|
+
# domain, verify ownership via [Webmaster Central](https://www.google.com/
|
|
117
|
+
# webmasters/verification/home).
|
|
163
118
|
class AuthorizedDomain
|
|
164
119
|
include Google::Apis::Core::Hashable
|
|
165
120
|
|
|
@@ -168,8 +123,8 @@ module Google
|
|
|
168
123
|
# @return [String]
|
|
169
124
|
attr_accessor :id
|
|
170
125
|
|
|
171
|
-
# Read only. Full path to the `AuthorizedDomain` resource in the API.
|
|
172
|
-
#
|
|
126
|
+
# Read only. Full path to the `AuthorizedDomain` resource in the API. Example: `
|
|
127
|
+
# apps/myapp/authorizedDomains/example.com`.
|
|
173
128
|
# Corresponds to the JSON property `name`
|
|
174
129
|
# @return [String]
|
|
175
130
|
attr_accessor :name
|
|
@@ -189,69 +144,57 @@ module Google
|
|
|
189
144
|
class Binding
|
|
190
145
|
include Google::Apis::Core::Hashable
|
|
191
146
|
|
|
192
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
193
|
-
#
|
|
194
|
-
#
|
|
195
|
-
#
|
|
196
|
-
#
|
|
197
|
-
# description: "Determines if
|
|
198
|
-
# expression: "document.
|
|
199
|
-
#
|
|
200
|
-
#
|
|
201
|
-
#
|
|
202
|
-
#
|
|
203
|
-
#
|
|
204
|
-
#
|
|
205
|
-
#
|
|
206
|
-
#
|
|
207
|
-
# Example (Data Manipulation):
|
|
208
|
-
# title: "Notification string"
|
|
209
|
-
# description: "Create a notification string with a timestamp."
|
|
210
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
211
|
-
# The exact variables and functions that may be referenced within an expression
|
|
212
|
-
# are determined by the service that evaluates it. See the service
|
|
213
|
-
# documentation for additional information.
|
|
147
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
148
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
149
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
150
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
151
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
152
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
153
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
154
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
155
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
156
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
157
|
+
# string" description: "Create a notification string with a timestamp."
|
|
158
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
159
|
+
# exact variables and functions that may be referenced within an expression are
|
|
160
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
161
|
+
# additional information.
|
|
214
162
|
# Corresponds to the JSON property `condition`
|
|
215
163
|
# @return [Google::Apis::RunV1::Expr]
|
|
216
164
|
attr_accessor :condition
|
|
217
165
|
|
|
218
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
|
219
|
-
#
|
|
220
|
-
#
|
|
221
|
-
#
|
|
222
|
-
#
|
|
223
|
-
#
|
|
224
|
-
# * `
|
|
225
|
-
# account. For example, `
|
|
226
|
-
# * `
|
|
227
|
-
#
|
|
228
|
-
#
|
|
229
|
-
# For example, `
|
|
230
|
-
#
|
|
231
|
-
#
|
|
232
|
-
#
|
|
233
|
-
#
|
|
234
|
-
#
|
|
235
|
-
#
|
|
236
|
-
#
|
|
237
|
-
# deleted
|
|
238
|
-
#
|
|
239
|
-
# If the
|
|
240
|
-
# `
|
|
241
|
-
# role in the binding.
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
245
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
246
|
-
# recovered group retains the role in the binding.
|
|
247
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
248
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
|
166
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
|
167
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
|
168
|
+
# that represents anyone who is on the internet; with or without a Google
|
|
169
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
|
170
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
|
171
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
|
172
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
|
173
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
|
174
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
|
175
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
|
176
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
|
177
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
|
178
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
|
179
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
|
180
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
181
|
+
# identifier) representing a service account that has been recently deleted. For
|
|
182
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
|
183
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
|
184
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
|
185
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
186
|
+
# identifier) representing a Google group that has been recently deleted. For
|
|
187
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
|
188
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
|
189
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
|
190
|
+
# primary) that represents all the users of that domain. For example, `google.
|
|
191
|
+
# com` or `example.com`.
|
|
249
192
|
# Corresponds to the JSON property `members`
|
|
250
193
|
# @return [Array<String>]
|
|
251
194
|
attr_accessor :members
|
|
252
195
|
|
|
253
|
-
# Role that is assigned to `members`.
|
|
254
|
-
#
|
|
196
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
|
197
|
+
# , or `roles/owner`.
|
|
255
198
|
# Corresponds to the JSON property `role`
|
|
256
199
|
# @return [String]
|
|
257
200
|
attr_accessor :role
|
|
@@ -268,34 +211,28 @@ module Google
|
|
|
268
211
|
end
|
|
269
212
|
end
|
|
270
213
|
|
|
271
|
-
# Cloud Run fully managed: not supported
|
|
272
|
-
#
|
|
273
|
-
#
|
|
274
|
-
# variables
|
|
275
|
-
# The contents of the target ConfigMap's Data field will represent the
|
|
276
|
-
# key-value pairs as environment variables.
|
|
214
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
215
|
+
# ConfigMapEnvSource selects a ConfigMap to populate the environment variables
|
|
216
|
+
# with. The contents of the target ConfigMap's Data field will represent the key-
|
|
217
|
+
# value pairs as environment variables.
|
|
277
218
|
class ConfigMapEnvSource
|
|
278
219
|
include Google::Apis::Core::Hashable
|
|
279
220
|
|
|
280
|
-
# Cloud Run fully managed: not supported
|
|
281
|
-
# Cloud Run for Anthos: supported
|
|
221
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
282
222
|
# LocalObjectReference contains enough information to let you locate the
|
|
283
223
|
# referenced object inside the same namespace.
|
|
284
224
|
# Corresponds to the JSON property `localObjectReference`
|
|
285
225
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
|
286
226
|
attr_accessor :local_object_reference
|
|
287
227
|
|
|
288
|
-
# Cloud Run fully managed: not supported
|
|
289
|
-
#
|
|
290
|
-
# The ConfigMap to select from.
|
|
228
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The
|
|
229
|
+
# ConfigMap to select from.
|
|
291
230
|
# Corresponds to the JSON property `name`
|
|
292
231
|
# @return [String]
|
|
293
232
|
attr_accessor :name
|
|
294
233
|
|
|
295
|
-
# (Optional)
|
|
296
|
-
#
|
|
297
|
-
# Cloud Run for Anthos: supported
|
|
298
|
-
# Specify whether the ConfigMap must be defined
|
|
234
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
235
|
+
# supported Specify whether the ConfigMap must be defined
|
|
299
236
|
# Corresponds to the JSON property `optional`
|
|
300
237
|
# @return [Boolean]
|
|
301
238
|
attr_accessor :optional
|
|
@@ -313,38 +250,32 @@ module Google
|
|
|
313
250
|
end
|
|
314
251
|
end
|
|
315
252
|
|
|
316
|
-
# Cloud Run fully managed: not supported
|
|
317
|
-
#
|
|
318
|
-
# Selects a key from a ConfigMap.
|
|
253
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Selects
|
|
254
|
+
# a key from a ConfigMap.
|
|
319
255
|
class ConfigMapKeySelector
|
|
320
256
|
include Google::Apis::Core::Hashable
|
|
321
257
|
|
|
322
|
-
# Cloud Run fully managed: not supported
|
|
323
|
-
#
|
|
324
|
-
# The key to select.
|
|
258
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The key
|
|
259
|
+
# to select.
|
|
325
260
|
# Corresponds to the JSON property `key`
|
|
326
261
|
# @return [String]
|
|
327
262
|
attr_accessor :key
|
|
328
263
|
|
|
329
|
-
# Cloud Run fully managed: not supported
|
|
330
|
-
# Cloud Run for Anthos: supported
|
|
264
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
331
265
|
# LocalObjectReference contains enough information to let you locate the
|
|
332
266
|
# referenced object inside the same namespace.
|
|
333
267
|
# Corresponds to the JSON property `localObjectReference`
|
|
334
268
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
|
335
269
|
attr_accessor :local_object_reference
|
|
336
270
|
|
|
337
|
-
# Cloud Run fully managed: not supported
|
|
338
|
-
#
|
|
339
|
-
# The ConfigMap to select from.
|
|
271
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The
|
|
272
|
+
# ConfigMap to select from.
|
|
340
273
|
# Corresponds to the JSON property `name`
|
|
341
274
|
# @return [String]
|
|
342
275
|
attr_accessor :name
|
|
343
276
|
|
|
344
|
-
# (Optional)
|
|
345
|
-
#
|
|
346
|
-
# Cloud Run for Anthos: supported
|
|
347
|
-
# Specify whether the ConfigMap or its key must be defined
|
|
277
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
278
|
+
# supported Specify whether the ConfigMap or its key must be defined
|
|
348
279
|
# Corresponds to the JSON property `optional`
|
|
349
280
|
# @return [Boolean]
|
|
350
281
|
attr_accessor :optional
|
|
@@ -363,50 +294,42 @@ module Google
|
|
|
363
294
|
end
|
|
364
295
|
end
|
|
365
296
|
|
|
366
|
-
# Cloud Run fully managed: not supported
|
|
367
|
-
#
|
|
368
|
-
#
|
|
369
|
-
#
|
|
370
|
-
#
|
|
371
|
-
# the items element is populated with specific mappings of keys to paths.
|
|
297
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Adapts
|
|
298
|
+
# a ConfigMap into a volume. The contents of the target ConfigMap's Data field
|
|
299
|
+
# will be presented in a volume as files using the keys in the Data field as the
|
|
300
|
+
# file names, unless the items element is populated with specific mappings of
|
|
301
|
+
# keys to paths.
|
|
372
302
|
class ConfigMapVolumeSource
|
|
373
303
|
include Google::Apis::Core::Hashable
|
|
374
304
|
|
|
375
|
-
# (Optional)
|
|
376
|
-
#
|
|
377
|
-
#
|
|
378
|
-
#
|
|
379
|
-
#
|
|
380
|
-
# this setting. This might be in conflict with other options that affect the
|
|
381
|
-
# file mode, like fsGroup, and the result can be other mode bits set.
|
|
305
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
306
|
+
# supported Mode bits to use on created files by default. Must be a value
|
|
307
|
+
# between 0 and 0777. Defaults to 0644. Directories within the path are not
|
|
308
|
+
# affected by this setting. This might be in conflict with other options that
|
|
309
|
+
# affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
382
310
|
# Corresponds to the JSON property `defaultMode`
|
|
383
311
|
# @return [Fixnum]
|
|
384
312
|
attr_accessor :default_mode
|
|
385
313
|
|
|
386
|
-
# (Optional)
|
|
387
|
-
#
|
|
388
|
-
#
|
|
389
|
-
#
|
|
390
|
-
#
|
|
391
|
-
# key
|
|
392
|
-
#
|
|
393
|
-
# present. If a key is specified which is not present in the Secret,
|
|
394
|
-
# the volume setup will error unless it is marked optional.
|
|
314
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
315
|
+
# supported If unspecified, each key-value pair in the Data field of the
|
|
316
|
+
# referenced Secret will be projected into the volume as a file whose name is
|
|
317
|
+
# the key and content is the value. If specified, the listed keys will be
|
|
318
|
+
# projected into the specified paths, and unlisted keys will not be present. If
|
|
319
|
+
# a key is specified which is not present in the Secret, the volume setup will
|
|
320
|
+
# error unless it is marked optional.
|
|
395
321
|
# Corresponds to the JSON property `items`
|
|
396
322
|
# @return [Array<Google::Apis::RunV1::KeyToPath>]
|
|
397
323
|
attr_accessor :items
|
|
398
324
|
|
|
399
|
-
# Cloud Run fully managed: not supported
|
|
400
|
-
#
|
|
401
|
-
# Name of the config.
|
|
325
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Name of
|
|
326
|
+
# the config.
|
|
402
327
|
# Corresponds to the JSON property `name`
|
|
403
328
|
# @return [String]
|
|
404
329
|
attr_accessor :name
|
|
405
330
|
|
|
406
|
-
# (Optional)
|
|
407
|
-
#
|
|
408
|
-
# Cloud Run for Anthos: supported
|
|
409
|
-
# Specify whether the Secret or its keys must be defined.
|
|
331
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
332
|
+
# supported Specify whether the Secret or its keys must be defined.
|
|
410
333
|
# Corresponds to the JSON property `optional`
|
|
411
334
|
# @return [Boolean]
|
|
412
335
|
attr_accessor :optional
|
|
@@ -425,13 +348,12 @@ module Google
|
|
|
425
348
|
end
|
|
426
349
|
end
|
|
427
350
|
|
|
428
|
-
# Configuration represents the "floating HEAD" of a linear history of
|
|
429
|
-
#
|
|
430
|
-
#
|
|
431
|
-
#
|
|
432
|
-
#
|
|
433
|
-
#
|
|
434
|
-
# configuration
|
|
351
|
+
# Configuration represents the "floating HEAD" of a linear history of Revisions,
|
|
352
|
+
# and optionally how the containers those revisions reference are built. Users
|
|
353
|
+
# create new Revisions by updating the Configuration's spec. The "latest created"
|
|
354
|
+
# revision's name is available under status, as is the "latest ready" revision'
|
|
355
|
+
# s name. See also: https://github.com/knative/serving/blob/master/docs/spec/
|
|
356
|
+
# overview.md#configuration
|
|
435
357
|
class Configuration
|
|
436
358
|
include Google::Apis::Core::Hashable
|
|
437
359
|
|
|
@@ -445,8 +367,8 @@ module Google
|
|
|
445
367
|
# @return [String]
|
|
446
368
|
attr_accessor :kind
|
|
447
369
|
|
|
448
|
-
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
|
|
449
|
-
#
|
|
370
|
+
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
|
371
|
+
# resources must have, which includes all objects users must create.
|
|
450
372
|
# Corresponds to the JSON property `metadata`
|
|
451
373
|
# @return [Google::Apis::RunV1::ObjectMeta]
|
|
452
374
|
attr_accessor :metadata
|
|
@@ -457,8 +379,8 @@ module Google
|
|
|
457
379
|
# @return [Google::Apis::RunV1::ConfigurationSpec]
|
|
458
380
|
attr_accessor :spec
|
|
459
381
|
|
|
460
|
-
# ConfigurationStatus communicates the observed state of the Configuration
|
|
461
|
-
#
|
|
382
|
+
# ConfigurationStatus communicates the observed state of the Configuration (from
|
|
383
|
+
# the controller).
|
|
462
384
|
# Corresponds to the JSON property `status`
|
|
463
385
|
# @return [Google::Apis::RunV1::ConfigurationStatus]
|
|
464
386
|
attr_accessor :status
|
|
@@ -483,8 +405,8 @@ module Google
|
|
|
483
405
|
include Google::Apis::Core::Hashable
|
|
484
406
|
|
|
485
407
|
# RevisionTemplateSpec describes the data a revision should have when created
|
|
486
|
-
# from a template. Based on:
|
|
487
|
-
#
|
|
408
|
+
# from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/
|
|
409
|
+
# core/v1/types.go#L3179-L3190
|
|
488
410
|
# Corresponds to the JSON property `template`
|
|
489
411
|
# @return [Google::Apis::RunV1::RevisionTemplate]
|
|
490
412
|
attr_accessor :template
|
|
@@ -499,37 +421,34 @@ module Google
|
|
|
499
421
|
end
|
|
500
422
|
end
|
|
501
423
|
|
|
502
|
-
# ConfigurationStatus communicates the observed state of the Configuration
|
|
503
|
-
#
|
|
424
|
+
# ConfigurationStatus communicates the observed state of the Configuration (from
|
|
425
|
+
# the controller).
|
|
504
426
|
class ConfigurationStatus
|
|
505
427
|
include Google::Apis::Core::Hashable
|
|
506
428
|
|
|
507
|
-
# Conditions communicates information about ongoing/complete
|
|
508
|
-
#
|
|
509
|
-
# state of the world.
|
|
429
|
+
# Conditions communicates information about ongoing/complete reconciliation
|
|
430
|
+
# processes that bring the "spec" inline with the observed state of the world.
|
|
510
431
|
# Corresponds to the JSON property `conditions`
|
|
511
432
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
|
512
433
|
attr_accessor :conditions
|
|
513
434
|
|
|
514
435
|
# LatestCreatedRevisionName is the last revision that was created from this
|
|
515
|
-
# Configuration. It might not be ready yet, for that use
|
|
516
|
-
# LatestReadyRevisionName.
|
|
436
|
+
# Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
|
|
517
437
|
# Corresponds to the JSON property `latestCreatedRevisionName`
|
|
518
438
|
# @return [String]
|
|
519
439
|
attr_accessor :latest_created_revision_name
|
|
520
440
|
|
|
521
|
-
# LatestReadyRevisionName holds the name of the latest Revision stamped out
|
|
522
|
-
#
|
|
441
|
+
# LatestReadyRevisionName holds the name of the latest Revision stamped out from
|
|
442
|
+
# this Configuration that has had its "Ready" condition become "True".
|
|
523
443
|
# Corresponds to the JSON property `latestReadyRevisionName`
|
|
524
444
|
# @return [String]
|
|
525
445
|
attr_accessor :latest_ready_revision_name
|
|
526
446
|
|
|
527
|
-
# ObservedGeneration is the 'Generation' of the Configuration that
|
|
528
|
-
#
|
|
529
|
-
#
|
|
530
|
-
#
|
|
531
|
-
#
|
|
532
|
-
# is True or False.
|
|
447
|
+
# ObservedGeneration is the 'Generation' of the Configuration that was last
|
|
448
|
+
# processed by the controller. The observed generation is updated even if the
|
|
449
|
+
# controller failed to process the spec and create the Revision. Clients polling
|
|
450
|
+
# for completed reconciliation should poll until observedGeneration = metadata.
|
|
451
|
+
# generation, and the Ready condition's status is True or False.
|
|
533
452
|
# Corresponds to the JSON property `observedGeneration`
|
|
534
453
|
# @return [Fixnum]
|
|
535
454
|
attr_accessor :observed_generation
|
|
@@ -547,27 +466,21 @@ module Google
|
|
|
547
466
|
end
|
|
548
467
|
end
|
|
549
468
|
|
|
550
|
-
# A single application container.
|
|
551
|
-
#
|
|
552
|
-
#
|
|
553
|
-
# Note that additional arguments may be supplied by the system to the container
|
|
554
|
-
# at runtime.
|
|
469
|
+
# A single application container. This specifies both the container to run, the
|
|
470
|
+
# command to run in the container and the arguments to supply to it. Note that
|
|
471
|
+
# additional arguments may be supplied by the system to the container at runtime.
|
|
555
472
|
class Container
|
|
556
473
|
include Google::Apis::Core::Hashable
|
|
557
474
|
|
|
558
|
-
# (Optional)
|
|
559
|
-
#
|
|
560
|
-
#
|
|
561
|
-
# Arguments to the entrypoint.
|
|
562
|
-
# The docker image's CMD is used if this is not provided.
|
|
563
|
-
# Variable references $(VAR_NAME) are expanded using the container's
|
|
475
|
+
# (Optional) Cloud Run fully managed: supported Cloud Run for Anthos: supported
|
|
476
|
+
# Arguments to the entrypoint. The docker image's CMD is used if this is not
|
|
477
|
+
# provided. Variable references $(VAR_NAME) are expanded using the container's
|
|
564
478
|
# environment. If a variable cannot be resolved, the reference in the input
|
|
565
|
-
# string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
|
|
566
|
-
#
|
|
567
|
-
#
|
|
568
|
-
#
|
|
569
|
-
#
|
|
570
|
-
# argument-container/#running-a-command-in-a-shell
|
|
479
|
+
# string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $
|
|
480
|
+
# $, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of
|
|
481
|
+
# whether the variable exists or not. More info: https://kubernetes.io/docs/
|
|
482
|
+
# tasks/inject-data-application/define-command-argument-container/#running-a-
|
|
483
|
+
# command-in-a-shell
|
|
571
484
|
# Corresponds to the JSON property `args`
|
|
572
485
|
# @return [Array<String>]
|
|
573
486
|
attr_accessor :args
|
|
@@ -577,76 +490,62 @@ module Google
|
|
|
577
490
|
# @return [Array<String>]
|
|
578
491
|
attr_accessor :command
|
|
579
492
|
|
|
580
|
-
# (Optional)
|
|
581
|
-
# Cloud Run fully managed: supported
|
|
582
|
-
# Cloud Run for Anthos: supported
|
|
493
|
+
# (Optional) Cloud Run fully managed: supported Cloud Run for Anthos: supported
|
|
583
494
|
# List of environment variables to set in the container.
|
|
584
495
|
# Corresponds to the JSON property `env`
|
|
585
496
|
# @return [Array<Google::Apis::RunV1::EnvVar>]
|
|
586
497
|
attr_accessor :env
|
|
587
498
|
|
|
588
|
-
# (Optional)
|
|
589
|
-
#
|
|
590
|
-
#
|
|
591
|
-
#
|
|
592
|
-
#
|
|
593
|
-
#
|
|
594
|
-
#
|
|
595
|
-
# take precedence. Values defined by an Env with a duplicate key will take
|
|
596
|
-
# precedence. Cannot be updated.
|
|
499
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
500
|
+
# supported List of sources to populate environment variables in the container.
|
|
501
|
+
# The keys defined within a source must be a C_IDENTIFIER. All invalid keys will
|
|
502
|
+
# be reported as an event when the container is starting. When a key exists in
|
|
503
|
+
# multiple sources, the value associated with the last source will take
|
|
504
|
+
# precedence. Values defined by an Env with a duplicate key will take precedence.
|
|
505
|
+
# Cannot be updated.
|
|
597
506
|
# Corresponds to the JSON property `envFrom`
|
|
598
507
|
# @return [Array<Google::Apis::RunV1::EnvFromSource>]
|
|
599
508
|
attr_accessor :env_from
|
|
600
509
|
|
|
601
510
|
# Cloud Run fully managed: only supports containers from Google Container
|
|
602
|
-
# Registry
|
|
603
|
-
#
|
|
604
|
-
# URL of the Container image.
|
|
605
|
-
# More info: https://kubernetes.io/docs/concepts/containers/images
|
|
511
|
+
# Registry Cloud Run for Anthos: supported URL of the Container image. More info:
|
|
512
|
+
# https://kubernetes.io/docs/concepts/containers/images
|
|
606
513
|
# Corresponds to the JSON property `image`
|
|
607
514
|
# @return [String]
|
|
608
515
|
attr_accessor :image
|
|
609
516
|
|
|
610
|
-
# (Optional)
|
|
611
|
-
#
|
|
612
|
-
#
|
|
613
|
-
# Image pull policy.
|
|
614
|
-
# One of Always, Never, IfNotPresent.
|
|
615
|
-
# Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
|
|
616
|
-
# More info:
|
|
517
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
518
|
+
# supported Image pull policy. One of Always, Never, IfNotPresent. Defaults to
|
|
519
|
+
# Always if :latest tag is specified, or IfNotPresent otherwise. More info:
|
|
617
520
|
# https://kubernetes.io/docs/concepts/containers/images#updating-images
|
|
618
521
|
# Corresponds to the JSON property `imagePullPolicy`
|
|
619
522
|
# @return [String]
|
|
620
523
|
attr_accessor :image_pull_policy
|
|
621
524
|
|
|
622
|
-
# Cloud Run fully managed: not supported
|
|
623
|
-
#
|
|
624
|
-
#
|
|
625
|
-
# determine whether it is alive or ready to receive traffic.
|
|
525
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Probe
|
|
526
|
+
# describes a health check to be performed against a container to determine
|
|
527
|
+
# whether it is alive or ready to receive traffic.
|
|
626
528
|
# Corresponds to the JSON property `livenessProbe`
|
|
627
529
|
# @return [Google::Apis::RunV1::Probe]
|
|
628
530
|
attr_accessor :liveness_probe
|
|
629
531
|
|
|
630
|
-
# (Optional)
|
|
631
|
-
# Name of the container specified as a DNS_LABEL.
|
|
532
|
+
# (Optional) Name of the container specified as a DNS_LABEL.
|
|
632
533
|
# Corresponds to the JSON property `name`
|
|
633
534
|
# @return [String]
|
|
634
535
|
attr_accessor :name
|
|
635
536
|
|
|
636
|
-
# (Optional)
|
|
637
|
-
#
|
|
638
|
-
#
|
|
639
|
-
#
|
|
640
|
-
#
|
|
641
|
-
# through the PORT environment variable for the container to listen on.
|
|
537
|
+
# (Optional) List of ports to expose from the container. Only a single port can
|
|
538
|
+
# be specified. The specified ports must be listening on all interfaces (0.0.0.0)
|
|
539
|
+
# within the container to be accessible. If omitted, a port number will be
|
|
540
|
+
# chosen and passed to the container through the PORT environment variable for
|
|
541
|
+
# the container to listen on.
|
|
642
542
|
# Corresponds to the JSON property `ports`
|
|
643
543
|
# @return [Array<Google::Apis::RunV1::ContainerPort>]
|
|
644
544
|
attr_accessor :ports
|
|
645
545
|
|
|
646
|
-
# Cloud Run fully managed: not supported
|
|
647
|
-
#
|
|
648
|
-
#
|
|
649
|
-
# determine whether it is alive or ready to receive traffic.
|
|
546
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Probe
|
|
547
|
+
# describes a health check to be performed against a container to determine
|
|
548
|
+
# whether it is alive or ready to receive traffic.
|
|
650
549
|
# Corresponds to the JSON property `readinessProbe`
|
|
651
550
|
# @return [Google::Apis::RunV1::Probe]
|
|
652
551
|
attr_accessor :readiness_probe
|
|
@@ -656,56 +555,47 @@ module Google
|
|
|
656
555
|
# @return [Google::Apis::RunV1::ResourceRequirements]
|
|
657
556
|
attr_accessor :resources
|
|
658
557
|
|
|
659
|
-
# Cloud Run fully managed: not supported
|
|
660
|
-
# Cloud Run for Anthos: supported
|
|
558
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
661
559
|
# SecurityContext holds security configuration that will be applied to a
|
|
662
560
|
# container. Some fields are present in both SecurityContext and
|
|
663
|
-
# PodSecurityContext.
|
|
561
|
+
# PodSecurityContext. When both are set, the values in SecurityContext take
|
|
664
562
|
# precedence.
|
|
665
563
|
# Corresponds to the JSON property `securityContext`
|
|
666
564
|
# @return [Google::Apis::RunV1::SecurityContext]
|
|
667
565
|
attr_accessor :security_context
|
|
668
566
|
|
|
669
|
-
# (Optional)
|
|
670
|
-
#
|
|
671
|
-
#
|
|
672
|
-
#
|
|
673
|
-
#
|
|
674
|
-
#
|
|
675
|
-
#
|
|
676
|
-
# total message length across all containers will be limited to 12kb.
|
|
677
|
-
# Defaults to /dev/termination-log.
|
|
567
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
568
|
+
# supported Path at which the file to which the container's termination message
|
|
569
|
+
# will be written is mounted into the container's filesystem. Message written is
|
|
570
|
+
# intended to be brief final status, such as an assertion failure message. Will
|
|
571
|
+
# be truncated by the node if greater than 4096 bytes. The total message length
|
|
572
|
+
# across all containers will be limited to 12kb. Defaults to /dev/termination-
|
|
573
|
+
# log.
|
|
678
574
|
# Corresponds to the JSON property `terminationMessagePath`
|
|
679
575
|
# @return [String]
|
|
680
576
|
attr_accessor :termination_message_path
|
|
681
577
|
|
|
682
|
-
# (Optional)
|
|
683
|
-
#
|
|
684
|
-
#
|
|
685
|
-
#
|
|
686
|
-
#
|
|
687
|
-
#
|
|
688
|
-
#
|
|
689
|
-
# container exited with an error. The log output is limited to 2048 bytes or
|
|
690
|
-
# 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
|
|
578
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
579
|
+
# supported Indicate how the termination message should be populated. File will
|
|
580
|
+
# use the contents of terminationMessagePath to populate the container status
|
|
581
|
+
# message on both success and failure. FallbackToLogsOnError will use the last
|
|
582
|
+
# chunk of container log output if the termination message file is empty and the
|
|
583
|
+
# container exited with an error. The log output is limited to 2048 bytes or 80
|
|
584
|
+
# lines, whichever is smaller. Defaults to File. Cannot be updated.
|
|
691
585
|
# Corresponds to the JSON property `terminationMessagePolicy`
|
|
692
586
|
# @return [String]
|
|
693
587
|
attr_accessor :termination_message_policy
|
|
694
588
|
|
|
695
|
-
# (Optional)
|
|
696
|
-
#
|
|
697
|
-
# Cloud Run for Anthos: supported
|
|
698
|
-
# Pod volumes to mount into the container's filesystem.
|
|
589
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
590
|
+
# supported Pod volumes to mount into the container's filesystem.
|
|
699
591
|
# Corresponds to the JSON property `volumeMounts`
|
|
700
592
|
# @return [Array<Google::Apis::RunV1::VolumeMount>]
|
|
701
593
|
attr_accessor :volume_mounts
|
|
702
594
|
|
|
703
|
-
# (Optional)
|
|
704
|
-
#
|
|
705
|
-
#
|
|
706
|
-
#
|
|
707
|
-
# If not specified, the container runtime's default will be used, which
|
|
708
|
-
# might be configured in the container image.
|
|
595
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
596
|
+
# supported Container's working directory. If not specified, the container
|
|
597
|
+
# runtime's default will be used, which might be configured in the container
|
|
598
|
+
# image.
|
|
709
599
|
# Corresponds to the JSON property `workingDir`
|
|
710
600
|
# @return [String]
|
|
711
601
|
attr_accessor :working_dir
|
|
@@ -739,27 +629,21 @@ module Google
|
|
|
739
629
|
class ContainerPort
|
|
740
630
|
include Google::Apis::Core::Hashable
|
|
741
631
|
|
|
742
|
-
# (Optional)
|
|
743
|
-
#
|
|
744
|
-
# This must be a valid port number, 0 < x < 65536.
|
|
632
|
+
# (Optional) Port number the container listens on. This must be a valid port
|
|
633
|
+
# number, 0 < x < 65536.
|
|
745
634
|
# Corresponds to the JSON property `containerPort`
|
|
746
635
|
# @return [Fixnum]
|
|
747
636
|
attr_accessor :container_port
|
|
748
637
|
|
|
749
|
-
# (Optional)
|
|
750
|
-
#
|
|
751
|
-
#
|
|
752
|
-
# If specified, used to specify which protocol to use.
|
|
753
|
-
# Allowed values are "http1" and "h2c".
|
|
638
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
639
|
+
# supported If specified, used to specify which protocol to use. Allowed values
|
|
640
|
+
# are "http1" and "h2c".
|
|
754
641
|
# Corresponds to the JSON property `name`
|
|
755
642
|
# @return [String]
|
|
756
643
|
attr_accessor :name
|
|
757
644
|
|
|
758
|
-
# (Optional)
|
|
759
|
-
#
|
|
760
|
-
# Cloud Run for Anthos: supported
|
|
761
|
-
# Protocol for port. Must be "TCP".
|
|
762
|
-
# Defaults to "TCP".
|
|
645
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
646
|
+
# supported Protocol for port. Must be "TCP". Defaults to "TCP".
|
|
763
647
|
# Corresponds to the JSON property `protocol`
|
|
764
648
|
# @return [String]
|
|
765
649
|
attr_accessor :protocol
|
|
@@ -790,8 +674,8 @@ module Google
|
|
|
790
674
|
# @return [String]
|
|
791
675
|
attr_accessor :kind
|
|
792
676
|
|
|
793
|
-
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
|
|
794
|
-
#
|
|
677
|
+
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
|
678
|
+
# resources must have, which includes all objects users must create.
|
|
795
679
|
# Corresponds to the JSON property `metadata`
|
|
796
680
|
# @return [Google::Apis::RunV1::ObjectMeta]
|
|
797
681
|
attr_accessor :metadata
|
|
@@ -829,17 +713,17 @@ module Google
|
|
|
829
713
|
# @return [String]
|
|
830
714
|
attr_accessor :certificate_mode
|
|
831
715
|
|
|
832
|
-
# If set, the mapping will override any mapping set before this spec was set.
|
|
833
|
-
#
|
|
834
|
-
#
|
|
835
|
-
#
|
|
716
|
+
# If set, the mapping will override any mapping set before this spec was set. It
|
|
717
|
+
# is recommended that the user leaves this empty to receive an error warning
|
|
718
|
+
# about a potential conflict and only set it once the respective UI has given
|
|
719
|
+
# such a warning.
|
|
836
720
|
# Corresponds to the JSON property `forceOverride`
|
|
837
721
|
# @return [Boolean]
|
|
838
722
|
attr_accessor :force_override
|
|
839
723
|
alias_method :force_override?, :force_override
|
|
840
724
|
|
|
841
|
-
# The name of the Knative Route that this DomainMapping applies to.
|
|
842
|
-
#
|
|
725
|
+
# The name of the Knative Route that this DomainMapping applies to. The route
|
|
726
|
+
# must exist.
|
|
843
727
|
# Corresponds to the JSON property `routeName`
|
|
844
728
|
# @return [String]
|
|
845
729
|
attr_accessor :route_name
|
|
@@ -860,8 +744,8 @@ module Google
|
|
|
860
744
|
class DomainMappingStatus
|
|
861
745
|
include Google::Apis::Core::Hashable
|
|
862
746
|
|
|
863
|
-
# Array of observed DomainMappingConditions, indicating the current state
|
|
864
|
-
#
|
|
747
|
+
# Array of observed DomainMappingConditions, indicating the current state of the
|
|
748
|
+
# DomainMapping.
|
|
865
749
|
# Corresponds to the JSON property `conditions`
|
|
866
750
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
|
867
751
|
attr_accessor :conditions
|
|
@@ -871,26 +755,23 @@ module Google
|
|
|
871
755
|
# @return [String]
|
|
872
756
|
attr_accessor :mapped_route_name
|
|
873
757
|
|
|
874
|
-
# ObservedGeneration is the 'Generation' of the DomainMapping that
|
|
875
|
-
#
|
|
876
|
-
#
|
|
877
|
-
#
|
|
878
|
-
# is True or False.
|
|
758
|
+
# ObservedGeneration is the 'Generation' of the DomainMapping that was last
|
|
759
|
+
# processed by the controller. Clients polling for completed reconciliation
|
|
760
|
+
# should poll until observedGeneration = metadata.generation and the Ready
|
|
761
|
+
# condition's status is True or False.
|
|
879
762
|
# Corresponds to the JSON property `observedGeneration`
|
|
880
763
|
# @return [Fixnum]
|
|
881
764
|
attr_accessor :observed_generation
|
|
882
765
|
|
|
883
|
-
# The resource records required to configure this domain mapping. These
|
|
884
|
-
#
|
|
885
|
-
#
|
|
766
|
+
# The resource records required to configure this domain mapping. These records
|
|
767
|
+
# must be added to the domain's DNS configuration in order to serve the
|
|
768
|
+
# application via this domain mapping.
|
|
886
769
|
# Corresponds to the JSON property `resourceRecords`
|
|
887
770
|
# @return [Array<Google::Apis::RunV1::ResourceRecord>]
|
|
888
771
|
attr_accessor :resource_records
|
|
889
772
|
|
|
890
|
-
# Cloud Run fully managed: not supported
|
|
891
|
-
#
|
|
892
|
-
# Holds the URL that will serve the traffic of the DomainMapping.
|
|
893
|
-
# +optional
|
|
773
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the
|
|
774
|
+
# URL that will serve the traffic of the DomainMapping. +optional
|
|
894
775
|
# Corresponds to the JSON property `url`
|
|
895
776
|
# @return [String]
|
|
896
777
|
attr_accessor :url
|
|
@@ -909,37 +790,30 @@ module Google
|
|
|
909
790
|
end
|
|
910
791
|
end
|
|
911
792
|
|
|
912
|
-
# Cloud Run fully managed: not supported
|
|
913
|
-
# Cloud Run for Anthos: supported
|
|
793
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
914
794
|
# EnvFromSource represents the source of a set of ConfigMaps
|
|
915
795
|
class EnvFromSource
|
|
916
796
|
include Google::Apis::Core::Hashable
|
|
917
797
|
|
|
918
|
-
# Cloud Run fully managed: not supported
|
|
919
|
-
#
|
|
920
|
-
#
|
|
921
|
-
# variables
|
|
922
|
-
# The contents of the target ConfigMap's Data field will represent the
|
|
923
|
-
# key-value pairs as environment variables.
|
|
798
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
799
|
+
# ConfigMapEnvSource selects a ConfigMap to populate the environment variables
|
|
800
|
+
# with. The contents of the target ConfigMap's Data field will represent the key-
|
|
801
|
+
# value pairs as environment variables.
|
|
924
802
|
# Corresponds to the JSON property `configMapRef`
|
|
925
803
|
# @return [Google::Apis::RunV1::ConfigMapEnvSource]
|
|
926
804
|
attr_accessor :config_map_ref
|
|
927
805
|
|
|
928
|
-
# (Optional)
|
|
929
|
-
#
|
|
930
|
-
#
|
|
931
|
-
# An optional identifier to prepend to each key in the ConfigMap. Must be a
|
|
932
|
-
# C_IDENTIFIER.
|
|
806
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
807
|
+
# supported An optional identifier to prepend to each key in the ConfigMap. Must
|
|
808
|
+
# be a C_IDENTIFIER.
|
|
933
809
|
# Corresponds to the JSON property `prefix`
|
|
934
810
|
# @return [String]
|
|
935
811
|
attr_accessor :prefix
|
|
936
812
|
|
|
937
|
-
# Cloud Run fully managed: not supported
|
|
938
|
-
#
|
|
939
|
-
#
|
|
940
|
-
# variables
|
|
941
|
-
# The contents of the target Secret's Data field will represent the
|
|
942
|
-
# key-value pairs as environment variables.
|
|
813
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
814
|
+
# SecretEnvSource selects a Secret to populate the environment variables with.
|
|
815
|
+
# The contents of the target Secret's Data field will represent the key-value
|
|
816
|
+
# pairs as environment variables.
|
|
943
817
|
# Corresponds to the JSON property `secretRef`
|
|
944
818
|
# @return [Google::Apis::RunV1::SecretEnvSource]
|
|
945
819
|
attr_accessor :secret_ref
|
|
@@ -965,21 +839,17 @@ module Google
|
|
|
965
839
|
# @return [String]
|
|
966
840
|
attr_accessor :name
|
|
967
841
|
|
|
968
|
-
# (Optional)
|
|
969
|
-
#
|
|
970
|
-
#
|
|
971
|
-
#
|
|
972
|
-
#
|
|
973
|
-
#
|
|
974
|
-
# references will never be expanded, regardless of whether the variable
|
|
975
|
-
# exists or not.
|
|
976
|
-
# Defaults to "".
|
|
842
|
+
# (Optional) Variable references $(VAR_NAME) are expanded using the previous
|
|
843
|
+
# defined environment variables in the container and any route environment
|
|
844
|
+
# variables. If a variable cannot be resolved, the reference in the input string
|
|
845
|
+
# will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie:
|
|
846
|
+
# $$(VAR_NAME). Escaped references will never be expanded, regardless of whether
|
|
847
|
+
# the variable exists or not. Defaults to "".
|
|
977
848
|
# Corresponds to the JSON property `value`
|
|
978
849
|
# @return [String]
|
|
979
850
|
attr_accessor :value
|
|
980
851
|
|
|
981
|
-
# Cloud Run fully managed: not supported
|
|
982
|
-
# Cloud Run for Anthos: supported
|
|
852
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
983
853
|
# EnvVarSource represents a source for the value of an EnvVar.
|
|
984
854
|
# Corresponds to the JSON property `valueFrom`
|
|
985
855
|
# @return [Google::Apis::RunV1::EnvVarSource]
|
|
@@ -997,21 +867,18 @@ module Google
|
|
|
997
867
|
end
|
|
998
868
|
end
|
|
999
869
|
|
|
1000
|
-
# Cloud Run fully managed: not supported
|
|
1001
|
-
# Cloud Run for Anthos: supported
|
|
870
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
1002
871
|
# EnvVarSource represents a source for the value of an EnvVar.
|
|
1003
872
|
class EnvVarSource
|
|
1004
873
|
include Google::Apis::Core::Hashable
|
|
1005
874
|
|
|
1006
|
-
# Cloud Run fully managed: not supported
|
|
1007
|
-
#
|
|
1008
|
-
# Selects a key from a ConfigMap.
|
|
875
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Selects
|
|
876
|
+
# a key from a ConfigMap.
|
|
1009
877
|
# Corresponds to the JSON property `configMapKeyRef`
|
|
1010
878
|
# @return [Google::Apis::RunV1::ConfigMapKeySelector]
|
|
1011
879
|
attr_accessor :config_map_key_ref
|
|
1012
880
|
|
|
1013
|
-
# Cloud Run fully managed: not supported
|
|
1014
|
-
# Cloud Run for Anthos: supported
|
|
881
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
1015
882
|
# SecretKeySelector selects a key of a Secret.
|
|
1016
883
|
# Corresponds to the JSON property `secretKeyRef`
|
|
1017
884
|
# @return [Google::Apis::RunV1::SecretKeySelector]
|
|
@@ -1028,21 +895,18 @@ module Google
|
|
|
1028
895
|
end
|
|
1029
896
|
end
|
|
1030
897
|
|
|
1031
|
-
# Cloud Run fully managed: not supported
|
|
1032
|
-
# Cloud Run for Anthos: supported
|
|
898
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
1033
899
|
# ExecAction describes a "run in container" action.
|
|
1034
900
|
class ExecAction
|
|
1035
901
|
include Google::Apis::Core::Hashable
|
|
1036
902
|
|
|
1037
|
-
# (Optional)
|
|
1038
|
-
#
|
|
1039
|
-
#
|
|
1040
|
-
#
|
|
1041
|
-
# directory for the command is root ('/') in the container's filesystem. The
|
|
1042
|
-
# command is simply exec'd, it is not run inside a shell, so traditional
|
|
903
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
904
|
+
# supported Command is the command line to execute inside the container, the
|
|
905
|
+
# working directory for the command is root ('/') in the container's filesystem.
|
|
906
|
+
# The command is simply exec'd, it is not run inside a shell, so traditional
|
|
1043
907
|
# shell instructions ('|', etc) won't work. To use a shell, you need to
|
|
1044
|
-
# explicitly call out to that shell. Exit status of 0 is treated as
|
|
1045
|
-
#
|
|
908
|
+
# explicitly call out to that shell. Exit status of 0 is treated as live/healthy
|
|
909
|
+
# and non-zero is unhealthy.
|
|
1046
910
|
# Corresponds to the JSON property `command`
|
|
1047
911
|
# @return [String]
|
|
1048
912
|
attr_accessor :command
|
|
@@ -1057,52 +921,43 @@ module Google
|
|
|
1057
921
|
end
|
|
1058
922
|
end
|
|
1059
923
|
|
|
1060
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
1061
|
-
#
|
|
1062
|
-
#
|
|
1063
|
-
#
|
|
1064
|
-
#
|
|
1065
|
-
# description: "Determines if
|
|
1066
|
-
# expression: "document.
|
|
1067
|
-
#
|
|
1068
|
-
#
|
|
1069
|
-
#
|
|
1070
|
-
#
|
|
1071
|
-
#
|
|
1072
|
-
#
|
|
1073
|
-
#
|
|
1074
|
-
#
|
|
1075
|
-
# Example (Data Manipulation):
|
|
1076
|
-
# title: "Notification string"
|
|
1077
|
-
# description: "Create a notification string with a timestamp."
|
|
1078
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
1079
|
-
# The exact variables and functions that may be referenced within an expression
|
|
1080
|
-
# are determined by the service that evaluates it. See the service
|
|
1081
|
-
# documentation for additional information.
|
|
924
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
925
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
926
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
927
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
928
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
929
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
930
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
931
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
932
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
933
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
934
|
+
# string" description: "Create a notification string with a timestamp."
|
|
935
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
936
|
+
# exact variables and functions that may be referenced within an expression are
|
|
937
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
938
|
+
# additional information.
|
|
1082
939
|
class Expr
|
|
1083
940
|
include Google::Apis::Core::Hashable
|
|
1084
941
|
|
|
1085
|
-
# Optional. Description of the expression. This is a longer text which
|
|
1086
|
-
#
|
|
942
|
+
# Optional. Description of the expression. This is a longer text which describes
|
|
943
|
+
# the expression, e.g. when hovered over it in a UI.
|
|
1087
944
|
# Corresponds to the JSON property `description`
|
|
1088
945
|
# @return [String]
|
|
1089
946
|
attr_accessor :description
|
|
1090
947
|
|
|
1091
|
-
# Textual representation of an expression in Common Expression Language
|
|
1092
|
-
# syntax.
|
|
948
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
|
1093
949
|
# Corresponds to the JSON property `expression`
|
|
1094
950
|
# @return [String]
|
|
1095
951
|
attr_accessor :expression
|
|
1096
952
|
|
|
1097
|
-
# Optional. String indicating the location of the expression for error
|
|
1098
|
-
#
|
|
953
|
+
# Optional. String indicating the location of the expression for error reporting,
|
|
954
|
+
# e.g. a file name and a position in the file.
|
|
1099
955
|
# Corresponds to the JSON property `location`
|
|
1100
956
|
# @return [String]
|
|
1101
957
|
attr_accessor :location
|
|
1102
958
|
|
|
1103
|
-
# Optional. Title for the expression, i.e. a short string describing
|
|
1104
|
-
#
|
|
1105
|
-
# expression.
|
|
959
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
|
960
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
|
1106
961
|
# Corresponds to the JSON property `title`
|
|
1107
962
|
# @return [String]
|
|
1108
963
|
attr_accessor :title
|
|
@@ -1150,12 +1005,10 @@ module Google
|
|
|
1150
1005
|
# @return [String]
|
|
1151
1006
|
attr_accessor :status
|
|
1152
1007
|
|
|
1153
|
-
# type is used to communicate the status of the reconciliation process.
|
|
1154
|
-
# See also:
|
|
1008
|
+
# type is used to communicate the status of the reconciliation process. See also:
|
|
1155
1009
|
# https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
|
|
1156
|
-
# conditions-and-reporting
|
|
1157
|
-
#
|
|
1158
|
-
# * "Ready": True when the Resource is ready.
|
|
1010
|
+
# conditions-and-reporting Types common to all resources include: * "Ready":
|
|
1011
|
+
# True when the Resource is ready.
|
|
1159
1012
|
# Corresponds to the JSON property `type`
|
|
1160
1013
|
# @return [String]
|
|
1161
1014
|
attr_accessor :type
|
|
@@ -1175,42 +1028,32 @@ module Google
|
|
|
1175
1028
|
end
|
|
1176
1029
|
end
|
|
1177
1030
|
|
|
1178
|
-
# Cloud Run fully managed: not supported
|
|
1179
|
-
# Cloud Run for Anthos: supported
|
|
1031
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
1180
1032
|
# HTTPGetAction describes an action based on HTTP Get requests.
|
|
1181
1033
|
class HttpGetAction
|
|
1182
1034
|
include Google::Apis::Core::Hashable
|
|
1183
1035
|
|
|
1184
|
-
# (Optional)
|
|
1185
|
-
#
|
|
1186
|
-
#
|
|
1187
|
-
# Host name to connect to, defaults to the pod IP. You probably want to set
|
|
1188
|
-
# "Host" in httpHeaders instead.
|
|
1036
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1037
|
+
# supported Host name to connect to, defaults to the pod IP. You probably want
|
|
1038
|
+
# to set "Host" in httpHeaders instead.
|
|
1189
1039
|
# Corresponds to the JSON property `host`
|
|
1190
1040
|
# @return [String]
|
|
1191
1041
|
attr_accessor :host
|
|
1192
1042
|
|
|
1193
|
-
# (Optional)
|
|
1194
|
-
#
|
|
1195
|
-
# Cloud Run for Anthos: supported
|
|
1196
|
-
# Custom headers to set in the request. HTTP allows repeated headers.
|
|
1043
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1044
|
+
# supported Custom headers to set in the request. HTTP allows repeated headers.
|
|
1197
1045
|
# Corresponds to the JSON property `httpHeaders`
|
|
1198
1046
|
# @return [Array<Google::Apis::RunV1::HttpHeader>]
|
|
1199
1047
|
attr_accessor :http_headers
|
|
1200
1048
|
|
|
1201
|
-
# (Optional)
|
|
1202
|
-
#
|
|
1203
|
-
# Cloud Run for Anthos: supported
|
|
1204
|
-
# Path to access on the HTTP server.
|
|
1049
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1050
|
+
# supported Path to access on the HTTP server.
|
|
1205
1051
|
# Corresponds to the JSON property `path`
|
|
1206
1052
|
# @return [String]
|
|
1207
1053
|
attr_accessor :path
|
|
1208
1054
|
|
|
1209
|
-
# (Optional)
|
|
1210
|
-
#
|
|
1211
|
-
# Cloud Run for Anthos: supported
|
|
1212
|
-
# Scheme to use for connecting to the host.
|
|
1213
|
-
# Defaults to HTTP.
|
|
1055
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1056
|
+
# supported Scheme to use for connecting to the host. Defaults to HTTP.
|
|
1214
1057
|
# Corresponds to the JSON property `scheme`
|
|
1215
1058
|
# @return [String]
|
|
1216
1059
|
attr_accessor :scheme
|
|
@@ -1228,22 +1071,19 @@ module Google
|
|
|
1228
1071
|
end
|
|
1229
1072
|
end
|
|
1230
1073
|
|
|
1231
|
-
# Cloud Run fully managed: not supported
|
|
1232
|
-
# Cloud Run for Anthos: supported
|
|
1074
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
1233
1075
|
# HTTPHeader describes a custom header to be used in HTTP probes
|
|
1234
1076
|
class HttpHeader
|
|
1235
1077
|
include Google::Apis::Core::Hashable
|
|
1236
1078
|
|
|
1237
|
-
# Cloud Run fully managed: not supported
|
|
1238
|
-
#
|
|
1239
|
-
# The header field name
|
|
1079
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The
|
|
1080
|
+
# header field name
|
|
1240
1081
|
# Corresponds to the JSON property `name`
|
|
1241
1082
|
# @return [String]
|
|
1242
1083
|
attr_accessor :name
|
|
1243
1084
|
|
|
1244
|
-
# Cloud Run fully managed: not supported
|
|
1245
|
-
#
|
|
1246
|
-
# The header field value
|
|
1085
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The
|
|
1086
|
+
# header field value
|
|
1247
1087
|
# Corresponds to the JSON property `value`
|
|
1248
1088
|
# @return [String]
|
|
1249
1089
|
attr_accessor :value
|
|
@@ -1259,36 +1099,29 @@ module Google
|
|
|
1259
1099
|
end
|
|
1260
1100
|
end
|
|
1261
1101
|
|
|
1262
|
-
# Cloud Run fully managed: not supported
|
|
1263
|
-
#
|
|
1264
|
-
# Maps a string key to a path within a volume.
|
|
1102
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Maps a
|
|
1103
|
+
# string key to a path within a volume.
|
|
1265
1104
|
class KeyToPath
|
|
1266
1105
|
include Google::Apis::Core::Hashable
|
|
1267
1106
|
|
|
1268
|
-
# Cloud Run fully managed: not supported
|
|
1269
|
-
#
|
|
1270
|
-
# The key to project.
|
|
1107
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The key
|
|
1108
|
+
# to project.
|
|
1271
1109
|
# Corresponds to the JSON property `key`
|
|
1272
1110
|
# @return [String]
|
|
1273
1111
|
attr_accessor :key
|
|
1274
1112
|
|
|
1275
|
-
# (Optional)
|
|
1276
|
-
#
|
|
1277
|
-
#
|
|
1278
|
-
#
|
|
1279
|
-
#
|
|
1280
|
-
# with other options that affect the file mode, like fsGroup, and the result
|
|
1281
|
-
# can be other mode bits set.
|
|
1113
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1114
|
+
# supported Mode bits to use on this file, must be a value between 0 and 0777.
|
|
1115
|
+
# If not specified, the volume defaultMode will be used. This might be in
|
|
1116
|
+
# conflict with other options that affect the file mode, like fsGroup, and the
|
|
1117
|
+
# result can be other mode bits set.
|
|
1282
1118
|
# Corresponds to the JSON property `mode`
|
|
1283
1119
|
# @return [Fixnum]
|
|
1284
1120
|
attr_accessor :mode
|
|
1285
1121
|
|
|
1286
|
-
# Cloud Run fully managed: not supported
|
|
1287
|
-
#
|
|
1288
|
-
#
|
|
1289
|
-
# May not be an absolute path.
|
|
1290
|
-
# May not contain the path element '..'.
|
|
1291
|
-
# May not start with the string '..'.
|
|
1122
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The
|
|
1123
|
+
# relative path of the file to map the key to. May not be an absolute path. May
|
|
1124
|
+
# not contain the path element '..'. May not start with the string '..'.
|
|
1292
1125
|
# Corresponds to the JSON property `path`
|
|
1293
1126
|
# @return [String]
|
|
1294
1127
|
attr_accessor :path
|
|
@@ -1350,8 +1183,8 @@ module Google
|
|
|
1350
1183
|
attr_accessor :kind
|
|
1351
1184
|
|
|
1352
1185
|
# ListMeta describes metadata that synthetic resources must have, including
|
|
1353
|
-
# lists and various status objects. A resource may have only one of
|
|
1354
|
-
#
|
|
1186
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
|
1187
|
+
# ListMeta`.
|
|
1355
1188
|
# Corresponds to the JSON property `metadata`
|
|
1356
1189
|
# @return [Google::Apis::RunV1::ListMeta]
|
|
1357
1190
|
attr_accessor :metadata
|
|
@@ -1395,8 +1228,8 @@ module Google
|
|
|
1395
1228
|
attr_accessor :kind
|
|
1396
1229
|
|
|
1397
1230
|
# ListMeta describes metadata that synthetic resources must have, including
|
|
1398
|
-
# lists and various status objects. A resource may have only one of
|
|
1399
|
-
#
|
|
1231
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
|
1232
|
+
# ListMeta`.
|
|
1400
1233
|
# Corresponds to the JSON property `metadata`
|
|
1401
1234
|
# @return [Google::Apis::RunV1::ListMeta]
|
|
1402
1235
|
attr_accessor :metadata
|
|
@@ -1446,39 +1279,33 @@ module Google
|
|
|
1446
1279
|
end
|
|
1447
1280
|
|
|
1448
1281
|
# ListMeta describes metadata that synthetic resources must have, including
|
|
1449
|
-
# lists and various status objects. A resource may have only one of
|
|
1450
|
-
#
|
|
1282
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
|
1283
|
+
# ListMeta`.
|
|
1451
1284
|
class ListMeta
|
|
1452
1285
|
include Google::Apis::Core::Hashable
|
|
1453
1286
|
|
|
1454
|
-
# continue may be set if the user set a limit on the number of items
|
|
1455
|
-
#
|
|
1456
|
-
#
|
|
1457
|
-
#
|
|
1458
|
-
#
|
|
1459
|
-
#
|
|
1460
|
-
#
|
|
1461
|
-
# response.
|
|
1287
|
+
# continue may be set if the user set a limit on the number of items returned,
|
|
1288
|
+
# and indicates that the server has more data available. The value is opaque and
|
|
1289
|
+
# may be used to issue another request to the endpoint that served this list to
|
|
1290
|
+
# retrieve the next set of available objects. Continuing a list may not be
|
|
1291
|
+
# possible if the server configuration has changed or more than a few minutes
|
|
1292
|
+
# have passed. The resourceVersion field returned when using this continue value
|
|
1293
|
+
# will be identical to the value in the first response.
|
|
1462
1294
|
# Corresponds to the JSON property `continue`
|
|
1463
1295
|
# @return [String]
|
|
1464
1296
|
attr_accessor :continue
|
|
1465
1297
|
|
|
1466
|
-
# String that identifies the server's internal version of this object that
|
|
1467
|
-
#
|
|
1468
|
-
#
|
|
1469
|
-
# Populated by the system.
|
|
1470
|
-
#
|
|
1471
|
-
#
|
|
1472
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
|
|
1473
|
-
# control-and-consistency
|
|
1474
|
-
# +optional
|
|
1298
|
+
# String that identifies the server's internal version of this object that can
|
|
1299
|
+
# be used by clients to determine when objects have changed. Value must be
|
|
1300
|
+
# treated as opaque by clients and passed unmodified back to the server.
|
|
1301
|
+
# Populated by the system. Read-only. More info: https://git.k8s.io/community/
|
|
1302
|
+
# contributors/devel/api-conventions.md#concurrency-control-and-consistency +
|
|
1303
|
+
# optional
|
|
1475
1304
|
# Corresponds to the JSON property `resourceVersion`
|
|
1476
1305
|
# @return [String]
|
|
1477
1306
|
attr_accessor :resource_version
|
|
1478
1307
|
|
|
1479
|
-
# SelfLink is a URL representing this object.
|
|
1480
|
-
# Populated by the system.
|
|
1481
|
-
# Read-only.
|
|
1308
|
+
# SelfLink is a URL representing this object. Populated by the system. Read-only.
|
|
1482
1309
|
# +optional
|
|
1483
1310
|
# Corresponds to the JSON property `selfLink`
|
|
1484
1311
|
# @return [String]
|
|
@@ -1516,8 +1343,8 @@ module Google
|
|
|
1516
1343
|
attr_accessor :kind
|
|
1517
1344
|
|
|
1518
1345
|
# ListMeta describes metadata that synthetic resources must have, including
|
|
1519
|
-
# lists and various status objects. A resource may have only one of
|
|
1520
|
-
#
|
|
1346
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
|
1347
|
+
# ListMeta`.
|
|
1521
1348
|
# Corresponds to the JSON property `metadata`
|
|
1522
1349
|
# @return [Google::Apis::RunV1::ListMeta]
|
|
1523
1350
|
attr_accessor :metadata
|
|
@@ -1561,8 +1388,8 @@ module Google
|
|
|
1561
1388
|
attr_accessor :kind
|
|
1562
1389
|
|
|
1563
1390
|
# ListMeta describes metadata that synthetic resources must have, including
|
|
1564
|
-
# lists and various status objects. A resource may have only one of
|
|
1565
|
-
#
|
|
1391
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
|
1392
|
+
# ListMeta`.
|
|
1566
1393
|
# Corresponds to the JSON property `metadata`
|
|
1567
1394
|
# @return [Google::Apis::RunV1::ListMeta]
|
|
1568
1395
|
attr_accessor :metadata
|
|
@@ -1606,8 +1433,8 @@ module Google
|
|
|
1606
1433
|
attr_accessor :kind
|
|
1607
1434
|
|
|
1608
1435
|
# ListMeta describes metadata that synthetic resources must have, including
|
|
1609
|
-
# lists and various status objects. A resource may have only one of
|
|
1610
|
-
#
|
|
1436
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
|
1437
|
+
# ListMeta`.
|
|
1611
1438
|
# Corresponds to the JSON property `metadata`
|
|
1612
1439
|
# @return [Google::Apis::RunV1::ListMeta]
|
|
1613
1440
|
attr_accessor :metadata
|
|
@@ -1631,19 +1458,15 @@ module Google
|
|
|
1631
1458
|
end
|
|
1632
1459
|
end
|
|
1633
1460
|
|
|
1634
|
-
# Cloud Run fully managed: not supported
|
|
1635
|
-
# Cloud Run for Anthos: supported
|
|
1461
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
1636
1462
|
# LocalObjectReference contains enough information to let you locate the
|
|
1637
1463
|
# referenced object inside the same namespace.
|
|
1638
1464
|
class LocalObjectReference
|
|
1639
1465
|
include Google::Apis::Core::Hashable
|
|
1640
1466
|
|
|
1641
|
-
# (Optional)
|
|
1642
|
-
#
|
|
1643
|
-
#
|
|
1644
|
-
# Name of the referent.
|
|
1645
|
-
# More info:
|
|
1646
|
-
# https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
1467
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1468
|
+
# supported Name of the referent. More info: https://kubernetes.io/docs/concepts/
|
|
1469
|
+
# overview/working-with-objects/names/#names
|
|
1647
1470
|
# Corresponds to the JSON property `name`
|
|
1648
1471
|
# @return [String]
|
|
1649
1472
|
attr_accessor :name
|
|
@@ -1662,14 +1485,14 @@ module Google
|
|
|
1662
1485
|
class Location
|
|
1663
1486
|
include Google::Apis::Core::Hashable
|
|
1664
1487
|
|
|
1665
|
-
# The friendly name for this location, typically a nearby city name.
|
|
1666
|
-
#
|
|
1488
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
|
1489
|
+
# "Tokyo".
|
|
1667
1490
|
# Corresponds to the JSON property `displayName`
|
|
1668
1491
|
# @return [String]
|
|
1669
1492
|
attr_accessor :display_name
|
|
1670
1493
|
|
|
1671
|
-
# Cross-service attributes for the location. For example
|
|
1672
|
-
#
|
|
1494
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
|
1495
|
+
# region": "us-east1"`
|
|
1673
1496
|
# Corresponds to the JSON property `labels`
|
|
1674
1497
|
# @return [Hash<String,String>]
|
|
1675
1498
|
attr_accessor :labels
|
|
@@ -1685,8 +1508,8 @@ module Google
|
|
|
1685
1508
|
# @return [Hash<String,Object>]
|
|
1686
1509
|
attr_accessor :metadata
|
|
1687
1510
|
|
|
1688
|
-
# Resource name for the location, which may vary between implementations.
|
|
1689
|
-
#
|
|
1511
|
+
# Resource name for the location, which may vary between implementations. For
|
|
1512
|
+
# example: `"projects/example-project/locations/us-east1"`
|
|
1690
1513
|
# Corresponds to the JSON property `name`
|
|
1691
1514
|
# @return [String]
|
|
1692
1515
|
attr_accessor :name
|
|
@@ -1705,28 +1528,24 @@ module Google
|
|
|
1705
1528
|
end
|
|
1706
1529
|
end
|
|
1707
1530
|
|
|
1708
|
-
# Cloud Run fully managed: not supported
|
|
1709
|
-
#
|
|
1710
|
-
# Namespace provides a scope for Names.
|
|
1711
|
-
# Use of multiple namespaces is optional.
|
|
1531
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Namespace
|
|
1532
|
+
# provides a scope for Names. Use of multiple namespaces is optional.
|
|
1712
1533
|
class Namespace
|
|
1713
1534
|
include Google::Apis::Core::Hashable
|
|
1714
1535
|
|
|
1715
|
-
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
|
|
1716
|
-
#
|
|
1536
|
+
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
|
1537
|
+
# resources must have, which includes all objects users must create.
|
|
1717
1538
|
# Corresponds to the JSON property `metadata`
|
|
1718
1539
|
# @return [Google::Apis::RunV1::ObjectMeta]
|
|
1719
1540
|
attr_accessor :metadata
|
|
1720
1541
|
|
|
1721
|
-
# Cloud Run fully managed: not supported
|
|
1722
|
-
# Cloud Run on GKE: supported
|
|
1542
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
|
1723
1543
|
# NamespaceSpec describes the attributes on a Namespace.
|
|
1724
1544
|
# Corresponds to the JSON property `spec`
|
|
1725
1545
|
# @return [Google::Apis::RunV1::NamespaceSpec]
|
|
1726
1546
|
attr_accessor :spec
|
|
1727
1547
|
|
|
1728
|
-
# Cloud Run fully managed: not supported
|
|
1729
|
-
# Cloud Run on GKE: supported
|
|
1548
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
|
1730
1549
|
# NamespaceStatus is information about the current status of a Namespace.
|
|
1731
1550
|
# Corresponds to the JSON property `status`
|
|
1732
1551
|
# @return [Google::Apis::RunV1::NamespaceStatus]
|
|
@@ -1744,15 +1563,14 @@ module Google
|
|
|
1744
1563
|
end
|
|
1745
1564
|
end
|
|
1746
1565
|
|
|
1747
|
-
# Cloud Run fully managed: not supported
|
|
1748
|
-
# Cloud Run on GKE: supported
|
|
1566
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
|
1749
1567
|
# NamespaceSpec describes the attributes on a Namespace.
|
|
1750
1568
|
class NamespaceSpec
|
|
1751
1569
|
include Google::Apis::Core::Hashable
|
|
1752
1570
|
|
|
1753
1571
|
# Finalizers is an opaque list of values that must be empty to permanently
|
|
1754
|
-
# remove object from storage. More info:
|
|
1755
|
-
#
|
|
1572
|
+
# remove object from storage. More info: https://kubernetes.io/docs/tasks/
|
|
1573
|
+
# administer-cluster/namespaces/
|
|
1756
1574
|
# Corresponds to the JSON property `finalizers`
|
|
1757
1575
|
# @return [Array<String>]
|
|
1758
1576
|
attr_accessor :finalizers
|
|
@@ -1767,14 +1585,13 @@ module Google
|
|
|
1767
1585
|
end
|
|
1768
1586
|
end
|
|
1769
1587
|
|
|
1770
|
-
# Cloud Run fully managed: not supported
|
|
1771
|
-
# Cloud Run on GKE: supported
|
|
1588
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
|
1772
1589
|
# NamespaceStatus is information about the current status of a Namespace.
|
|
1773
1590
|
class NamespaceStatus
|
|
1774
1591
|
include Google::Apis::Core::Hashable
|
|
1775
1592
|
|
|
1776
|
-
# Phase is the current lifecycle phase of the namespace.
|
|
1777
|
-
#
|
|
1593
|
+
# Phase is the current lifecycle phase of the namespace. More info: https://
|
|
1594
|
+
# kubernetes.io/docs/tasks/administer-cluster/namespaces/
|
|
1778
1595
|
# Corresponds to the JSON property `phase`
|
|
1779
1596
|
# @return [String]
|
|
1780
1597
|
attr_accessor :phase
|
|
@@ -1789,193 +1606,155 @@ module Google
|
|
|
1789
1606
|
end
|
|
1790
1607
|
end
|
|
1791
1608
|
|
|
1792
|
-
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
|
|
1793
|
-
#
|
|
1609
|
+
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
|
1610
|
+
# resources must have, which includes all objects users must create.
|
|
1794
1611
|
class ObjectMeta
|
|
1795
1612
|
include Google::Apis::Core::Hashable
|
|
1796
1613
|
|
|
1797
|
-
# (Optional)
|
|
1798
|
-
#
|
|
1799
|
-
#
|
|
1800
|
-
# are not queryable and should be preserved when modifying objects. More
|
|
1614
|
+
# (Optional) Annotations is an unstructured key value map stored with a resource
|
|
1615
|
+
# that may be set by external tools to store and retrieve arbitrary metadata.
|
|
1616
|
+
# They are not queryable and should be preserved when modifying objects. More
|
|
1801
1617
|
# info: http://kubernetes.io/docs/user-guide/annotations
|
|
1802
1618
|
# Corresponds to the JSON property `annotations`
|
|
1803
1619
|
# @return [Hash<String,String>]
|
|
1804
1620
|
attr_accessor :annotations
|
|
1805
1621
|
|
|
1806
|
-
# (Optional)
|
|
1807
|
-
#
|
|
1808
|
-
#
|
|
1809
|
-
#
|
|
1810
|
-
#
|
|
1811
|
-
# different clusters. This field is not set anywhere right now and apiserver
|
|
1812
|
-
# is going to ignore it if set in create or update request.
|
|
1622
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1623
|
+
# supported The name of the cluster which the object belongs to. This is used to
|
|
1624
|
+
# distinguish resources with same name and namespace in different clusters. This
|
|
1625
|
+
# field is not set anywhere right now and apiserver is going to ignore it if set
|
|
1626
|
+
# in create or update request.
|
|
1813
1627
|
# Corresponds to the JSON property `clusterName`
|
|
1814
1628
|
# @return [String]
|
|
1815
1629
|
attr_accessor :cluster_name
|
|
1816
1630
|
|
|
1817
|
-
# (Optional)
|
|
1818
|
-
#
|
|
1819
|
-
#
|
|
1820
|
-
#
|
|
1821
|
-
#
|
|
1822
|
-
#
|
|
1823
|
-
# Read-only.
|
|
1824
|
-
# Null for lists.
|
|
1825
|
-
# More info:
|
|
1826
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
|
1631
|
+
# (Optional) CreationTimestamp is a timestamp representing the server time when
|
|
1632
|
+
# this object was created. It is not guaranteed to be set in happens-before
|
|
1633
|
+
# order across separate operations. Clients may not set this value. It is
|
|
1634
|
+
# represented in RFC3339 form and is in UTC. Populated by the system. Read-only.
|
|
1635
|
+
# Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-
|
|
1636
|
+
# conventions.md#metadata
|
|
1827
1637
|
# Corresponds to the JSON property `creationTimestamp`
|
|
1828
1638
|
# @return [String]
|
|
1829
1639
|
attr_accessor :creation_timestamp
|
|
1830
1640
|
|
|
1831
|
-
# (Optional)
|
|
1832
|
-
#
|
|
1833
|
-
#
|
|
1834
|
-
#
|
|
1835
|
-
# it will be removed from the system. Only set when deletionTimestamp is also
|
|
1836
|
-
# set. May only be shortened. Read-only.
|
|
1641
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1642
|
+
# supported Number of seconds allowed for this object to gracefully terminate
|
|
1643
|
+
# before it will be removed from the system. Only set when deletionTimestamp is
|
|
1644
|
+
# also set. May only be shortened. Read-only.
|
|
1837
1645
|
# Corresponds to the JSON property `deletionGracePeriodSeconds`
|
|
1838
1646
|
# @return [Fixnum]
|
|
1839
1647
|
attr_accessor :deletion_grace_period_seconds
|
|
1840
1648
|
|
|
1841
|
-
# (Optional)
|
|
1842
|
-
#
|
|
1843
|
-
#
|
|
1844
|
-
#
|
|
1845
|
-
#
|
|
1846
|
-
#
|
|
1847
|
-
#
|
|
1848
|
-
#
|
|
1849
|
-
#
|
|
1850
|
-
#
|
|
1851
|
-
#
|
|
1852
|
-
#
|
|
1853
|
-
#
|
|
1854
|
-
#
|
|
1855
|
-
#
|
|
1856
|
-
#
|
|
1857
|
-
#
|
|
1858
|
-
#
|
|
1859
|
-
#
|
|
1860
|
-
#
|
|
1861
|
-
# Populated by the system when a graceful deletion is requested.
|
|
1862
|
-
# Read-only.
|
|
1863
|
-
# More info:
|
|
1864
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
|
1649
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1650
|
+
# supported DeletionTimestamp is RFC 3339 date and time at which this resource
|
|
1651
|
+
# will be deleted. This field is set by the server when a graceful deletion is
|
|
1652
|
+
# requested by the user, and is not directly settable by a client. The resource
|
|
1653
|
+
# is expected to be deleted (no longer visible from resource lists, and not
|
|
1654
|
+
# reachable by name) after the time in this field, once the finalizers list is
|
|
1655
|
+
# empty. As long as the finalizers list contains items, deletion is blocked.
|
|
1656
|
+
# Once the deletionTimestamp is set, this value may not be unset or be set
|
|
1657
|
+
# further into the future, although it may be shortened or the resource may be
|
|
1658
|
+
# deleted prior to this time. For example, a user may request that a pod is
|
|
1659
|
+
# deleted in 30 seconds. The Kubelet will react by sending a graceful
|
|
1660
|
+
# termination signal to the containers in the pod. After that 30 seconds, the
|
|
1661
|
+
# Kubelet will send a hard termination signal (SIGKILL) to the container and
|
|
1662
|
+
# after cleanup, remove the pod from the API. In the presence of network
|
|
1663
|
+
# partitions, this object may still exist after this timestamp, until an
|
|
1664
|
+
# administrator or automated process can determine the resource is fully
|
|
1665
|
+
# terminated. If not set, graceful deletion of the object has not been requested.
|
|
1666
|
+
# Populated by the system when a graceful deletion is requested. Read-only.
|
|
1667
|
+
# More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
|
1668
|
+
# metadata
|
|
1865
1669
|
# Corresponds to the JSON property `deletionTimestamp`
|
|
1866
1670
|
# @return [String]
|
|
1867
1671
|
attr_accessor :deletion_timestamp
|
|
1868
1672
|
|
|
1869
|
-
# (Optional)
|
|
1870
|
-
#
|
|
1871
|
-
#
|
|
1872
|
-
#
|
|
1873
|
-
#
|
|
1874
|
-
# from the list. If the deletionTimestamp of the object is non-nil, entries
|
|
1875
|
-
# in this list can only be removed.
|
|
1876
|
-
# +patchStrategy=merge
|
|
1673
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1674
|
+
# supported Must be empty before the object is deleted from the registry. Each
|
|
1675
|
+
# entry is an identifier for the responsible component that will remove the
|
|
1676
|
+
# entry from the list. If the deletionTimestamp of the object is non-nil,
|
|
1677
|
+
# entries in this list can only be removed. +patchStrategy=merge
|
|
1877
1678
|
# Corresponds to the JSON property `finalizers`
|
|
1878
1679
|
# @return [Array<String>]
|
|
1879
1680
|
attr_accessor :finalizers
|
|
1880
1681
|
|
|
1881
|
-
# (Optional)
|
|
1882
|
-
#
|
|
1883
|
-
#
|
|
1884
|
-
#
|
|
1885
|
-
#
|
|
1886
|
-
#
|
|
1887
|
-
#
|
|
1888
|
-
#
|
|
1889
|
-
#
|
|
1890
|
-
#
|
|
1891
|
-
#
|
|
1892
|
-
#
|
|
1893
|
-
#
|
|
1894
|
-
#
|
|
1895
|
-
# indicated in the Retry-After header).
|
|
1896
|
-
# Applied only if Name is not specified.
|
|
1897
|
-
# More info:
|
|
1898
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
|
|
1899
|
-
# string generateName = 2;
|
|
1682
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1683
|
+
# supported GenerateName is an optional prefix, used by the server, to generate
|
|
1684
|
+
# a unique name ONLY IF the Name field has not been provided. If this field is
|
|
1685
|
+
# used, the name returned to the client will be different than the name passed.
|
|
1686
|
+
# This value will also be combined with a unique suffix. The provided value has
|
|
1687
|
+
# the same validation rules as the Name field, and may be truncated by the
|
|
1688
|
+
# length of the suffix required to make the value unique on the server. If this
|
|
1689
|
+
# field is specified and the generated name exists, the server will NOT return a
|
|
1690
|
+
# 409 - instead, it will either return 201 Created or 500 with Reason
|
|
1691
|
+
# ServerTimeout indicating a unique name could not be found in the time allotted,
|
|
1692
|
+
# and the client should retry (optionally after the time indicated in the Retry-
|
|
1693
|
+
# After header). Applied only if Name is not specified. More info: https://git.
|
|
1694
|
+
# k8s.io/community/contributors/devel/api-conventions.md#idempotency string
|
|
1695
|
+
# generateName = 2;
|
|
1900
1696
|
# Corresponds to the JSON property `generateName`
|
|
1901
1697
|
# @return [String]
|
|
1902
1698
|
attr_accessor :generate_name
|
|
1903
1699
|
|
|
1904
|
-
# (Optional)
|
|
1905
|
-
#
|
|
1906
|
-
# Populated by the system. Read-only.
|
|
1700
|
+
# (Optional) A sequence number representing a specific generation of the desired
|
|
1701
|
+
# state. Populated by the system. Read-only.
|
|
1907
1702
|
# Corresponds to the JSON property `generation`
|
|
1908
1703
|
# @return [Fixnum]
|
|
1909
1704
|
attr_accessor :generation
|
|
1910
1705
|
|
|
1911
|
-
# (Optional)
|
|
1912
|
-
#
|
|
1913
|
-
#
|
|
1914
|
-
# and routes.
|
|
1915
|
-
# More info: http://kubernetes.io/docs/user-guide/labels
|
|
1706
|
+
# (Optional) Map of string keys and values that can be used to organize and
|
|
1707
|
+
# categorize (scope and select) objects. May match selectors of replication
|
|
1708
|
+
# controllers and routes. More info: http://kubernetes.io/docs/user-guide/labels
|
|
1916
1709
|
# Corresponds to the JSON property `labels`
|
|
1917
1710
|
# @return [Hash<String,String>]
|
|
1918
1711
|
attr_accessor :labels
|
|
1919
1712
|
|
|
1920
|
-
# Name must be unique within a namespace, within a Cloud Run region.
|
|
1921
|
-
#
|
|
1922
|
-
#
|
|
1923
|
-
#
|
|
1924
|
-
#
|
|
1925
|
-
#
|
|
1926
|
-
# +optional
|
|
1713
|
+
# Name must be unique within a namespace, within a Cloud Run region. Is required
|
|
1714
|
+
# when creating resources, although some resources may allow a client to request
|
|
1715
|
+
# the generation of an appropriate name automatically. Name is primarily
|
|
1716
|
+
# intended for creation idempotence and configuration definition. Cannot be
|
|
1717
|
+
# updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names +
|
|
1718
|
+
# optional
|
|
1927
1719
|
# Corresponds to the JSON property `name`
|
|
1928
1720
|
# @return [String]
|
|
1929
1721
|
attr_accessor :name
|
|
1930
1722
|
|
|
1931
|
-
# Namespace defines the space within each name must be unique, within a
|
|
1932
|
-
#
|
|
1933
|
-
#
|
|
1723
|
+
# Namespace defines the space within each name must be unique, within a Cloud
|
|
1724
|
+
# Run region. In Cloud Run the namespace must be equal to either the project ID
|
|
1725
|
+
# or project number.
|
|
1934
1726
|
# Corresponds to the JSON property `namespace`
|
|
1935
1727
|
# @return [String]
|
|
1936
1728
|
attr_accessor :namespace
|
|
1937
1729
|
|
|
1938
|
-
# (Optional)
|
|
1939
|
-
#
|
|
1940
|
-
#
|
|
1941
|
-
# List of objects that own this object. If ALL objects in the list have
|
|
1942
|
-
# been deleted, this object will be garbage collected.
|
|
1730
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1731
|
+
# supported List of objects that own this object. If ALL objects in the list
|
|
1732
|
+
# have been deleted, this object will be garbage collected.
|
|
1943
1733
|
# Corresponds to the JSON property `ownerReferences`
|
|
1944
1734
|
# @return [Array<Google::Apis::RunV1::OwnerReference>]
|
|
1945
1735
|
attr_accessor :owner_references
|
|
1946
1736
|
|
|
1947
|
-
# (Optional)
|
|
1948
|
-
#
|
|
1949
|
-
#
|
|
1950
|
-
#
|
|
1951
|
-
#
|
|
1952
|
-
#
|
|
1953
|
-
#
|
|
1954
|
-
#
|
|
1955
|
-
# Read-only.
|
|
1956
|
-
# Value must be treated as opaque by clients and .
|
|
1957
|
-
# More info:
|
|
1958
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
|
|
1959
|
-
# control-and-consistency
|
|
1737
|
+
# (Optional) An opaque value that represents the internal version of this object
|
|
1738
|
+
# that can be used by clients to determine when objects have changed. May be
|
|
1739
|
+
# used for optimistic concurrency, change detection, and the watch operation on
|
|
1740
|
+
# a resource or set of resources. Clients must treat these values as opaque and
|
|
1741
|
+
# passed unmodified back to the server. They may only be valid for a particular
|
|
1742
|
+
# resource or set of resources. Populated by the system. Read-only. Value must
|
|
1743
|
+
# be treated as opaque by clients and . More info: https://git.k8s.io/community/
|
|
1744
|
+
# contributors/devel/api-conventions.md#concurrency-control-and-consistency
|
|
1960
1745
|
# Corresponds to the JSON property `resourceVersion`
|
|
1961
1746
|
# @return [String]
|
|
1962
1747
|
attr_accessor :resource_version
|
|
1963
1748
|
|
|
1964
|
-
# (Optional)
|
|
1965
|
-
#
|
|
1966
|
-
# Populated by the system.
|
|
1967
|
-
# Read-only.
|
|
1968
|
-
# string selfLink = 4;
|
|
1749
|
+
# (Optional) SelfLink is a URL representing this object. Populated by the system.
|
|
1750
|
+
# Read-only. string selfLink = 4;
|
|
1969
1751
|
# Corresponds to the JSON property `selfLink`
|
|
1970
1752
|
# @return [String]
|
|
1971
1753
|
attr_accessor :self_link
|
|
1972
1754
|
|
|
1973
|
-
# (Optional)
|
|
1974
|
-
#
|
|
1975
|
-
#
|
|
1976
|
-
# allowed to change on PUT operations.
|
|
1977
|
-
# Populated by the system.
|
|
1978
|
-
# Read-only.
|
|
1755
|
+
# (Optional) UID is the unique in time and space value for this object. It is
|
|
1756
|
+
# typically generated by the server on successful creation of a resource and is
|
|
1757
|
+
# not allowed to change on PUT operations. Populated by the system. Read-only.
|
|
1979
1758
|
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
|
1980
1759
|
# Corresponds to the JSON property `uid`
|
|
1981
1760
|
# @return [String]
|
|
@@ -2006,8 +1785,8 @@ module Google
|
|
|
2006
1785
|
end
|
|
2007
1786
|
|
|
2008
1787
|
# OwnerReference contains enough information to let you identify an owning
|
|
2009
|
-
# object. Currently, an owning object must be in the same namespace, so there
|
|
2010
|
-
#
|
|
1788
|
+
# object. Currently, an owning object must be in the same namespace, so there is
|
|
1789
|
+
# no namespace field.
|
|
2011
1790
|
class OwnerReference
|
|
2012
1791
|
include Google::Apis::Core::Hashable
|
|
2013
1792
|
|
|
@@ -2016,40 +1795,36 @@ module Google
|
|
|
2016
1795
|
# @return [String]
|
|
2017
1796
|
attr_accessor :api_version
|
|
2018
1797
|
|
|
2019
|
-
# If true, AND if the owner has the "foregroundDeletion" finalizer, then
|
|
2020
|
-
#
|
|
2021
|
-
#
|
|
2022
|
-
#
|
|
2023
|
-
# To set this field, a user needs "delete" permission of the owner,
|
|
2024
|
-
# otherwise 422 (Unprocessable Entity) will be returned.
|
|
1798
|
+
# If true, AND if the owner has the "foregroundDeletion" finalizer, then the
|
|
1799
|
+
# owner cannot be deleted from the key-value store until this reference is
|
|
1800
|
+
# removed. Defaults to false. To set this field, a user needs "delete"
|
|
1801
|
+
# permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
|
|
2025
1802
|
# +optional
|
|
2026
1803
|
# Corresponds to the JSON property `blockOwnerDeletion`
|
|
2027
1804
|
# @return [Boolean]
|
|
2028
1805
|
attr_accessor :block_owner_deletion
|
|
2029
1806
|
alias_method :block_owner_deletion?, :block_owner_deletion
|
|
2030
1807
|
|
|
2031
|
-
# If true, this reference points to the managing controller.
|
|
2032
|
-
# +optional
|
|
1808
|
+
# If true, this reference points to the managing controller. +optional
|
|
2033
1809
|
# Corresponds to the JSON property `controller`
|
|
2034
1810
|
# @return [Boolean]
|
|
2035
1811
|
attr_accessor :controller
|
|
2036
1812
|
alias_method :controller?, :controller
|
|
2037
1813
|
|
|
2038
|
-
# Kind of the referent.
|
|
2039
|
-
#
|
|
2040
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
|
|
1814
|
+
# Kind of the referent. More info: https://git.k8s.io/community/contributors/
|
|
1815
|
+
# devel/api-conventions.md#types-kinds
|
|
2041
1816
|
# Corresponds to the JSON property `kind`
|
|
2042
1817
|
# @return [String]
|
|
2043
1818
|
attr_accessor :kind
|
|
2044
1819
|
|
|
2045
|
-
# Name of the referent.
|
|
2046
|
-
#
|
|
1820
|
+
# Name of the referent. More info: http://kubernetes.io/docs/user-guide/
|
|
1821
|
+
# identifiers#names
|
|
2047
1822
|
# Corresponds to the JSON property `name`
|
|
2048
1823
|
# @return [String]
|
|
2049
1824
|
attr_accessor :name
|
|
2050
1825
|
|
|
2051
|
-
# UID of the referent.
|
|
2052
|
-
#
|
|
1826
|
+
# UID of the referent. More info: http://kubernetes.io/docs/user-guide/
|
|
1827
|
+
# identifiers#uids
|
|
2053
1828
|
# Corresponds to the JSON property `uid`
|
|
2054
1829
|
# @return [String]
|
|
2055
1830
|
attr_accessor :uid
|
|
@@ -2070,66 +1845,32 @@ module Google
|
|
|
2070
1845
|
end
|
|
2071
1846
|
|
|
2072
1847
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
2073
|
-
# controls for Google Cloud resources.
|
|
2074
|
-
# A `
|
|
2075
|
-
#
|
|
2076
|
-
#
|
|
2077
|
-
#
|
|
2078
|
-
#
|
|
2079
|
-
#
|
|
2080
|
-
#
|
|
2081
|
-
#
|
|
2082
|
-
#
|
|
2083
|
-
#
|
|
2084
|
-
# [
|
|
2085
|
-
#
|
|
2086
|
-
#
|
|
2087
|
-
# `
|
|
2088
|
-
# "
|
|
2089
|
-
# `
|
|
2090
|
-
# "
|
|
2091
|
-
#
|
|
2092
|
-
#
|
|
2093
|
-
#
|
|
2094
|
-
#
|
|
2095
|
-
#
|
|
2096
|
-
#
|
|
2097
|
-
#
|
|
2098
|
-
#
|
|
2099
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
|
2100
|
-
# "members": [
|
|
2101
|
-
# "user:eve@example.com"
|
|
2102
|
-
# ],
|
|
2103
|
-
# "condition": `
|
|
2104
|
-
# "title": "expirable access",
|
|
2105
|
-
# "description": "Does not grant access after Sep 2020",
|
|
2106
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
2107
|
-
# ",
|
|
2108
|
-
# `
|
|
2109
|
-
# `
|
|
2110
|
-
# ],
|
|
2111
|
-
# "etag": "BwWWja0YfJA=",
|
|
2112
|
-
# "version": 3
|
|
2113
|
-
# `
|
|
2114
|
-
# **YAML example:**
|
|
2115
|
-
# bindings:
|
|
2116
|
-
# - members:
|
|
2117
|
-
# - user:mike@example.com
|
|
2118
|
-
# - group:admins@example.com
|
|
2119
|
-
# - domain:google.com
|
|
2120
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
2121
|
-
# role: roles/resourcemanager.organizationAdmin
|
|
2122
|
-
# - members:
|
|
2123
|
-
# - user:eve@example.com
|
|
2124
|
-
# role: roles/resourcemanager.organizationViewer
|
|
2125
|
-
# condition:
|
|
2126
|
-
# title: expirable access
|
|
2127
|
-
# description: Does not grant access after Sep 2020
|
|
2128
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
2129
|
-
# - etag: BwWWja0YfJA=
|
|
2130
|
-
# - version: 3
|
|
2131
|
-
# For a description of IAM and its features, see the
|
|
2132
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
1848
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
1849
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
1850
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
1851
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
1852
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
1853
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
1854
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
|
1855
|
+
# condition can add constraints based on attributes of the request, the resource,
|
|
1856
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
|
1857
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
1858
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
1859
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
1860
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
1861
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
1862
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
1863
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
|
1864
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
1865
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
1866
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
1867
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
1868
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
1869
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
1870
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
1871
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
1872
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
1873
|
+
# google.com/iam/docs/).
|
|
2133
1874
|
class Policy
|
|
2134
1875
|
include Google::Apis::Core::Hashable
|
|
2135
1876
|
|
|
@@ -2138,48 +1879,44 @@ module Google
|
|
|
2138
1879
|
# @return [Array<Google::Apis::RunV1::AuditConfig>]
|
|
2139
1880
|
attr_accessor :audit_configs
|
|
2140
1881
|
|
|
2141
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
|
2142
|
-
#
|
|
2143
|
-
#
|
|
1882
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
|
1883
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
|
1884
|
+
# the `bindings` must contain at least one member.
|
|
2144
1885
|
# Corresponds to the JSON property `bindings`
|
|
2145
1886
|
# @return [Array<Google::Apis::RunV1::Binding>]
|
|
2146
1887
|
attr_accessor :bindings
|
|
2147
1888
|
|
|
2148
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
|
2149
|
-
#
|
|
2150
|
-
#
|
|
2151
|
-
#
|
|
2152
|
-
#
|
|
2153
|
-
#
|
|
2154
|
-
#
|
|
2155
|
-
#
|
|
2156
|
-
#
|
|
2157
|
-
#
|
|
2158
|
-
#
|
|
1889
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
|
1890
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
|
1891
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
|
1892
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
|
1893
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
|
1894
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
|
1895
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
|
1896
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
|
1897
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
|
1898
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
|
1899
|
+
# are lost.
|
|
2159
1900
|
# Corresponds to the JSON property `etag`
|
|
2160
1901
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
2161
1902
|
# @return [String]
|
|
2162
1903
|
attr_accessor :etag
|
|
2163
1904
|
|
|
2164
|
-
# Specifies the format of the policy.
|
|
2165
|
-
#
|
|
2166
|
-
#
|
|
2167
|
-
#
|
|
2168
|
-
#
|
|
2169
|
-
#
|
|
2170
|
-
#
|
|
2171
|
-
#
|
|
2172
|
-
#
|
|
2173
|
-
#
|
|
2174
|
-
#
|
|
2175
|
-
#
|
|
2176
|
-
#
|
|
2177
|
-
#
|
|
2178
|
-
#
|
|
2179
|
-
# specify any valid version or leave the field unset.
|
|
2180
|
-
# To learn which resources support conditions in their IAM policies, see the
|
|
2181
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
|
2182
|
-
# policies).
|
|
1905
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
|
1906
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
|
1907
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
|
1908
|
+
# applies to the following operations: * Getting a policy that includes a
|
|
1909
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
|
1910
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
|
1911
|
+
# with or without a condition, from a policy that includes conditions **
|
|
1912
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
|
1913
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
|
1914
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
|
1915
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
|
1916
|
+
# any conditions, operations on that policy may specify any valid version or
|
|
1917
|
+
# leave the field unset. To learn which resources support conditions in their
|
|
1918
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
|
1919
|
+
# conditions/resource-policies).
|
|
2183
1920
|
# Corresponds to the JSON property `version`
|
|
2184
1921
|
# @return [Fixnum]
|
|
2185
1922
|
attr_accessor :version
|
|
@@ -2197,81 +1934,64 @@ module Google
|
|
|
2197
1934
|
end
|
|
2198
1935
|
end
|
|
2199
1936
|
|
|
2200
|
-
# Cloud Run fully managed: not supported
|
|
2201
|
-
#
|
|
2202
|
-
#
|
|
2203
|
-
# determine whether it is alive or ready to receive traffic.
|
|
1937
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Probe
|
|
1938
|
+
# describes a health check to be performed against a container to determine
|
|
1939
|
+
# whether it is alive or ready to receive traffic.
|
|
2204
1940
|
class Probe
|
|
2205
1941
|
include Google::Apis::Core::Hashable
|
|
2206
1942
|
|
|
2207
|
-
# Cloud Run fully managed: not supported
|
|
2208
|
-
# Cloud Run for Anthos: supported
|
|
1943
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
2209
1944
|
# ExecAction describes a "run in container" action.
|
|
2210
1945
|
# Corresponds to the JSON property `exec`
|
|
2211
1946
|
# @return [Google::Apis::RunV1::ExecAction]
|
|
2212
1947
|
attr_accessor :exec
|
|
2213
1948
|
|
|
2214
|
-
# (Optional)
|
|
2215
|
-
#
|
|
2216
|
-
#
|
|
2217
|
-
# Minimum consecutive failures for the probe to be considered failed after
|
|
2218
|
-
# having succeeded. Defaults to 3. Minimum value is 1.
|
|
1949
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1950
|
+
# supported Minimum consecutive failures for the probe to be considered failed
|
|
1951
|
+
# after having succeeded. Defaults to 3. Minimum value is 1.
|
|
2219
1952
|
# Corresponds to the JSON property `failureThreshold`
|
|
2220
1953
|
# @return [Fixnum]
|
|
2221
1954
|
attr_accessor :failure_threshold
|
|
2222
1955
|
|
|
2223
|
-
# Cloud Run fully managed: not supported
|
|
2224
|
-
# Cloud Run for Anthos: supported
|
|
1956
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
2225
1957
|
# HTTPGetAction describes an action based on HTTP Get requests.
|
|
2226
1958
|
# Corresponds to the JSON property `httpGet`
|
|
2227
1959
|
# @return [Google::Apis::RunV1::HttpGetAction]
|
|
2228
1960
|
attr_accessor :http_get
|
|
2229
1961
|
|
|
2230
|
-
# (Optional)
|
|
2231
|
-
#
|
|
2232
|
-
#
|
|
2233
|
-
#
|
|
2234
|
-
# are initiated. More info:
|
|
2235
|
-
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
|
|
2236
|
-
# probes
|
|
1962
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1963
|
+
# supported Number of seconds after the container has started before liveness
|
|
1964
|
+
# probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/
|
|
1965
|
+
# pods/pod-lifecycle#container-probes
|
|
2237
1966
|
# Corresponds to the JSON property `initialDelaySeconds`
|
|
2238
1967
|
# @return [Fixnum]
|
|
2239
1968
|
attr_accessor :initial_delay_seconds
|
|
2240
1969
|
|
|
2241
|
-
# (Optional)
|
|
2242
|
-
#
|
|
2243
|
-
#
|
|
2244
|
-
# How often (in seconds) to perform the probe.
|
|
2245
|
-
# Default to 10 seconds. Minimum value is 1.
|
|
1970
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1971
|
+
# supported How often (in seconds) to perform the probe. Default to 10 seconds.
|
|
1972
|
+
# Minimum value is 1.
|
|
2246
1973
|
# Corresponds to the JSON property `periodSeconds`
|
|
2247
1974
|
# @return [Fixnum]
|
|
2248
1975
|
attr_accessor :period_seconds
|
|
2249
1976
|
|
|
2250
|
-
# (Optional)
|
|
2251
|
-
#
|
|
2252
|
-
#
|
|
2253
|
-
#
|
|
2254
|
-
# after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
|
|
2255
|
-
# is 1.
|
|
1977
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1978
|
+
# supported Minimum consecutive successes for the probe to be considered
|
|
1979
|
+
# successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum
|
|
1980
|
+
# value is 1.
|
|
2256
1981
|
# Corresponds to the JSON property `successThreshold`
|
|
2257
1982
|
# @return [Fixnum]
|
|
2258
1983
|
attr_accessor :success_threshold
|
|
2259
1984
|
|
|
2260
|
-
# Cloud Run fully managed: not supported
|
|
2261
|
-
# Cloud Run for Anthos: supported
|
|
1985
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
2262
1986
|
# TCPSocketAction describes an action based on opening a socket
|
|
2263
1987
|
# Corresponds to the JSON property `tcpSocket`
|
|
2264
1988
|
# @return [Google::Apis::RunV1::TcpSocketAction]
|
|
2265
1989
|
attr_accessor :tcp_socket
|
|
2266
1990
|
|
|
2267
|
-
# (Optional)
|
|
2268
|
-
#
|
|
2269
|
-
#
|
|
2270
|
-
#
|
|
2271
|
-
# Defaults to 1 second. Minimum value is 1.
|
|
2272
|
-
# More info:
|
|
2273
|
-
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
|
|
2274
|
-
# probes
|
|
1991
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
1992
|
+
# supported Number of seconds after which the probe times out. Defaults to 1
|
|
1993
|
+
# second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/
|
|
1994
|
+
# workloads/pods/pod-lifecycle#container-probes
|
|
2275
1995
|
# Corresponds to the JSON property `timeoutSeconds`
|
|
2276
1996
|
# @return [Fixnum]
|
|
2277
1997
|
attr_accessor :timeout_seconds
|
|
@@ -2297,14 +2017,14 @@ module Google
|
|
|
2297
2017
|
class ResourceRecord
|
|
2298
2018
|
include Google::Apis::Core::Hashable
|
|
2299
2019
|
|
|
2300
|
-
# Relative name of the object affected by this record. Only applicable for
|
|
2301
|
-
#
|
|
2020
|
+
# Relative name of the object affected by this record. Only applicable for `
|
|
2021
|
+
# CNAME` records. Example: 'www'.
|
|
2302
2022
|
# Corresponds to the JSON property `name`
|
|
2303
2023
|
# @return [String]
|
|
2304
2024
|
attr_accessor :name
|
|
2305
2025
|
|
|
2306
|
-
# Data for this record. Values vary by record type, as defined in RFC 1035
|
|
2307
|
-
#
|
|
2026
|
+
# Data for this record. Values vary by record type, as defined in RFC 1035 (
|
|
2027
|
+
# section 5) and RFC 1034 (section 3.6.1).
|
|
2308
2028
|
# Corresponds to the JSON property `rrdata`
|
|
2309
2029
|
# @return [String]
|
|
2310
2030
|
attr_accessor :rrdata
|
|
@@ -2330,28 +2050,24 @@ module Google
|
|
|
2330
2050
|
class ResourceRequirements
|
|
2331
2051
|
include Google::Apis::Core::Hashable
|
|
2332
2052
|
|
|
2333
|
-
# (Optional)
|
|
2334
|
-
#
|
|
2335
|
-
#
|
|
2336
|
-
#
|
|
2337
|
-
#
|
|
2338
|
-
#
|
|
2339
|
-
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/
|
|
2340
|
-
# apimachinery/pkg/api/resource/quantity.go
|
|
2053
|
+
# (Optional) Cloud Run fully managed: Only memory and CPU are supported. Note:
|
|
2054
|
+
# The only supported value for CPU is '1'. Cloud Run for Anthos: supported
|
|
2055
|
+
# Limits describes the maximum amount of compute resources allowed. The values
|
|
2056
|
+
# of the map is string form of the 'quantity' k8s type: https://github.com/
|
|
2057
|
+
# kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/
|
|
2058
|
+
# resource/quantity.go
|
|
2341
2059
|
# Corresponds to the JSON property `limits`
|
|
2342
2060
|
# @return [Hash<String,String>]
|
|
2343
2061
|
attr_accessor :limits
|
|
2344
2062
|
|
|
2345
|
-
# (Optional)
|
|
2346
|
-
#
|
|
2347
|
-
#
|
|
2348
|
-
#
|
|
2349
|
-
#
|
|
2350
|
-
#
|
|
2351
|
-
#
|
|
2352
|
-
#
|
|
2353
|
-
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/
|
|
2354
|
-
# apimachinery/pkg/api/resource/quantity.go
|
|
2063
|
+
# (Optional) Cloud Run fully managed: Only memory and CPU are supported. Note:
|
|
2064
|
+
# The only supported value for CPU is '1'. Cloud Run for Anthos: supported
|
|
2065
|
+
# Requests describes the minimum amount of compute resources required. If
|
|
2066
|
+
# Requests is omitted for a container, it defaults to Limits if that is
|
|
2067
|
+
# explicitly specified, otherwise to an implementation-defined value. The values
|
|
2068
|
+
# of the map is string form of the 'quantity' k8s type: https://github.com/
|
|
2069
|
+
# kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/
|
|
2070
|
+
# resource/quantity.go
|
|
2355
2071
|
# Corresponds to the JSON property `requests`
|
|
2356
2072
|
# @return [Hash<String,String>]
|
|
2357
2073
|
attr_accessor :requests
|
|
@@ -2367,11 +2083,10 @@ module Google
|
|
|
2367
2083
|
end
|
|
2368
2084
|
end
|
|
2369
2085
|
|
|
2370
|
-
# Revision is an immutable snapshot of code and configuration.
|
|
2086
|
+
# Revision is an immutable snapshot of code and configuration. A revision
|
|
2371
2087
|
# references a container image. Revisions are created by updates to a
|
|
2372
|
-
# Configuration.
|
|
2373
|
-
#
|
|
2374
|
-
# https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision
|
|
2088
|
+
# Configuration. See also: https://github.com/knative/serving/blob/master/docs/
|
|
2089
|
+
# spec/overview.md#revision
|
|
2375
2090
|
class Revision
|
|
2376
2091
|
include Google::Apis::Core::Hashable
|
|
2377
2092
|
|
|
@@ -2385,8 +2100,8 @@ module Google
|
|
|
2385
2100
|
# @return [String]
|
|
2386
2101
|
attr_accessor :kind
|
|
2387
2102
|
|
|
2388
|
-
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
|
|
2389
|
-
#
|
|
2103
|
+
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
|
2104
|
+
# resources must have, which includes all objects users must create.
|
|
2390
2105
|
# Corresponds to the JSON property `metadata`
|
|
2391
2106
|
# @return [Google::Apis::RunV1::ObjectMeta]
|
|
2392
2107
|
attr_accessor :metadata
|
|
@@ -2420,38 +2135,37 @@ module Google
|
|
|
2420
2135
|
class RevisionSpec
|
|
2421
2136
|
include Google::Apis::Core::Hashable
|
|
2422
2137
|
|
|
2423
|
-
# (Optional)
|
|
2424
|
-
#
|
|
2425
|
-
#
|
|
2426
|
-
#
|
|
2427
|
-
#
|
|
2428
|
-
# to the application is not limited, and the system decides the
|
|
2429
|
-
# target concurrency for the autoscaler.
|
|
2138
|
+
# (Optional) ContainerConcurrency specifies the maximum allowed in-flight (
|
|
2139
|
+
# concurrent) requests per container instance of the Revision. Cloud Run fully
|
|
2140
|
+
# managed: supported, defaults to 80 Cloud Run for Anthos: supported, defaults
|
|
2141
|
+
# to 0, which means concurrency to the application is not limited, and the
|
|
2142
|
+
# system decides the target concurrency for the autoscaler.
|
|
2430
2143
|
# Corresponds to the JSON property `containerConcurrency`
|
|
2431
2144
|
# @return [Fixnum]
|
|
2432
2145
|
attr_accessor :container_concurrency
|
|
2433
2146
|
|
|
2434
|
-
# Containers holds the single container that defines the unit of execution
|
|
2435
|
-
#
|
|
2436
|
-
#
|
|
2437
|
-
#
|
|
2438
|
-
#
|
|
2439
|
-
# https://github.com/knative/serving/blob/master/docs/runtime-contract.md
|
|
2147
|
+
# Containers holds the single container that defines the unit of execution for
|
|
2148
|
+
# this Revision. In the context of a Revision, we disallow a number of fields on
|
|
2149
|
+
# this Container, including: name and lifecycle. In Cloud Run, only a single
|
|
2150
|
+
# container may be provided. The runtime contract is documented here: https://
|
|
2151
|
+
# github.com/knative/serving/blob/master/docs/runtime-contract.md
|
|
2440
2152
|
# Corresponds to the JSON property `containers`
|
|
2441
2153
|
# @return [Array<Google::Apis::RunV1::Container>]
|
|
2442
2154
|
attr_accessor :containers
|
|
2443
2155
|
|
|
2444
|
-
# Email address of the IAM service account associated with the revision
|
|
2445
|
-
#
|
|
2446
|
-
#
|
|
2447
|
-
#
|
|
2156
|
+
# Email address of the IAM service account associated with the revision of the
|
|
2157
|
+
# service. The service account represents the identity of the running revision,
|
|
2158
|
+
# and determines what permissions the revision has. If not provided, the
|
|
2159
|
+
# revision will use the project's default service account.
|
|
2448
2160
|
# Corresponds to the JSON property `serviceAccountName`
|
|
2449
2161
|
# @return [String]
|
|
2450
2162
|
attr_accessor :service_account_name
|
|
2451
2163
|
|
|
2452
|
-
# TimeoutSeconds holds the max duration the instance is allowed for
|
|
2453
|
-
#
|
|
2454
|
-
#
|
|
2164
|
+
# TimeoutSeconds holds the max duration the instance is allowed for responding
|
|
2165
|
+
# to a request. Cloud Run fully managed: defaults to 300 seconds (5 minutes).
|
|
2166
|
+
# Maximum allowed value is 900 seconds (15 minutes). Cloud Run for Anthos:
|
|
2167
|
+
# defaults to 300 seconds (5 minutes). Maximum allowed value is configurable by
|
|
2168
|
+
# the cluster operator.
|
|
2455
2169
|
# Corresponds to the JSON property `timeoutSeconds`
|
|
2456
2170
|
# @return [Fixnum]
|
|
2457
2171
|
attr_accessor :timeout_seconds
|
|
@@ -2480,39 +2194,35 @@ module Google
|
|
|
2480
2194
|
class RevisionStatus
|
|
2481
2195
|
include Google::Apis::Core::Hashable
|
|
2482
2196
|
|
|
2483
|
-
# Conditions communicates information about ongoing/complete
|
|
2484
|
-
#
|
|
2485
|
-
#
|
|
2486
|
-
#
|
|
2487
|
-
#
|
|
2488
|
-
# * "
|
|
2489
|
-
#
|
|
2490
|
-
# * "ContainerHealthy": True when the Revision readiness check completes.
|
|
2491
|
-
# * "Active": True when the Revision may receive traffic.
|
|
2197
|
+
# Conditions communicates information about ongoing/complete reconciliation
|
|
2198
|
+
# processes that bring the "spec" inline with the observed state of the world.
|
|
2199
|
+
# As a Revision is being prepared, it will incrementally update conditions.
|
|
2200
|
+
# Revision-specific conditions include: * "ResourcesAvailable": True when
|
|
2201
|
+
# underlying resources have been provisioned. * "ContainerHealthy": True when
|
|
2202
|
+
# the Revision readiness check completes. * "Active": True when the Revision may
|
|
2203
|
+
# receive traffic.
|
|
2492
2204
|
# Corresponds to the JSON property `conditions`
|
|
2493
2205
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
|
2494
2206
|
attr_accessor :conditions
|
|
2495
2207
|
|
|
2496
|
-
# ImageDigest holds the resolved digest for the image specified
|
|
2497
|
-
#
|
|
2498
|
-
#
|
|
2499
|
-
#
|
|
2208
|
+
# ImageDigest holds the resolved digest for the image specified within .Spec.
|
|
2209
|
+
# Container.Image. The digest is resolved during the creation of Revision. This
|
|
2210
|
+
# field holds the digest value regardless of whether a tag or digest was
|
|
2211
|
+
# originally specified in the Container object.
|
|
2500
2212
|
# Corresponds to the JSON property `imageDigest`
|
|
2501
2213
|
# @return [String]
|
|
2502
2214
|
attr_accessor :image_digest
|
|
2503
2215
|
|
|
2504
|
-
# Specifies the generated logging url for this particular revision
|
|
2505
|
-
#
|
|
2506
|
-
# +optional
|
|
2216
|
+
# Specifies the generated logging url for this particular revision based on the
|
|
2217
|
+
# revision url template specified in the controller's config. +optional
|
|
2507
2218
|
# Corresponds to the JSON property `logUrl`
|
|
2508
2219
|
# @return [String]
|
|
2509
2220
|
attr_accessor :log_url
|
|
2510
2221
|
|
|
2511
|
-
# ObservedGeneration is the 'Generation' of the Revision that
|
|
2512
|
-
#
|
|
2513
|
-
#
|
|
2514
|
-
#
|
|
2515
|
-
# is True or False.
|
|
2222
|
+
# ObservedGeneration is the 'Generation' of the Revision that was last processed
|
|
2223
|
+
# by the controller. Clients polling for completed reconciliation should poll
|
|
2224
|
+
# until observedGeneration = metadata.generation, and the Ready condition's
|
|
2225
|
+
# status is True or False.
|
|
2516
2226
|
# Corresponds to the JSON property `observedGeneration`
|
|
2517
2227
|
# @return [Fixnum]
|
|
2518
2228
|
attr_accessor :observed_generation
|
|
@@ -2537,13 +2247,13 @@ module Google
|
|
|
2537
2247
|
end
|
|
2538
2248
|
|
|
2539
2249
|
# RevisionTemplateSpec describes the data a revision should have when created
|
|
2540
|
-
# from a template. Based on:
|
|
2541
|
-
#
|
|
2250
|
+
# from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/
|
|
2251
|
+
# core/v1/types.go#L3179-L3190
|
|
2542
2252
|
class RevisionTemplate
|
|
2543
2253
|
include Google::Apis::Core::Hashable
|
|
2544
2254
|
|
|
2545
|
-
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
|
|
2546
|
-
#
|
|
2255
|
+
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
|
2256
|
+
# resources must have, which includes all objects users must create.
|
|
2547
2257
|
# Corresponds to the JSON property `metadata`
|
|
2548
2258
|
# @return [Google::Apis::RunV1::ObjectMeta]
|
|
2549
2259
|
attr_accessor :metadata
|
|
@@ -2567,11 +2277,10 @@ module Google
|
|
|
2567
2277
|
# Route is responsible for configuring ingress over a collection of Revisions.
|
|
2568
2278
|
# Some of the Revisions a Route distributes traffic over may be specified by
|
|
2569
2279
|
# referencing the Configuration responsible for creating them; in these cases
|
|
2570
|
-
# the Route is additionally responsible for monitoring the Configuration for
|
|
2571
|
-
#
|
|
2572
|
-
#
|
|
2573
|
-
#
|
|
2574
|
-
# Cloud Run currently supports referencing a single Configuration to
|
|
2280
|
+
# the Route is additionally responsible for monitoring the Configuration for "
|
|
2281
|
+
# latest ready" revision changes, and smoothly rolling out latest revisions. See
|
|
2282
|
+
# also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#
|
|
2283
|
+
# route Cloud Run currently supports referencing a single Configuration to
|
|
2575
2284
|
# automatically deploy the "latest ready" Revision from that Configuration.
|
|
2576
2285
|
class Route
|
|
2577
2286
|
include Google::Apis::Core::Hashable
|
|
@@ -2586,8 +2295,8 @@ module Google
|
|
|
2586
2295
|
# @return [String]
|
|
2587
2296
|
attr_accessor :kind
|
|
2588
2297
|
|
|
2589
|
-
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
|
|
2590
|
-
#
|
|
2298
|
+
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
|
2299
|
+
# resources must have, which includes all objects users must create.
|
|
2591
2300
|
# Corresponds to the JSON property `metadata`
|
|
2592
2301
|
# @return [Google::Apis::RunV1::ObjectMeta]
|
|
2593
2302
|
attr_accessor :metadata
|
|
@@ -2597,8 +2306,7 @@ module Google
|
|
|
2597
2306
|
# @return [Google::Apis::RunV1::RouteSpec]
|
|
2598
2307
|
attr_accessor :spec
|
|
2599
2308
|
|
|
2600
|
-
# RouteStatus communicates the observed state of the Route (from the
|
|
2601
|
-
# controller).
|
|
2309
|
+
# RouteStatus communicates the observed state of the Route (from the controller).
|
|
2602
2310
|
# Corresponds to the JSON property `status`
|
|
2603
2311
|
# @return [Google::Apis::RunV1::RouteStatus]
|
|
2604
2312
|
attr_accessor :status
|
|
@@ -2622,8 +2330,8 @@ module Google
|
|
|
2622
2330
|
include Google::Apis::Core::Hashable
|
|
2623
2331
|
|
|
2624
2332
|
# Traffic specifies how to distribute traffic over a collection of Knative
|
|
2625
|
-
# Revisions and Configurations.
|
|
2626
|
-
#
|
|
2333
|
+
# Revisions and Configurations. Cloud Run currently supports a single
|
|
2334
|
+
# configurationName.
|
|
2627
2335
|
# Corresponds to the JSON property `traffic`
|
|
2628
2336
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
|
2629
2337
|
attr_accessor :traffic
|
|
@@ -2638,8 +2346,7 @@ module Google
|
|
|
2638
2346
|
end
|
|
2639
2347
|
end
|
|
2640
2348
|
|
|
2641
|
-
# RouteStatus communicates the observed state of the Route (from the
|
|
2642
|
-
# controller).
|
|
2349
|
+
# RouteStatus communicates the observed state of the Route (from the controller).
|
|
2643
2350
|
class RouteStatus
|
|
2644
2351
|
include Google::Apis::Core::Hashable
|
|
2645
2352
|
|
|
@@ -2648,37 +2355,33 @@ module Google
|
|
|
2648
2355
|
# @return [Google::Apis::RunV1::Addressable]
|
|
2649
2356
|
attr_accessor :address
|
|
2650
2357
|
|
|
2651
|
-
# Conditions communicates information about ongoing/complete
|
|
2652
|
-
#
|
|
2653
|
-
# state of the world.
|
|
2358
|
+
# Conditions communicates information about ongoing/complete reconciliation
|
|
2359
|
+
# processes that bring the "spec" inline with the observed state of the world.
|
|
2654
2360
|
# Corresponds to the JSON property `conditions`
|
|
2655
2361
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
|
2656
2362
|
attr_accessor :conditions
|
|
2657
2363
|
|
|
2658
|
-
# ObservedGeneration is the 'Generation' of the Route that
|
|
2659
|
-
#
|
|
2660
|
-
#
|
|
2661
|
-
#
|
|
2662
|
-
#
|
|
2663
|
-
#
|
|
2664
|
-
#
|
|
2665
|
-
# its observedGeneration, as new "latest ready" revisions from the
|
|
2666
|
-
# Configuration are processed without an update to the Route's spec.
|
|
2364
|
+
# ObservedGeneration is the 'Generation' of the Route that was last processed by
|
|
2365
|
+
# the controller. Clients polling for completed reconciliation should poll until
|
|
2366
|
+
# observedGeneration = metadata.generation and the Ready condition's status is
|
|
2367
|
+
# True or False. Note that providing a trafficTarget that only has a
|
|
2368
|
+
# configurationName will result in a Route that does not increment either its
|
|
2369
|
+
# metadata.generation or its observedGeneration, as new "latest ready" revisions
|
|
2370
|
+
# from the Configuration are processed without an update to the Route's spec.
|
|
2667
2371
|
# Corresponds to the JSON property `observedGeneration`
|
|
2668
2372
|
# @return [Fixnum]
|
|
2669
2373
|
attr_accessor :observed_generation
|
|
2670
2374
|
|
|
2671
|
-
# Traffic holds the configured traffic distribution.
|
|
2672
|
-
#
|
|
2673
|
-
#
|
|
2674
|
-
# LatestReadyRevisionName that we last observed.
|
|
2375
|
+
# Traffic holds the configured traffic distribution. These entries will always
|
|
2376
|
+
# contain RevisionName references. When ConfigurationName appears in the spec,
|
|
2377
|
+
# this will hold the LatestReadyRevisionName that we last observed.
|
|
2675
2378
|
# Corresponds to the JSON property `traffic`
|
|
2676
2379
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
|
2677
2380
|
attr_accessor :traffic
|
|
2678
2381
|
|
|
2679
2382
|
# URL holds the url that will distribute traffic over the provided traffic
|
|
2680
|
-
# targets. It generally has the form:
|
|
2681
|
-
#
|
|
2383
|
+
# targets. It generally has the form: https://`route-hash`-`project-hash`-`
|
|
2384
|
+
# cluster-level-suffix`.a.run.app
|
|
2682
2385
|
# Corresponds to the JSON property `url`
|
|
2683
2386
|
# @return [String]
|
|
2684
2387
|
attr_accessor :url
|
|
@@ -2697,32 +2400,30 @@ module Google
|
|
|
2697
2400
|
end
|
|
2698
2401
|
end
|
|
2699
2402
|
|
|
2700
|
-
# Cloud Run fully managed: not supported
|
|
2701
|
-
#
|
|
2702
|
-
#
|
|
2703
|
-
# the Data field must be less than MaxSecretSize bytes.
|
|
2403
|
+
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Secret
|
|
2404
|
+
# holds secret data of a certain type. The total bytes of the values in the Data
|
|
2405
|
+
# field must be less than MaxSecretSize bytes.
|
|
2704
2406
|
class Secret
|
|
2705
2407
|
include Google::Apis::Core::Hashable
|
|
2706
2408
|
|
|
2707
2409
|
# Data contains the secret data. Each key must consist of alphanumeric
|
|
2708
2410
|
# characters, '-', '_' or '.'. The serialized form of the secret data is a
|
|
2709
|
-
# base64 encoded string, representing the arbitrary (possibly non-string)
|
|
2710
|
-
#
|
|
2411
|
+
# base64 encoded string, representing the arbitrary (possibly non-string) data
|
|
2412
|
+
# value here. Described in https://tools.ietf.org/html/rfc4648#section-4
|
|
2711
2413
|
# Corresponds to the JSON property `data`
|
|
2712
2414
|
# @return [Hash<String,String>]
|
|
2713
2415
|
attr_accessor :data
|
|
2714
2416
|
|
|
2715
|
-
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
|
|
2716
|
-
#
|
|
2417
|
+
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
|
2418
|
+
# resources must have, which includes all objects users must create.
|
|
2717
2419
|
# Corresponds to the JSON property `metadata`
|
|
2718
2420
|
# @return [Google::Apis::RunV1::ObjectMeta]
|
|
2719
2421
|
attr_accessor :metadata
|
|
2720
2422
|
|
|
2721
|
-
# stringData allows specifying non-binary secret data in string form.
|
|
2722
|
-
#
|
|
2723
|
-
#
|
|
2724
|
-
#
|
|
2725
|
-
# +k8s:conversion-gen=false
|
|
2423
|
+
# stringData allows specifying non-binary secret data in string form. It is
|
|
2424
|
+
# provided as a write-only convenience method. All keys and values are merged
|
|
2425
|
+
# into the data field on write, overwriting any existing values. It is never
|
|
2426
|
+
# output when reading from the API. +k8s:conversion-gen=false
|
|
2726
2427
|
# Corresponds to the JSON property `stringData`
|
|
2727
2428
|
# @return [Hash<String,String>]
|
|
2728
2429
|
attr_accessor :string_data
|
|
@@ -2745,34 +2446,28 @@ module Google
|
|
|
2745
2446
|
end
|
|
2746
2447
|
end
|
|
2747
2448
|
|
|
2748
|
-
# Cloud Run fully managed: not supported
|
|
2749
|
-
#
|
|
2750
|
-
#
|
|
2751
|
-
# variables
|
|
2752
|
-
# The contents of the target Secret's Data field will represent the
|
|
2753
|
-
# key-value pairs as environment variables.
|
|
2449
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
2450
|
+
# SecretEnvSource selects a Secret to populate the environment variables with.
|
|
2451
|
+
# The contents of the target Secret's Data field will represent the key-value
|
|
2452
|
+
# pairs as environment variables.
|
|
2754
2453
|
class SecretEnvSource
|
|
2755
2454
|
include Google::Apis::Core::Hashable
|
|
2756
2455
|
|
|
2757
|
-
# Cloud Run fully managed: not supported
|
|
2758
|
-
# Cloud Run for Anthos: supported
|
|
2456
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
2759
2457
|
# LocalObjectReference contains enough information to let you locate the
|
|
2760
2458
|
# referenced object inside the same namespace.
|
|
2761
2459
|
# Corresponds to the JSON property `localObjectReference`
|
|
2762
2460
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
|
2763
2461
|
attr_accessor :local_object_reference
|
|
2764
2462
|
|
|
2765
|
-
# Cloud Run fully managed: not supported
|
|
2766
|
-
#
|
|
2767
|
-
# The Secret to select from.
|
|
2463
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The
|
|
2464
|
+
# Secret to select from.
|
|
2768
2465
|
# Corresponds to the JSON property `name`
|
|
2769
2466
|
# @return [String]
|
|
2770
2467
|
attr_accessor :name
|
|
2771
2468
|
|
|
2772
|
-
# (Optional)
|
|
2773
|
-
#
|
|
2774
|
-
# Cloud Run for Anthos: supported
|
|
2775
|
-
# Specify whether the Secret must be defined
|
|
2469
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
2470
|
+
# supported Specify whether the Secret must be defined
|
|
2776
2471
|
# Corresponds to the JSON property `optional`
|
|
2777
2472
|
# @return [Boolean]
|
|
2778
2473
|
attr_accessor :optional
|
|
@@ -2790,38 +2485,32 @@ module Google
|
|
|
2790
2485
|
end
|
|
2791
2486
|
end
|
|
2792
2487
|
|
|
2793
|
-
# Cloud Run fully managed: not supported
|
|
2794
|
-
# Cloud Run for Anthos: supported
|
|
2488
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
2795
2489
|
# SecretKeySelector selects a key of a Secret.
|
|
2796
2490
|
class SecretKeySelector
|
|
2797
2491
|
include Google::Apis::Core::Hashable
|
|
2798
2492
|
|
|
2799
|
-
# Cloud Run fully managed: not supported
|
|
2800
|
-
#
|
|
2801
|
-
# The key of the secret to select from. Must be a valid secret key.
|
|
2493
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The key
|
|
2494
|
+
# of the secret to select from. Must be a valid secret key.
|
|
2802
2495
|
# Corresponds to the JSON property `key`
|
|
2803
2496
|
# @return [String]
|
|
2804
2497
|
attr_accessor :key
|
|
2805
2498
|
|
|
2806
|
-
# Cloud Run fully managed: not supported
|
|
2807
|
-
# Cloud Run for Anthos: supported
|
|
2499
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
2808
2500
|
# LocalObjectReference contains enough information to let you locate the
|
|
2809
2501
|
# referenced object inside the same namespace.
|
|
2810
2502
|
# Corresponds to the JSON property `localObjectReference`
|
|
2811
2503
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
|
2812
2504
|
attr_accessor :local_object_reference
|
|
2813
2505
|
|
|
2814
|
-
# Cloud Run fully managed: not supported
|
|
2815
|
-
#
|
|
2816
|
-
# The name of the secret in the pod's namespace to select from.
|
|
2506
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The
|
|
2507
|
+
# name of the secret in the pod's namespace to select from.
|
|
2817
2508
|
# Corresponds to the JSON property `name`
|
|
2818
2509
|
# @return [String]
|
|
2819
2510
|
attr_accessor :name
|
|
2820
2511
|
|
|
2821
|
-
# (Optional)
|
|
2822
|
-
#
|
|
2823
|
-
# Cloud Run for Anthos: supported
|
|
2824
|
-
# Specify whether the Secret or its key must be defined
|
|
2512
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
2513
|
+
# supported Specify whether the Secret or its key must be defined
|
|
2825
2514
|
# Corresponds to the JSON property `optional`
|
|
2826
2515
|
# @return [Boolean]
|
|
2827
2516
|
attr_accessor :optional
|
|
@@ -2840,49 +2529,41 @@ module Google
|
|
|
2840
2529
|
end
|
|
2841
2530
|
end
|
|
2842
2531
|
|
|
2843
|
-
# Cloud Run fully managed: not supported
|
|
2844
|
-
#
|
|
2845
|
-
#
|
|
2846
|
-
# as files using the keys in the Data field as the file names.
|
|
2532
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The
|
|
2533
|
+
# contents of the target Secret's Data field will be presented in a volume as
|
|
2534
|
+
# files using the keys in the Data field as the file names.
|
|
2847
2535
|
class SecretVolumeSource
|
|
2848
2536
|
include Google::Apis::Core::Hashable
|
|
2849
2537
|
|
|
2850
|
-
# (Optional)
|
|
2851
|
-
#
|
|
2852
|
-
#
|
|
2853
|
-
#
|
|
2854
|
-
#
|
|
2855
|
-
# this setting. This might be in conflict with other options that affect the
|
|
2856
|
-
# file mode, like fsGroup, and the result can be other mode bits set.
|
|
2538
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
2539
|
+
# supported Mode bits to use on created files by default. Must be a value
|
|
2540
|
+
# between 0 and 0777. Defaults to 0644. Directories within the path are not
|
|
2541
|
+
# affected by this setting. This might be in conflict with other options that
|
|
2542
|
+
# affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
2857
2543
|
# Corresponds to the JSON property `defaultMode`
|
|
2858
2544
|
# @return [Fixnum]
|
|
2859
2545
|
attr_accessor :default_mode
|
|
2860
2546
|
|
|
2861
|
-
# (Optional)
|
|
2862
|
-
#
|
|
2863
|
-
#
|
|
2864
|
-
#
|
|
2865
|
-
#
|
|
2866
|
-
# key
|
|
2867
|
-
#
|
|
2868
|
-
# present. If a key is specified which is not present in the Secret,
|
|
2869
|
-
# the volume setup will error unless it is marked optional.
|
|
2547
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
2548
|
+
# supported If unspecified, each key-value pair in the Data field of the
|
|
2549
|
+
# referenced Secret will be projected into the volume as a file whose name is
|
|
2550
|
+
# the key and content is the value. If specified, the listed keys will be
|
|
2551
|
+
# projected into the specified paths, and unlisted keys will not be present. If
|
|
2552
|
+
# a key is specified which is not present in the Secret, the volume setup will
|
|
2553
|
+
# error unless it is marked optional.
|
|
2870
2554
|
# Corresponds to the JSON property `items`
|
|
2871
2555
|
# @return [Array<Google::Apis::RunV1::KeyToPath>]
|
|
2872
2556
|
attr_accessor :items
|
|
2873
2557
|
|
|
2874
|
-
# (Optional)
|
|
2875
|
-
#
|
|
2876
|
-
# Cloud Run for Anthos: supported
|
|
2877
|
-
# Specify whether the Secret or its keys must be defined.
|
|
2558
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
2559
|
+
# supported Specify whether the Secret or its keys must be defined.
|
|
2878
2560
|
# Corresponds to the JSON property `optional`
|
|
2879
2561
|
# @return [Boolean]
|
|
2880
2562
|
attr_accessor :optional
|
|
2881
2563
|
alias_method :optional?, :optional
|
|
2882
2564
|
|
|
2883
|
-
# Cloud Run fully managed: not supported
|
|
2884
|
-
#
|
|
2885
|
-
# Name of the secret in the container's namespace to use.
|
|
2565
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Name of
|
|
2566
|
+
# the secret in the container's namespace to use.
|
|
2886
2567
|
# Corresponds to the JSON property `secretName`
|
|
2887
2568
|
# @return [String]
|
|
2888
2569
|
attr_accessor :secret_name
|
|
@@ -2900,23 +2581,19 @@ module Google
|
|
|
2900
2581
|
end
|
|
2901
2582
|
end
|
|
2902
2583
|
|
|
2903
|
-
# Cloud Run fully managed: not supported
|
|
2904
|
-
# Cloud Run for Anthos: supported
|
|
2584
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
2905
2585
|
# SecurityContext holds security configuration that will be applied to a
|
|
2906
2586
|
# container. Some fields are present in both SecurityContext and
|
|
2907
|
-
# PodSecurityContext.
|
|
2587
|
+
# PodSecurityContext. When both are set, the values in SecurityContext take
|
|
2908
2588
|
# precedence.
|
|
2909
2589
|
class SecurityContext
|
|
2910
2590
|
include Google::Apis::Core::Hashable
|
|
2911
2591
|
|
|
2912
|
-
# (Optional)
|
|
2913
|
-
#
|
|
2914
|
-
#
|
|
2915
|
-
#
|
|
2916
|
-
#
|
|
2917
|
-
# May also be set in PodSecurityContext. If set in both SecurityContext and
|
|
2918
|
-
# PodSecurityContext, the value specified in SecurityContext takes
|
|
2919
|
-
# precedence.
|
|
2592
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
2593
|
+
# supported The UID to run the entrypoint of the container process. Defaults to
|
|
2594
|
+
# user specified in image metadata if unspecified. May also be set in
|
|
2595
|
+
# PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the
|
|
2596
|
+
# value specified in SecurityContext takes precedence.
|
|
2920
2597
|
# Corresponds to the JSON property `runAsUser`
|
|
2921
2598
|
# @return [Fixnum]
|
|
2922
2599
|
attr_accessor :run_as_user
|
|
@@ -2933,15 +2610,14 @@ module Google
|
|
|
2933
2610
|
|
|
2934
2611
|
# Service acts as a top-level container that manages a set of Routes and
|
|
2935
2612
|
# Configurations which implement a network service. Service exists to provide a
|
|
2936
|
-
# singular abstraction which can be access controlled, reasoned about, and
|
|
2937
|
-
#
|
|
2938
|
-
#
|
|
2939
|
-
#
|
|
2940
|
-
#
|
|
2941
|
-
#
|
|
2942
|
-
#
|
|
2943
|
-
#
|
|
2944
|
-
# https://github.com/knative/serving/blob/master/docs/spec/overview.md#service
|
|
2613
|
+
# singular abstraction which can be access controlled, reasoned about, and which
|
|
2614
|
+
# encapsulates software lifecycle decisions such as rollout policy and team
|
|
2615
|
+
# resource ownership. Service acts only as an orchestrator of the underlying
|
|
2616
|
+
# Routes and Configurations (much as a kubernetes Deployment orchestrates
|
|
2617
|
+
# ReplicaSets). The Service's controller will track the statuses of its owned
|
|
2618
|
+
# Configuration and Route, reflecting their statuses and conditions as its own.
|
|
2619
|
+
# See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#
|
|
2620
|
+
# service
|
|
2945
2621
|
class Service
|
|
2946
2622
|
include Google::Apis::Core::Hashable
|
|
2947
2623
|
|
|
@@ -2955,14 +2631,14 @@ module Google
|
|
|
2955
2631
|
# @return [String]
|
|
2956
2632
|
attr_accessor :kind
|
|
2957
2633
|
|
|
2958
|
-
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
|
|
2959
|
-
#
|
|
2634
|
+
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
|
2635
|
+
# resources must have, which includes all objects users must create.
|
|
2960
2636
|
# Corresponds to the JSON property `metadata`
|
|
2961
2637
|
# @return [Google::Apis::RunV1::ObjectMeta]
|
|
2962
2638
|
attr_accessor :metadata
|
|
2963
2639
|
|
|
2964
|
-
# ServiceSpec holds the desired state of the Route (from the client), which
|
|
2965
|
-
#
|
|
2640
|
+
# ServiceSpec holds the desired state of the Route (from the client), which is
|
|
2641
|
+
# used to manipulate the underlying Route and Configuration(s).
|
|
2966
2642
|
# Corresponds to the JSON property `spec`
|
|
2967
2643
|
# @return [Google::Apis::RunV1::ServiceSpec]
|
|
2968
2644
|
attr_accessor :spec
|
|
@@ -2986,14 +2662,14 @@ module Google
|
|
|
2986
2662
|
end
|
|
2987
2663
|
end
|
|
2988
2664
|
|
|
2989
|
-
# ServiceSpec holds the desired state of the Route (from the client), which
|
|
2990
|
-
#
|
|
2665
|
+
# ServiceSpec holds the desired state of the Route (from the client), which is
|
|
2666
|
+
# used to manipulate the underlying Route and Configuration(s).
|
|
2991
2667
|
class ServiceSpec
|
|
2992
2668
|
include Google::Apis::Core::Hashable
|
|
2993
2669
|
|
|
2994
2670
|
# RevisionTemplateSpec describes the data a revision should have when created
|
|
2995
|
-
# from a template. Based on:
|
|
2996
|
-
#
|
|
2671
|
+
# from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/
|
|
2672
|
+
# core/v1/types.go#L3179-L3190
|
|
2997
2673
|
# Corresponds to the JSON property `template`
|
|
2998
2674
|
# @return [Google::Apis::RunV1::RevisionTemplate]
|
|
2999
2675
|
attr_accessor :template
|
|
@@ -3024,56 +2700,49 @@ module Google
|
|
|
3024
2700
|
# @return [Google::Apis::RunV1::Addressable]
|
|
3025
2701
|
attr_accessor :address
|
|
3026
2702
|
|
|
3027
|
-
# Conditions communicates information about ongoing/complete
|
|
3028
|
-
#
|
|
3029
|
-
#
|
|
3030
|
-
#
|
|
3031
|
-
# * "
|
|
3032
|
-
#
|
|
3033
|
-
# * "Ready": true when both the underlying Route and Configuration are
|
|
3034
|
-
# ready.
|
|
2703
|
+
# Conditions communicates information about ongoing/complete reconciliation
|
|
2704
|
+
# processes that bring the "spec" inline with the observed state of the world.
|
|
2705
|
+
# Service-specific conditions include: * "ConfigurationsReady": true when the
|
|
2706
|
+
# underlying Configuration is ready. * "RoutesReady": true when the underlying
|
|
2707
|
+
# Route is ready. * "Ready": true when both the underlying Route and
|
|
2708
|
+
# Configuration are ready.
|
|
3035
2709
|
# Corresponds to the JSON property `conditions`
|
|
3036
2710
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
|
3037
2711
|
attr_accessor :conditions
|
|
3038
2712
|
|
|
3039
|
-
# From ConfigurationStatus.
|
|
3040
|
-
#
|
|
3041
|
-
#
|
|
3042
|
-
# LatestReadyRevisionName.
|
|
2713
|
+
# From ConfigurationStatus. LatestCreatedRevisionName is the last revision that
|
|
2714
|
+
# was created from this Service's Configuration. It might not be ready yet, for
|
|
2715
|
+
# that use LatestReadyRevisionName.
|
|
3043
2716
|
# Corresponds to the JSON property `latestCreatedRevisionName`
|
|
3044
2717
|
# @return [String]
|
|
3045
2718
|
attr_accessor :latest_created_revision_name
|
|
3046
2719
|
|
|
3047
|
-
# From ConfigurationStatus.
|
|
3048
|
-
#
|
|
3049
|
-
#
|
|
3050
|
-
# "True".
|
|
2720
|
+
# From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest
|
|
2721
|
+
# Revision stamped out from this Service's Configuration that has had its "Ready"
|
|
2722
|
+
# condition become "True".
|
|
3051
2723
|
# Corresponds to the JSON property `latestReadyRevisionName`
|
|
3052
2724
|
# @return [String]
|
|
3053
2725
|
attr_accessor :latest_ready_revision_name
|
|
3054
2726
|
|
|
3055
|
-
# ObservedGeneration is the 'Generation' of the Route that
|
|
3056
|
-
#
|
|
3057
|
-
#
|
|
3058
|
-
#
|
|
3059
|
-
# is True or False.
|
|
2727
|
+
# ObservedGeneration is the 'Generation' of the Route that was last processed by
|
|
2728
|
+
# the controller. Clients polling for completed reconciliation should poll until
|
|
2729
|
+
# observedGeneration = metadata.generation and the Ready condition's status is
|
|
2730
|
+
# True or False.
|
|
3060
2731
|
# Corresponds to the JSON property `observedGeneration`
|
|
3061
2732
|
# @return [Fixnum]
|
|
3062
2733
|
attr_accessor :observed_generation
|
|
3063
2734
|
|
|
3064
|
-
# From RouteStatus.
|
|
3065
|
-
#
|
|
3066
|
-
#
|
|
3067
|
-
#
|
|
3068
|
-
# LatestReadyRevisionName that we last observed.
|
|
2735
|
+
# From RouteStatus. Traffic holds the configured traffic distribution. These
|
|
2736
|
+
# entries will always contain RevisionName references. When ConfigurationName
|
|
2737
|
+
# appears in the spec, this will hold the LatestReadyRevisionName that we last
|
|
2738
|
+
# observed.
|
|
3069
2739
|
# Corresponds to the JSON property `traffic`
|
|
3070
2740
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
|
3071
2741
|
attr_accessor :traffic
|
|
3072
2742
|
|
|
3073
|
-
# From RouteStatus.
|
|
3074
|
-
#
|
|
3075
|
-
#
|
|
3076
|
-
# https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
|
|
2743
|
+
# From RouteStatus. URL holds the url that will distribute traffic over the
|
|
2744
|
+
# provided traffic targets. It generally has the form https://`route-hash`-`
|
|
2745
|
+
# project-hash`-`cluster-level-suffix`.a.run.app
|
|
3077
2746
|
# Corresponds to the JSON property `url`
|
|
3078
2747
|
# @return [String]
|
|
3079
2748
|
attr_accessor :url
|
|
@@ -3099,74 +2768,39 @@ module Google
|
|
|
3099
2768
|
include Google::Apis::Core::Hashable
|
|
3100
2769
|
|
|
3101
2770
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
3102
|
-
# controls for Google Cloud resources.
|
|
3103
|
-
# A `
|
|
3104
|
-
#
|
|
3105
|
-
#
|
|
3106
|
-
#
|
|
3107
|
-
#
|
|
3108
|
-
#
|
|
3109
|
-
#
|
|
3110
|
-
#
|
|
3111
|
-
#
|
|
3112
|
-
#
|
|
3113
|
-
# [
|
|
3114
|
-
#
|
|
3115
|
-
#
|
|
3116
|
-
# `
|
|
3117
|
-
# "
|
|
3118
|
-
# `
|
|
3119
|
-
# "
|
|
3120
|
-
#
|
|
3121
|
-
#
|
|
3122
|
-
#
|
|
3123
|
-
#
|
|
3124
|
-
#
|
|
3125
|
-
#
|
|
3126
|
-
#
|
|
3127
|
-
#
|
|
3128
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
|
3129
|
-
# "members": [
|
|
3130
|
-
# "user:eve@example.com"
|
|
3131
|
-
# ],
|
|
3132
|
-
# "condition": `
|
|
3133
|
-
# "title": "expirable access",
|
|
3134
|
-
# "description": "Does not grant access after Sep 2020",
|
|
3135
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
3136
|
-
# ",
|
|
3137
|
-
# `
|
|
3138
|
-
# `
|
|
3139
|
-
# ],
|
|
3140
|
-
# "etag": "BwWWja0YfJA=",
|
|
3141
|
-
# "version": 3
|
|
3142
|
-
# `
|
|
3143
|
-
# **YAML example:**
|
|
3144
|
-
# bindings:
|
|
3145
|
-
# - members:
|
|
3146
|
-
# - user:mike@example.com
|
|
3147
|
-
# - group:admins@example.com
|
|
3148
|
-
# - domain:google.com
|
|
3149
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
3150
|
-
# role: roles/resourcemanager.organizationAdmin
|
|
3151
|
-
# - members:
|
|
3152
|
-
# - user:eve@example.com
|
|
3153
|
-
# role: roles/resourcemanager.organizationViewer
|
|
3154
|
-
# condition:
|
|
3155
|
-
# title: expirable access
|
|
3156
|
-
# description: Does not grant access after Sep 2020
|
|
3157
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
3158
|
-
# - etag: BwWWja0YfJA=
|
|
3159
|
-
# - version: 3
|
|
3160
|
-
# For a description of IAM and its features, see the
|
|
3161
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
2771
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
2772
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
2773
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
2774
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
2775
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
2776
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
2777
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
|
2778
|
+
# condition can add constraints based on attributes of the request, the resource,
|
|
2779
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
|
2780
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
2781
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
2782
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
2783
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
2784
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
2785
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
2786
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
|
2787
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
2788
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
2789
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
2790
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
2791
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
2792
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
2793
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
2794
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
2795
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
2796
|
+
# google.com/iam/docs/).
|
|
3162
2797
|
# Corresponds to the JSON property `policy`
|
|
3163
2798
|
# @return [Google::Apis::RunV1::Policy]
|
|
3164
2799
|
attr_accessor :policy
|
|
3165
2800
|
|
|
3166
2801
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
3167
|
-
# the fields in the mask will be modified. If no mask is provided, the
|
|
3168
|
-
#
|
|
3169
|
-
# `paths: "bindings, etag"`
|
|
2802
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
|
2803
|
+
# default mask is used: `paths: "bindings, etag"`
|
|
3170
2804
|
# Corresponds to the JSON property `updateMask`
|
|
3171
2805
|
# @return [String]
|
|
3172
2806
|
attr_accessor :update_mask
|
|
@@ -3186,50 +2820,42 @@ module Google
|
|
|
3186
2820
|
class Status
|
|
3187
2821
|
include Google::Apis::Core::Hashable
|
|
3188
2822
|
|
|
3189
|
-
# Suggested HTTP return code for this status, 0 if not set.
|
|
3190
|
-
# +optional
|
|
2823
|
+
# Suggested HTTP return code for this status, 0 if not set. +optional
|
|
3191
2824
|
# Corresponds to the JSON property `code`
|
|
3192
2825
|
# @return [Fixnum]
|
|
3193
2826
|
attr_accessor :code
|
|
3194
2827
|
|
|
3195
|
-
# StatusDetails is a set of additional properties that MAY be set by the
|
|
3196
|
-
#
|
|
3197
|
-
#
|
|
3198
|
-
#
|
|
3199
|
-
#
|
|
3200
|
-
# defined.
|
|
2828
|
+
# StatusDetails is a set of additional properties that MAY be set by the server
|
|
2829
|
+
# to provide additional information about a response. The Reason field of a
|
|
2830
|
+
# Status object defines what attributes will be set. Clients must ignore fields
|
|
2831
|
+
# that do not match the defined type of each attribute, and should assume that
|
|
2832
|
+
# any attribute may be empty, invalid, or under defined.
|
|
3201
2833
|
# Corresponds to the JSON property `details`
|
|
3202
2834
|
# @return [Google::Apis::RunV1::StatusDetails]
|
|
3203
2835
|
attr_accessor :details
|
|
3204
2836
|
|
|
3205
|
-
# A human-readable description of the status of this operation.
|
|
3206
|
-
# +optional
|
|
2837
|
+
# A human-readable description of the status of this operation. +optional
|
|
3207
2838
|
# Corresponds to the JSON property `message`
|
|
3208
2839
|
# @return [String]
|
|
3209
2840
|
attr_accessor :message
|
|
3210
2841
|
|
|
3211
2842
|
# ListMeta describes metadata that synthetic resources must have, including
|
|
3212
|
-
# lists and various status objects. A resource may have only one of
|
|
3213
|
-
#
|
|
2843
|
+
# lists and various status objects. A resource may have only one of `ObjectMeta,
|
|
2844
|
+
# ListMeta`.
|
|
3214
2845
|
# Corresponds to the JSON property `metadata`
|
|
3215
2846
|
# @return [Google::Apis::RunV1::ListMeta]
|
|
3216
2847
|
attr_accessor :metadata
|
|
3217
2848
|
|
|
3218
|
-
# A machine-readable description of why this operation is in the
|
|
3219
|
-
#
|
|
3220
|
-
#
|
|
3221
|
-
# code but does not override it.
|
|
3222
|
-
# +optional
|
|
2849
|
+
# A machine-readable description of why this operation is in the "Failure"
|
|
2850
|
+
# status. If this value is empty there is no information available. A Reason
|
|
2851
|
+
# clarifies an HTTP status code but does not override it. +optional
|
|
3223
2852
|
# Corresponds to the JSON property `reason`
|
|
3224
2853
|
# @return [String]
|
|
3225
2854
|
attr_accessor :reason
|
|
3226
2855
|
|
|
3227
|
-
# Status of the operation.
|
|
3228
|
-
#
|
|
3229
|
-
#
|
|
3230
|
-
# https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-
|
|
3231
|
-
# status
|
|
3232
|
-
# +optional
|
|
2856
|
+
# Status of the operation. One of: "Success" or "Failure". More info: https://
|
|
2857
|
+
# git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status +
|
|
2858
|
+
# optional
|
|
3233
2859
|
# Corresponds to the JSON property `status`
|
|
3234
2860
|
# @return [String]
|
|
3235
2861
|
attr_accessor :status
|
|
@@ -3256,27 +2882,22 @@ module Google
|
|
|
3256
2882
|
|
|
3257
2883
|
# The field of the resource that has caused this error, as named by its JSON
|
|
3258
2884
|
# serialization. May include dot and postfix notation for nested attributes.
|
|
3259
|
-
# Arrays are zero-indexed.
|
|
3260
|
-
# causes due to fields having multiple errors.
|
|
3261
|
-
#
|
|
3262
|
-
#
|
|
3263
|
-
# "name" - the field "name" on the current resource
|
|
3264
|
-
# "items[0].name" - the field "name" on the first array entry in "items"
|
|
3265
|
-
# +optional
|
|
2885
|
+
# Arrays are zero-indexed. Fields may appear more than once in an array of
|
|
2886
|
+
# causes due to fields having multiple errors. Optional. Examples: "name" - the
|
|
2887
|
+
# field "name" on the current resource "items[0].name" - the field "name" on the
|
|
2888
|
+
# first array entry in "items" +optional
|
|
3266
2889
|
# Corresponds to the JSON property `field`
|
|
3267
2890
|
# @return [String]
|
|
3268
2891
|
attr_accessor :field
|
|
3269
2892
|
|
|
3270
|
-
# A human-readable description of the cause of the error.
|
|
3271
|
-
# presented as-is to a reader.
|
|
3272
|
-
# +optional
|
|
2893
|
+
# A human-readable description of the cause of the error. This field may be
|
|
2894
|
+
# presented as-is to a reader. +optional
|
|
3273
2895
|
# Corresponds to the JSON property `message`
|
|
3274
2896
|
# @return [String]
|
|
3275
2897
|
attr_accessor :message
|
|
3276
2898
|
|
|
3277
2899
|
# A machine-readable description of the cause of the error. If this value is
|
|
3278
|
-
# empty there is no information available.
|
|
3279
|
-
# +optional
|
|
2900
|
+
# empty there is no information available. +optional
|
|
3280
2901
|
# Corresponds to the JSON property `reason`
|
|
3281
2902
|
# @return [String]
|
|
3282
2903
|
attr_accessor :reason
|
|
@@ -3293,56 +2914,50 @@ module Google
|
|
|
3293
2914
|
end
|
|
3294
2915
|
end
|
|
3295
2916
|
|
|
3296
|
-
# StatusDetails is a set of additional properties that MAY be set by the
|
|
3297
|
-
#
|
|
3298
|
-
#
|
|
3299
|
-
#
|
|
3300
|
-
#
|
|
3301
|
-
# defined.
|
|
2917
|
+
# StatusDetails is a set of additional properties that MAY be set by the server
|
|
2918
|
+
# to provide additional information about a response. The Reason field of a
|
|
2919
|
+
# Status object defines what attributes will be set. Clients must ignore fields
|
|
2920
|
+
# that do not match the defined type of each attribute, and should assume that
|
|
2921
|
+
# any attribute may be empty, invalid, or under defined.
|
|
3302
2922
|
class StatusDetails
|
|
3303
2923
|
include Google::Apis::Core::Hashable
|
|
3304
2924
|
|
|
3305
2925
|
# The Causes array includes more details associated with the StatusReason
|
|
3306
|
-
# failure. Not all StatusReasons may provide detailed causes.
|
|
3307
|
-
# +optional
|
|
2926
|
+
# failure. Not all StatusReasons may provide detailed causes. +optional
|
|
3308
2927
|
# Corresponds to the JSON property `causes`
|
|
3309
2928
|
# @return [Array<Google::Apis::RunV1::StatusCause>]
|
|
3310
2929
|
attr_accessor :causes
|
|
3311
2930
|
|
|
3312
|
-
# The group attribute of the resource associated with the status
|
|
3313
|
-
#
|
|
2931
|
+
# The group attribute of the resource associated with the status StatusReason. +
|
|
2932
|
+
# optional
|
|
3314
2933
|
# Corresponds to the JSON property `group`
|
|
3315
2934
|
# @return [String]
|
|
3316
2935
|
attr_accessor :group
|
|
3317
2936
|
|
|
3318
|
-
# The kind attribute of the resource associated with the status StatusReason.
|
|
3319
|
-
#
|
|
3320
|
-
#
|
|
3321
|
-
#
|
|
3322
|
-
# +optional
|
|
2937
|
+
# The kind attribute of the resource associated with the status StatusReason. On
|
|
2938
|
+
# some operations may differ from the requested resource Kind. More info: https:/
|
|
2939
|
+
# /git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds +
|
|
2940
|
+
# optional
|
|
3323
2941
|
# Corresponds to the JSON property `kind`
|
|
3324
2942
|
# @return [String]
|
|
3325
2943
|
attr_accessor :kind
|
|
3326
2944
|
|
|
3327
|
-
# The name attribute of the resource associated with the status StatusReason
|
|
3328
|
-
#
|
|
3329
|
-
# +optional
|
|
2945
|
+
# The name attribute of the resource associated with the status StatusReason (
|
|
2946
|
+
# when there is a single name which can be described). +optional
|
|
3330
2947
|
# Corresponds to the JSON property `name`
|
|
3331
2948
|
# @return [String]
|
|
3332
2949
|
attr_accessor :name
|
|
3333
2950
|
|
|
3334
|
-
# If specified, the time in seconds before the operation should be retried.
|
|
3335
|
-
#
|
|
3336
|
-
#
|
|
3337
|
-
#
|
|
2951
|
+
# If specified, the time in seconds before the operation should be retried. Some
|
|
2952
|
+
# errors may indicate the client must take an alternate action - for those
|
|
2953
|
+
# errors this field may indicate how long to wait before taking the alternate
|
|
2954
|
+
# action. +optional
|
|
3338
2955
|
# Corresponds to the JSON property `retryAfterSeconds`
|
|
3339
2956
|
# @return [Fixnum]
|
|
3340
2957
|
attr_accessor :retry_after_seconds
|
|
3341
2958
|
|
|
3342
|
-
# UID of the resource.
|
|
3343
|
-
#
|
|
3344
|
-
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
|
3345
|
-
# +optional
|
|
2959
|
+
# UID of the resource. (when there is a single resource which can be described).
|
|
2960
|
+
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids +optional
|
|
3346
2961
|
# Corresponds to the JSON property `uid`
|
|
3347
2962
|
# @return [String]
|
|
3348
2963
|
attr_accessor :uid
|
|
@@ -3362,27 +2977,22 @@ module Google
|
|
|
3362
2977
|
end
|
|
3363
2978
|
end
|
|
3364
2979
|
|
|
3365
|
-
# Cloud Run fully managed: not supported
|
|
3366
|
-
# Cloud Run for Anthos: supported
|
|
2980
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
3367
2981
|
# TCPSocketAction describes an action based on opening a socket
|
|
3368
2982
|
class TcpSocketAction
|
|
3369
2983
|
include Google::Apis::Core::Hashable
|
|
3370
2984
|
|
|
3371
|
-
# (Optional)
|
|
3372
|
-
#
|
|
3373
|
-
# Cloud Run for Anthos: supported
|
|
3374
|
-
# Optional: Host name to connect to, defaults to the pod IP.
|
|
2985
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
2986
|
+
# supported Optional: Host name to connect to, defaults to the pod IP.
|
|
3375
2987
|
# Corresponds to the JSON property `host`
|
|
3376
2988
|
# @return [String]
|
|
3377
2989
|
attr_accessor :host
|
|
3378
2990
|
|
|
3379
|
-
# Cloud Run fully managed: not supported
|
|
3380
|
-
#
|
|
3381
|
-
#
|
|
3382
|
-
#
|
|
3383
|
-
#
|
|
3384
|
-
# This field is currently limited to integer types only because of proto's
|
|
3385
|
-
# inability to properly support the IntOrString golang type.
|
|
2991
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Number
|
|
2992
|
+
# or name of the port to access on the container. Number must be in the range 1
|
|
2993
|
+
# to 65535. Name must be an IANA_SVC_NAME. This field is currently limited to
|
|
2994
|
+
# integer types only because of proto's inability to properly support the
|
|
2995
|
+
# IntOrString golang type.
|
|
3386
2996
|
# Corresponds to the JSON property `port`
|
|
3387
2997
|
# @return [Fixnum]
|
|
3388
2998
|
attr_accessor :port
|
|
@@ -3402,10 +3012,9 @@ module Google
|
|
|
3402
3012
|
class TestIamPermissionsRequest
|
|
3403
3013
|
include Google::Apis::Core::Hashable
|
|
3404
3014
|
|
|
3405
|
-
# The set of permissions to check for the `resource`. Permissions with
|
|
3406
|
-
#
|
|
3407
|
-
#
|
|
3408
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
3015
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
|
3016
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
|
3017
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
3409
3018
|
# Corresponds to the JSON property `permissions`
|
|
3410
3019
|
# @return [Array<String>]
|
|
3411
3020
|
attr_accessor :permissions
|
|
@@ -3424,8 +3033,7 @@ module Google
|
|
|
3424
3033
|
class TestIamPermissionsResponse
|
|
3425
3034
|
include Google::Apis::Core::Hashable
|
|
3426
3035
|
|
|
3427
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
|
3428
|
-
# allowed.
|
|
3036
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
|
3429
3037
|
# Corresponds to the JSON property `permissions`
|
|
3430
3038
|
# @return [Array<String>]
|
|
3431
3039
|
attr_accessor :permissions
|
|
@@ -3444,55 +3052,49 @@ module Google
|
|
|
3444
3052
|
class TrafficTarget
|
|
3445
3053
|
include Google::Apis::Core::Hashable
|
|
3446
3054
|
|
|
3447
|
-
# ConfigurationName of a configuration to whose latest revision we will
|
|
3448
|
-
#
|
|
3449
|
-
#
|
|
3450
|
-
#
|
|
3451
|
-
#
|
|
3452
|
-
# with RevisionName.
|
|
3055
|
+
# ConfigurationName of a configuration to whose latest revision we will send
|
|
3056
|
+
# this portion of traffic. When the "status.latestReadyRevisionName" of the
|
|
3057
|
+
# referenced configuration changes, we will automatically migrate traffic from
|
|
3058
|
+
# the prior "latest ready" revision to the new one. This field is never set in
|
|
3059
|
+
# Route's status, only its spec. This is mutually exclusive with RevisionName.
|
|
3453
3060
|
# Cloud Run currently supports a single ConfigurationName.
|
|
3454
3061
|
# Corresponds to the JSON property `configurationName`
|
|
3455
3062
|
# @return [String]
|
|
3456
3063
|
attr_accessor :configuration_name
|
|
3457
3064
|
|
|
3458
|
-
# LatestRevision may be optionally provided to indicate that the latest
|
|
3459
|
-
#
|
|
3460
|
-
#
|
|
3461
|
-
#
|
|
3462
|
-
# +optional
|
|
3065
|
+
# LatestRevision may be optionally provided to indicate that the latest ready
|
|
3066
|
+
# Revision of the Configuration should be used for this traffic target. When
|
|
3067
|
+
# provided LatestRevision must be true if RevisionName is empty; it must be
|
|
3068
|
+
# false when RevisionName is non-empty. +optional
|
|
3463
3069
|
# Corresponds to the JSON property `latestRevision`
|
|
3464
3070
|
# @return [Boolean]
|
|
3465
3071
|
attr_accessor :latest_revision
|
|
3466
3072
|
alias_method :latest_revision?, :latest_revision
|
|
3467
3073
|
|
|
3468
3074
|
# Percent specifies percent of the traffic to this Revision or Configuration.
|
|
3469
|
-
# This defaults to zero if unspecified.
|
|
3470
|
-
#
|
|
3471
|
-
# TrafficTarget entry.
|
|
3075
|
+
# This defaults to zero if unspecified. Cloud Run currently requires 100 percent
|
|
3076
|
+
# for a single ConfigurationName TrafficTarget entry.
|
|
3472
3077
|
# Corresponds to the JSON property `percent`
|
|
3473
3078
|
# @return [Fixnum]
|
|
3474
3079
|
attr_accessor :percent
|
|
3475
3080
|
|
|
3476
|
-
# RevisionName of a specific revision to which to send this portion of
|
|
3477
|
-
#
|
|
3478
|
-
#
|
|
3081
|
+
# RevisionName of a specific revision to which to send this portion of traffic.
|
|
3082
|
+
# This is mutually exclusive with ConfigurationName. Providing RevisionName in
|
|
3083
|
+
# spec is not currently supported by Cloud Run.
|
|
3479
3084
|
# Corresponds to the JSON property `revisionName`
|
|
3480
3085
|
# @return [String]
|
|
3481
3086
|
attr_accessor :revision_name
|
|
3482
3087
|
|
|
3483
|
-
# Tag is optionally used to expose a dedicated url for referencing
|
|
3484
|
-
#
|
|
3485
|
-
# Not currently supported in Cloud Run.
|
|
3486
|
-
# +optional
|
|
3088
|
+
# Tag is optionally used to expose a dedicated url for referencing this target
|
|
3089
|
+
# exclusively. Not currently supported in Cloud Run. +optional
|
|
3487
3090
|
# Corresponds to the JSON property `tag`
|
|
3488
3091
|
# @return [String]
|
|
3489
3092
|
attr_accessor :tag
|
|
3490
3093
|
|
|
3491
|
-
# Output only. URL displays the URL for accessing tagged traffic targets. URL
|
|
3492
|
-
#
|
|
3493
|
-
#
|
|
3494
|
-
#
|
|
3495
|
-
# Not currently supported in Cloud Run.
|
|
3094
|
+
# Output only. URL displays the URL for accessing tagged traffic targets. URL is
|
|
3095
|
+
# displayed in status, and is disallowed on spec. URL must contain a scheme (e.g.
|
|
3096
|
+
# http://) and a hostname, but may not contain anything else (e.g. basic auth,
|
|
3097
|
+
# url path, etc. Not currently supported in Cloud Run.
|
|
3496
3098
|
# Corresponds to the JSON property `url`
|
|
3497
3099
|
# @return [String]
|
|
3498
3100
|
attr_accessor :url
|
|
@@ -3512,33 +3114,29 @@ module Google
|
|
|
3512
3114
|
end
|
|
3513
3115
|
end
|
|
3514
3116
|
|
|
3515
|
-
# Cloud Run fully managed: not supported
|
|
3516
|
-
#
|
|
3517
|
-
# Volume represents a named volume in a container.
|
|
3117
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Volume
|
|
3118
|
+
# represents a named volume in a container.
|
|
3518
3119
|
class Volume
|
|
3519
3120
|
include Google::Apis::Core::Hashable
|
|
3520
3121
|
|
|
3521
|
-
# Cloud Run fully managed: not supported
|
|
3522
|
-
#
|
|
3523
|
-
#
|
|
3524
|
-
#
|
|
3525
|
-
#
|
|
3526
|
-
# the items element is populated with specific mappings of keys to paths.
|
|
3122
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Adapts
|
|
3123
|
+
# a ConfigMap into a volume. The contents of the target ConfigMap's Data field
|
|
3124
|
+
# will be presented in a volume as files using the keys in the Data field as the
|
|
3125
|
+
# file names, unless the items element is populated with specific mappings of
|
|
3126
|
+
# keys to paths.
|
|
3527
3127
|
# Corresponds to the JSON property `configMap`
|
|
3528
3128
|
# @return [Google::Apis::RunV1::ConfigMapVolumeSource]
|
|
3529
3129
|
attr_accessor :config_map
|
|
3530
3130
|
|
|
3531
|
-
# Cloud Run fully managed: not supported
|
|
3532
|
-
#
|
|
3533
|
-
# Volume's name.
|
|
3131
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Volume'
|
|
3132
|
+
# s name.
|
|
3534
3133
|
# Corresponds to the JSON property `name`
|
|
3535
3134
|
# @return [String]
|
|
3536
3135
|
attr_accessor :name
|
|
3537
3136
|
|
|
3538
|
-
# Cloud Run fully managed: not supported
|
|
3539
|
-
#
|
|
3540
|
-
#
|
|
3541
|
-
# as files using the keys in the Data field as the file names.
|
|
3137
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported The
|
|
3138
|
+
# contents of the target Secret's Data field will be presented in a volume as
|
|
3139
|
+
# files using the keys in the Data field as the file names.
|
|
3542
3140
|
# Corresponds to the JSON property `secret`
|
|
3543
3141
|
# @return [Google::Apis::RunV1::SecretVolumeSource]
|
|
3544
3142
|
attr_accessor :secret
|
|
@@ -3555,42 +3153,34 @@ module Google
|
|
|
3555
3153
|
end
|
|
3556
3154
|
end
|
|
3557
3155
|
|
|
3558
|
-
# Cloud Run fully managed: not supported
|
|
3559
|
-
# Cloud Run for Anthos: supported
|
|
3156
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
3560
3157
|
# VolumeMount describes a mounting of a Volume within a container.
|
|
3561
3158
|
class VolumeMount
|
|
3562
3159
|
include Google::Apis::Core::Hashable
|
|
3563
3160
|
|
|
3564
|
-
# Cloud Run fully managed: not supported
|
|
3565
|
-
#
|
|
3566
|
-
#
|
|
3567
|
-
# not contain ':'.
|
|
3161
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Path
|
|
3162
|
+
# within the container at which the volume should be mounted. Must not contain ':
|
|
3163
|
+
# '.
|
|
3568
3164
|
# Corresponds to the JSON property `mountPath`
|
|
3569
3165
|
# @return [String]
|
|
3570
3166
|
attr_accessor :mount_path
|
|
3571
3167
|
|
|
3572
|
-
# Cloud Run fully managed: not supported
|
|
3573
|
-
#
|
|
3574
|
-
# This must match the Name of a Volume.
|
|
3168
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported This
|
|
3169
|
+
# must match the Name of a Volume.
|
|
3575
3170
|
# Corresponds to the JSON property `name`
|
|
3576
3171
|
# @return [String]
|
|
3577
3172
|
attr_accessor :name
|
|
3578
3173
|
|
|
3579
|
-
# (Optional)
|
|
3580
|
-
#
|
|
3581
|
-
# Cloud Run for Anthos: supported
|
|
3582
|
-
# Only true is accepted.
|
|
3583
|
-
# Defaults to true.
|
|
3174
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
3175
|
+
# supported Only true is accepted. Defaults to true.
|
|
3584
3176
|
# Corresponds to the JSON property `readOnly`
|
|
3585
3177
|
# @return [Boolean]
|
|
3586
3178
|
attr_accessor :read_only
|
|
3587
3179
|
alias_method :read_only?, :read_only
|
|
3588
3180
|
|
|
3589
|
-
# (Optional)
|
|
3590
|
-
#
|
|
3591
|
-
#
|
|
3592
|
-
# Path within the volume from which the container's volume should be mounted.
|
|
3593
|
-
# Defaults to "" (volume's root).
|
|
3181
|
+
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
|
3182
|
+
# supported Path within the volume from which the container's volume should be
|
|
3183
|
+
# mounted. Defaults to "" (volume's root).
|
|
3594
3184
|
# Corresponds to the JSON property `subPath`
|
|
3595
3185
|
# @return [String]
|
|
3596
3186
|
attr_accessor :sub_path
|