google-api-client 0.28.4 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -34
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +460 -0
- data/README.md +1 -1
- data/Rakefile +31 -0
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -100
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1/service.rb +45 -39
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta/service.rb +45 -39
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +5 -4
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
- data/generated/google/apis/bigquery_v2/representations.rb +414 -26
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
- data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +47 -47
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +276 -51
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
- data/generated/google/apis/cloudasset_v1/service.rb +191 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
- data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
- data/generated/google/apis/compute_alpha/representations.rb +1337 -219
- data/generated/google/apis/compute_alpha/service.rb +4259 -2728
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4254 -2781
- data/generated/google/apis/compute_beta/representations.rb +853 -283
- data/generated/google/apis/compute_beta/service.rb +7077 -5955
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1259 -93
- data/generated/google/apis/compute_v1/representations.rb +450 -1
- data/generated/google/apis/compute_v1/service.rb +1085 -400
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +201 -22
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +151 -102
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +215 -25
- data/generated/google/apis/container_v1beta1/representations.rb +86 -0
- data/generated/google/apis/container_v1beta1/service.rb +106 -106
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +218 -101
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +189 -152
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +387 -216
- data/generated/google/apis/content_v2_1/representations.rb +131 -56
- data/generated/google/apis/content_v2_1/service.rb +190 -107
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
- data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +27 -22
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2/service.rb +76 -60
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +116 -45
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +85 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +83 -1
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +265 -47
- data/generated/google/apis/docs_v1/representations.rb +96 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +601 -80
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +574 -164
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -75
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +483 -116
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +646 -11
- data/generated/google/apis/file_v1/representations.rb +207 -0
- data/generated/google/apis/file_v1/service.rb +196 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +461 -19
- data/generated/google/apis/file_v1beta1/representations.rb +137 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firebaserules_v1/service.rb +12 -12
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +4 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -58
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/games_v1.rb +3 -3
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +142 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +4 -4
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/iam_v1/classes.rb +171 -1
- data/generated/google/apis/iam_v1/representations.rb +95 -0
- data/generated/google/apis/iam_v1/service.rb +249 -39
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/classes.rb +16 -17
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +14 -8
- data/generated/google/apis/jobs_v3/service.rb +16 -17
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
- data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +8 -7
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +8 -3
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +240 -52
- data/generated/google/apis/ml_v1/representations.rb +25 -2
- data/generated/google/apis/ml_v1/service.rb +36 -36
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +22 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -1
- data/generated/google/apis/monitoring_v3/service.rb +42 -37
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +3 -162
- data/generated/google/apis/oauth2_v1.rb +3 -6
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oauth2_v2.rb +3 -6
- data/generated/google/apis/oslogin_v1/service.rb +8 -7
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +38 -29
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +18 -13
- data/generated/google/apis/people_v1.rb +2 -5
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +18 -392
- data/generated/google/apis/plus_domains_v1.rb +4 -10
- data/generated/google/apis/plus_v1/service.rb +16 -16
- data/generated/google/apis/plus_v1.rb +4 -4
- data/generated/google/apis/poly_v1/classes.rb +8 -6
- data/generated/google/apis/poly_v1/service.rb +15 -12
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +55 -39
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +46 -69
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -10
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +51 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +18 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +73 -0
- data/generated/google/apis/run_v1/representations.rb +43 -0
- data/generated/google/apis/run_v1/service.rb +90 -0
- data/generated/google/apis/run_v1.rb +35 -0
- data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
- data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
- data/generated/google/apis/run_v1alpha1.rb +35 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -6
- data/generated/google/apis/script_v1/representations.rb +79 -1
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
- data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
- data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +231 -17
- data/generated/google/apis/spanner_v1/representations.rb +66 -0
- data/generated/google/apis/spanner_v1/service.rb +92 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +110 -13
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1/service.rb +9 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +201 -4
- data/generated/google/apis/storage_v1/representations.rb +76 -1
- data/generated/google/apis/storage_v1/service.rb +488 -93
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
- data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
- data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -95
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +287 -249
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/testing_v1/classes.rb +44 -39
- data/generated/google/apis/testing_v1/representations.rb +3 -1
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
- data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/classes.rb +44 -18
- data/generated/google/apis/vault_v1/representations.rb +4 -0
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +7 -6
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/vision_v1/classes.rb +4397 -124
- data/generated/google/apis/vision_v1/representations.rb +2366 -541
- data/generated/google/apis/vision_v1/service.rb +160 -33
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +9 -180
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +86 -17
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
- data/samples/web/.env +0 -2
@@ -0,0 +1,3882 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module RunV1alpha1
|
24
|
+
|
25
|
+
# Information for connecting over HTTP(s).
|
26
|
+
class Addressable
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
#
|
30
|
+
# Corresponds to the JSON property `hostname`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :hostname
|
33
|
+
|
34
|
+
def initialize(**args)
|
35
|
+
update!(**args)
|
36
|
+
end
|
37
|
+
|
38
|
+
# Update properties of this object
|
39
|
+
def update!(**args)
|
40
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# Specifies the audit configuration for a service.
|
45
|
+
# The configuration determines which permission types are logged, and what
|
46
|
+
# identities, if any, are exempted from logging.
|
47
|
+
# An AuditConfig must have one or more AuditLogConfigs.
|
48
|
+
# If there are AuditConfigs for both `allServices` and a specific service,
|
49
|
+
# the union of the two AuditConfigs is used for that service: the log_types
|
50
|
+
# specified in each AuditConfig are enabled, and the exempted_members in each
|
51
|
+
# AuditLogConfig are exempted.
|
52
|
+
# Example Policy with multiple AuditConfigs:
|
53
|
+
# `
|
54
|
+
# "audit_configs": [
|
55
|
+
# `
|
56
|
+
# "service": "allServices"
|
57
|
+
# "audit_log_configs": [
|
58
|
+
# `
|
59
|
+
# "log_type": "DATA_READ",
|
60
|
+
# "exempted_members": [
|
61
|
+
# "user:foo@gmail.com"
|
62
|
+
# ]
|
63
|
+
# `,
|
64
|
+
# `
|
65
|
+
# "log_type": "DATA_WRITE",
|
66
|
+
# `,
|
67
|
+
# `
|
68
|
+
# "log_type": "ADMIN_READ",
|
69
|
+
# `
|
70
|
+
# ]
|
71
|
+
# `,
|
72
|
+
# `
|
73
|
+
# "service": "fooservice.googleapis.com"
|
74
|
+
# "audit_log_configs": [
|
75
|
+
# `
|
76
|
+
# "log_type": "DATA_READ",
|
77
|
+
# `,
|
78
|
+
# `
|
79
|
+
# "log_type": "DATA_WRITE",
|
80
|
+
# "exempted_members": [
|
81
|
+
# "user:bar@gmail.com"
|
82
|
+
# ]
|
83
|
+
# `
|
84
|
+
# ]
|
85
|
+
# `
|
86
|
+
# ]
|
87
|
+
# `
|
88
|
+
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
89
|
+
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
90
|
+
# bar@gmail.com from DATA_WRITE logging.
|
91
|
+
class AuditConfig
|
92
|
+
include Google::Apis::Core::Hashable
|
93
|
+
|
94
|
+
# The configuration for logging of each type of permission.
|
95
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
96
|
+
# @return [Array<Google::Apis::RunV1alpha1::AuditLogConfig>]
|
97
|
+
attr_accessor :audit_log_configs
|
98
|
+
|
99
|
+
# Specifies a service that will be enabled for audit logging.
|
100
|
+
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
101
|
+
# `allServices` is a special value that covers all services.
|
102
|
+
# Corresponds to the JSON property `service`
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :service
|
105
|
+
|
106
|
+
def initialize(**args)
|
107
|
+
update!(**args)
|
108
|
+
end
|
109
|
+
|
110
|
+
# Update properties of this object
|
111
|
+
def update!(**args)
|
112
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
113
|
+
@service = args[:service] if args.key?(:service)
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
# Provides the configuration for logging a type of permissions.
|
118
|
+
# Example:
|
119
|
+
# `
|
120
|
+
# "audit_log_configs": [
|
121
|
+
# `
|
122
|
+
# "log_type": "DATA_READ",
|
123
|
+
# "exempted_members": [
|
124
|
+
# "user:foo@gmail.com"
|
125
|
+
# ]
|
126
|
+
# `,
|
127
|
+
# `
|
128
|
+
# "log_type": "DATA_WRITE",
|
129
|
+
# `
|
130
|
+
# ]
|
131
|
+
# `
|
132
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
133
|
+
# foo@gmail.com from DATA_READ logging.
|
134
|
+
class AuditLogConfig
|
135
|
+
include Google::Apis::Core::Hashable
|
136
|
+
|
137
|
+
# Specifies the identities that do not cause logging for this type of
|
138
|
+
# permission.
|
139
|
+
# Follows the same format of Binding.members.
|
140
|
+
# Corresponds to the JSON property `exemptedMembers`
|
141
|
+
# @return [Array<String>]
|
142
|
+
attr_accessor :exempted_members
|
143
|
+
|
144
|
+
# The log type that this config enables.
|
145
|
+
# Corresponds to the JSON property `logType`
|
146
|
+
# @return [String]
|
147
|
+
attr_accessor :log_type
|
148
|
+
|
149
|
+
def initialize(**args)
|
150
|
+
update!(**args)
|
151
|
+
end
|
152
|
+
|
153
|
+
# Update properties of this object
|
154
|
+
def update!(**args)
|
155
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
156
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
# A domain that a user has been authorized to administer. To authorize use
|
161
|
+
# of a domain, verify ownership via
|
162
|
+
# [Webmaster Central](https://www.google.com/webmasters/verification/home).
|
163
|
+
class AuthorizedDomain
|
164
|
+
include Google::Apis::Core::Hashable
|
165
|
+
|
166
|
+
# Relative name of the domain authorized for use. Example: `example.com`.
|
167
|
+
# Corresponds to the JSON property `id`
|
168
|
+
# @return [String]
|
169
|
+
attr_accessor :id
|
170
|
+
|
171
|
+
# Read only. Full path to the `AuthorizedDomain` resource in the API.
|
172
|
+
# Example: `apps/myapp/authorizedDomains/example.com`.
|
173
|
+
# Corresponds to the JSON property `name`
|
174
|
+
# @return [String]
|
175
|
+
attr_accessor :name
|
176
|
+
|
177
|
+
def initialize(**args)
|
178
|
+
update!(**args)
|
179
|
+
end
|
180
|
+
|
181
|
+
# Update properties of this object
|
182
|
+
def update!(**args)
|
183
|
+
@id = args[:id] if args.key?(:id)
|
184
|
+
@name = args[:name] if args.key?(:name)
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
# Associates `members` with a `role`.
|
189
|
+
class Binding
|
190
|
+
include Google::Apis::Core::Hashable
|
191
|
+
|
192
|
+
# Represents an expression text. Example:
|
193
|
+
# title: "User account presence"
|
194
|
+
# description: "Determines whether the request has a user account"
|
195
|
+
# expression: "size(request.user) > 0"
|
196
|
+
# Corresponds to the JSON property `condition`
|
197
|
+
# @return [Google::Apis::RunV1alpha1::Expr]
|
198
|
+
attr_accessor :condition
|
199
|
+
|
200
|
+
# Specifies the identities requesting access for a Cloud Platform resource.
|
201
|
+
# `members` can have the following values:
|
202
|
+
# * `allUsers`: A special identifier that represents anyone who is
|
203
|
+
# on the internet; with or without a Google account.
|
204
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
205
|
+
# who is authenticated with a Google account or a service account.
|
206
|
+
# * `user:`emailid``: An email address that represents a specific Google
|
207
|
+
# account. For example, `alice@gmail.com` .
|
208
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
209
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
210
|
+
# * `group:`emailid``: An email address that represents a Google group.
|
211
|
+
# For example, `admins@example.com`.
|
212
|
+
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
213
|
+
# users of that domain. For example, `google.com` or `example.com`.
|
214
|
+
# Corresponds to the JSON property `members`
|
215
|
+
# @return [Array<String>]
|
216
|
+
attr_accessor :members
|
217
|
+
|
218
|
+
# Role that is assigned to `members`.
|
219
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
220
|
+
# Corresponds to the JSON property `role`
|
221
|
+
# @return [String]
|
222
|
+
attr_accessor :role
|
223
|
+
|
224
|
+
def initialize(**args)
|
225
|
+
update!(**args)
|
226
|
+
end
|
227
|
+
|
228
|
+
# Update properties of this object
|
229
|
+
def update!(**args)
|
230
|
+
@condition = args[:condition] if args.key?(:condition)
|
231
|
+
@members = args[:members] if args.key?(:members)
|
232
|
+
@role = args[:role] if args.key?(:role)
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
# Adds and removes POSIX capabilities from running containers.
|
237
|
+
class Capabilities
|
238
|
+
include Google::Apis::Core::Hashable
|
239
|
+
|
240
|
+
# Added capabilities
|
241
|
+
# +optional
|
242
|
+
# Corresponds to the JSON property `add`
|
243
|
+
# @return [Array<String>]
|
244
|
+
attr_accessor :add
|
245
|
+
|
246
|
+
# Removed capabilities
|
247
|
+
# +optional
|
248
|
+
# Corresponds to the JSON property `drop`
|
249
|
+
# @return [Array<String>]
|
250
|
+
attr_accessor :drop
|
251
|
+
|
252
|
+
def initialize(**args)
|
253
|
+
update!(**args)
|
254
|
+
end
|
255
|
+
|
256
|
+
# Update properties of this object
|
257
|
+
def update!(**args)
|
258
|
+
@add = args[:add] if args.key?(:add)
|
259
|
+
@drop = args[:drop] if args.key?(:drop)
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
# ConfigMapEnvSource selects a ConfigMap to populate the environment
|
264
|
+
# variables with.
|
265
|
+
# The contents of the target ConfigMap's Data field will represent the
|
266
|
+
# key-value pairs as environment variables.
|
267
|
+
class ConfigMapEnvSource
|
268
|
+
include Google::Apis::Core::Hashable
|
269
|
+
|
270
|
+
# LocalObjectReference contains enough information to let you locate the
|
271
|
+
# referenced object inside the same namespace.
|
272
|
+
# Corresponds to the JSON property `localObjectReference`
|
273
|
+
# @return [Google::Apis::RunV1alpha1::LocalObjectReference]
|
274
|
+
attr_accessor :local_object_reference
|
275
|
+
|
276
|
+
# Specify whether the ConfigMap must be defined
|
277
|
+
# +optional
|
278
|
+
# Corresponds to the JSON property `optional`
|
279
|
+
# @return [Boolean]
|
280
|
+
attr_accessor :optional
|
281
|
+
alias_method :optional?, :optional
|
282
|
+
|
283
|
+
def initialize(**args)
|
284
|
+
update!(**args)
|
285
|
+
end
|
286
|
+
|
287
|
+
# Update properties of this object
|
288
|
+
def update!(**args)
|
289
|
+
@local_object_reference = args[:local_object_reference] if args.key?(:local_object_reference)
|
290
|
+
@optional = args[:optional] if args.key?(:optional)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
# Configuration represents the "floating HEAD" of a linear history of
|
295
|
+
# Revisions, and optionally how the containers those revisions reference are
|
296
|
+
# built. Users create new Revisions by updating the Configuration's spec. The
|
297
|
+
# "latest created" revision's name is available under status, as is the "latest
|
298
|
+
# ready" revision's name. See also:
|
299
|
+
# https://github.com/knative/serving/blob/master/docs/spec/overview.md#
|
300
|
+
# configuration
|
301
|
+
class Configuration
|
302
|
+
include Google::Apis::Core::Hashable
|
303
|
+
|
304
|
+
# The API version for this call such as "v1alpha1".
|
305
|
+
# Corresponds to the JSON property `apiVersion`
|
306
|
+
# @return [String]
|
307
|
+
attr_accessor :api_version
|
308
|
+
|
309
|
+
# The kind of resource, in this case always "Configuration".
|
310
|
+
# Corresponds to the JSON property `kind`
|
311
|
+
# @return [String]
|
312
|
+
attr_accessor :kind
|
313
|
+
|
314
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
315
|
+
# all objects users must create.
|
316
|
+
# Corresponds to the JSON property `metadata`
|
317
|
+
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
|
318
|
+
attr_accessor :metadata
|
319
|
+
|
320
|
+
# ConfigurationSpec holds the desired state of the Configuration (from the
|
321
|
+
# client).
|
322
|
+
# Corresponds to the JSON property `spec`
|
323
|
+
# @return [Google::Apis::RunV1alpha1::ConfigurationSpec]
|
324
|
+
attr_accessor :spec
|
325
|
+
|
326
|
+
# ConfigurationStatus communicates the observed state of the Configuration
|
327
|
+
# (from the controller).
|
328
|
+
# Corresponds to the JSON property `status`
|
329
|
+
# @return [Google::Apis::RunV1alpha1::ConfigurationStatus]
|
330
|
+
attr_accessor :status
|
331
|
+
|
332
|
+
def initialize(**args)
|
333
|
+
update!(**args)
|
334
|
+
end
|
335
|
+
|
336
|
+
# Update properties of this object
|
337
|
+
def update!(**args)
|
338
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
339
|
+
@kind = args[:kind] if args.key?(:kind)
|
340
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
341
|
+
@spec = args[:spec] if args.key?(:spec)
|
342
|
+
@status = args[:status] if args.key?(:status)
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
# ConfigurationCondition defines a readiness condition for a Configuration.
|
347
|
+
class ConfigurationCondition
|
348
|
+
include Google::Apis::Core::Hashable
|
349
|
+
|
350
|
+
# Last time the condition transitioned from one status to another.
|
351
|
+
# +optional
|
352
|
+
# Corresponds to the JSON property `lastTransitionTime`
|
353
|
+
# @return [String]
|
354
|
+
attr_accessor :last_transition_time
|
355
|
+
|
356
|
+
# Human-readable message indicating details about last transition.
|
357
|
+
# +optional
|
358
|
+
# Corresponds to the JSON property `message`
|
359
|
+
# @return [String]
|
360
|
+
attr_accessor :message
|
361
|
+
|
362
|
+
# One-word CamelCase reason for the condition's last transition.
|
363
|
+
# +optional
|
364
|
+
# Corresponds to the JSON property `reason`
|
365
|
+
# @return [String]
|
366
|
+
attr_accessor :reason
|
367
|
+
|
368
|
+
# Status of the condition, one of True, False, Unknown.
|
369
|
+
# Corresponds to the JSON property `status`
|
370
|
+
# @return [String]
|
371
|
+
attr_accessor :status
|
372
|
+
|
373
|
+
# ConfigurationConditionType is used to communicate the status of the
|
374
|
+
# reconciliation process. See also:
|
375
|
+
# https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
|
376
|
+
# conditions-and-reporting
|
377
|
+
# Types include:"Ready"
|
378
|
+
# Corresponds to the JSON property `type`
|
379
|
+
# @return [String]
|
380
|
+
attr_accessor :type
|
381
|
+
|
382
|
+
def initialize(**args)
|
383
|
+
update!(**args)
|
384
|
+
end
|
385
|
+
|
386
|
+
# Update properties of this object
|
387
|
+
def update!(**args)
|
388
|
+
@last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
|
389
|
+
@message = args[:message] if args.key?(:message)
|
390
|
+
@reason = args[:reason] if args.key?(:reason)
|
391
|
+
@status = args[:status] if args.key?(:status)
|
392
|
+
@type = args[:type] if args.key?(:type)
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
# ConfigurationSpec holds the desired state of the Configuration (from the
|
397
|
+
# client).
|
398
|
+
class ConfigurationSpec
|
399
|
+
include Google::Apis::Core::Hashable
|
400
|
+
|
401
|
+
# Deprecated and not currently populated by Cloud Run. See
|
402
|
+
# metadata.generation instead, which is the sequence number containing the
|
403
|
+
# latest generation of the desired state.
|
404
|
+
# Read-only.
|
405
|
+
# Corresponds to the JSON property `generation`
|
406
|
+
# @return [Fixnum]
|
407
|
+
attr_accessor :generation
|
408
|
+
|
409
|
+
# RevisionTemplateSpec describes the data a revision should have when created
|
410
|
+
# from a template. Based on:
|
411
|
+
# https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
|
412
|
+
# Corresponds to the JSON property `revisionTemplate`
|
413
|
+
# @return [Google::Apis::RunV1alpha1::RevisionTemplate]
|
414
|
+
attr_accessor :revision_template
|
415
|
+
|
416
|
+
# RevisionTemplateSpec describes the data a revision should have when created
|
417
|
+
# from a template. Based on:
|
418
|
+
# https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
|
419
|
+
# Corresponds to the JSON property `template`
|
420
|
+
# @return [Google::Apis::RunV1alpha1::RevisionTemplate]
|
421
|
+
attr_accessor :template
|
422
|
+
|
423
|
+
def initialize(**args)
|
424
|
+
update!(**args)
|
425
|
+
end
|
426
|
+
|
427
|
+
# Update properties of this object
|
428
|
+
def update!(**args)
|
429
|
+
@generation = args[:generation] if args.key?(:generation)
|
430
|
+
@revision_template = args[:revision_template] if args.key?(:revision_template)
|
431
|
+
@template = args[:template] if args.key?(:template)
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
# ConfigurationStatus communicates the observed state of the Configuration
|
436
|
+
# (from the controller).
|
437
|
+
class ConfigurationStatus
|
438
|
+
include Google::Apis::Core::Hashable
|
439
|
+
|
440
|
+
# Conditions communicates information about ongoing/complete
|
441
|
+
# reconciliation processes that bring the "spec" inline with the observed
|
442
|
+
# state of the world.
|
443
|
+
# Corresponds to the JSON property `conditions`
|
444
|
+
# @return [Array<Google::Apis::RunV1alpha1::ConfigurationCondition>]
|
445
|
+
attr_accessor :conditions
|
446
|
+
|
447
|
+
# LatestCreatedRevisionName is the last revision that was created from this
|
448
|
+
# Configuration. It might not be ready yet, for that use
|
449
|
+
# LatestReadyRevisionName.
|
450
|
+
# Corresponds to the JSON property `latestCreatedRevisionName`
|
451
|
+
# @return [String]
|
452
|
+
attr_accessor :latest_created_revision_name
|
453
|
+
|
454
|
+
# LatestReadyRevisionName holds the name of the latest Revision stamped out
|
455
|
+
# from this Configuration that has had its "Ready" condition become "True".
|
456
|
+
# Corresponds to the JSON property `latestReadyRevisionName`
|
457
|
+
# @return [String]
|
458
|
+
attr_accessor :latest_ready_revision_name
|
459
|
+
|
460
|
+
# ObservedGeneration is the 'Generation' of the Configuration that
|
461
|
+
# was last processed by the controller. The observed generation is updated
|
462
|
+
# even if the controller failed to process the spec and create the Revision.
|
463
|
+
# Clients polling for completed reconciliation should poll until
|
464
|
+
# observedGeneration = metadata.generation, and the Ready condition's status
|
465
|
+
# is True or False.
|
466
|
+
# Corresponds to the JSON property `observedGeneration`
|
467
|
+
# @return [Fixnum]
|
468
|
+
attr_accessor :observed_generation
|
469
|
+
|
470
|
+
def initialize(**args)
|
471
|
+
update!(**args)
|
472
|
+
end
|
473
|
+
|
474
|
+
# Update properties of this object
|
475
|
+
def update!(**args)
|
476
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
477
|
+
@latest_created_revision_name = args[:latest_created_revision_name] if args.key?(:latest_created_revision_name)
|
478
|
+
@latest_ready_revision_name = args[:latest_ready_revision_name] if args.key?(:latest_ready_revision_name)
|
479
|
+
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
483
|
+
# A single application container.
|
484
|
+
# This specifies both the container to run, the command to run in the container
|
485
|
+
# and the arguments to supply to it.
|
486
|
+
# Note that additional arguments may be supplied by the system to the container
|
487
|
+
# at runtime.
|
488
|
+
class Container
|
489
|
+
include Google::Apis::Core::Hashable
|
490
|
+
|
491
|
+
# Arguments to the entrypoint.
|
492
|
+
# The docker image's CMD is used if this is not provided.
|
493
|
+
# Variable references $(VAR_NAME) are expanded using the container's
|
494
|
+
# environment. If a variable cannot be resolved, the reference in the input
|
495
|
+
# string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
|
496
|
+
# double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
|
497
|
+
# regardless of whether the variable exists or not.
|
498
|
+
# Cannot be updated.
|
499
|
+
# More info:
|
500
|
+
# https://kubernetes.io/docs/tasks/inject-data-application/define-command-
|
501
|
+
# argument-container/#running-a-command-in-a-shell
|
502
|
+
# +optional
|
503
|
+
# Corresponds to the JSON property `args`
|
504
|
+
# @return [Array<String>]
|
505
|
+
attr_accessor :args
|
506
|
+
|
507
|
+
# Entrypoint array. Not executed within a shell.
|
508
|
+
# The docker image's ENTRYPOINT is used if this is not provided.
|
509
|
+
# Variable references $(VAR_NAME) are expanded using the container's
|
510
|
+
# environment. If a variable cannot be resolved, the reference in the input
|
511
|
+
# string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
|
512
|
+
# double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
|
513
|
+
# regardless of whether the variable exists or not.
|
514
|
+
# Cannot be updated.
|
515
|
+
# More info:
|
516
|
+
# https://kubernetes.io/docs/tasks/inject-data-application/define-command-
|
517
|
+
# argument-container/#running-a-command-in-a-shell
|
518
|
+
# +optional
|
519
|
+
# Corresponds to the JSON property `command`
|
520
|
+
# @return [Array<String>]
|
521
|
+
attr_accessor :command
|
522
|
+
|
523
|
+
# List of environment variables to set in the container.
|
524
|
+
# Cannot be updated.
|
525
|
+
# +optional
|
526
|
+
# Corresponds to the JSON property `env`
|
527
|
+
# @return [Array<Google::Apis::RunV1alpha1::EnvVar>]
|
528
|
+
attr_accessor :env
|
529
|
+
|
530
|
+
# List of sources to populate environment variables in the container.
|
531
|
+
# The keys defined within a source must be a C_IDENTIFIER. All invalid keys
|
532
|
+
# will be reported as an event when the container is starting. When a key
|
533
|
+
# exists in multiple sources, the value associated with the last source will
|
534
|
+
# take precedence. Values defined by an Env with a duplicate key will take
|
535
|
+
# precedence. Cannot be updated. +optional
|
536
|
+
# Corresponds to the JSON property `envFrom`
|
537
|
+
# @return [Array<Google::Apis::RunV1alpha1::EnvFromSource>]
|
538
|
+
attr_accessor :env_from
|
539
|
+
|
540
|
+
# Docker image name.
|
541
|
+
# More info: https://kubernetes.io/docs/concepts/containers/images
|
542
|
+
# Corresponds to the JSON property `image`
|
543
|
+
# @return [String]
|
544
|
+
attr_accessor :image
|
545
|
+
|
546
|
+
# Image pull policy.
|
547
|
+
# One of Always, Never, IfNotPresent.
|
548
|
+
# Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
|
549
|
+
# Cannot be updated.
|
550
|
+
# More info:
|
551
|
+
# https://kubernetes.io/docs/concepts/containers/images#updating-images
|
552
|
+
# +optional
|
553
|
+
# Corresponds to the JSON property `imagePullPolicy`
|
554
|
+
# @return [String]
|
555
|
+
attr_accessor :image_pull_policy
|
556
|
+
|
557
|
+
# Lifecycle describes actions that the management system should take in
|
558
|
+
# response to container lifecycle events. For the PostStart and PreStop
|
559
|
+
# lifecycle handlers, management of the container blocks until the action is
|
560
|
+
# complete, unless the container process fails, in which case the handler is
|
561
|
+
# aborted.
|
562
|
+
# Corresponds to the JSON property `lifecycle`
|
563
|
+
# @return [Google::Apis::RunV1alpha1::Lifecycle]
|
564
|
+
attr_accessor :lifecycle
|
565
|
+
|
566
|
+
# Probe describes a health check to be performed against a container to
|
567
|
+
# determine whether it is alive or ready to receive traffic.
|
568
|
+
# Corresponds to the JSON property `livenessProbe`
|
569
|
+
# @return [Google::Apis::RunV1alpha1::Probe]
|
570
|
+
attr_accessor :liveness_probe
|
571
|
+
|
572
|
+
# Name of the container specified as a DNS_LABEL.
|
573
|
+
# Each container must have a unique name (DNS_LABEL).
|
574
|
+
# Cannot be updated.
|
575
|
+
# Corresponds to the JSON property `name`
|
576
|
+
# @return [String]
|
577
|
+
attr_accessor :name
|
578
|
+
|
579
|
+
# List of ports to expose from the container. Exposing a port here gives
|
580
|
+
# the system additional information about the network connections a
|
581
|
+
# container uses, but is primarily informational. Not specifying a port here
|
582
|
+
# DOES NOT prevent that port from being exposed. Any port which is
|
583
|
+
# listening on the default "0.0.0.0" address inside a container will be
|
584
|
+
# accessible from the network.
|
585
|
+
# Cannot be updated.
|
586
|
+
# +optional
|
587
|
+
# Corresponds to the JSON property `ports`
|
588
|
+
# @return [Array<Google::Apis::RunV1alpha1::ContainerPort>]
|
589
|
+
attr_accessor :ports
|
590
|
+
|
591
|
+
# Probe describes a health check to be performed against a container to
|
592
|
+
# determine whether it is alive or ready to receive traffic.
|
593
|
+
# Corresponds to the JSON property `readinessProbe`
|
594
|
+
# @return [Google::Apis::RunV1alpha1::Probe]
|
595
|
+
attr_accessor :readiness_probe
|
596
|
+
|
597
|
+
# ResourceRequirements describes the compute resource requirements.
|
598
|
+
# Corresponds to the JSON property `resources`
|
599
|
+
# @return [Google::Apis::RunV1alpha1::ResourceRequirements]
|
600
|
+
attr_accessor :resources
|
601
|
+
|
602
|
+
# SecurityContext holds security configuration that will be applied to a
|
603
|
+
# container. Some fields are present in both SecurityContext and
|
604
|
+
# PodSecurityContext. When both are set, the values in SecurityContext take
|
605
|
+
# precedence.
|
606
|
+
# Corresponds to the JSON property `securityContext`
|
607
|
+
# @return [Google::Apis::RunV1alpha1::SecurityContext]
|
608
|
+
attr_accessor :security_context
|
609
|
+
|
610
|
+
# Whether this container should allocate a buffer for stdin in the container
|
611
|
+
# runtime. If this is not set, reads from stdin in the container will always
|
612
|
+
# result in EOF. Default is false. +optional
|
613
|
+
# Corresponds to the JSON property `stdin`
|
614
|
+
# @return [Boolean]
|
615
|
+
attr_accessor :stdin
|
616
|
+
alias_method :stdin?, :stdin
|
617
|
+
|
618
|
+
# Whether the container runtime should close the stdin channel after it has
|
619
|
+
# been opened by a single attach. When stdin is true the stdin stream will
|
620
|
+
# remain open across multiple attach sessions. If stdinOnce is set to true,
|
621
|
+
# stdin is opened on container start, is empty until the first client
|
622
|
+
# attaches to stdin, and then remains open and accepts data until the client
|
623
|
+
# disconnects, at which time stdin is closed and remains closed until the
|
624
|
+
# container is restarted. If this flag is false, a container processes that
|
625
|
+
# reads from stdin will never receive an EOF. Default is false +optional
|
626
|
+
# Corresponds to the JSON property `stdinOnce`
|
627
|
+
# @return [Boolean]
|
628
|
+
attr_accessor :stdin_once
|
629
|
+
alias_method :stdin_once?, :stdin_once
|
630
|
+
|
631
|
+
# Optional: Path at which the file to which the container's termination
|
632
|
+
# message will be written is mounted into the container's filesystem. Message
|
633
|
+
# written is intended to be brief final status, such as an assertion failure
|
634
|
+
# message. Will be truncated by the node if greater than 4096 bytes. The
|
635
|
+
# total message length across all containers will be limited to 12kb.
|
636
|
+
# Defaults to /dev/termination-log.
|
637
|
+
# Cannot be updated.
|
638
|
+
# +optional
|
639
|
+
# Corresponds to the JSON property `terminationMessagePath`
|
640
|
+
# @return [String]
|
641
|
+
attr_accessor :termination_message_path
|
642
|
+
|
643
|
+
# Indicate how the termination message should be populated. File will use the
|
644
|
+
# contents of terminationMessagePath to populate the container status message
|
645
|
+
# on both success and failure. FallbackToLogsOnError will use the last chunk
|
646
|
+
# of container log output if the termination message file is empty and the
|
647
|
+
# container exited with an error. The log output is limited to 2048 bytes or
|
648
|
+
# 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
|
649
|
+
# +optional
|
650
|
+
# Corresponds to the JSON property `terminationMessagePolicy`
|
651
|
+
# @return [String]
|
652
|
+
attr_accessor :termination_message_policy
|
653
|
+
|
654
|
+
# Whether this container should allocate a TTY for itself, also requires
|
655
|
+
# 'stdin' to be true. Default is false. +optional
|
656
|
+
# Corresponds to the JSON property `tty`
|
657
|
+
# @return [Boolean]
|
658
|
+
attr_accessor :tty
|
659
|
+
alias_method :tty?, :tty
|
660
|
+
|
661
|
+
# volumeDevices is the list of block devices to be used by the container.
|
662
|
+
# This is an alpha feature and may change in the future.
|
663
|
+
# +optional
|
664
|
+
# Corresponds to the JSON property `volumeDevices`
|
665
|
+
# @return [Array<Google::Apis::RunV1alpha1::VolumeDevice>]
|
666
|
+
attr_accessor :volume_devices
|
667
|
+
|
668
|
+
# Pod volumes to mount into the container's filesystem.
|
669
|
+
# Cannot be updated.
|
670
|
+
# +optional
|
671
|
+
# Corresponds to the JSON property `volumeMounts`
|
672
|
+
# @return [Array<Google::Apis::RunV1alpha1::VolumeMount>]
|
673
|
+
attr_accessor :volume_mounts
|
674
|
+
|
675
|
+
# Container's working directory.
|
676
|
+
# If not specified, the container runtime's default will be used, which
|
677
|
+
# might be configured in the container image.
|
678
|
+
# Cannot be updated.
|
679
|
+
# +optional
|
680
|
+
# Corresponds to the JSON property `workingDir`
|
681
|
+
# @return [String]
|
682
|
+
attr_accessor :working_dir
|
683
|
+
|
684
|
+
def initialize(**args)
|
685
|
+
update!(**args)
|
686
|
+
end
|
687
|
+
|
688
|
+
# Update properties of this object
|
689
|
+
def update!(**args)
|
690
|
+
@args = args[:args] if args.key?(:args)
|
691
|
+
@command = args[:command] if args.key?(:command)
|
692
|
+
@env = args[:env] if args.key?(:env)
|
693
|
+
@env_from = args[:env_from] if args.key?(:env_from)
|
694
|
+
@image = args[:image] if args.key?(:image)
|
695
|
+
@image_pull_policy = args[:image_pull_policy] if args.key?(:image_pull_policy)
|
696
|
+
@lifecycle = args[:lifecycle] if args.key?(:lifecycle)
|
697
|
+
@liveness_probe = args[:liveness_probe] if args.key?(:liveness_probe)
|
698
|
+
@name = args[:name] if args.key?(:name)
|
699
|
+
@ports = args[:ports] if args.key?(:ports)
|
700
|
+
@readiness_probe = args[:readiness_probe] if args.key?(:readiness_probe)
|
701
|
+
@resources = args[:resources] if args.key?(:resources)
|
702
|
+
@security_context = args[:security_context] if args.key?(:security_context)
|
703
|
+
@stdin = args[:stdin] if args.key?(:stdin)
|
704
|
+
@stdin_once = args[:stdin_once] if args.key?(:stdin_once)
|
705
|
+
@termination_message_path = args[:termination_message_path] if args.key?(:termination_message_path)
|
706
|
+
@termination_message_policy = args[:termination_message_policy] if args.key?(:termination_message_policy)
|
707
|
+
@tty = args[:tty] if args.key?(:tty)
|
708
|
+
@volume_devices = args[:volume_devices] if args.key?(:volume_devices)
|
709
|
+
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
710
|
+
@working_dir = args[:working_dir] if args.key?(:working_dir)
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
714
|
+
# ContainerPort represents a network port in a single container.
|
715
|
+
class ContainerPort
|
716
|
+
include Google::Apis::Core::Hashable
|
717
|
+
|
718
|
+
# Number of port to expose on the pod's IP address.
|
719
|
+
# This must be a valid port number, 0 < x < 65536.
|
720
|
+
# Corresponds to the JSON property `containerPort`
|
721
|
+
# @return [Fixnum]
|
722
|
+
attr_accessor :container_port
|
723
|
+
|
724
|
+
# What host IP to bind the external port to.
|
725
|
+
# +optional
|
726
|
+
# Corresponds to the JSON property `hostIP`
|
727
|
+
# @return [String]
|
728
|
+
attr_accessor :host_ip
|
729
|
+
|
730
|
+
# Number of port to expose on the host.
|
731
|
+
# If specified, this must be a valid port number, 0 < x < 65536.
|
732
|
+
# If HostNetwork is specified, this must match ContainerPort.
|
733
|
+
# Most containers do not need this.
|
734
|
+
# +optional
|
735
|
+
# Corresponds to the JSON property `hostPort`
|
736
|
+
# @return [Fixnum]
|
737
|
+
attr_accessor :host_port
|
738
|
+
|
739
|
+
# If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
|
740
|
+
# named port in a pod must have a unique name. Name for the port that can be
|
741
|
+
# referred to by services.
|
742
|
+
# +optional
|
743
|
+
# Corresponds to the JSON property `name`
|
744
|
+
# @return [String]
|
745
|
+
attr_accessor :name
|
746
|
+
|
747
|
+
# Protocol for port. Must be UDP or TCP.
|
748
|
+
# Defaults to "TCP".
|
749
|
+
# +optional
|
750
|
+
# Corresponds to the JSON property `protocol`
|
751
|
+
# @return [String]
|
752
|
+
attr_accessor :protocol
|
753
|
+
|
754
|
+
def initialize(**args)
|
755
|
+
update!(**args)
|
756
|
+
end
|
757
|
+
|
758
|
+
# Update properties of this object
|
759
|
+
def update!(**args)
|
760
|
+
@container_port = args[:container_port] if args.key?(:container_port)
|
761
|
+
@host_ip = args[:host_ip] if args.key?(:host_ip)
|
762
|
+
@host_port = args[:host_port] if args.key?(:host_port)
|
763
|
+
@name = args[:name] if args.key?(:name)
|
764
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
765
|
+
end
|
766
|
+
end
|
767
|
+
|
768
|
+
# Resource to hold the state and status of a user's domain mapping.
|
769
|
+
class DomainMapping
|
770
|
+
include Google::Apis::Core::Hashable
|
771
|
+
|
772
|
+
# The API version for this call such as "v1alpha1".
|
773
|
+
# Corresponds to the JSON property `apiVersion`
|
774
|
+
# @return [String]
|
775
|
+
attr_accessor :api_version
|
776
|
+
|
777
|
+
# The kind of resource, in this case "DomainMapping".
|
778
|
+
# Corresponds to the JSON property `kind`
|
779
|
+
# @return [String]
|
780
|
+
attr_accessor :kind
|
781
|
+
|
782
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
783
|
+
# all objects users must create.
|
784
|
+
# Corresponds to the JSON property `metadata`
|
785
|
+
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
|
786
|
+
attr_accessor :metadata
|
787
|
+
|
788
|
+
# The desired state of the Domain Mapping.
|
789
|
+
# Corresponds to the JSON property `spec`
|
790
|
+
# @return [Google::Apis::RunV1alpha1::DomainMappingSpec]
|
791
|
+
attr_accessor :spec
|
792
|
+
|
793
|
+
# The current state of the Domain Mapping.
|
794
|
+
# Corresponds to the JSON property `status`
|
795
|
+
# @return [Google::Apis::RunV1alpha1::DomainMappingStatus]
|
796
|
+
attr_accessor :status
|
797
|
+
|
798
|
+
def initialize(**args)
|
799
|
+
update!(**args)
|
800
|
+
end
|
801
|
+
|
802
|
+
# Update properties of this object
|
803
|
+
def update!(**args)
|
804
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
805
|
+
@kind = args[:kind] if args.key?(:kind)
|
806
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
807
|
+
@spec = args[:spec] if args.key?(:spec)
|
808
|
+
@status = args[:status] if args.key?(:status)
|
809
|
+
end
|
810
|
+
end
|
811
|
+
|
812
|
+
# DomainMappingCondition contains state information for a DomainMapping.
|
813
|
+
class DomainMappingCondition
|
814
|
+
include Google::Apis::Core::Hashable
|
815
|
+
|
816
|
+
# Human readable message indicating details about the current status.
|
817
|
+
# +optional
|
818
|
+
# Corresponds to the JSON property `message`
|
819
|
+
# @return [String]
|
820
|
+
attr_accessor :message
|
821
|
+
|
822
|
+
# One-word CamelCase reason for the condition's current status.
|
823
|
+
# +optional
|
824
|
+
# Corresponds to the JSON property `reason`
|
825
|
+
# @return [String]
|
826
|
+
attr_accessor :reason
|
827
|
+
|
828
|
+
# Status of the condition, one of True, False, Unknown.
|
829
|
+
# Corresponds to the JSON property `status`
|
830
|
+
# @return [String]
|
831
|
+
attr_accessor :status
|
832
|
+
|
833
|
+
# Type of domain mapping condition.
|
834
|
+
# Corresponds to the JSON property `type`
|
835
|
+
# @return [String]
|
836
|
+
attr_accessor :type
|
837
|
+
|
838
|
+
def initialize(**args)
|
839
|
+
update!(**args)
|
840
|
+
end
|
841
|
+
|
842
|
+
# Update properties of this object
|
843
|
+
def update!(**args)
|
844
|
+
@message = args[:message] if args.key?(:message)
|
845
|
+
@reason = args[:reason] if args.key?(:reason)
|
846
|
+
@status = args[:status] if args.key?(:status)
|
847
|
+
@type = args[:type] if args.key?(:type)
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
851
|
+
# The desired state of the Domain Mapping.
|
852
|
+
class DomainMappingSpec
|
853
|
+
include Google::Apis::Core::Hashable
|
854
|
+
|
855
|
+
# The mode of the certificate.
|
856
|
+
# Corresponds to the JSON property `certificateMode`
|
857
|
+
# @return [String]
|
858
|
+
attr_accessor :certificate_mode
|
859
|
+
|
860
|
+
# If set, the mapping will override any mapping set before this spec was set.
|
861
|
+
# It is recommended that the user leaves this empty to receive an error
|
862
|
+
# warning about a potential conflict and only set it once the respective UI
|
863
|
+
# has given such a warning.
|
864
|
+
# Corresponds to the JSON property `forceOverride`
|
865
|
+
# @return [Boolean]
|
866
|
+
attr_accessor :force_override
|
867
|
+
alias_method :force_override?, :force_override
|
868
|
+
|
869
|
+
# The name of the Knative Route that this DomainMapping applies to.
|
870
|
+
# The route must exist.
|
871
|
+
# Corresponds to the JSON property `routeName`
|
872
|
+
# @return [String]
|
873
|
+
attr_accessor :route_name
|
874
|
+
|
875
|
+
def initialize(**args)
|
876
|
+
update!(**args)
|
877
|
+
end
|
878
|
+
|
879
|
+
# Update properties of this object
|
880
|
+
def update!(**args)
|
881
|
+
@certificate_mode = args[:certificate_mode] if args.key?(:certificate_mode)
|
882
|
+
@force_override = args[:force_override] if args.key?(:force_override)
|
883
|
+
@route_name = args[:route_name] if args.key?(:route_name)
|
884
|
+
end
|
885
|
+
end
|
886
|
+
|
887
|
+
# The current state of the Domain Mapping.
|
888
|
+
class DomainMappingStatus
|
889
|
+
include Google::Apis::Core::Hashable
|
890
|
+
|
891
|
+
# Array of observed DomainMappingConditions, indicating the current state
|
892
|
+
# of the DomainMapping.
|
893
|
+
# Corresponds to the JSON property `conditions`
|
894
|
+
# @return [Array<Google::Apis::RunV1alpha1::DomainMappingCondition>]
|
895
|
+
attr_accessor :conditions
|
896
|
+
|
897
|
+
# The name of the route that the mapping currently points to.
|
898
|
+
# Corresponds to the JSON property `mappedRouteName`
|
899
|
+
# @return [String]
|
900
|
+
attr_accessor :mapped_route_name
|
901
|
+
|
902
|
+
# ObservedGeneration is the 'Generation' of the DomainMapping that
|
903
|
+
# was last processed by the controller.
|
904
|
+
# Clients polling for completed reconciliation should poll until
|
905
|
+
# observedGeneration = metadata.generation and the Ready condition's status
|
906
|
+
# is True or False.
|
907
|
+
# Corresponds to the JSON property `observedGeneration`
|
908
|
+
# @return [Fixnum]
|
909
|
+
attr_accessor :observed_generation
|
910
|
+
|
911
|
+
# The resource records required to configure this domain mapping. These
|
912
|
+
# records must be added to the domain's DNS configuration in order to
|
913
|
+
# serve the application via this domain mapping.
|
914
|
+
# Corresponds to the JSON property `resourceRecords`
|
915
|
+
# @return [Array<Google::Apis::RunV1alpha1::ResourceRecord>]
|
916
|
+
attr_accessor :resource_records
|
917
|
+
|
918
|
+
def initialize(**args)
|
919
|
+
update!(**args)
|
920
|
+
end
|
921
|
+
|
922
|
+
# Update properties of this object
|
923
|
+
def update!(**args)
|
924
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
925
|
+
@mapped_route_name = args[:mapped_route_name] if args.key?(:mapped_route_name)
|
926
|
+
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
927
|
+
@resource_records = args[:resource_records] if args.key?(:resource_records)
|
928
|
+
end
|
929
|
+
end
|
930
|
+
|
931
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
932
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
933
|
+
# or the response type of an API method. For instance:
|
934
|
+
# service Foo `
|
935
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
936
|
+
# `
|
937
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
938
|
+
class Empty
|
939
|
+
include Google::Apis::Core::Hashable
|
940
|
+
|
941
|
+
def initialize(**args)
|
942
|
+
update!(**args)
|
943
|
+
end
|
944
|
+
|
945
|
+
# Update properties of this object
|
946
|
+
def update!(**args)
|
947
|
+
end
|
948
|
+
end
|
949
|
+
|
950
|
+
# EnvFromSource represents the source of a set of ConfigMaps
|
951
|
+
class EnvFromSource
|
952
|
+
include Google::Apis::Core::Hashable
|
953
|
+
|
954
|
+
# ConfigMapEnvSource selects a ConfigMap to populate the environment
|
955
|
+
# variables with.
|
956
|
+
# The contents of the target ConfigMap's Data field will represent the
|
957
|
+
# key-value pairs as environment variables.
|
958
|
+
# Corresponds to the JSON property `configMapRef`
|
959
|
+
# @return [Google::Apis::RunV1alpha1::ConfigMapEnvSource]
|
960
|
+
attr_accessor :config_map_ref
|
961
|
+
|
962
|
+
# An optional identifier to prepend to each key in the ConfigMap. Must be a
|
963
|
+
# C_IDENTIFIER. +optional
|
964
|
+
# Corresponds to the JSON property `prefix`
|
965
|
+
# @return [String]
|
966
|
+
attr_accessor :prefix
|
967
|
+
|
968
|
+
# SecretEnvSource selects a Secret to populate the environment
|
969
|
+
# variables with.
|
970
|
+
# The contents of the target Secret's Data field will represent the
|
971
|
+
# key-value pairs as environment variables.
|
972
|
+
# Corresponds to the JSON property `secretRef`
|
973
|
+
# @return [Google::Apis::RunV1alpha1::SecretEnvSource]
|
974
|
+
attr_accessor :secret_ref
|
975
|
+
|
976
|
+
def initialize(**args)
|
977
|
+
update!(**args)
|
978
|
+
end
|
979
|
+
|
980
|
+
# Update properties of this object
|
981
|
+
def update!(**args)
|
982
|
+
@config_map_ref = args[:config_map_ref] if args.key?(:config_map_ref)
|
983
|
+
@prefix = args[:prefix] if args.key?(:prefix)
|
984
|
+
@secret_ref = args[:secret_ref] if args.key?(:secret_ref)
|
985
|
+
end
|
986
|
+
end
|
987
|
+
|
988
|
+
# EnvVar represents an environment variable present in a Container.
|
989
|
+
class EnvVar
|
990
|
+
include Google::Apis::Core::Hashable
|
991
|
+
|
992
|
+
# Name of the environment variable. Must be a C_IDENTIFIER.
|
993
|
+
# Corresponds to the JSON property `name`
|
994
|
+
# @return [String]
|
995
|
+
attr_accessor :name
|
996
|
+
|
997
|
+
# Variable references $(VAR_NAME) are expanded
|
998
|
+
# using the previous defined environment variables in the container and
|
999
|
+
# any route environment variables. If a variable cannot be resolved,
|
1000
|
+
# the reference in the input string will be unchanged. The $(VAR_NAME)
|
1001
|
+
# syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
|
1002
|
+
# references will never be expanded, regardless of whether the variable
|
1003
|
+
# exists or not.
|
1004
|
+
# Defaults to "".
|
1005
|
+
# +optional
|
1006
|
+
# Corresponds to the JSON property `value`
|
1007
|
+
# @return [String]
|
1008
|
+
attr_accessor :value
|
1009
|
+
|
1010
|
+
def initialize(**args)
|
1011
|
+
update!(**args)
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
# Update properties of this object
|
1015
|
+
def update!(**args)
|
1016
|
+
@name = args[:name] if args.key?(:name)
|
1017
|
+
@value = args[:value] if args.key?(:value)
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# ExecAction describes a "run in container" action.
|
1022
|
+
class ExecAction
|
1023
|
+
include Google::Apis::Core::Hashable
|
1024
|
+
|
1025
|
+
# Command is the command line to execute inside the container, the working
|
1026
|
+
# directory for the command is root ('/') in the container's filesystem. The
|
1027
|
+
# command is simply exec'd, it is not run inside a shell, so traditional
|
1028
|
+
# shell instructions ('|', etc) won't work. To use a shell, you need to
|
1029
|
+
# explicitly call out to that shell. Exit status of 0 is treated as
|
1030
|
+
# live/healthy and non-zero is unhealthy. +optional
|
1031
|
+
# Corresponds to the JSON property `command`
|
1032
|
+
# @return [String]
|
1033
|
+
attr_accessor :command
|
1034
|
+
|
1035
|
+
def initialize(**args)
|
1036
|
+
update!(**args)
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
# Update properties of this object
|
1040
|
+
def update!(**args)
|
1041
|
+
@command = args[:command] if args.key?(:command)
|
1042
|
+
end
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
# Represents an expression text. Example:
|
1046
|
+
# title: "User account presence"
|
1047
|
+
# description: "Determines whether the request has a user account"
|
1048
|
+
# expression: "size(request.user) > 0"
|
1049
|
+
class Expr
|
1050
|
+
include Google::Apis::Core::Hashable
|
1051
|
+
|
1052
|
+
# An optional description of the expression. This is a longer text which
|
1053
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
1054
|
+
# Corresponds to the JSON property `description`
|
1055
|
+
# @return [String]
|
1056
|
+
attr_accessor :description
|
1057
|
+
|
1058
|
+
# Textual representation of an expression in
|
1059
|
+
# Common Expression Language syntax.
|
1060
|
+
# The application context of the containing message determines which
|
1061
|
+
# well-known feature set of CEL is supported.
|
1062
|
+
# Corresponds to the JSON property `expression`
|
1063
|
+
# @return [String]
|
1064
|
+
attr_accessor :expression
|
1065
|
+
|
1066
|
+
# An optional string indicating the location of the expression for error
|
1067
|
+
# reporting, e.g. a file name and a position in the file.
|
1068
|
+
# Corresponds to the JSON property `location`
|
1069
|
+
# @return [String]
|
1070
|
+
attr_accessor :location
|
1071
|
+
|
1072
|
+
# An optional title for the expression, i.e. a short string describing
|
1073
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
1074
|
+
# expression.
|
1075
|
+
# Corresponds to the JSON property `title`
|
1076
|
+
# @return [String]
|
1077
|
+
attr_accessor :title
|
1078
|
+
|
1079
|
+
def initialize(**args)
|
1080
|
+
update!(**args)
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
# Update properties of this object
|
1084
|
+
def update!(**args)
|
1085
|
+
@description = args[:description] if args.key?(:description)
|
1086
|
+
@expression = args[:expression] if args.key?(:expression)
|
1087
|
+
@location = args[:location] if args.key?(:location)
|
1088
|
+
@title = args[:title] if args.key?(:title)
|
1089
|
+
end
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# HTTPGetAction describes an action based on HTTP Get requests.
|
1093
|
+
class HttpGetAction
|
1094
|
+
include Google::Apis::Core::Hashable
|
1095
|
+
|
1096
|
+
# Host name to connect to, defaults to the pod IP. You probably want to set
|
1097
|
+
# "Host" in httpHeaders instead.
|
1098
|
+
# +optional
|
1099
|
+
# Corresponds to the JSON property `host`
|
1100
|
+
# @return [String]
|
1101
|
+
attr_accessor :host
|
1102
|
+
|
1103
|
+
# Custom headers to set in the request. HTTP allows repeated headers.
|
1104
|
+
# +optional
|
1105
|
+
# Corresponds to the JSON property `httpHeaders`
|
1106
|
+
# @return [Array<Google::Apis::RunV1alpha1::HttpHeader>]
|
1107
|
+
attr_accessor :http_headers
|
1108
|
+
|
1109
|
+
# Path to access on the HTTP server.
|
1110
|
+
# +optional
|
1111
|
+
# Corresponds to the JSON property `path`
|
1112
|
+
# @return [String]
|
1113
|
+
attr_accessor :path
|
1114
|
+
|
1115
|
+
# IntOrString is a type that can hold an int32 or a string. When used in
|
1116
|
+
# JSON or YAML marshalling and unmarshalling, it produces or consumes the
|
1117
|
+
# inner type. This allows you to have, for example, a JSON field that can
|
1118
|
+
# accept a name or number.
|
1119
|
+
# Corresponds to the JSON property `port`
|
1120
|
+
# @return [Google::Apis::RunV1alpha1::IntOrString]
|
1121
|
+
attr_accessor :port
|
1122
|
+
|
1123
|
+
# Scheme to use for connecting to the host.
|
1124
|
+
# Defaults to HTTP.
|
1125
|
+
# +optional
|
1126
|
+
# Corresponds to the JSON property `scheme`
|
1127
|
+
# @return [String]
|
1128
|
+
attr_accessor :scheme
|
1129
|
+
|
1130
|
+
def initialize(**args)
|
1131
|
+
update!(**args)
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
# Update properties of this object
|
1135
|
+
def update!(**args)
|
1136
|
+
@host = args[:host] if args.key?(:host)
|
1137
|
+
@http_headers = args[:http_headers] if args.key?(:http_headers)
|
1138
|
+
@path = args[:path] if args.key?(:path)
|
1139
|
+
@port = args[:port] if args.key?(:port)
|
1140
|
+
@scheme = args[:scheme] if args.key?(:scheme)
|
1141
|
+
end
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
# HTTPHeader describes a custom header to be used in HTTP probes
|
1145
|
+
class HttpHeader
|
1146
|
+
include Google::Apis::Core::Hashable
|
1147
|
+
|
1148
|
+
# The header field name
|
1149
|
+
# Corresponds to the JSON property `name`
|
1150
|
+
# @return [String]
|
1151
|
+
attr_accessor :name
|
1152
|
+
|
1153
|
+
# The header field value
|
1154
|
+
# Corresponds to the JSON property `value`
|
1155
|
+
# @return [String]
|
1156
|
+
attr_accessor :value
|
1157
|
+
|
1158
|
+
def initialize(**args)
|
1159
|
+
update!(**args)
|
1160
|
+
end
|
1161
|
+
|
1162
|
+
# Update properties of this object
|
1163
|
+
def update!(**args)
|
1164
|
+
@name = args[:name] if args.key?(:name)
|
1165
|
+
@value = args[:value] if args.key?(:value)
|
1166
|
+
end
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
# Handler defines a specific action that should be taken
|
1170
|
+
class Handler
|
1171
|
+
include Google::Apis::Core::Hashable
|
1172
|
+
|
1173
|
+
# ExecAction describes a "run in container" action.
|
1174
|
+
# Corresponds to the JSON property `exec`
|
1175
|
+
# @return [Google::Apis::RunV1alpha1::ExecAction]
|
1176
|
+
attr_accessor :exec
|
1177
|
+
|
1178
|
+
# HTTPGetAction describes an action based on HTTP Get requests.
|
1179
|
+
# Corresponds to the JSON property `httpGet`
|
1180
|
+
# @return [Google::Apis::RunV1alpha1::HttpGetAction]
|
1181
|
+
attr_accessor :http_get
|
1182
|
+
|
1183
|
+
# TCPSocketAction describes an action based on opening a socket
|
1184
|
+
# Corresponds to the JSON property `tcpSocket`
|
1185
|
+
# @return [Google::Apis::RunV1alpha1::TcpSocketAction]
|
1186
|
+
attr_accessor :tcp_socket
|
1187
|
+
|
1188
|
+
def initialize(**args)
|
1189
|
+
update!(**args)
|
1190
|
+
end
|
1191
|
+
|
1192
|
+
# Update properties of this object
|
1193
|
+
def update!(**args)
|
1194
|
+
@exec = args[:exec] if args.key?(:exec)
|
1195
|
+
@http_get = args[:http_get] if args.key?(:http_get)
|
1196
|
+
@tcp_socket = args[:tcp_socket] if args.key?(:tcp_socket)
|
1197
|
+
end
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
# Initializer is information about an initializer that has not yet completed.
|
1201
|
+
class Initializer
|
1202
|
+
include Google::Apis::Core::Hashable
|
1203
|
+
|
1204
|
+
# name of the process that is responsible for initializing this object.
|
1205
|
+
# Corresponds to the JSON property `name`
|
1206
|
+
# @return [String]
|
1207
|
+
attr_accessor :name
|
1208
|
+
|
1209
|
+
def initialize(**args)
|
1210
|
+
update!(**args)
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
# Update properties of this object
|
1214
|
+
def update!(**args)
|
1215
|
+
@name = args[:name] if args.key?(:name)
|
1216
|
+
end
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
# Initializers tracks the progress of initialization.
|
1220
|
+
class Initializers
|
1221
|
+
include Google::Apis::Core::Hashable
|
1222
|
+
|
1223
|
+
# Pending is a list of initializers that must execute in order before this
|
1224
|
+
# object is visible. When the last pending initializer is removed, and no
|
1225
|
+
# failing result is set, the initializers struct will be set to nil and the
|
1226
|
+
# object is considered as initialized and visible to all clients.
|
1227
|
+
# +patchMergeKey=name
|
1228
|
+
# +patchStrategy=merge
|
1229
|
+
# Corresponds to the JSON property `pending`
|
1230
|
+
# @return [Array<Google::Apis::RunV1alpha1::Initializer>]
|
1231
|
+
attr_accessor :pending
|
1232
|
+
|
1233
|
+
def initialize(**args)
|
1234
|
+
update!(**args)
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
# Update properties of this object
|
1238
|
+
def update!(**args)
|
1239
|
+
@pending = args[:pending] if args.key?(:pending)
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
# IntOrString is a type that can hold an int32 or a string. When used in
|
1244
|
+
# JSON or YAML marshalling and unmarshalling, it produces or consumes the
|
1245
|
+
# inner type. This allows you to have, for example, a JSON field that can
|
1246
|
+
# accept a name or number.
|
1247
|
+
class IntOrString
|
1248
|
+
include Google::Apis::Core::Hashable
|
1249
|
+
|
1250
|
+
# The int value.
|
1251
|
+
# Corresponds to the JSON property `intVal`
|
1252
|
+
# @return [Fixnum]
|
1253
|
+
attr_accessor :int_val
|
1254
|
+
|
1255
|
+
# The string value.
|
1256
|
+
# Corresponds to the JSON property `strVal`
|
1257
|
+
# @return [String]
|
1258
|
+
attr_accessor :str_val
|
1259
|
+
|
1260
|
+
# The type of the value.
|
1261
|
+
# Corresponds to the JSON property `type`
|
1262
|
+
# @return [Fixnum]
|
1263
|
+
attr_accessor :type
|
1264
|
+
|
1265
|
+
def initialize(**args)
|
1266
|
+
update!(**args)
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
# Update properties of this object
|
1270
|
+
def update!(**args)
|
1271
|
+
@int_val = args[:int_val] if args.key?(:int_val)
|
1272
|
+
@str_val = args[:str_val] if args.key?(:str_val)
|
1273
|
+
@type = args[:type] if args.key?(:type)
|
1274
|
+
end
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
# Lifecycle describes actions that the management system should take in
|
1278
|
+
# response to container lifecycle events. For the PostStart and PreStop
|
1279
|
+
# lifecycle handlers, management of the container blocks until the action is
|
1280
|
+
# complete, unless the container process fails, in which case the handler is
|
1281
|
+
# aborted.
|
1282
|
+
class Lifecycle
|
1283
|
+
include Google::Apis::Core::Hashable
|
1284
|
+
|
1285
|
+
# Handler defines a specific action that should be taken
|
1286
|
+
# Corresponds to the JSON property `postStart`
|
1287
|
+
# @return [Google::Apis::RunV1alpha1::Handler]
|
1288
|
+
attr_accessor :post_start
|
1289
|
+
|
1290
|
+
# Handler defines a specific action that should be taken
|
1291
|
+
# Corresponds to the JSON property `preStop`
|
1292
|
+
# @return [Google::Apis::RunV1alpha1::Handler]
|
1293
|
+
attr_accessor :pre_stop
|
1294
|
+
|
1295
|
+
def initialize(**args)
|
1296
|
+
update!(**args)
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
# Update properties of this object
|
1300
|
+
def update!(**args)
|
1301
|
+
@post_start = args[:post_start] if args.key?(:post_start)
|
1302
|
+
@pre_stop = args[:pre_stop] if args.key?(:pre_stop)
|
1303
|
+
end
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
# A list of Authorized Domains.
|
1307
|
+
class ListAuthorizedDomainsResponse
|
1308
|
+
include Google::Apis::Core::Hashable
|
1309
|
+
|
1310
|
+
# The authorized domains belonging to the user.
|
1311
|
+
# Corresponds to the JSON property `domains`
|
1312
|
+
# @return [Array<Google::Apis::RunV1alpha1::AuthorizedDomain>]
|
1313
|
+
attr_accessor :domains
|
1314
|
+
|
1315
|
+
# Continuation token for fetching the next page of results.
|
1316
|
+
# Corresponds to the JSON property `nextPageToken`
|
1317
|
+
# @return [String]
|
1318
|
+
attr_accessor :next_page_token
|
1319
|
+
|
1320
|
+
def initialize(**args)
|
1321
|
+
update!(**args)
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
# Update properties of this object
|
1325
|
+
def update!(**args)
|
1326
|
+
@domains = args[:domains] if args.key?(:domains)
|
1327
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1328
|
+
end
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
# ListConfigurationsResponse is a list of Configuration resources.
|
1332
|
+
class ListConfigurationsResponse
|
1333
|
+
include Google::Apis::Core::Hashable
|
1334
|
+
|
1335
|
+
# The API version for this call such as "v1alpha1".
|
1336
|
+
# Corresponds to the JSON property `apiVersion`
|
1337
|
+
# @return [String]
|
1338
|
+
attr_accessor :api_version
|
1339
|
+
|
1340
|
+
# List of Configurations.
|
1341
|
+
# Corresponds to the JSON property `items`
|
1342
|
+
# @return [Array<Google::Apis::RunV1alpha1::Configuration>]
|
1343
|
+
attr_accessor :items
|
1344
|
+
|
1345
|
+
# The kind of this resource, in this case "ConfigurationList".
|
1346
|
+
# Corresponds to the JSON property `kind`
|
1347
|
+
# @return [String]
|
1348
|
+
attr_accessor :kind
|
1349
|
+
|
1350
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
1351
|
+
# lists and various status objects. A resource may have only one of
|
1352
|
+
# `ObjectMeta, ListMeta`.
|
1353
|
+
# Corresponds to the JSON property `metadata`
|
1354
|
+
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
1355
|
+
attr_accessor :metadata
|
1356
|
+
|
1357
|
+
# Locations that could not be reached.
|
1358
|
+
# Corresponds to the JSON property `unreachable`
|
1359
|
+
# @return [Array<String>]
|
1360
|
+
attr_accessor :unreachable
|
1361
|
+
|
1362
|
+
def initialize(**args)
|
1363
|
+
update!(**args)
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
# Update properties of this object
|
1367
|
+
def update!(**args)
|
1368
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1369
|
+
@items = args[:items] if args.key?(:items)
|
1370
|
+
@kind = args[:kind] if args.key?(:kind)
|
1371
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1372
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1373
|
+
end
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
# ListDomainMappingsResponse is a list of DomainMapping resources.
|
1377
|
+
class ListDomainMappingsResponse
|
1378
|
+
include Google::Apis::Core::Hashable
|
1379
|
+
|
1380
|
+
# The API version for this call such as "v1alpha1".
|
1381
|
+
# Corresponds to the JSON property `apiVersion`
|
1382
|
+
# @return [String]
|
1383
|
+
attr_accessor :api_version
|
1384
|
+
|
1385
|
+
# List of DomainMappings.
|
1386
|
+
# Corresponds to the JSON property `items`
|
1387
|
+
# @return [Array<Google::Apis::RunV1alpha1::DomainMapping>]
|
1388
|
+
attr_accessor :items
|
1389
|
+
|
1390
|
+
# The kind of this resource, in this case "DomainMappingList".
|
1391
|
+
# Corresponds to the JSON property `kind`
|
1392
|
+
# @return [String]
|
1393
|
+
attr_accessor :kind
|
1394
|
+
|
1395
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
1396
|
+
# lists and various status objects. A resource may have only one of
|
1397
|
+
# `ObjectMeta, ListMeta`.
|
1398
|
+
# Corresponds to the JSON property `metadata`
|
1399
|
+
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
1400
|
+
attr_accessor :metadata
|
1401
|
+
|
1402
|
+
def initialize(**args)
|
1403
|
+
update!(**args)
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
# Update properties of this object
|
1407
|
+
def update!(**args)
|
1408
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1409
|
+
@items = args[:items] if args.key?(:items)
|
1410
|
+
@kind = args[:kind] if args.key?(:kind)
|
1411
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1412
|
+
end
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
# The response message for Locations.ListLocations.
|
1416
|
+
class ListLocationsResponse
|
1417
|
+
include Google::Apis::Core::Hashable
|
1418
|
+
|
1419
|
+
# A list of locations that matches the specified filter in the request.
|
1420
|
+
# Corresponds to the JSON property `locations`
|
1421
|
+
# @return [Array<Google::Apis::RunV1alpha1::Location>]
|
1422
|
+
attr_accessor :locations
|
1423
|
+
|
1424
|
+
# The standard List next-page token.
|
1425
|
+
# Corresponds to the JSON property `nextPageToken`
|
1426
|
+
# @return [String]
|
1427
|
+
attr_accessor :next_page_token
|
1428
|
+
|
1429
|
+
def initialize(**args)
|
1430
|
+
update!(**args)
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
# Update properties of this object
|
1434
|
+
def update!(**args)
|
1435
|
+
@locations = args[:locations] if args.key?(:locations)
|
1436
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1437
|
+
end
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
1441
|
+
# lists and various status objects. A resource may have only one of
|
1442
|
+
# `ObjectMeta, ListMeta`.
|
1443
|
+
class ListMeta
|
1444
|
+
include Google::Apis::Core::Hashable
|
1445
|
+
|
1446
|
+
# continue may be set if the user set a limit on the number of items
|
1447
|
+
# returned, and indicates that the server has more data available. The value
|
1448
|
+
# is opaque and may be used to issue another request to the endpoint that
|
1449
|
+
# served this list to retrieve the next set of available objects. Continuing
|
1450
|
+
# a list may not be possible if the server configuration has changed or more
|
1451
|
+
# than a few minutes have passed. The resourceVersion field returned when
|
1452
|
+
# using this continue value will be identical to the value in the first
|
1453
|
+
# response.
|
1454
|
+
# Corresponds to the JSON property `continue`
|
1455
|
+
# @return [String]
|
1456
|
+
attr_accessor :continue
|
1457
|
+
|
1458
|
+
# String that identifies the server's internal version of this object that
|
1459
|
+
# can be used by clients to determine when objects have changed. Value must
|
1460
|
+
# be treated as opaque by clients and passed unmodified back to the server.
|
1461
|
+
# Populated by the system.
|
1462
|
+
# Read-only.
|
1463
|
+
# More info:
|
1464
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
|
1465
|
+
# control-and-consistency
|
1466
|
+
# +optional
|
1467
|
+
# Corresponds to the JSON property `resourceVersion`
|
1468
|
+
# @return [String]
|
1469
|
+
attr_accessor :resource_version
|
1470
|
+
|
1471
|
+
# SelfLink is a URL representing this object.
|
1472
|
+
# Populated by the system.
|
1473
|
+
# Read-only.
|
1474
|
+
# +optional
|
1475
|
+
# Corresponds to the JSON property `selfLink`
|
1476
|
+
# @return [String]
|
1477
|
+
attr_accessor :self_link
|
1478
|
+
|
1479
|
+
def initialize(**args)
|
1480
|
+
update!(**args)
|
1481
|
+
end
|
1482
|
+
|
1483
|
+
# Update properties of this object
|
1484
|
+
def update!(**args)
|
1485
|
+
@continue = args[:continue] if args.key?(:continue)
|
1486
|
+
@resource_version = args[:resource_version] if args.key?(:resource_version)
|
1487
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1488
|
+
end
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
# ListRevisionsResponse is a list of Revision resources.
|
1492
|
+
class ListRevisionsResponse
|
1493
|
+
include Google::Apis::Core::Hashable
|
1494
|
+
|
1495
|
+
# The API version for this call such as "v1alpha1".
|
1496
|
+
# Corresponds to the JSON property `apiVersion`
|
1497
|
+
# @return [String]
|
1498
|
+
attr_accessor :api_version
|
1499
|
+
|
1500
|
+
# List of Revisions.
|
1501
|
+
# Corresponds to the JSON property `items`
|
1502
|
+
# @return [Array<Google::Apis::RunV1alpha1::Revision>]
|
1503
|
+
attr_accessor :items
|
1504
|
+
|
1505
|
+
# The kind of this resource, in this case "RevisionList".
|
1506
|
+
# Corresponds to the JSON property `kind`
|
1507
|
+
# @return [String]
|
1508
|
+
attr_accessor :kind
|
1509
|
+
|
1510
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
1511
|
+
# lists and various status objects. A resource may have only one of
|
1512
|
+
# `ObjectMeta, ListMeta`.
|
1513
|
+
# Corresponds to the JSON property `metadata`
|
1514
|
+
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
1515
|
+
attr_accessor :metadata
|
1516
|
+
|
1517
|
+
# Locations that could not be reached.
|
1518
|
+
# Corresponds to the JSON property `unreachable`
|
1519
|
+
# @return [Array<String>]
|
1520
|
+
attr_accessor :unreachable
|
1521
|
+
|
1522
|
+
def initialize(**args)
|
1523
|
+
update!(**args)
|
1524
|
+
end
|
1525
|
+
|
1526
|
+
# Update properties of this object
|
1527
|
+
def update!(**args)
|
1528
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1529
|
+
@items = args[:items] if args.key?(:items)
|
1530
|
+
@kind = args[:kind] if args.key?(:kind)
|
1531
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1532
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1533
|
+
end
|
1534
|
+
end
|
1535
|
+
|
1536
|
+
# ListRoutesResponse is a list of Route resources.
|
1537
|
+
class ListRoutesResponse
|
1538
|
+
include Google::Apis::Core::Hashable
|
1539
|
+
|
1540
|
+
# The API version for this call such as "v1alpha1".
|
1541
|
+
# Corresponds to the JSON property `apiVersion`
|
1542
|
+
# @return [String]
|
1543
|
+
attr_accessor :api_version
|
1544
|
+
|
1545
|
+
# List of Routes.
|
1546
|
+
# Corresponds to the JSON property `items`
|
1547
|
+
# @return [Array<Google::Apis::RunV1alpha1::Route>]
|
1548
|
+
attr_accessor :items
|
1549
|
+
|
1550
|
+
# The kind of this resource, in this case always "RouteList".
|
1551
|
+
# Corresponds to the JSON property `kind`
|
1552
|
+
# @return [String]
|
1553
|
+
attr_accessor :kind
|
1554
|
+
|
1555
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
1556
|
+
# lists and various status objects. A resource may have only one of
|
1557
|
+
# `ObjectMeta, ListMeta`.
|
1558
|
+
# Corresponds to the JSON property `metadata`
|
1559
|
+
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
1560
|
+
attr_accessor :metadata
|
1561
|
+
|
1562
|
+
# Locations that could not be reached.
|
1563
|
+
# Corresponds to the JSON property `unreachable`
|
1564
|
+
# @return [Array<String>]
|
1565
|
+
attr_accessor :unreachable
|
1566
|
+
|
1567
|
+
def initialize(**args)
|
1568
|
+
update!(**args)
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
# Update properties of this object
|
1572
|
+
def update!(**args)
|
1573
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1574
|
+
@items = args[:items] if args.key?(:items)
|
1575
|
+
@kind = args[:kind] if args.key?(:kind)
|
1576
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1577
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1578
|
+
end
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
# A list of Service resources.
|
1582
|
+
class ListServicesResponse
|
1583
|
+
include Google::Apis::Core::Hashable
|
1584
|
+
|
1585
|
+
# The API version for this call such as "v1alpha1".
|
1586
|
+
# Corresponds to the JSON property `apiVersion`
|
1587
|
+
# @return [String]
|
1588
|
+
attr_accessor :api_version
|
1589
|
+
|
1590
|
+
# List of Services.
|
1591
|
+
# Corresponds to the JSON property `items`
|
1592
|
+
# @return [Array<Google::Apis::RunV1alpha1::Service>]
|
1593
|
+
attr_accessor :items
|
1594
|
+
|
1595
|
+
# The kind of this resource, in this case "ServiceList".
|
1596
|
+
# Corresponds to the JSON property `kind`
|
1597
|
+
# @return [String]
|
1598
|
+
attr_accessor :kind
|
1599
|
+
|
1600
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
1601
|
+
# lists and various status objects. A resource may have only one of
|
1602
|
+
# `ObjectMeta, ListMeta`.
|
1603
|
+
# Corresponds to the JSON property `metadata`
|
1604
|
+
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
1605
|
+
attr_accessor :metadata
|
1606
|
+
|
1607
|
+
# Locations that could not be reached.
|
1608
|
+
# Corresponds to the JSON property `unreachable`
|
1609
|
+
# @return [Array<String>]
|
1610
|
+
attr_accessor :unreachable
|
1611
|
+
|
1612
|
+
def initialize(**args)
|
1613
|
+
update!(**args)
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
# Update properties of this object
|
1617
|
+
def update!(**args)
|
1618
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1619
|
+
@items = args[:items] if args.key?(:items)
|
1620
|
+
@kind = args[:kind] if args.key?(:kind)
|
1621
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1622
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1623
|
+
end
|
1624
|
+
end
|
1625
|
+
|
1626
|
+
# ListTriggersResponse is a list of Trigger resources.
|
1627
|
+
class ListTriggersResponse
|
1628
|
+
include Google::Apis::Core::Hashable
|
1629
|
+
|
1630
|
+
# The API version for this call such as "v1alpha1".
|
1631
|
+
# Corresponds to the JSON property `apiVersion`
|
1632
|
+
# @return [String]
|
1633
|
+
attr_accessor :api_version
|
1634
|
+
|
1635
|
+
# List of Triggers.
|
1636
|
+
# Corresponds to the JSON property `items`
|
1637
|
+
# @return [Array<Google::Apis::RunV1alpha1::Trigger>]
|
1638
|
+
attr_accessor :items
|
1639
|
+
|
1640
|
+
# The kind of this resource, in this case "TriggerList".
|
1641
|
+
# Corresponds to the JSON property `kind`
|
1642
|
+
# @return [String]
|
1643
|
+
attr_accessor :kind
|
1644
|
+
|
1645
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
1646
|
+
# lists and various status objects. A resource may have only one of
|
1647
|
+
# `ObjectMeta, ListMeta`.
|
1648
|
+
# Corresponds to the JSON property `metadata`
|
1649
|
+
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
1650
|
+
attr_accessor :metadata
|
1651
|
+
|
1652
|
+
# Locations that could not be reached.
|
1653
|
+
# Corresponds to the JSON property `unreachable`
|
1654
|
+
# @return [Array<String>]
|
1655
|
+
attr_accessor :unreachable
|
1656
|
+
|
1657
|
+
def initialize(**args)
|
1658
|
+
update!(**args)
|
1659
|
+
end
|
1660
|
+
|
1661
|
+
# Update properties of this object
|
1662
|
+
def update!(**args)
|
1663
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1664
|
+
@items = args[:items] if args.key?(:items)
|
1665
|
+
@kind = args[:kind] if args.key?(:kind)
|
1666
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1667
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1668
|
+
end
|
1669
|
+
end
|
1670
|
+
|
1671
|
+
# LocalObjectReference contains enough information to let you locate the
|
1672
|
+
# referenced object inside the same namespace.
|
1673
|
+
class LocalObjectReference
|
1674
|
+
include Google::Apis::Core::Hashable
|
1675
|
+
|
1676
|
+
# Name of the referent.
|
1677
|
+
# More info:
|
1678
|
+
# https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
1679
|
+
# Corresponds to the JSON property `name`
|
1680
|
+
# @return [String]
|
1681
|
+
attr_accessor :name
|
1682
|
+
|
1683
|
+
def initialize(**args)
|
1684
|
+
update!(**args)
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
# Update properties of this object
|
1688
|
+
def update!(**args)
|
1689
|
+
@name = args[:name] if args.key?(:name)
|
1690
|
+
end
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
# A resource that represents Google Cloud Platform location.
|
1694
|
+
class Location
|
1695
|
+
include Google::Apis::Core::Hashable
|
1696
|
+
|
1697
|
+
# The friendly name for this location, typically a nearby city name.
|
1698
|
+
# For example, "Tokyo".
|
1699
|
+
# Corresponds to the JSON property `displayName`
|
1700
|
+
# @return [String]
|
1701
|
+
attr_accessor :display_name
|
1702
|
+
|
1703
|
+
# Cross-service attributes for the location. For example
|
1704
|
+
# `"cloud.googleapis.com/region": "us-east1"`
|
1705
|
+
# Corresponds to the JSON property `labels`
|
1706
|
+
# @return [Hash<String,String>]
|
1707
|
+
attr_accessor :labels
|
1708
|
+
|
1709
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
1710
|
+
# Corresponds to the JSON property `locationId`
|
1711
|
+
# @return [String]
|
1712
|
+
attr_accessor :location_id
|
1713
|
+
|
1714
|
+
# Service-specific metadata. For example the available capacity at the given
|
1715
|
+
# location.
|
1716
|
+
# Corresponds to the JSON property `metadata`
|
1717
|
+
# @return [Hash<String,Object>]
|
1718
|
+
attr_accessor :metadata
|
1719
|
+
|
1720
|
+
# Resource name for the location, which may vary between implementations.
|
1721
|
+
# For example: `"projects/example-project/locations/us-east1"`
|
1722
|
+
# Corresponds to the JSON property `name`
|
1723
|
+
# @return [String]
|
1724
|
+
attr_accessor :name
|
1725
|
+
|
1726
|
+
def initialize(**args)
|
1727
|
+
update!(**args)
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
# Update properties of this object
|
1731
|
+
def update!(**args)
|
1732
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1733
|
+
@labels = args[:labels] if args.key?(:labels)
|
1734
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
1735
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1736
|
+
@name = args[:name] if args.key?(:name)
|
1737
|
+
end
|
1738
|
+
end
|
1739
|
+
|
1740
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
1741
|
+
# all objects users must create.
|
1742
|
+
class ObjectMeta
|
1743
|
+
include Google::Apis::Core::Hashable
|
1744
|
+
|
1745
|
+
# Annotations is an unstructured key value map stored with a resource that
|
1746
|
+
# may be set by external tools to store and retrieve arbitrary metadata. They
|
1747
|
+
# are not queryable and should be preserved when modifying objects. More
|
1748
|
+
# info: http://kubernetes.io/docs/user-guide/annotations +optional
|
1749
|
+
# Corresponds to the JSON property `annotations`
|
1750
|
+
# @return [Hash<String,String>]
|
1751
|
+
attr_accessor :annotations
|
1752
|
+
|
1753
|
+
# Not currently supported by Cloud Run.
|
1754
|
+
# The name of the cluster which the object belongs to.
|
1755
|
+
# This is used to distinguish resources with same name and namespace in
|
1756
|
+
# different clusters. This field is not set anywhere right now and apiserver
|
1757
|
+
# is going to ignore it if set in create or update request. +optional
|
1758
|
+
# Corresponds to the JSON property `clusterName`
|
1759
|
+
# @return [String]
|
1760
|
+
attr_accessor :cluster_name
|
1761
|
+
|
1762
|
+
# CreationTimestamp is a timestamp representing the server time when this
|
1763
|
+
# object was created. It is not guaranteed to be set in happens-before order
|
1764
|
+
# across separate operations. Clients may not set this value. It is
|
1765
|
+
# represented in RFC3339 form and is in UTC.
|
1766
|
+
# Populated by the system.
|
1767
|
+
# Read-only.
|
1768
|
+
# Null for lists.
|
1769
|
+
# More info:
|
1770
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
1771
|
+
# +optional
|
1772
|
+
# Corresponds to the JSON property `creationTimestamp`
|
1773
|
+
# @return [String]
|
1774
|
+
attr_accessor :creation_timestamp
|
1775
|
+
|
1776
|
+
# Not currently supported by Cloud Run.
|
1777
|
+
# Number of seconds allowed for this object to gracefully terminate before
|
1778
|
+
# it will be removed from the system. Only set when deletionTimestamp is also
|
1779
|
+
# set. May only be shortened. Read-only. +optional
|
1780
|
+
# Corresponds to the JSON property `deletionGracePeriodSeconds`
|
1781
|
+
# @return [Fixnum]
|
1782
|
+
attr_accessor :deletion_grace_period_seconds
|
1783
|
+
|
1784
|
+
# DeletionTimestamp is RFC 3339 date and time at which this resource will be
|
1785
|
+
# deleted. This field is set by the server when a graceful deletion is
|
1786
|
+
# requested by the user, and is not directly settable by a client. The
|
1787
|
+
# resource is expected to be deleted (no longer visible from resource lists,
|
1788
|
+
# and not reachable by name) after the time in this field, once the
|
1789
|
+
# finalizers list is empty. As long as the finalizers list contains items,
|
1790
|
+
# deletion is blocked. Once the deletionTimestamp is set, this value may not
|
1791
|
+
# be unset or be set further into the future, although it may be shortened or
|
1792
|
+
# the resource may be deleted prior to this time. For example, a user may
|
1793
|
+
# request that a pod is deleted in 30 seconds. The Kubelet will react by
|
1794
|
+
# sending a graceful termination signal to the containers in the pod. After
|
1795
|
+
# that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
|
1796
|
+
# to the container and after cleanup, remove the pod from the API. In the
|
1797
|
+
# presence of network partitions, this object may still exist after this
|
1798
|
+
# timestamp, until an administrator or automated process can determine the
|
1799
|
+
# resource is fully terminated.
|
1800
|
+
# If not set, graceful deletion of the object has not been requested.
|
1801
|
+
# Populated by the system when a graceful deletion is requested.
|
1802
|
+
# Read-only.
|
1803
|
+
# More info:
|
1804
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
1805
|
+
# +optional
|
1806
|
+
# Corresponds to the JSON property `deletionTimestamp`
|
1807
|
+
# @return [String]
|
1808
|
+
attr_accessor :deletion_timestamp
|
1809
|
+
|
1810
|
+
# Not currently supported by Cloud Run.
|
1811
|
+
# Must be empty before the object is deleted from the registry. Each entry
|
1812
|
+
# is an identifier for the responsible component that will remove the entry
|
1813
|
+
# from the list. If the deletionTimestamp of the object is non-nil, entries
|
1814
|
+
# in this list can only be removed.
|
1815
|
+
# +optional
|
1816
|
+
# +patchStrategy=merge
|
1817
|
+
# Corresponds to the JSON property `finalizers`
|
1818
|
+
# @return [Array<String>]
|
1819
|
+
attr_accessor :finalizers
|
1820
|
+
|
1821
|
+
# Not currently supported by Cloud Run.
|
1822
|
+
# GenerateName is an optional prefix, used by the server, to generate a
|
1823
|
+
# unique name ONLY IF the Name field has not been provided. If this field is
|
1824
|
+
# used, the name returned to the client will be different than the name
|
1825
|
+
# passed. This value will also be combined with a unique suffix. The provided
|
1826
|
+
# value has the same validation rules as the Name field, and may be truncated
|
1827
|
+
# by the length of the suffix required to make the value unique on the
|
1828
|
+
# server.
|
1829
|
+
# If this field is specified and the generated name exists, the server will
|
1830
|
+
# NOT return a 409 - instead, it will either return 201 Created or 500 with
|
1831
|
+
# Reason ServerTimeout indicating a unique name could not be found in the
|
1832
|
+
# time allotted, and the client should retry (optionally after the time
|
1833
|
+
# indicated in the Retry-After header).
|
1834
|
+
# Applied only if Name is not specified.
|
1835
|
+
# More info:
|
1836
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
|
1837
|
+
# +optional
|
1838
|
+
# string generateName = 2;
|
1839
|
+
# Corresponds to the JSON property `generateName`
|
1840
|
+
# @return [String]
|
1841
|
+
attr_accessor :generate_name
|
1842
|
+
|
1843
|
+
# A sequence number representing a specific generation of the desired state.
|
1844
|
+
# Populated by the system. Read-only.
|
1845
|
+
# +optional
|
1846
|
+
# Corresponds to the JSON property `generation`
|
1847
|
+
# @return [Fixnum]
|
1848
|
+
attr_accessor :generation
|
1849
|
+
|
1850
|
+
# Initializers tracks the progress of initialization.
|
1851
|
+
# Corresponds to the JSON property `initializers`
|
1852
|
+
# @return [Google::Apis::RunV1alpha1::Initializers]
|
1853
|
+
attr_accessor :initializers
|
1854
|
+
|
1855
|
+
# Map of string keys and values that can be used to organize and categorize
|
1856
|
+
# (scope and select) objects. May match selectors of replication controllers
|
1857
|
+
# and routes.
|
1858
|
+
# More info: http://kubernetes.io/docs/user-guide/labels
|
1859
|
+
# +optional
|
1860
|
+
# Corresponds to the JSON property `labels`
|
1861
|
+
# @return [Hash<String,String>]
|
1862
|
+
attr_accessor :labels
|
1863
|
+
|
1864
|
+
# Name must be unique within a namespace, within a Cloud Run region.
|
1865
|
+
# Is required when creating
|
1866
|
+
# resources, although some resources may allow a client to request the
|
1867
|
+
# generation of an appropriate name automatically. Name is primarily intended
|
1868
|
+
# for creation idempotence and configuration definition. Cannot be updated.
|
1869
|
+
# More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
1870
|
+
# +optional
|
1871
|
+
# Corresponds to the JSON property `name`
|
1872
|
+
# @return [String]
|
1873
|
+
attr_accessor :name
|
1874
|
+
|
1875
|
+
# Namespace defines the space within each name must be unique, within a
|
1876
|
+
# Cloud Run region. In Cloud Run the namespace must be equal to either the
|
1877
|
+
# project ID or project number.
|
1878
|
+
# Corresponds to the JSON property `namespace`
|
1879
|
+
# @return [String]
|
1880
|
+
attr_accessor :namespace
|
1881
|
+
|
1882
|
+
# List of objects that own this object. If ALL objects in the list have
|
1883
|
+
# been deleted, this object will be garbage collected.
|
1884
|
+
# +optional
|
1885
|
+
# Corresponds to the JSON property `ownerReferences`
|
1886
|
+
# @return [Array<Google::Apis::RunV1alpha1::OwnerReference>]
|
1887
|
+
attr_accessor :owner_references
|
1888
|
+
|
1889
|
+
# An opaque value that represents the internal version of this object that
|
1890
|
+
# can be used by clients to determine when objects have changed. May be used
|
1891
|
+
# for optimistic concurrency, change detection, and the watch operation on a
|
1892
|
+
# resource or set of resources. Clients must treat these values as opaque and
|
1893
|
+
# passed unmodified back to the server. They may only be valid for a
|
1894
|
+
# particular resource or set of resources.
|
1895
|
+
# Populated by the system.
|
1896
|
+
# Read-only.
|
1897
|
+
# Value must be treated as opaque by clients and .
|
1898
|
+
# More info:
|
1899
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
|
1900
|
+
# control-and-consistency
|
1901
|
+
# +optional
|
1902
|
+
# Corresponds to the JSON property `resourceVersion`
|
1903
|
+
# @return [String]
|
1904
|
+
attr_accessor :resource_version
|
1905
|
+
|
1906
|
+
# SelfLink is a URL representing this object.
|
1907
|
+
# Populated by the system.
|
1908
|
+
# Read-only.
|
1909
|
+
# +optional
|
1910
|
+
# string selfLink = 4;
|
1911
|
+
# Corresponds to the JSON property `selfLink`
|
1912
|
+
# @return [String]
|
1913
|
+
attr_accessor :self_link
|
1914
|
+
|
1915
|
+
# UID is the unique in time and space value for this object. It is typically
|
1916
|
+
# generated by the server on successful creation of a resource and is not
|
1917
|
+
# allowed to change on PUT operations.
|
1918
|
+
# Populated by the system.
|
1919
|
+
# Read-only.
|
1920
|
+
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
1921
|
+
# +optional
|
1922
|
+
# Corresponds to the JSON property `uid`
|
1923
|
+
# @return [String]
|
1924
|
+
attr_accessor :uid
|
1925
|
+
|
1926
|
+
def initialize(**args)
|
1927
|
+
update!(**args)
|
1928
|
+
end
|
1929
|
+
|
1930
|
+
# Update properties of this object
|
1931
|
+
def update!(**args)
|
1932
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
1933
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
1934
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
1935
|
+
@deletion_grace_period_seconds = args[:deletion_grace_period_seconds] if args.key?(:deletion_grace_period_seconds)
|
1936
|
+
@deletion_timestamp = args[:deletion_timestamp] if args.key?(:deletion_timestamp)
|
1937
|
+
@finalizers = args[:finalizers] if args.key?(:finalizers)
|
1938
|
+
@generate_name = args[:generate_name] if args.key?(:generate_name)
|
1939
|
+
@generation = args[:generation] if args.key?(:generation)
|
1940
|
+
@initializers = args[:initializers] if args.key?(:initializers)
|
1941
|
+
@labels = args[:labels] if args.key?(:labels)
|
1942
|
+
@name = args[:name] if args.key?(:name)
|
1943
|
+
@namespace = args[:namespace] if args.key?(:namespace)
|
1944
|
+
@owner_references = args[:owner_references] if args.key?(:owner_references)
|
1945
|
+
@resource_version = args[:resource_version] if args.key?(:resource_version)
|
1946
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1947
|
+
@uid = args[:uid] if args.key?(:uid)
|
1948
|
+
end
|
1949
|
+
end
|
1950
|
+
|
1951
|
+
# ObjectReference contains enough information to let you inspect or modify the
|
1952
|
+
# referred object.
|
1953
|
+
class ObjectReference
|
1954
|
+
include Google::Apis::Core::Hashable
|
1955
|
+
|
1956
|
+
# API version of the referent.
|
1957
|
+
# +optional
|
1958
|
+
# Corresponds to the JSON property `apiVersion`
|
1959
|
+
# @return [String]
|
1960
|
+
attr_accessor :api_version
|
1961
|
+
|
1962
|
+
# If referring to a piece of an object instead of an entire object, this
|
1963
|
+
# string should contain a valid JSON/Go field access statement, such as
|
1964
|
+
# desiredState.manifest.containers[2]. For example, if the object reference
|
1965
|
+
# is to a container within a pod, this would take on a value like:
|
1966
|
+
# "spec.containers`name`" (where "name" refers to the name of the container
|
1967
|
+
# that triggered the event) or if no container name is specified
|
1968
|
+
# "spec.containers[2]" (container with index 2 in this pod). This syntax is
|
1969
|
+
# chosen only to have some well-defined way of referencing a part of an
|
1970
|
+
# object.
|
1971
|
+
# Corresponds to the JSON property `fieldPath`
|
1972
|
+
# @return [String]
|
1973
|
+
attr_accessor :field_path
|
1974
|
+
|
1975
|
+
# Kind of the referent.
|
1976
|
+
# More info:
|
1977
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
|
1978
|
+
# +optional
|
1979
|
+
# Corresponds to the JSON property `kind`
|
1980
|
+
# @return [String]
|
1981
|
+
attr_accessor :kind
|
1982
|
+
|
1983
|
+
# Name of the referent.
|
1984
|
+
# More info:
|
1985
|
+
# https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
1986
|
+
# +optional
|
1987
|
+
# Corresponds to the JSON property `name`
|
1988
|
+
# @return [String]
|
1989
|
+
attr_accessor :name
|
1990
|
+
|
1991
|
+
# Namespace of the referent.
|
1992
|
+
# More info:
|
1993
|
+
# https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
1994
|
+
# +optional
|
1995
|
+
# Corresponds to the JSON property `namespace`
|
1996
|
+
# @return [String]
|
1997
|
+
attr_accessor :namespace
|
1998
|
+
|
1999
|
+
# Specific resourceVersion to which this reference is made, if any.
|
2000
|
+
# More info:
|
2001
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
|
2002
|
+
# control-and-consistency
|
2003
|
+
# +optional
|
2004
|
+
# Corresponds to the JSON property `resourceVersion`
|
2005
|
+
# @return [String]
|
2006
|
+
attr_accessor :resource_version
|
2007
|
+
|
2008
|
+
# UID of the referent.
|
2009
|
+
# More info:
|
2010
|
+
# https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
2011
|
+
# +optional
|
2012
|
+
# Corresponds to the JSON property `uid`
|
2013
|
+
# @return [String]
|
2014
|
+
attr_accessor :uid
|
2015
|
+
|
2016
|
+
def initialize(**args)
|
2017
|
+
update!(**args)
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
# Update properties of this object
|
2021
|
+
def update!(**args)
|
2022
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2023
|
+
@field_path = args[:field_path] if args.key?(:field_path)
|
2024
|
+
@kind = args[:kind] if args.key?(:kind)
|
2025
|
+
@name = args[:name] if args.key?(:name)
|
2026
|
+
@namespace = args[:namespace] if args.key?(:namespace)
|
2027
|
+
@resource_version = args[:resource_version] if args.key?(:resource_version)
|
2028
|
+
@uid = args[:uid] if args.key?(:uid)
|
2029
|
+
end
|
2030
|
+
end
|
2031
|
+
|
2032
|
+
# OwnerReference contains enough information to let you identify an owning
|
2033
|
+
# object. Currently, an owning object must be in the same namespace, so there
|
2034
|
+
# is no namespace field.
|
2035
|
+
class OwnerReference
|
2036
|
+
include Google::Apis::Core::Hashable
|
2037
|
+
|
2038
|
+
# API version of the referent.
|
2039
|
+
# Corresponds to the JSON property `apiVersion`
|
2040
|
+
# @return [String]
|
2041
|
+
attr_accessor :api_version
|
2042
|
+
|
2043
|
+
# If true, AND if the owner has the "foregroundDeletion" finalizer, then
|
2044
|
+
# the owner cannot be deleted from the key-value store until this
|
2045
|
+
# reference is removed.
|
2046
|
+
# Defaults to false.
|
2047
|
+
# To set this field, a user needs "delete" permission of the owner,
|
2048
|
+
# otherwise 422 (Unprocessable Entity) will be returned.
|
2049
|
+
# +optional
|
2050
|
+
# Corresponds to the JSON property `blockOwnerDeletion`
|
2051
|
+
# @return [Boolean]
|
2052
|
+
attr_accessor :block_owner_deletion
|
2053
|
+
alias_method :block_owner_deletion?, :block_owner_deletion
|
2054
|
+
|
2055
|
+
# If true, this reference points to the managing controller.
|
2056
|
+
# +optional
|
2057
|
+
# Corresponds to the JSON property `controller`
|
2058
|
+
# @return [Boolean]
|
2059
|
+
attr_accessor :controller
|
2060
|
+
alias_method :controller?, :controller
|
2061
|
+
|
2062
|
+
# Kind of the referent.
|
2063
|
+
# More info:
|
2064
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
|
2065
|
+
# Corresponds to the JSON property `kind`
|
2066
|
+
# @return [String]
|
2067
|
+
attr_accessor :kind
|
2068
|
+
|
2069
|
+
# Name of the referent.
|
2070
|
+
# More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
2071
|
+
# Corresponds to the JSON property `name`
|
2072
|
+
# @return [String]
|
2073
|
+
attr_accessor :name
|
2074
|
+
|
2075
|
+
# UID of the referent.
|
2076
|
+
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
2077
|
+
# Corresponds to the JSON property `uid`
|
2078
|
+
# @return [String]
|
2079
|
+
attr_accessor :uid
|
2080
|
+
|
2081
|
+
def initialize(**args)
|
2082
|
+
update!(**args)
|
2083
|
+
end
|
2084
|
+
|
2085
|
+
# Update properties of this object
|
2086
|
+
def update!(**args)
|
2087
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2088
|
+
@block_owner_deletion = args[:block_owner_deletion] if args.key?(:block_owner_deletion)
|
2089
|
+
@controller = args[:controller] if args.key?(:controller)
|
2090
|
+
@kind = args[:kind] if args.key?(:kind)
|
2091
|
+
@name = args[:name] if args.key?(:name)
|
2092
|
+
@uid = args[:uid] if args.key?(:uid)
|
2093
|
+
end
|
2094
|
+
end
|
2095
|
+
|
2096
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
2097
|
+
# specify access control policies for Cloud Platform resources.
|
2098
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
2099
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
2100
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
2101
|
+
# defined by IAM.
|
2102
|
+
# **JSON Example**
|
2103
|
+
# `
|
2104
|
+
# "bindings": [
|
2105
|
+
# `
|
2106
|
+
# "role": "roles/owner",
|
2107
|
+
# "members": [
|
2108
|
+
# "user:mike@example.com",
|
2109
|
+
# "group:admins@example.com",
|
2110
|
+
# "domain:google.com",
|
2111
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
2112
|
+
# ]
|
2113
|
+
# `,
|
2114
|
+
# `
|
2115
|
+
# "role": "roles/viewer",
|
2116
|
+
# "members": ["user:sean@example.com"]
|
2117
|
+
# `
|
2118
|
+
# ]
|
2119
|
+
# `
|
2120
|
+
# **YAML Example**
|
2121
|
+
# bindings:
|
2122
|
+
# - members:
|
2123
|
+
# - user:mike@example.com
|
2124
|
+
# - group:admins@example.com
|
2125
|
+
# - domain:google.com
|
2126
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
2127
|
+
# role: roles/owner
|
2128
|
+
# - members:
|
2129
|
+
# - user:sean@example.com
|
2130
|
+
# role: roles/viewer
|
2131
|
+
# For a description of IAM and its features, see the
|
2132
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
2133
|
+
class Policy
|
2134
|
+
include Google::Apis::Core::Hashable
|
2135
|
+
|
2136
|
+
# Specifies cloud audit logging configuration for this policy.
|
2137
|
+
# Corresponds to the JSON property `auditConfigs`
|
2138
|
+
# @return [Array<Google::Apis::RunV1alpha1::AuditConfig>]
|
2139
|
+
attr_accessor :audit_configs
|
2140
|
+
|
2141
|
+
# Associates a list of `members` to a `role`.
|
2142
|
+
# `bindings` with no members will result in an error.
|
2143
|
+
# Corresponds to the JSON property `bindings`
|
2144
|
+
# @return [Array<Google::Apis::RunV1alpha1::Binding>]
|
2145
|
+
attr_accessor :bindings
|
2146
|
+
|
2147
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
2148
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
2149
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
2150
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
2151
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
2152
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
2153
|
+
# ensure that their change will be applied to the same version of the policy.
|
2154
|
+
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
2155
|
+
# policy is overwritten blindly.
|
2156
|
+
# Corresponds to the JSON property `etag`
|
2157
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2158
|
+
# @return [String]
|
2159
|
+
attr_accessor :etag
|
2160
|
+
|
2161
|
+
# Deprecated.
|
2162
|
+
# Corresponds to the JSON property `version`
|
2163
|
+
# @return [Fixnum]
|
2164
|
+
attr_accessor :version
|
2165
|
+
|
2166
|
+
def initialize(**args)
|
2167
|
+
update!(**args)
|
2168
|
+
end
|
2169
|
+
|
2170
|
+
# Update properties of this object
|
2171
|
+
def update!(**args)
|
2172
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
2173
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
2174
|
+
@etag = args[:etag] if args.key?(:etag)
|
2175
|
+
@version = args[:version] if args.key?(:version)
|
2176
|
+
end
|
2177
|
+
end
|
2178
|
+
|
2179
|
+
# Probe describes a health check to be performed against a container to
|
2180
|
+
# determine whether it is alive or ready to receive traffic.
|
2181
|
+
class Probe
|
2182
|
+
include Google::Apis::Core::Hashable
|
2183
|
+
|
2184
|
+
# Minimum consecutive failures for the probe to be considered failed after
|
2185
|
+
# having succeeded. Defaults to 3. Minimum value is 1. +optional
|
2186
|
+
# Corresponds to the JSON property `failureThreshold`
|
2187
|
+
# @return [Fixnum]
|
2188
|
+
attr_accessor :failure_threshold
|
2189
|
+
|
2190
|
+
# Handler defines a specific action that should be taken
|
2191
|
+
# Corresponds to the JSON property `handler`
|
2192
|
+
# @return [Google::Apis::RunV1alpha1::Handler]
|
2193
|
+
attr_accessor :handler
|
2194
|
+
|
2195
|
+
# Number of seconds after the container has started before liveness probes
|
2196
|
+
# are initiated. More info:
|
2197
|
+
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
|
2198
|
+
# probes
|
2199
|
+
# +optional
|
2200
|
+
# Corresponds to the JSON property `initialDelaySeconds`
|
2201
|
+
# @return [Fixnum]
|
2202
|
+
attr_accessor :initial_delay_seconds
|
2203
|
+
|
2204
|
+
# How often (in seconds) to perform the probe.
|
2205
|
+
# Default to 10 seconds. Minimum value is 1.
|
2206
|
+
# +optional
|
2207
|
+
# Corresponds to the JSON property `periodSeconds`
|
2208
|
+
# @return [Fixnum]
|
2209
|
+
attr_accessor :period_seconds
|
2210
|
+
|
2211
|
+
# Minimum consecutive successes for the probe to be considered successful
|
2212
|
+
# after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
|
2213
|
+
# is 1. +optional
|
2214
|
+
# Corresponds to the JSON property `successThreshold`
|
2215
|
+
# @return [Fixnum]
|
2216
|
+
attr_accessor :success_threshold
|
2217
|
+
|
2218
|
+
# Number of seconds after which the probe times out.
|
2219
|
+
# Defaults to 1 second. Minimum value is 1.
|
2220
|
+
# More info:
|
2221
|
+
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
|
2222
|
+
# probes
|
2223
|
+
# +optional
|
2224
|
+
# Corresponds to the JSON property `timeoutSeconds`
|
2225
|
+
# @return [Fixnum]
|
2226
|
+
attr_accessor :timeout_seconds
|
2227
|
+
|
2228
|
+
def initialize(**args)
|
2229
|
+
update!(**args)
|
2230
|
+
end
|
2231
|
+
|
2232
|
+
# Update properties of this object
|
2233
|
+
def update!(**args)
|
2234
|
+
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
2235
|
+
@handler = args[:handler] if args.key?(:handler)
|
2236
|
+
@initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
|
2237
|
+
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
2238
|
+
@success_threshold = args[:success_threshold] if args.key?(:success_threshold)
|
2239
|
+
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
2240
|
+
end
|
2241
|
+
end
|
2242
|
+
|
2243
|
+
# The view model of a single quantity, e.g. "800 MiB". Corresponds to
|
2244
|
+
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/
|
2245
|
+
# apimachinery/pkg/api/resource/generated.proto
|
2246
|
+
class Quantity
|
2247
|
+
include Google::Apis::Core::Hashable
|
2248
|
+
|
2249
|
+
# Stringified version of the quantity, e.g., "800 MiB".
|
2250
|
+
# Corresponds to the JSON property `string`
|
2251
|
+
# @return [String]
|
2252
|
+
attr_accessor :string
|
2253
|
+
|
2254
|
+
def initialize(**args)
|
2255
|
+
update!(**args)
|
2256
|
+
end
|
2257
|
+
|
2258
|
+
# Update properties of this object
|
2259
|
+
def update!(**args)
|
2260
|
+
@string = args[:string] if args.key?(:string)
|
2261
|
+
end
|
2262
|
+
end
|
2263
|
+
|
2264
|
+
# A DNS resource record.
|
2265
|
+
class ResourceRecord
|
2266
|
+
include Google::Apis::Core::Hashable
|
2267
|
+
|
2268
|
+
# Relative name of the object affected by this record. Only applicable for
|
2269
|
+
# `CNAME` records. Example: 'www'.
|
2270
|
+
# Corresponds to the JSON property `name`
|
2271
|
+
# @return [String]
|
2272
|
+
attr_accessor :name
|
2273
|
+
|
2274
|
+
# Data for this record. Values vary by record type, as defined in RFC 1035
|
2275
|
+
# (section 5) and RFC 1034 (section 3.6.1).
|
2276
|
+
# Corresponds to the JSON property `rrdata`
|
2277
|
+
# @return [String]
|
2278
|
+
attr_accessor :rrdata
|
2279
|
+
|
2280
|
+
# Resource record type. Example: `AAAA`.
|
2281
|
+
# Corresponds to the JSON property `type`
|
2282
|
+
# @return [String]
|
2283
|
+
attr_accessor :type
|
2284
|
+
|
2285
|
+
def initialize(**args)
|
2286
|
+
update!(**args)
|
2287
|
+
end
|
2288
|
+
|
2289
|
+
# Update properties of this object
|
2290
|
+
def update!(**args)
|
2291
|
+
@name = args[:name] if args.key?(:name)
|
2292
|
+
@rrdata = args[:rrdata] if args.key?(:rrdata)
|
2293
|
+
@type = args[:type] if args.key?(:type)
|
2294
|
+
end
|
2295
|
+
end
|
2296
|
+
|
2297
|
+
# ResourceRequirements describes the compute resource requirements.
|
2298
|
+
class ResourceRequirements
|
2299
|
+
include Google::Apis::Core::Hashable
|
2300
|
+
|
2301
|
+
# Limits describes the maximum amount of compute resources allowed.
|
2302
|
+
# The values of the map is string form of the 'quantity' k8s type:
|
2303
|
+
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/
|
2304
|
+
# apimachinery/pkg/api/resource/quantity.go
|
2305
|
+
# Corresponds to the JSON property `limits`
|
2306
|
+
# @return [Hash<String,String>]
|
2307
|
+
attr_accessor :limits
|
2308
|
+
|
2309
|
+
# Limits describes the maximum amount of compute resources allowed.
|
2310
|
+
# This is a temporary field created to migrate away from the
|
2311
|
+
# map<string, Quantity> limits field. This is done to become compliant
|
2312
|
+
# with k8s style API.
|
2313
|
+
# This field is deprecated in favor of limits field.
|
2314
|
+
# Corresponds to the JSON property `limitsInMap`
|
2315
|
+
# @return [Hash<String,Google::Apis::RunV1alpha1::Quantity>]
|
2316
|
+
attr_accessor :limits_in_map
|
2317
|
+
|
2318
|
+
# Requests describes the minimum amount of compute resources required.
|
2319
|
+
# If Requests is omitted for a container, it defaults to Limits if that is
|
2320
|
+
# explicitly specified, otherwise to an implementation-defined value.
|
2321
|
+
# The values of the map is string form of the 'quantity' k8s type:
|
2322
|
+
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/
|
2323
|
+
# apimachinery/pkg/api/resource/quantity.go
|
2324
|
+
# Corresponds to the JSON property `requests`
|
2325
|
+
# @return [Hash<String,String>]
|
2326
|
+
attr_accessor :requests
|
2327
|
+
|
2328
|
+
# Requests describes the minimum amount of compute resources required.
|
2329
|
+
# If Requests is omitted for a container, it defaults to Limits if that is
|
2330
|
+
# explicitly specified, otherwise to an implementation-defined value.
|
2331
|
+
# This is a temporary field created to migrate away from the
|
2332
|
+
# map<string, Quantity> requests field. This is done to become compliant
|
2333
|
+
# with k8s style API.
|
2334
|
+
# This field is deprecated in favor of requests field.
|
2335
|
+
# Corresponds to the JSON property `requestsInMap`
|
2336
|
+
# @return [Hash<String,Google::Apis::RunV1alpha1::Quantity>]
|
2337
|
+
attr_accessor :requests_in_map
|
2338
|
+
|
2339
|
+
def initialize(**args)
|
2340
|
+
update!(**args)
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
# Update properties of this object
|
2344
|
+
def update!(**args)
|
2345
|
+
@limits = args[:limits] if args.key?(:limits)
|
2346
|
+
@limits_in_map = args[:limits_in_map] if args.key?(:limits_in_map)
|
2347
|
+
@requests = args[:requests] if args.key?(:requests)
|
2348
|
+
@requests_in_map = args[:requests_in_map] if args.key?(:requests_in_map)
|
2349
|
+
end
|
2350
|
+
end
|
2351
|
+
|
2352
|
+
# Revision is an immutable snapshot of code and configuration. A revision
|
2353
|
+
# references a container image. Revisions are created by updates to a
|
2354
|
+
# Configuration.
|
2355
|
+
# Cloud Run does not currently support referencing a build that is responsible
|
2356
|
+
# for materializing the container image from source.
|
2357
|
+
# See also:
|
2358
|
+
# https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision
|
2359
|
+
class Revision
|
2360
|
+
include Google::Apis::Core::Hashable
|
2361
|
+
|
2362
|
+
# The API version for this call such as "v1alpha1".
|
2363
|
+
# Corresponds to the JSON property `apiVersion`
|
2364
|
+
# @return [String]
|
2365
|
+
attr_accessor :api_version
|
2366
|
+
|
2367
|
+
# The kind of this resource, in this case "Revision".
|
2368
|
+
# Corresponds to the JSON property `kind`
|
2369
|
+
# @return [String]
|
2370
|
+
attr_accessor :kind
|
2371
|
+
|
2372
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
2373
|
+
# all objects users must create.
|
2374
|
+
# Corresponds to the JSON property `metadata`
|
2375
|
+
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
|
2376
|
+
attr_accessor :metadata
|
2377
|
+
|
2378
|
+
# RevisionSpec holds the desired state of the Revision (from the client).
|
2379
|
+
# Corresponds to the JSON property `spec`
|
2380
|
+
# @return [Google::Apis::RunV1alpha1::RevisionSpec]
|
2381
|
+
attr_accessor :spec
|
2382
|
+
|
2383
|
+
# RevisionStatus communicates the observed state of the Revision (from the
|
2384
|
+
# controller).
|
2385
|
+
# Corresponds to the JSON property `status`
|
2386
|
+
# @return [Google::Apis::RunV1alpha1::RevisionStatus]
|
2387
|
+
attr_accessor :status
|
2388
|
+
|
2389
|
+
def initialize(**args)
|
2390
|
+
update!(**args)
|
2391
|
+
end
|
2392
|
+
|
2393
|
+
# Update properties of this object
|
2394
|
+
def update!(**args)
|
2395
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2396
|
+
@kind = args[:kind] if args.key?(:kind)
|
2397
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2398
|
+
@spec = args[:spec] if args.key?(:spec)
|
2399
|
+
@status = args[:status] if args.key?(:status)
|
2400
|
+
end
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
# RevisionCondition defines a readiness condition for a Revision.
|
2404
|
+
class RevisionCondition
|
2405
|
+
include Google::Apis::Core::Hashable
|
2406
|
+
|
2407
|
+
# Last time the condition transitioned from one status to another.
|
2408
|
+
# +optional
|
2409
|
+
# Corresponds to the JSON property `lastTransitionTime`
|
2410
|
+
# @return [String]
|
2411
|
+
attr_accessor :last_transition_time
|
2412
|
+
|
2413
|
+
# Human readable message indicating details about the current status.
|
2414
|
+
# +optional
|
2415
|
+
# Corresponds to the JSON property `message`
|
2416
|
+
# @return [String]
|
2417
|
+
attr_accessor :message
|
2418
|
+
|
2419
|
+
# One-word CamelCase reason for the condition's last transition.
|
2420
|
+
# +optional
|
2421
|
+
# Corresponds to the JSON property `reason`
|
2422
|
+
# @return [String]
|
2423
|
+
attr_accessor :reason
|
2424
|
+
|
2425
|
+
# Status of the condition, one of True, False, Unknown.
|
2426
|
+
# Corresponds to the JSON property `status`
|
2427
|
+
# @return [String]
|
2428
|
+
attr_accessor :status
|
2429
|
+
|
2430
|
+
# RevisionConditionType is used to communicate the status of the
|
2431
|
+
# reconciliation process. See also:
|
2432
|
+
# https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
|
2433
|
+
# conditions-and-reporting
|
2434
|
+
# Types include:
|
2435
|
+
# * "Ready": True when the Revision is ready.
|
2436
|
+
# * "ResourcesAvailable": True when underlying resources have been
|
2437
|
+
# provisioned.
|
2438
|
+
# * "ContainerHealthy": True when the Revision readiness check completes.
|
2439
|
+
# * "Active": True when the Revision may receive traffic.
|
2440
|
+
# Corresponds to the JSON property `type`
|
2441
|
+
# @return [String]
|
2442
|
+
attr_accessor :type
|
2443
|
+
|
2444
|
+
def initialize(**args)
|
2445
|
+
update!(**args)
|
2446
|
+
end
|
2447
|
+
|
2448
|
+
# Update properties of this object
|
2449
|
+
def update!(**args)
|
2450
|
+
@last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
|
2451
|
+
@message = args[:message] if args.key?(:message)
|
2452
|
+
@reason = args[:reason] if args.key?(:reason)
|
2453
|
+
@status = args[:status] if args.key?(:status)
|
2454
|
+
@type = args[:type] if args.key?(:type)
|
2455
|
+
end
|
2456
|
+
end
|
2457
|
+
|
2458
|
+
# RevisionSpec holds the desired state of the Revision (from the client).
|
2459
|
+
class RevisionSpec
|
2460
|
+
include Google::Apis::Core::Hashable
|
2461
|
+
|
2462
|
+
# ConcurrencyModel specifies the desired concurrency model
|
2463
|
+
# (Single or Multi) for the Revision. Defaults to Multi.
|
2464
|
+
# Deprecated in favor of ContainerConcurrency.
|
2465
|
+
# +optional
|
2466
|
+
# Corresponds to the JSON property `concurrencyModel`
|
2467
|
+
# @return [String]
|
2468
|
+
attr_accessor :concurrency_model
|
2469
|
+
|
2470
|
+
# A single application container.
|
2471
|
+
# This specifies both the container to run, the command to run in the container
|
2472
|
+
# and the arguments to supply to it.
|
2473
|
+
# Note that additional arguments may be supplied by the system to the container
|
2474
|
+
# at runtime.
|
2475
|
+
# Corresponds to the JSON property `container`
|
2476
|
+
# @return [Google::Apis::RunV1alpha1::Container]
|
2477
|
+
attr_accessor :container
|
2478
|
+
|
2479
|
+
# ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
|
2480
|
+
# requests per container of the Revision. Values are:
|
2481
|
+
# - `0` thread-safe, the system should manage the max concurrency. This is
|
2482
|
+
# the default value.
|
2483
|
+
# - `1` not-thread-safe. Single concurrency
|
2484
|
+
# - `2-N` thread-safe, max concurrency of N
|
2485
|
+
# Corresponds to the JSON property `containerConcurrency`
|
2486
|
+
# @return [Fixnum]
|
2487
|
+
attr_accessor :container_concurrency
|
2488
|
+
|
2489
|
+
# Containers holds the single container that defines the unit of execution
|
2490
|
+
# for this Revision. In the context of a Revision, we disallow a number of
|
2491
|
+
# fields on this Container, including: name and lifecycle.
|
2492
|
+
# Corresponds to the JSON property `containers`
|
2493
|
+
# @return [Array<Google::Apis::RunV1alpha1::Container>]
|
2494
|
+
attr_accessor :containers
|
2495
|
+
|
2496
|
+
# Deprecated and not currently populated by Cloud Run. See
|
2497
|
+
# metadata.generation instead, which is the sequence number containing the
|
2498
|
+
# latest generation of the desired state.
|
2499
|
+
# Read-only.
|
2500
|
+
# Corresponds to the JSON property `generation`
|
2501
|
+
# @return [Fixnum]
|
2502
|
+
attr_accessor :generation
|
2503
|
+
|
2504
|
+
# Not currently used by Cloud Run.
|
2505
|
+
# Corresponds to the JSON property `serviceAccountName`
|
2506
|
+
# @return [String]
|
2507
|
+
attr_accessor :service_account_name
|
2508
|
+
|
2509
|
+
# ServingState holds a value describing the state the resources
|
2510
|
+
# are in for this Revision.
|
2511
|
+
# Users must not specify this when creating a revision. It is expected
|
2512
|
+
# that the system will manipulate this based on routability and load.
|
2513
|
+
# Populated by the system.
|
2514
|
+
# Read-only.
|
2515
|
+
# Corresponds to the JSON property `servingState`
|
2516
|
+
# @return [String]
|
2517
|
+
attr_accessor :serving_state
|
2518
|
+
|
2519
|
+
# TimeoutSeconds holds the max duration the instance is allowed for
|
2520
|
+
# responding to a request.
|
2521
|
+
# Not currently used by Cloud Run.
|
2522
|
+
# Corresponds to the JSON property `timeoutSeconds`
|
2523
|
+
# @return [Fixnum]
|
2524
|
+
attr_accessor :timeout_seconds
|
2525
|
+
|
2526
|
+
def initialize(**args)
|
2527
|
+
update!(**args)
|
2528
|
+
end
|
2529
|
+
|
2530
|
+
# Update properties of this object
|
2531
|
+
def update!(**args)
|
2532
|
+
@concurrency_model = args[:concurrency_model] if args.key?(:concurrency_model)
|
2533
|
+
@container = args[:container] if args.key?(:container)
|
2534
|
+
@container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
|
2535
|
+
@containers = args[:containers] if args.key?(:containers)
|
2536
|
+
@generation = args[:generation] if args.key?(:generation)
|
2537
|
+
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
2538
|
+
@serving_state = args[:serving_state] if args.key?(:serving_state)
|
2539
|
+
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
2540
|
+
end
|
2541
|
+
end
|
2542
|
+
|
2543
|
+
# RevisionStatus communicates the observed state of the Revision (from the
|
2544
|
+
# controller).
|
2545
|
+
class RevisionStatus
|
2546
|
+
include Google::Apis::Core::Hashable
|
2547
|
+
|
2548
|
+
# Conditions communicates information about ongoing/complete
|
2549
|
+
# reconciliation processes that bring the "spec" inline with the observed
|
2550
|
+
# state of the world.
|
2551
|
+
# As a Revision is being prepared, it will incrementally
|
2552
|
+
# update conditions "ResourcesAvailable", "ContainerHealthy", and "Active",
|
2553
|
+
# which contribute to the overall "Ready" condition.
|
2554
|
+
# Corresponds to the JSON property `conditions`
|
2555
|
+
# @return [Array<Google::Apis::RunV1alpha1::RevisionCondition>]
|
2556
|
+
attr_accessor :conditions
|
2557
|
+
|
2558
|
+
# ImageDigest holds the resolved digest for the image specified
|
2559
|
+
# within .Spec.Container.Image. The digest is resolved during the creation
|
2560
|
+
# of Revision. This field holds the digest value regardless of whether
|
2561
|
+
# a tag or digest was originally specified in the Container object.
|
2562
|
+
# Corresponds to the JSON property `imageDigest`
|
2563
|
+
# @return [String]
|
2564
|
+
attr_accessor :image_digest
|
2565
|
+
|
2566
|
+
# Specifies the generated logging url for this particular revision
|
2567
|
+
# based on the revision url template specified in the controller's config.
|
2568
|
+
# +optional
|
2569
|
+
# Corresponds to the JSON property `logUrl`
|
2570
|
+
# @return [String]
|
2571
|
+
attr_accessor :log_url
|
2572
|
+
|
2573
|
+
# ObservedGeneration is the 'Generation' of the Revision that
|
2574
|
+
# was last processed by the controller.
|
2575
|
+
# Clients polling for completed reconciliation should poll until
|
2576
|
+
# observedGeneration = metadata.generation, and the Ready condition's status
|
2577
|
+
# is True or False.
|
2578
|
+
# Corresponds to the JSON property `observedGeneration`
|
2579
|
+
# @return [Fixnum]
|
2580
|
+
attr_accessor :observed_generation
|
2581
|
+
|
2582
|
+
# Not currently used by Cloud Run.
|
2583
|
+
# Corresponds to the JSON property `serviceName`
|
2584
|
+
# @return [String]
|
2585
|
+
attr_accessor :service_name
|
2586
|
+
|
2587
|
+
def initialize(**args)
|
2588
|
+
update!(**args)
|
2589
|
+
end
|
2590
|
+
|
2591
|
+
# Update properties of this object
|
2592
|
+
def update!(**args)
|
2593
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
2594
|
+
@image_digest = args[:image_digest] if args.key?(:image_digest)
|
2595
|
+
@log_url = args[:log_url] if args.key?(:log_url)
|
2596
|
+
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
2597
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
2598
|
+
end
|
2599
|
+
end
|
2600
|
+
|
2601
|
+
# RevisionTemplateSpec describes the data a revision should have when created
|
2602
|
+
# from a template. Based on:
|
2603
|
+
# https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
|
2604
|
+
class RevisionTemplate
|
2605
|
+
include Google::Apis::Core::Hashable
|
2606
|
+
|
2607
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
2608
|
+
# all objects users must create.
|
2609
|
+
# Corresponds to the JSON property `metadata`
|
2610
|
+
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
|
2611
|
+
attr_accessor :metadata
|
2612
|
+
|
2613
|
+
# RevisionSpec holds the desired state of the Revision (from the client).
|
2614
|
+
# Corresponds to the JSON property `spec`
|
2615
|
+
# @return [Google::Apis::RunV1alpha1::RevisionSpec]
|
2616
|
+
attr_accessor :spec
|
2617
|
+
|
2618
|
+
def initialize(**args)
|
2619
|
+
update!(**args)
|
2620
|
+
end
|
2621
|
+
|
2622
|
+
# Update properties of this object
|
2623
|
+
def update!(**args)
|
2624
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2625
|
+
@spec = args[:spec] if args.key?(:spec)
|
2626
|
+
end
|
2627
|
+
end
|
2628
|
+
|
2629
|
+
# Route is responsible for configuring ingress over a collection of Revisions.
|
2630
|
+
# Some of the Revisions a Route distributes traffic over may be specified by
|
2631
|
+
# referencing the Configuration responsible for creating them; in these cases
|
2632
|
+
# the Route is additionally responsible for monitoring the Configuration for
|
2633
|
+
# "latest ready" revision changes, and smoothly rolling out latest revisions.
|
2634
|
+
# See also:
|
2635
|
+
# https://github.com/knative/serving/blob/master/docs/spec/overview.md#route
|
2636
|
+
# Cloud Run currently supports referencing a single Configuration to
|
2637
|
+
# automatically deploy the "latest ready" Revision from that Configuration.
|
2638
|
+
class Route
|
2639
|
+
include Google::Apis::Core::Hashable
|
2640
|
+
|
2641
|
+
# The API version for this call such as "v1alpha1".
|
2642
|
+
# Corresponds to the JSON property `apiVersion`
|
2643
|
+
# @return [String]
|
2644
|
+
attr_accessor :api_version
|
2645
|
+
|
2646
|
+
# The kind of this resource, in this case always "Route".
|
2647
|
+
# Corresponds to the JSON property `kind`
|
2648
|
+
# @return [String]
|
2649
|
+
attr_accessor :kind
|
2650
|
+
|
2651
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
2652
|
+
# all objects users must create.
|
2653
|
+
# Corresponds to the JSON property `metadata`
|
2654
|
+
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
|
2655
|
+
attr_accessor :metadata
|
2656
|
+
|
2657
|
+
# RouteSpec holds the desired state of the Route (from the client).
|
2658
|
+
# Corresponds to the JSON property `spec`
|
2659
|
+
# @return [Google::Apis::RunV1alpha1::RouteSpec]
|
2660
|
+
attr_accessor :spec
|
2661
|
+
|
2662
|
+
# RouteStatus communicates the observed state of the Route (from the
|
2663
|
+
# controller).
|
2664
|
+
# Corresponds to the JSON property `status`
|
2665
|
+
# @return [Google::Apis::RunV1alpha1::RouteStatus]
|
2666
|
+
attr_accessor :status
|
2667
|
+
|
2668
|
+
def initialize(**args)
|
2669
|
+
update!(**args)
|
2670
|
+
end
|
2671
|
+
|
2672
|
+
# Update properties of this object
|
2673
|
+
def update!(**args)
|
2674
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2675
|
+
@kind = args[:kind] if args.key?(:kind)
|
2676
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2677
|
+
@spec = args[:spec] if args.key?(:spec)
|
2678
|
+
@status = args[:status] if args.key?(:status)
|
2679
|
+
end
|
2680
|
+
end
|
2681
|
+
|
2682
|
+
# RouteCondition defines a readiness condition for a Route.
|
2683
|
+
class RouteCondition
|
2684
|
+
include Google::Apis::Core::Hashable
|
2685
|
+
|
2686
|
+
# Last time the condition transitioned from one status to another.
|
2687
|
+
# +optional
|
2688
|
+
# Corresponds to the JSON property `lastTransitionTime`
|
2689
|
+
# @return [String]
|
2690
|
+
attr_accessor :last_transition_time
|
2691
|
+
|
2692
|
+
# Human-readable message indicating details about last transition.
|
2693
|
+
# +optional
|
2694
|
+
# Corresponds to the JSON property `message`
|
2695
|
+
# @return [String]
|
2696
|
+
attr_accessor :message
|
2697
|
+
|
2698
|
+
# One-word CamelCase reason for the condition's last transition.
|
2699
|
+
# +optional
|
2700
|
+
# Corresponds to the JSON property `reason`
|
2701
|
+
# @return [String]
|
2702
|
+
attr_accessor :reason
|
2703
|
+
|
2704
|
+
# Status of the condition, one of "True", "False", "Unknown".
|
2705
|
+
# Corresponds to the JSON property `status`
|
2706
|
+
# @return [String]
|
2707
|
+
attr_accessor :status
|
2708
|
+
|
2709
|
+
# RouteConditionType is used to communicate the status of the reconciliation
|
2710
|
+
# process. See also:
|
2711
|
+
# https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
|
2712
|
+
# conditions-and-reporting
|
2713
|
+
# Types include: "Ready".
|
2714
|
+
# Corresponds to the JSON property `type`
|
2715
|
+
# @return [String]
|
2716
|
+
attr_accessor :type
|
2717
|
+
|
2718
|
+
def initialize(**args)
|
2719
|
+
update!(**args)
|
2720
|
+
end
|
2721
|
+
|
2722
|
+
# Update properties of this object
|
2723
|
+
def update!(**args)
|
2724
|
+
@last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
|
2725
|
+
@message = args[:message] if args.key?(:message)
|
2726
|
+
@reason = args[:reason] if args.key?(:reason)
|
2727
|
+
@status = args[:status] if args.key?(:status)
|
2728
|
+
@type = args[:type] if args.key?(:type)
|
2729
|
+
end
|
2730
|
+
end
|
2731
|
+
|
2732
|
+
# RouteSpec holds the desired state of the Route (from the client).
|
2733
|
+
class RouteSpec
|
2734
|
+
include Google::Apis::Core::Hashable
|
2735
|
+
|
2736
|
+
# Deprecated and not currently populated by Cloud Run. See
|
2737
|
+
# metadata.generation instead, which is the sequence number containing the
|
2738
|
+
# latest generation of the desired state.
|
2739
|
+
# Read-only.
|
2740
|
+
# Corresponds to the JSON property `generation`
|
2741
|
+
# @return [Fixnum]
|
2742
|
+
attr_accessor :generation
|
2743
|
+
|
2744
|
+
# Traffic specifies how to distribute traffic over a collection of Knative
|
2745
|
+
# Revisions and Configurations.
|
2746
|
+
# Cloud Run currently supports a single configurationName.
|
2747
|
+
# Corresponds to the JSON property `traffic`
|
2748
|
+
# @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
|
2749
|
+
attr_accessor :traffic
|
2750
|
+
|
2751
|
+
def initialize(**args)
|
2752
|
+
update!(**args)
|
2753
|
+
end
|
2754
|
+
|
2755
|
+
# Update properties of this object
|
2756
|
+
def update!(**args)
|
2757
|
+
@generation = args[:generation] if args.key?(:generation)
|
2758
|
+
@traffic = args[:traffic] if args.key?(:traffic)
|
2759
|
+
end
|
2760
|
+
end
|
2761
|
+
|
2762
|
+
# RouteStatus communicates the observed state of the Route (from the
|
2763
|
+
# controller).
|
2764
|
+
class RouteStatus
|
2765
|
+
include Google::Apis::Core::Hashable
|
2766
|
+
|
2767
|
+
# Information for connecting over HTTP(s).
|
2768
|
+
# Corresponds to the JSON property `address`
|
2769
|
+
# @return [Google::Apis::RunV1alpha1::Addressable]
|
2770
|
+
attr_accessor :address
|
2771
|
+
|
2772
|
+
# Conditions communicates information about ongoing/complete
|
2773
|
+
# reconciliation processes that bring the "spec" inline with the observed
|
2774
|
+
# state of the world.
|
2775
|
+
# Corresponds to the JSON property `conditions`
|
2776
|
+
# @return [Array<Google::Apis::RunV1alpha1::RouteCondition>]
|
2777
|
+
attr_accessor :conditions
|
2778
|
+
|
2779
|
+
# Domain holds the top-level domain that will distribute traffic over the
|
2780
|
+
# provided targets. It generally has the form
|
2781
|
+
# https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
|
2782
|
+
# Corresponds to the JSON property `domain`
|
2783
|
+
# @return [String]
|
2784
|
+
attr_accessor :domain
|
2785
|
+
|
2786
|
+
# For Cloud Run, identifical to domain.
|
2787
|
+
# Corresponds to the JSON property `domainInternal`
|
2788
|
+
# @return [String]
|
2789
|
+
attr_accessor :domain_internal
|
2790
|
+
|
2791
|
+
# ObservedGeneration is the 'Generation' of the Route that
|
2792
|
+
# was last processed by the controller.
|
2793
|
+
# Clients polling for completed reconciliation should poll until
|
2794
|
+
# observedGeneration = metadata.generation and the Ready condition's status
|
2795
|
+
# is True or False.
|
2796
|
+
# Note that providing a trafficTarget that only has a configurationName will
|
2797
|
+
# result in a Route that does not increment either its metadata.generation or
|
2798
|
+
# its observedGeneration, as new "latest ready" revisions from the
|
2799
|
+
# Configuration are processed without an update to the Route's spec.
|
2800
|
+
# Corresponds to the JSON property `observedGeneration`
|
2801
|
+
# @return [Fixnum]
|
2802
|
+
attr_accessor :observed_generation
|
2803
|
+
|
2804
|
+
# Traffic holds the configured traffic distribution.
|
2805
|
+
# These entries will always contain RevisionName references.
|
2806
|
+
# When ConfigurationName appears in the spec, this will hold the
|
2807
|
+
# LatestReadyRevisionName that we last observed.
|
2808
|
+
# Corresponds to the JSON property `traffic`
|
2809
|
+
# @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
|
2810
|
+
attr_accessor :traffic
|
2811
|
+
|
2812
|
+
def initialize(**args)
|
2813
|
+
update!(**args)
|
2814
|
+
end
|
2815
|
+
|
2816
|
+
# Update properties of this object
|
2817
|
+
def update!(**args)
|
2818
|
+
@address = args[:address] if args.key?(:address)
|
2819
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
2820
|
+
@domain = args[:domain] if args.key?(:domain)
|
2821
|
+
@domain_internal = args[:domain_internal] if args.key?(:domain_internal)
|
2822
|
+
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
2823
|
+
@traffic = args[:traffic] if args.key?(:traffic)
|
2824
|
+
end
|
2825
|
+
end
|
2826
|
+
|
2827
|
+
# SELinuxOptions are the labels to be applied to the container
|
2828
|
+
class SeLinuxOptions
|
2829
|
+
include Google::Apis::Core::Hashable
|
2830
|
+
|
2831
|
+
# Level is SELinux level label that applies to the container.
|
2832
|
+
# +optional
|
2833
|
+
# Corresponds to the JSON property `level`
|
2834
|
+
# @return [String]
|
2835
|
+
attr_accessor :level
|
2836
|
+
|
2837
|
+
# Role is a SELinux role label that applies to the container.
|
2838
|
+
# +optional
|
2839
|
+
# Corresponds to the JSON property `role`
|
2840
|
+
# @return [String]
|
2841
|
+
attr_accessor :role
|
2842
|
+
|
2843
|
+
# Type is a SELinux type label that applies to the container.
|
2844
|
+
# +optional
|
2845
|
+
# Corresponds to the JSON property `type`
|
2846
|
+
# @return [String]
|
2847
|
+
attr_accessor :type
|
2848
|
+
|
2849
|
+
# User is a SELinux user label that applies to the container.
|
2850
|
+
# +optional
|
2851
|
+
# Corresponds to the JSON property `user`
|
2852
|
+
# @return [String]
|
2853
|
+
attr_accessor :user
|
2854
|
+
|
2855
|
+
def initialize(**args)
|
2856
|
+
update!(**args)
|
2857
|
+
end
|
2858
|
+
|
2859
|
+
# Update properties of this object
|
2860
|
+
def update!(**args)
|
2861
|
+
@level = args[:level] if args.key?(:level)
|
2862
|
+
@role = args[:role] if args.key?(:role)
|
2863
|
+
@type = args[:type] if args.key?(:type)
|
2864
|
+
@user = args[:user] if args.key?(:user)
|
2865
|
+
end
|
2866
|
+
end
|
2867
|
+
|
2868
|
+
# SecretEnvSource selects a Secret to populate the environment
|
2869
|
+
# variables with.
|
2870
|
+
# The contents of the target Secret's Data field will represent the
|
2871
|
+
# key-value pairs as environment variables.
|
2872
|
+
class SecretEnvSource
|
2873
|
+
include Google::Apis::Core::Hashable
|
2874
|
+
|
2875
|
+
# LocalObjectReference contains enough information to let you locate the
|
2876
|
+
# referenced object inside the same namespace.
|
2877
|
+
# Corresponds to the JSON property `localObjectReference`
|
2878
|
+
# @return [Google::Apis::RunV1alpha1::LocalObjectReference]
|
2879
|
+
attr_accessor :local_object_reference
|
2880
|
+
|
2881
|
+
# Specify whether the Secret must be defined
|
2882
|
+
# +optional
|
2883
|
+
# Corresponds to the JSON property `optional`
|
2884
|
+
# @return [Boolean]
|
2885
|
+
attr_accessor :optional
|
2886
|
+
alias_method :optional?, :optional
|
2887
|
+
|
2888
|
+
def initialize(**args)
|
2889
|
+
update!(**args)
|
2890
|
+
end
|
2891
|
+
|
2892
|
+
# Update properties of this object
|
2893
|
+
def update!(**args)
|
2894
|
+
@local_object_reference = args[:local_object_reference] if args.key?(:local_object_reference)
|
2895
|
+
@optional = args[:optional] if args.key?(:optional)
|
2896
|
+
end
|
2897
|
+
end
|
2898
|
+
|
2899
|
+
# SecurityContext holds security configuration that will be applied to a
|
2900
|
+
# container. Some fields are present in both SecurityContext and
|
2901
|
+
# PodSecurityContext. When both are set, the values in SecurityContext take
|
2902
|
+
# precedence.
|
2903
|
+
class SecurityContext
|
2904
|
+
include Google::Apis::Core::Hashable
|
2905
|
+
|
2906
|
+
# AllowPrivilegeEscalation controls whether a process can gain more
|
2907
|
+
# privileges than its parent process. This bool directly controls if
|
2908
|
+
# the no_new_privs flag will be set on the container process.
|
2909
|
+
# AllowPrivilegeEscalation is true always when the container is:
|
2910
|
+
# 1) run as Privileged
|
2911
|
+
# 2) has CAP_SYS_ADMIN
|
2912
|
+
# +optional
|
2913
|
+
# Corresponds to the JSON property `allowPrivilegeEscalation`
|
2914
|
+
# @return [Boolean]
|
2915
|
+
attr_accessor :allow_privilege_escalation
|
2916
|
+
alias_method :allow_privilege_escalation?, :allow_privilege_escalation
|
2917
|
+
|
2918
|
+
# Adds and removes POSIX capabilities from running containers.
|
2919
|
+
# Corresponds to the JSON property `capabilities`
|
2920
|
+
# @return [Google::Apis::RunV1alpha1::Capabilities]
|
2921
|
+
attr_accessor :capabilities
|
2922
|
+
|
2923
|
+
# Run container in privileged mode.
|
2924
|
+
# Processes in privileged containers are essentially equivalent to root on
|
2925
|
+
# the host. Defaults to false. +optional
|
2926
|
+
# Corresponds to the JSON property `privileged`
|
2927
|
+
# @return [Boolean]
|
2928
|
+
attr_accessor :privileged
|
2929
|
+
alias_method :privileged?, :privileged
|
2930
|
+
|
2931
|
+
# Whether this container has a read-only root filesystem.
|
2932
|
+
# Default is false.
|
2933
|
+
# +optional
|
2934
|
+
# Corresponds to the JSON property `readOnlyRootFilesystem`
|
2935
|
+
# @return [Boolean]
|
2936
|
+
attr_accessor :read_only_root_filesystem
|
2937
|
+
alias_method :read_only_root_filesystem?, :read_only_root_filesystem
|
2938
|
+
|
2939
|
+
# The GID to run the entrypoint of the container process.
|
2940
|
+
# Uses runtime default if unset.
|
2941
|
+
# May also be set in PodSecurityContext. If set in both SecurityContext and
|
2942
|
+
# PodSecurityContext, the value specified in SecurityContext takes
|
2943
|
+
# precedence. +optional
|
2944
|
+
# Corresponds to the JSON property `runAsGroup`
|
2945
|
+
# @return [Fixnum]
|
2946
|
+
attr_accessor :run_as_group
|
2947
|
+
|
2948
|
+
# Indicates that the container must run as a non-root user.
|
2949
|
+
# If true, the Kubelet will validate the image at runtime to ensure that it
|
2950
|
+
# does not run as UID 0 (root) and fail to start the container if it does.
|
2951
|
+
# If unset or false, no such validation will be performed.
|
2952
|
+
# May also be set in PodSecurityContext. If set in both SecurityContext and
|
2953
|
+
# PodSecurityContext, the value specified in SecurityContext takes
|
2954
|
+
# precedence. +optional
|
2955
|
+
# Corresponds to the JSON property `runAsNonRoot`
|
2956
|
+
# @return [Boolean]
|
2957
|
+
attr_accessor :run_as_non_root
|
2958
|
+
alias_method :run_as_non_root?, :run_as_non_root
|
2959
|
+
|
2960
|
+
# The UID to run the entrypoint of the container process.
|
2961
|
+
# Defaults to user specified in image metadata if unspecified.
|
2962
|
+
# May also be set in PodSecurityContext. If set in both SecurityContext and
|
2963
|
+
# PodSecurityContext, the value specified in SecurityContext takes
|
2964
|
+
# precedence. +optional
|
2965
|
+
# Corresponds to the JSON property `runAsUser`
|
2966
|
+
# @return [Fixnum]
|
2967
|
+
attr_accessor :run_as_user
|
2968
|
+
|
2969
|
+
# SELinuxOptions are the labels to be applied to the container
|
2970
|
+
# Corresponds to the JSON property `seLinuxOptions`
|
2971
|
+
# @return [Google::Apis::RunV1alpha1::SeLinuxOptions]
|
2972
|
+
attr_accessor :se_linux_options
|
2973
|
+
|
2974
|
+
def initialize(**args)
|
2975
|
+
update!(**args)
|
2976
|
+
end
|
2977
|
+
|
2978
|
+
# Update properties of this object
|
2979
|
+
def update!(**args)
|
2980
|
+
@allow_privilege_escalation = args[:allow_privilege_escalation] if args.key?(:allow_privilege_escalation)
|
2981
|
+
@capabilities = args[:capabilities] if args.key?(:capabilities)
|
2982
|
+
@privileged = args[:privileged] if args.key?(:privileged)
|
2983
|
+
@read_only_root_filesystem = args[:read_only_root_filesystem] if args.key?(:read_only_root_filesystem)
|
2984
|
+
@run_as_group = args[:run_as_group] if args.key?(:run_as_group)
|
2985
|
+
@run_as_non_root = args[:run_as_non_root] if args.key?(:run_as_non_root)
|
2986
|
+
@run_as_user = args[:run_as_user] if args.key?(:run_as_user)
|
2987
|
+
@se_linux_options = args[:se_linux_options] if args.key?(:se_linux_options)
|
2988
|
+
end
|
2989
|
+
end
|
2990
|
+
|
2991
|
+
# Service acts as a top-level container that manages a set of Routes and
|
2992
|
+
# Configurations which implement a network service. Service exists to provide a
|
2993
|
+
# singular abstraction which can be access controlled, reasoned about, and
|
2994
|
+
# which encapsulates software lifecycle decisions such as rollout policy and
|
2995
|
+
# team resource ownership. Service acts only as an orchestrator of the
|
2996
|
+
# underlying Routes and Configurations (much as a kubernetes Deployment
|
2997
|
+
# orchestrates ReplicaSets).
|
2998
|
+
# The Service's controller will track the statuses of its owned Configuration
|
2999
|
+
# and Route, reflecting their statuses and conditions as its own.
|
3000
|
+
# See also:
|
3001
|
+
# https://github.com/knative/serving/blob/master/docs/spec/overview.md#service
|
3002
|
+
class Service
|
3003
|
+
include Google::Apis::Core::Hashable
|
3004
|
+
|
3005
|
+
# The API version for this call such as "v1alpha1".
|
3006
|
+
# Corresponds to the JSON property `apiVersion`
|
3007
|
+
# @return [String]
|
3008
|
+
attr_accessor :api_version
|
3009
|
+
|
3010
|
+
# The kind of resource, in this case "Service".
|
3011
|
+
# Corresponds to the JSON property `kind`
|
3012
|
+
# @return [String]
|
3013
|
+
attr_accessor :kind
|
3014
|
+
|
3015
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
3016
|
+
# all objects users must create.
|
3017
|
+
# Corresponds to the JSON property `metadata`
|
3018
|
+
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
|
3019
|
+
attr_accessor :metadata
|
3020
|
+
|
3021
|
+
# ServiceSpec holds the desired state of the Route (from the client), which
|
3022
|
+
# is used to manipulate the underlying Route and Configuration(s).
|
3023
|
+
# Corresponds to the JSON property `spec`
|
3024
|
+
# @return [Google::Apis::RunV1alpha1::ServiceSpec]
|
3025
|
+
attr_accessor :spec
|
3026
|
+
|
3027
|
+
# The current state of the Service. Output only.
|
3028
|
+
# Corresponds to the JSON property `status`
|
3029
|
+
# @return [Google::Apis::RunV1alpha1::ServiceStatus]
|
3030
|
+
attr_accessor :status
|
3031
|
+
|
3032
|
+
def initialize(**args)
|
3033
|
+
update!(**args)
|
3034
|
+
end
|
3035
|
+
|
3036
|
+
# Update properties of this object
|
3037
|
+
def update!(**args)
|
3038
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
3039
|
+
@kind = args[:kind] if args.key?(:kind)
|
3040
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
3041
|
+
@spec = args[:spec] if args.key?(:spec)
|
3042
|
+
@status = args[:status] if args.key?(:status)
|
3043
|
+
end
|
3044
|
+
end
|
3045
|
+
|
3046
|
+
# ServiceCondition defines a readiness condition for a Service.
|
3047
|
+
class ServiceCondition
|
3048
|
+
include Google::Apis::Core::Hashable
|
3049
|
+
|
3050
|
+
# Last time the condition transitioned from one status to another.
|
3051
|
+
# +optional
|
3052
|
+
# Corresponds to the JSON property `lastTransitionTime`
|
3053
|
+
# @return [String]
|
3054
|
+
attr_accessor :last_transition_time
|
3055
|
+
|
3056
|
+
# Human-readable message indicating details about last transition.
|
3057
|
+
# +optional
|
3058
|
+
# Corresponds to the JSON property `message`
|
3059
|
+
# @return [String]
|
3060
|
+
attr_accessor :message
|
3061
|
+
|
3062
|
+
# One-word CamelCase reason for the condition's last transition.
|
3063
|
+
# +optional
|
3064
|
+
# Corresponds to the JSON property `reason`
|
3065
|
+
# @return [String]
|
3066
|
+
attr_accessor :reason
|
3067
|
+
|
3068
|
+
# Status of the condition, one of True, False, Unknown.
|
3069
|
+
# Corresponds to the JSON property `status`
|
3070
|
+
# @return [String]
|
3071
|
+
attr_accessor :status
|
3072
|
+
|
3073
|
+
# ServiceConditionType is used to communicate the status of the
|
3074
|
+
# reconciliation process. See also:
|
3075
|
+
# https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
|
3076
|
+
# conditions-and-reporting
|
3077
|
+
# Types include: "Ready", "ConfigurationsReady", and "RoutesReady". "Ready"
|
3078
|
+
# will be true when the underlying Route and Configuration are ready.
|
3079
|
+
# Corresponds to the JSON property `type`
|
3080
|
+
# @return [String]
|
3081
|
+
attr_accessor :type
|
3082
|
+
|
3083
|
+
def initialize(**args)
|
3084
|
+
update!(**args)
|
3085
|
+
end
|
3086
|
+
|
3087
|
+
# Update properties of this object
|
3088
|
+
def update!(**args)
|
3089
|
+
@last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
|
3090
|
+
@message = args[:message] if args.key?(:message)
|
3091
|
+
@reason = args[:reason] if args.key?(:reason)
|
3092
|
+
@status = args[:status] if args.key?(:status)
|
3093
|
+
@type = args[:type] if args.key?(:type)
|
3094
|
+
end
|
3095
|
+
end
|
3096
|
+
|
3097
|
+
# ServiceSpec holds the desired state of the Route (from the client), which
|
3098
|
+
# is used to manipulate the underlying Route and Configuration(s).
|
3099
|
+
class ServiceSpec
|
3100
|
+
include Google::Apis::Core::Hashable
|
3101
|
+
|
3102
|
+
# Deprecated and not currently populated by Cloud Run. See
|
3103
|
+
# metadata.generation instead, which is the sequence number containing the
|
3104
|
+
# latest generation of the desired state.
|
3105
|
+
# Read-only.
|
3106
|
+
# Corresponds to the JSON property `generation`
|
3107
|
+
# @return [Fixnum]
|
3108
|
+
attr_accessor :generation
|
3109
|
+
|
3110
|
+
# ServiceSpecManualType contains the options for configuring a manual service.
|
3111
|
+
# See ServiceSpec for more details.
|
3112
|
+
# Not currently supported by Cloud Run.
|
3113
|
+
# Corresponds to the JSON property `manual`
|
3114
|
+
# @return [Google::Apis::RunV1alpha1::ServiceSpecManualType]
|
3115
|
+
attr_accessor :manual
|
3116
|
+
|
3117
|
+
# ServiceSpecPinnedType Pins this service to a specific revision name. The
|
3118
|
+
# revision must be owned by the configuration provided.
|
3119
|
+
# Deprecated and not supported by Cloud Run.
|
3120
|
+
# Corresponds to the JSON property `pinned`
|
3121
|
+
# @return [Google::Apis::RunV1alpha1::ServiceSpecPinnedType]
|
3122
|
+
attr_accessor :pinned
|
3123
|
+
|
3124
|
+
# ServiceSpecReleaseType contains the options for slowly releasing revisions.
|
3125
|
+
# See ServiceSpec for more details.
|
3126
|
+
# Not currently supported by Cloud Run.
|
3127
|
+
# Corresponds to the JSON property `release`
|
3128
|
+
# @return [Google::Apis::RunV1alpha1::ServiceSpecReleaseType]
|
3129
|
+
attr_accessor :release
|
3130
|
+
|
3131
|
+
# ServiceSpecRunLatest contains the options for always having a route to the
|
3132
|
+
# latest configuration. See ServiceSpec for more details.
|
3133
|
+
# Corresponds to the JSON property `runLatest`
|
3134
|
+
# @return [Google::Apis::RunV1alpha1::ServiceSpecRunLatest]
|
3135
|
+
attr_accessor :run_latest
|
3136
|
+
|
3137
|
+
# RevisionTemplateSpec describes the data a revision should have when created
|
3138
|
+
# from a template. Based on:
|
3139
|
+
# https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
|
3140
|
+
# Corresponds to the JSON property `template`
|
3141
|
+
# @return [Google::Apis::RunV1alpha1::RevisionTemplate]
|
3142
|
+
attr_accessor :template
|
3143
|
+
|
3144
|
+
# Traffic specifies how to distribute traffic over a collection of Knative
|
3145
|
+
# Revisions and Configurations. This will replace existing service specs
|
3146
|
+
# (ServiceSpecRunLatest, ServiceSpecPinnedType, ServiceSpecReleaseType, and
|
3147
|
+
# ServiceSpecManualType).
|
3148
|
+
# Not currently supported by Cloud Run.
|
3149
|
+
# Corresponds to the JSON property `traffic`
|
3150
|
+
# @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
|
3151
|
+
attr_accessor :traffic
|
3152
|
+
|
3153
|
+
def initialize(**args)
|
3154
|
+
update!(**args)
|
3155
|
+
end
|
3156
|
+
|
3157
|
+
# Update properties of this object
|
3158
|
+
def update!(**args)
|
3159
|
+
@generation = args[:generation] if args.key?(:generation)
|
3160
|
+
@manual = args[:manual] if args.key?(:manual)
|
3161
|
+
@pinned = args[:pinned] if args.key?(:pinned)
|
3162
|
+
@release = args[:release] if args.key?(:release)
|
3163
|
+
@run_latest = args[:run_latest] if args.key?(:run_latest)
|
3164
|
+
@template = args[:template] if args.key?(:template)
|
3165
|
+
@traffic = args[:traffic] if args.key?(:traffic)
|
3166
|
+
end
|
3167
|
+
end
|
3168
|
+
|
3169
|
+
# ServiceSpecManualType contains the options for configuring a manual service.
|
3170
|
+
# See ServiceSpec for more details.
|
3171
|
+
# Not currently supported by Cloud Run.
|
3172
|
+
class ServiceSpecManualType
|
3173
|
+
include Google::Apis::Core::Hashable
|
3174
|
+
|
3175
|
+
def initialize(**args)
|
3176
|
+
update!(**args)
|
3177
|
+
end
|
3178
|
+
|
3179
|
+
# Update properties of this object
|
3180
|
+
def update!(**args)
|
3181
|
+
end
|
3182
|
+
end
|
3183
|
+
|
3184
|
+
# ServiceSpecPinnedType Pins this service to a specific revision name. The
|
3185
|
+
# revision must be owned by the configuration provided.
|
3186
|
+
# Deprecated and not supported by Cloud Run.
|
3187
|
+
class ServiceSpecPinnedType
|
3188
|
+
include Google::Apis::Core::Hashable
|
3189
|
+
|
3190
|
+
# ConfigurationSpec holds the desired state of the Configuration (from the
|
3191
|
+
# client).
|
3192
|
+
# Corresponds to the JSON property `configuration`
|
3193
|
+
# @return [Google::Apis::RunV1alpha1::ConfigurationSpec]
|
3194
|
+
attr_accessor :configuration
|
3195
|
+
|
3196
|
+
# The revision name to pin this service to until changed
|
3197
|
+
# to a different service type.
|
3198
|
+
# Corresponds to the JSON property `revisionName`
|
3199
|
+
# @return [String]
|
3200
|
+
attr_accessor :revision_name
|
3201
|
+
|
3202
|
+
def initialize(**args)
|
3203
|
+
update!(**args)
|
3204
|
+
end
|
3205
|
+
|
3206
|
+
# Update properties of this object
|
3207
|
+
def update!(**args)
|
3208
|
+
@configuration = args[:configuration] if args.key?(:configuration)
|
3209
|
+
@revision_name = args[:revision_name] if args.key?(:revision_name)
|
3210
|
+
end
|
3211
|
+
end
|
3212
|
+
|
3213
|
+
# ServiceSpecReleaseType contains the options for slowly releasing revisions.
|
3214
|
+
# See ServiceSpec for more details.
|
3215
|
+
# Not currently supported by Cloud Run.
|
3216
|
+
class ServiceSpecReleaseType
|
3217
|
+
include Google::Apis::Core::Hashable
|
3218
|
+
|
3219
|
+
# ConfigurationSpec holds the desired state of the Configuration (from the
|
3220
|
+
# client).
|
3221
|
+
# Corresponds to the JSON property `configuration`
|
3222
|
+
# @return [Google::Apis::RunV1alpha1::ConfigurationSpec]
|
3223
|
+
attr_accessor :configuration
|
3224
|
+
|
3225
|
+
# Revisions is an ordered list of 1 or 2 revisions. The first is the current
|
3226
|
+
# revision, and the second is the candidate revision. If a single revision
|
3227
|
+
# is provided, traffic will be pinned at that revision.
|
3228
|
+
# "@latest" is a shortcut for usage that refers to the latest created
|
3229
|
+
# revision by the configuration.
|
3230
|
+
# Corresponds to the JSON property `revisions`
|
3231
|
+
# @return [Array<String>]
|
3232
|
+
attr_accessor :revisions
|
3233
|
+
|
3234
|
+
# RolloutPercent is the percent of traffic that should be sent to the
|
3235
|
+
# candidate revision, i.e. the 2nd revision in the revisions list.
|
3236
|
+
# Valid values are between 0 and 99 inclusive.
|
3237
|
+
# Corresponds to the JSON property `rolloutPercent`
|
3238
|
+
# @return [Fixnum]
|
3239
|
+
attr_accessor :rollout_percent
|
3240
|
+
|
3241
|
+
def initialize(**args)
|
3242
|
+
update!(**args)
|
3243
|
+
end
|
3244
|
+
|
3245
|
+
# Update properties of this object
|
3246
|
+
def update!(**args)
|
3247
|
+
@configuration = args[:configuration] if args.key?(:configuration)
|
3248
|
+
@revisions = args[:revisions] if args.key?(:revisions)
|
3249
|
+
@rollout_percent = args[:rollout_percent] if args.key?(:rollout_percent)
|
3250
|
+
end
|
3251
|
+
end
|
3252
|
+
|
3253
|
+
# ServiceSpecRunLatest contains the options for always having a route to the
|
3254
|
+
# latest configuration. See ServiceSpec for more details.
|
3255
|
+
class ServiceSpecRunLatest
|
3256
|
+
include Google::Apis::Core::Hashable
|
3257
|
+
|
3258
|
+
# ConfigurationSpec holds the desired state of the Configuration (from the
|
3259
|
+
# client).
|
3260
|
+
# Corresponds to the JSON property `configuration`
|
3261
|
+
# @return [Google::Apis::RunV1alpha1::ConfigurationSpec]
|
3262
|
+
attr_accessor :configuration
|
3263
|
+
|
3264
|
+
def initialize(**args)
|
3265
|
+
update!(**args)
|
3266
|
+
end
|
3267
|
+
|
3268
|
+
# Update properties of this object
|
3269
|
+
def update!(**args)
|
3270
|
+
@configuration = args[:configuration] if args.key?(:configuration)
|
3271
|
+
end
|
3272
|
+
end
|
3273
|
+
|
3274
|
+
# The current state of the Service. Output only.
|
3275
|
+
class ServiceStatus
|
3276
|
+
include Google::Apis::Core::Hashable
|
3277
|
+
|
3278
|
+
# Information for connecting over HTTP(s).
|
3279
|
+
# Corresponds to the JSON property `address`
|
3280
|
+
# @return [Google::Apis::RunV1alpha1::Addressable]
|
3281
|
+
attr_accessor :address
|
3282
|
+
|
3283
|
+
# Conditions communicates information about ongoing/complete
|
3284
|
+
# reconciliation processes that bring the "spec" inline with the observed
|
3285
|
+
# state of the world.
|
3286
|
+
# Corresponds to the JSON property `conditions`
|
3287
|
+
# @return [Array<Google::Apis::RunV1alpha1::ServiceCondition>]
|
3288
|
+
attr_accessor :conditions
|
3289
|
+
|
3290
|
+
# From RouteStatus.
|
3291
|
+
# Domain holds the top-level domain that will distribute traffic over the
|
3292
|
+
# provided targets. It generally has the form
|
3293
|
+
# https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
|
3294
|
+
# Corresponds to the JSON property `domain`
|
3295
|
+
# @return [String]
|
3296
|
+
attr_accessor :domain
|
3297
|
+
|
3298
|
+
# From ConfigurationStatus.
|
3299
|
+
# LatestCreatedRevisionName is the last revision that was created from this
|
3300
|
+
# Service's Configuration. It might not be ready yet, for that use
|
3301
|
+
# LatestReadyRevisionName.
|
3302
|
+
# Corresponds to the JSON property `latestCreatedRevisionName`
|
3303
|
+
# @return [String]
|
3304
|
+
attr_accessor :latest_created_revision_name
|
3305
|
+
|
3306
|
+
# From ConfigurationStatus.
|
3307
|
+
# LatestReadyRevisionName holds the name of the latest Revision stamped out
|
3308
|
+
# from this Service's Configuration that has had its "Ready" condition become
|
3309
|
+
# "True".
|
3310
|
+
# Corresponds to the JSON property `latestReadyRevisionName`
|
3311
|
+
# @return [String]
|
3312
|
+
attr_accessor :latest_ready_revision_name
|
3313
|
+
|
3314
|
+
# ObservedGeneration is the 'Generation' of the Route that
|
3315
|
+
# was last processed by the controller.
|
3316
|
+
# Clients polling for completed reconciliation should poll until
|
3317
|
+
# observedGeneration = metadata.generation and the Ready condition's status
|
3318
|
+
# is True or False.
|
3319
|
+
# Corresponds to the JSON property `observedGeneration`
|
3320
|
+
# @return [Fixnum]
|
3321
|
+
attr_accessor :observed_generation
|
3322
|
+
|
3323
|
+
# From RouteStatus.
|
3324
|
+
# Traffic holds the configured traffic distribution.
|
3325
|
+
# These entries will always contain RevisionName references.
|
3326
|
+
# When ConfigurationName appears in the spec, this will hold the
|
3327
|
+
# LatestReadyRevisionName that we last observed.
|
3328
|
+
# Corresponds to the JSON property `traffic`
|
3329
|
+
# @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
|
3330
|
+
attr_accessor :traffic
|
3331
|
+
|
3332
|
+
def initialize(**args)
|
3333
|
+
update!(**args)
|
3334
|
+
end
|
3335
|
+
|
3336
|
+
# Update properties of this object
|
3337
|
+
def update!(**args)
|
3338
|
+
@address = args[:address] if args.key?(:address)
|
3339
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
3340
|
+
@domain = args[:domain] if args.key?(:domain)
|
3341
|
+
@latest_created_revision_name = args[:latest_created_revision_name] if args.key?(:latest_created_revision_name)
|
3342
|
+
@latest_ready_revision_name = args[:latest_ready_revision_name] if args.key?(:latest_ready_revision_name)
|
3343
|
+
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
3344
|
+
@traffic = args[:traffic] if args.key?(:traffic)
|
3345
|
+
end
|
3346
|
+
end
|
3347
|
+
|
3348
|
+
# Request message for `SetIamPolicy` method.
|
3349
|
+
class SetIamPolicyRequest
|
3350
|
+
include Google::Apis::Core::Hashable
|
3351
|
+
|
3352
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
3353
|
+
# specify access control policies for Cloud Platform resources.
|
3354
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
3355
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
3356
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
3357
|
+
# defined by IAM.
|
3358
|
+
# **JSON Example**
|
3359
|
+
# `
|
3360
|
+
# "bindings": [
|
3361
|
+
# `
|
3362
|
+
# "role": "roles/owner",
|
3363
|
+
# "members": [
|
3364
|
+
# "user:mike@example.com",
|
3365
|
+
# "group:admins@example.com",
|
3366
|
+
# "domain:google.com",
|
3367
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
3368
|
+
# ]
|
3369
|
+
# `,
|
3370
|
+
# `
|
3371
|
+
# "role": "roles/viewer",
|
3372
|
+
# "members": ["user:sean@example.com"]
|
3373
|
+
# `
|
3374
|
+
# ]
|
3375
|
+
# `
|
3376
|
+
# **YAML Example**
|
3377
|
+
# bindings:
|
3378
|
+
# - members:
|
3379
|
+
# - user:mike@example.com
|
3380
|
+
# - group:admins@example.com
|
3381
|
+
# - domain:google.com
|
3382
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
3383
|
+
# role: roles/owner
|
3384
|
+
# - members:
|
3385
|
+
# - user:sean@example.com
|
3386
|
+
# role: roles/viewer
|
3387
|
+
# For a description of IAM and its features, see the
|
3388
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
3389
|
+
# Corresponds to the JSON property `policy`
|
3390
|
+
# @return [Google::Apis::RunV1alpha1::Policy]
|
3391
|
+
attr_accessor :policy
|
3392
|
+
|
3393
|
+
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
3394
|
+
# the fields in the mask will be modified. If no mask is provided, the
|
3395
|
+
# following default mask is used:
|
3396
|
+
# paths: "bindings, etag"
|
3397
|
+
# This field is only used by Cloud IAM.
|
3398
|
+
# Corresponds to the JSON property `updateMask`
|
3399
|
+
# @return [String]
|
3400
|
+
attr_accessor :update_mask
|
3401
|
+
|
3402
|
+
def initialize(**args)
|
3403
|
+
update!(**args)
|
3404
|
+
end
|
3405
|
+
|
3406
|
+
# Update properties of this object
|
3407
|
+
def update!(**args)
|
3408
|
+
@policy = args[:policy] if args.key?(:policy)
|
3409
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
3410
|
+
end
|
3411
|
+
end
|
3412
|
+
|
3413
|
+
#
|
3414
|
+
class SubscriberSpec
|
3415
|
+
include Google::Apis::Core::Hashable
|
3416
|
+
|
3417
|
+
# ObjectReference contains enough information to let you inspect or modify the
|
3418
|
+
# referred object.
|
3419
|
+
# Corresponds to the JSON property `ref`
|
3420
|
+
# @return [Google::Apis::RunV1alpha1::ObjectReference]
|
3421
|
+
attr_accessor :ref
|
3422
|
+
|
3423
|
+
# Reference to a 'known' endpoint where no resolving is done.
|
3424
|
+
# http://k8s-service for example
|
3425
|
+
# http://myexternalhandler.example.com/foo/bar
|
3426
|
+
# Corresponds to the JSON property `uri`
|
3427
|
+
# @return [String]
|
3428
|
+
attr_accessor :uri
|
3429
|
+
|
3430
|
+
def initialize(**args)
|
3431
|
+
update!(**args)
|
3432
|
+
end
|
3433
|
+
|
3434
|
+
# Update properties of this object
|
3435
|
+
def update!(**args)
|
3436
|
+
@ref = args[:ref] if args.key?(:ref)
|
3437
|
+
@uri = args[:uri] if args.key?(:uri)
|
3438
|
+
end
|
3439
|
+
end
|
3440
|
+
|
3441
|
+
# TCPSocketAction describes an action based on opening a socket
|
3442
|
+
class TcpSocketAction
|
3443
|
+
include Google::Apis::Core::Hashable
|
3444
|
+
|
3445
|
+
# Optional: Host name to connect to, defaults to the pod IP.
|
3446
|
+
# +optional
|
3447
|
+
# Corresponds to the JSON property `host`
|
3448
|
+
# @return [String]
|
3449
|
+
attr_accessor :host
|
3450
|
+
|
3451
|
+
# IntOrString is a type that can hold an int32 or a string. When used in
|
3452
|
+
# JSON or YAML marshalling and unmarshalling, it produces or consumes the
|
3453
|
+
# inner type. This allows you to have, for example, a JSON field that can
|
3454
|
+
# accept a name or number.
|
3455
|
+
# Corresponds to the JSON property `port`
|
3456
|
+
# @return [Google::Apis::RunV1alpha1::IntOrString]
|
3457
|
+
attr_accessor :port
|
3458
|
+
|
3459
|
+
def initialize(**args)
|
3460
|
+
update!(**args)
|
3461
|
+
end
|
3462
|
+
|
3463
|
+
# Update properties of this object
|
3464
|
+
def update!(**args)
|
3465
|
+
@host = args[:host] if args.key?(:host)
|
3466
|
+
@port = args[:port] if args.key?(:port)
|
3467
|
+
end
|
3468
|
+
end
|
3469
|
+
|
3470
|
+
# Request message for `TestIamPermissions` method.
|
3471
|
+
class TestIamPermissionsRequest
|
3472
|
+
include Google::Apis::Core::Hashable
|
3473
|
+
|
3474
|
+
# The set of permissions to check for the `resource`. Permissions with
|
3475
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
3476
|
+
# information see
|
3477
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
3478
|
+
# Corresponds to the JSON property `permissions`
|
3479
|
+
# @return [Array<String>]
|
3480
|
+
attr_accessor :permissions
|
3481
|
+
|
3482
|
+
def initialize(**args)
|
3483
|
+
update!(**args)
|
3484
|
+
end
|
3485
|
+
|
3486
|
+
# Update properties of this object
|
3487
|
+
def update!(**args)
|
3488
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
3489
|
+
end
|
3490
|
+
end
|
3491
|
+
|
3492
|
+
# Response message for `TestIamPermissions` method.
|
3493
|
+
class TestIamPermissionsResponse
|
3494
|
+
include Google::Apis::Core::Hashable
|
3495
|
+
|
3496
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
3497
|
+
# allowed.
|
3498
|
+
# Corresponds to the JSON property `permissions`
|
3499
|
+
# @return [Array<String>]
|
3500
|
+
attr_accessor :permissions
|
3501
|
+
|
3502
|
+
def initialize(**args)
|
3503
|
+
update!(**args)
|
3504
|
+
end
|
3505
|
+
|
3506
|
+
# Update properties of this object
|
3507
|
+
def update!(**args)
|
3508
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
3509
|
+
end
|
3510
|
+
end
|
3511
|
+
|
3512
|
+
# TrafficTarget holds a single entry of the routing table for a Route.
|
3513
|
+
class TrafficTarget
|
3514
|
+
include Google::Apis::Core::Hashable
|
3515
|
+
|
3516
|
+
# ConfigurationName of a configuration to whose latest revision we will
|
3517
|
+
# send this portion of traffic. When the "status.latestReadyRevisionName"
|
3518
|
+
# of the referenced configuration changes, we will automatically migrate
|
3519
|
+
# traffic from the prior "latest ready" revision to the new one. This field
|
3520
|
+
# is never set in Route's status, only its spec. This is mutually exclusive
|
3521
|
+
# with RevisionName.
|
3522
|
+
# Cloud Run currently supports a single ConfigurationName.
|
3523
|
+
# Corresponds to the JSON property `configurationName`
|
3524
|
+
# @return [String]
|
3525
|
+
attr_accessor :configuration_name
|
3526
|
+
|
3527
|
+
# LatestRevision may be optionally provided to indicate that the latest
|
3528
|
+
# ready Revision of the Configuration should be used for this traffic
|
3529
|
+
# target. When provided LatestRevision must be true if RevisionName is
|
3530
|
+
# empty; it must be false when RevisionName is non-empty.
|
3531
|
+
# Not currently supported in Cloud Run.
|
3532
|
+
# +optional
|
3533
|
+
# Corresponds to the JSON property `latestRevision`
|
3534
|
+
# @return [Boolean]
|
3535
|
+
attr_accessor :latest_revision
|
3536
|
+
alias_method :latest_revision?, :latest_revision
|
3537
|
+
|
3538
|
+
# Name is optionally used to expose a dedicated hostname for referencing this
|
3539
|
+
# target exclusively.
|
3540
|
+
# Not currently supported by Cloud Run.
|
3541
|
+
# +optional
|
3542
|
+
# Corresponds to the JSON property `name`
|
3543
|
+
# @return [String]
|
3544
|
+
attr_accessor :name
|
3545
|
+
|
3546
|
+
# Percent specifies percent of the traffic to this Revision or Configuration.
|
3547
|
+
# This defaults to zero if unspecified.
|
3548
|
+
# Cloud Run currently requires 100 percent for a single ConfigurationName
|
3549
|
+
# TrafficTarget entry.
|
3550
|
+
# Corresponds to the JSON property `percent`
|
3551
|
+
# @return [Fixnum]
|
3552
|
+
attr_accessor :percent
|
3553
|
+
|
3554
|
+
# RevisionName of a specific revision to which to send this portion of
|
3555
|
+
# traffic. This is mutually exclusive with ConfigurationName.
|
3556
|
+
# Providing RevisionName in spec is not currently supported by Cloud Run.
|
3557
|
+
# Corresponds to the JSON property `revisionName`
|
3558
|
+
# @return [String]
|
3559
|
+
attr_accessor :revision_name
|
3560
|
+
|
3561
|
+
# Tag is optionally used to expose a dedicated url for referencing
|
3562
|
+
# this target exclusively.
|
3563
|
+
# Not currently supported in Cloud Run.
|
3564
|
+
# +optional
|
3565
|
+
# Corresponds to the JSON property `tag`
|
3566
|
+
# @return [String]
|
3567
|
+
attr_accessor :tag
|
3568
|
+
|
3569
|
+
# Output only. URL displays the URL for accessing named traffic targets. URL
|
3570
|
+
# is displayed in status, and is disallowed on spec. URL must contain a
|
3571
|
+
# scheme (e.g. http://) and a hostname, but may not contain anything else
|
3572
|
+
# (e.g. basic auth, url path, etc.
|
3573
|
+
# Not currently supported in Cloud Run.
|
3574
|
+
# Corresponds to the JSON property `url`
|
3575
|
+
# @return [String]
|
3576
|
+
attr_accessor :url
|
3577
|
+
|
3578
|
+
def initialize(**args)
|
3579
|
+
update!(**args)
|
3580
|
+
end
|
3581
|
+
|
3582
|
+
# Update properties of this object
|
3583
|
+
def update!(**args)
|
3584
|
+
@configuration_name = args[:configuration_name] if args.key?(:configuration_name)
|
3585
|
+
@latest_revision = args[:latest_revision] if args.key?(:latest_revision)
|
3586
|
+
@name = args[:name] if args.key?(:name)
|
3587
|
+
@percent = args[:percent] if args.key?(:percent)
|
3588
|
+
@revision_name = args[:revision_name] if args.key?(:revision_name)
|
3589
|
+
@tag = args[:tag] if args.key?(:tag)
|
3590
|
+
@url = args[:url] if args.key?(:url)
|
3591
|
+
end
|
3592
|
+
end
|
3593
|
+
|
3594
|
+
#
|
3595
|
+
class Trigger
|
3596
|
+
include Google::Apis::Core::Hashable
|
3597
|
+
|
3598
|
+
# The API version for this call such as "v1alpha1".
|
3599
|
+
# Corresponds to the JSON property `apiVersion`
|
3600
|
+
# @return [String]
|
3601
|
+
attr_accessor :api_version
|
3602
|
+
|
3603
|
+
# The kind of resource, in this case "Trigger".
|
3604
|
+
# Corresponds to the JSON property `kind`
|
3605
|
+
# @return [String]
|
3606
|
+
attr_accessor :kind
|
3607
|
+
|
3608
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
3609
|
+
# all objects users must create.
|
3610
|
+
# Corresponds to the JSON property `metadata`
|
3611
|
+
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
|
3612
|
+
attr_accessor :metadata
|
3613
|
+
|
3614
|
+
# The desired state of the Trigger.
|
3615
|
+
# Corresponds to the JSON property `spec`
|
3616
|
+
# @return [Google::Apis::RunV1alpha1::TriggerSpec]
|
3617
|
+
attr_accessor :spec
|
3618
|
+
|
3619
|
+
# TriggerStatus represents the current state of a Trigger.
|
3620
|
+
# Corresponds to the JSON property `status`
|
3621
|
+
# @return [Google::Apis::RunV1alpha1::TriggerStatus]
|
3622
|
+
attr_accessor :status
|
3623
|
+
|
3624
|
+
def initialize(**args)
|
3625
|
+
update!(**args)
|
3626
|
+
end
|
3627
|
+
|
3628
|
+
# Update properties of this object
|
3629
|
+
def update!(**args)
|
3630
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
3631
|
+
@kind = args[:kind] if args.key?(:kind)
|
3632
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
3633
|
+
@spec = args[:spec] if args.key?(:spec)
|
3634
|
+
@status = args[:status] if args.key?(:status)
|
3635
|
+
end
|
3636
|
+
end
|
3637
|
+
|
3638
|
+
# TriggerCondition contains state information for an Trigger.
|
3639
|
+
class TriggerCondition
|
3640
|
+
include Google::Apis::Core::Hashable
|
3641
|
+
|
3642
|
+
# Last time the condition transitioned from one status to another.
|
3643
|
+
# +optional
|
3644
|
+
# Corresponds to the JSON property `lastTransitionTime`
|
3645
|
+
# @return [String]
|
3646
|
+
attr_accessor :last_transition_time
|
3647
|
+
|
3648
|
+
# Human readable message indicating details about the current status.
|
3649
|
+
# +optional
|
3650
|
+
# Corresponds to the JSON property `message`
|
3651
|
+
# @return [String]
|
3652
|
+
attr_accessor :message
|
3653
|
+
|
3654
|
+
# One-word CamelCase reason for the condition's current status.
|
3655
|
+
# +optional
|
3656
|
+
# Corresponds to the JSON property `reason`
|
3657
|
+
# @return [String]
|
3658
|
+
attr_accessor :reason
|
3659
|
+
|
3660
|
+
# Status of the condition, one of True, False, Unknown.
|
3661
|
+
# Corresponds to the JSON property `status`
|
3662
|
+
# @return [String]
|
3663
|
+
attr_accessor :status
|
3664
|
+
|
3665
|
+
# Type of Trigger condition.
|
3666
|
+
# Corresponds to the JSON property `type`
|
3667
|
+
# @return [String]
|
3668
|
+
attr_accessor :type
|
3669
|
+
|
3670
|
+
def initialize(**args)
|
3671
|
+
update!(**args)
|
3672
|
+
end
|
3673
|
+
|
3674
|
+
# Update properties of this object
|
3675
|
+
def update!(**args)
|
3676
|
+
@last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
|
3677
|
+
@message = args[:message] if args.key?(:message)
|
3678
|
+
@reason = args[:reason] if args.key?(:reason)
|
3679
|
+
@status = args[:status] if args.key?(:status)
|
3680
|
+
@type = args[:type] if args.key?(:type)
|
3681
|
+
end
|
3682
|
+
end
|
3683
|
+
|
3684
|
+
#
|
3685
|
+
class TriggerFilter
|
3686
|
+
include Google::Apis::Core::Hashable
|
3687
|
+
|
3688
|
+
# TriggerFilterSourceAndType filters events based on exact matches on the cloud
|
3689
|
+
# event's type and source attributes. Only exact matches will pass the filter.
|
3690
|
+
# Corresponds to the JSON property `sourceAndType`
|
3691
|
+
# @return [Google::Apis::RunV1alpha1::TriggerFilterSourceAndType]
|
3692
|
+
attr_accessor :source_and_type
|
3693
|
+
|
3694
|
+
def initialize(**args)
|
3695
|
+
update!(**args)
|
3696
|
+
end
|
3697
|
+
|
3698
|
+
# Update properties of this object
|
3699
|
+
def update!(**args)
|
3700
|
+
@source_and_type = args[:source_and_type] if args.key?(:source_and_type)
|
3701
|
+
end
|
3702
|
+
end
|
3703
|
+
|
3704
|
+
# TriggerFilterSourceAndType filters events based on exact matches on the cloud
|
3705
|
+
# event's type and source attributes. Only exact matches will pass the filter.
|
3706
|
+
class TriggerFilterSourceAndType
|
3707
|
+
include Google::Apis::Core::Hashable
|
3708
|
+
|
3709
|
+
#
|
3710
|
+
# Corresponds to the JSON property `source`
|
3711
|
+
# @return [String]
|
3712
|
+
attr_accessor :source
|
3713
|
+
|
3714
|
+
#
|
3715
|
+
# Corresponds to the JSON property `type`
|
3716
|
+
# @return [String]
|
3717
|
+
attr_accessor :type
|
3718
|
+
|
3719
|
+
def initialize(**args)
|
3720
|
+
update!(**args)
|
3721
|
+
end
|
3722
|
+
|
3723
|
+
# Update properties of this object
|
3724
|
+
def update!(**args)
|
3725
|
+
@source = args[:source] if args.key?(:source)
|
3726
|
+
@type = args[:type] if args.key?(:type)
|
3727
|
+
end
|
3728
|
+
end
|
3729
|
+
|
3730
|
+
# The desired state of the Trigger.
|
3731
|
+
class TriggerSpec
|
3732
|
+
include Google::Apis::Core::Hashable
|
3733
|
+
|
3734
|
+
# Broker is the broker that this trigger receives events from. If not
|
3735
|
+
# specified, will default to 'default'.
|
3736
|
+
# Not currently supported by Cloud Run.
|
3737
|
+
# Corresponds to the JSON property `broker`
|
3738
|
+
# @return [String]
|
3739
|
+
attr_accessor :broker
|
3740
|
+
|
3741
|
+
# Filter is the filter to apply against all events from the Broker. Only
|
3742
|
+
# events that pass this filter will be sent to the Subscriber. If not
|
3743
|
+
# specified, will default to allowing all events.
|
3744
|
+
# This must be specified in Cloud Run.
|
3745
|
+
# Corresponds to the JSON property `filter`
|
3746
|
+
# @return [Google::Apis::RunV1alpha1::TriggerFilter]
|
3747
|
+
attr_accessor :filter
|
3748
|
+
|
3749
|
+
# Subscriber is the addressable that receives events from the Broker that
|
3750
|
+
# pass the Filter. It is required.
|
3751
|
+
# E.g. https://us-central1-myproject.cloudfunctions.net/myfunction or
|
3752
|
+
# /namespaces/my-project/services/my-service.
|
3753
|
+
# Corresponds to the JSON property `subscriber`
|
3754
|
+
# @return [Google::Apis::RunV1alpha1::SubscriberSpec]
|
3755
|
+
attr_accessor :subscriber
|
3756
|
+
|
3757
|
+
def initialize(**args)
|
3758
|
+
update!(**args)
|
3759
|
+
end
|
3760
|
+
|
3761
|
+
# Update properties of this object
|
3762
|
+
def update!(**args)
|
3763
|
+
@broker = args[:broker] if args.key?(:broker)
|
3764
|
+
@filter = args[:filter] if args.key?(:filter)
|
3765
|
+
@subscriber = args[:subscriber] if args.key?(:subscriber)
|
3766
|
+
end
|
3767
|
+
end
|
3768
|
+
|
3769
|
+
# TriggerStatus represents the current state of a Trigger.
|
3770
|
+
class TriggerStatus
|
3771
|
+
include Google::Apis::Core::Hashable
|
3772
|
+
|
3773
|
+
# Array of observed TriggerConditions, indicating the current state
|
3774
|
+
# of the Trigger.
|
3775
|
+
# Corresponds to the JSON property `conditions`
|
3776
|
+
# @return [Array<Google::Apis::RunV1alpha1::TriggerCondition>]
|
3777
|
+
attr_accessor :conditions
|
3778
|
+
|
3779
|
+
# ObservedGeneration is the 'Generation' of the Trigger that
|
3780
|
+
# was last processed by the controller.
|
3781
|
+
# Corresponds to the JSON property `observedGeneration`
|
3782
|
+
# @return [Fixnum]
|
3783
|
+
attr_accessor :observed_generation
|
3784
|
+
|
3785
|
+
# SubscriberURI is the resolved URI of the receiver for this Trigger.
|
3786
|
+
# Corresponds to the JSON property `subscriberUri`
|
3787
|
+
# @return [String]
|
3788
|
+
attr_accessor :subscriber_uri
|
3789
|
+
|
3790
|
+
def initialize(**args)
|
3791
|
+
update!(**args)
|
3792
|
+
end
|
3793
|
+
|
3794
|
+
# Update properties of this object
|
3795
|
+
def update!(**args)
|
3796
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
3797
|
+
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
3798
|
+
@subscriber_uri = args[:subscriber_uri] if args.key?(:subscriber_uri)
|
3799
|
+
end
|
3800
|
+
end
|
3801
|
+
|
3802
|
+
# volumeDevice describes a mapping of a raw block device within a container.
|
3803
|
+
class VolumeDevice
|
3804
|
+
include Google::Apis::Core::Hashable
|
3805
|
+
|
3806
|
+
# devicePath is the path inside of the container that the device will be
|
3807
|
+
# mapped to.
|
3808
|
+
# Corresponds to the JSON property `devicePath`
|
3809
|
+
# @return [String]
|
3810
|
+
attr_accessor :device_path
|
3811
|
+
|
3812
|
+
# name must match the name of a persistentVolumeClaim in the pod
|
3813
|
+
# Corresponds to the JSON property `name`
|
3814
|
+
# @return [String]
|
3815
|
+
attr_accessor :name
|
3816
|
+
|
3817
|
+
def initialize(**args)
|
3818
|
+
update!(**args)
|
3819
|
+
end
|
3820
|
+
|
3821
|
+
# Update properties of this object
|
3822
|
+
def update!(**args)
|
3823
|
+
@device_path = args[:device_path] if args.key?(:device_path)
|
3824
|
+
@name = args[:name] if args.key?(:name)
|
3825
|
+
end
|
3826
|
+
end
|
3827
|
+
|
3828
|
+
# VolumeMount describes a mounting of a Volume within a container.
|
3829
|
+
class VolumeMount
|
3830
|
+
include Google::Apis::Core::Hashable
|
3831
|
+
|
3832
|
+
# Path within the container at which the volume should be mounted. Must
|
3833
|
+
# not contain ':'.
|
3834
|
+
# Corresponds to the JSON property `mountPath`
|
3835
|
+
# @return [String]
|
3836
|
+
attr_accessor :mount_path
|
3837
|
+
|
3838
|
+
# mountPropagation determines how mounts are propagated from the host
|
3839
|
+
# to container and the other way around.
|
3840
|
+
# When not set, MountPropagationHostToContainer is used.
|
3841
|
+
# This field is beta in 1.10.
|
3842
|
+
# +optional
|
3843
|
+
# Corresponds to the JSON property `mountPropagation`
|
3844
|
+
# @return [String]
|
3845
|
+
attr_accessor :mount_propagation
|
3846
|
+
|
3847
|
+
# This must match the Name of a Volume.
|
3848
|
+
# Corresponds to the JSON property `name`
|
3849
|
+
# @return [String]
|
3850
|
+
attr_accessor :name
|
3851
|
+
|
3852
|
+
# Mounted read-only if true, read-write otherwise (false or unspecified).
|
3853
|
+
# Defaults to false.
|
3854
|
+
# +optional
|
3855
|
+
# Corresponds to the JSON property `readOnly`
|
3856
|
+
# @return [Boolean]
|
3857
|
+
attr_accessor :read_only
|
3858
|
+
alias_method :read_only?, :read_only
|
3859
|
+
|
3860
|
+
# Path within the volume from which the container's volume should be mounted.
|
3861
|
+
# Defaults to "" (volume's root).
|
3862
|
+
# +optional
|
3863
|
+
# Corresponds to the JSON property `subPath`
|
3864
|
+
# @return [String]
|
3865
|
+
attr_accessor :sub_path
|
3866
|
+
|
3867
|
+
def initialize(**args)
|
3868
|
+
update!(**args)
|
3869
|
+
end
|
3870
|
+
|
3871
|
+
# Update properties of this object
|
3872
|
+
def update!(**args)
|
3873
|
+
@mount_path = args[:mount_path] if args.key?(:mount_path)
|
3874
|
+
@mount_propagation = args[:mount_propagation] if args.key?(:mount_propagation)
|
3875
|
+
@name = args[:name] if args.key?(:name)
|
3876
|
+
@read_only = args[:read_only] if args.key?(:read_only)
|
3877
|
+
@sub_path = args[:sub_path] if args.key?(:sub_path)
|
3878
|
+
end
|
3879
|
+
end
|
3880
|
+
end
|
3881
|
+
end
|
3882
|
+
end
|