google-api-client 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.kokoro/continuous/linux.cfg +11 -1
- data/.kokoro/continuous/osx.cfg +5 -0
- data/.kokoro/continuous/windows.cfg +10 -0
- data/.kokoro/presubmit/linux.cfg +11 -1
- data/.kokoro/presubmit/osx.cfg +5 -0
- data/.kokoro/presubmit/windows.cfg +10 -0
- data/CHANGELOG.md +107 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +241 -0
- data/generated/google/apis/bigquery_v2/representations.rb +115 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/blogger_v3/service.rb +6 -6
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
- data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
- data/generated/google/apis/cloudiot_v1/service.rb +18 -17
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
- data/generated/google/apis/cloudkms_v1/service.rb +33 -27
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +38 -42
- data/generated/google/apis/compute_alpha/representations.rb +5 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +10 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1327 -4
- data/generated/google/apis/compute_v1/representations.rb +439 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +111 -0
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +0 -226
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +324 -38
- data/generated/google/apis/dataproc_v1/representations.rb +97 -0
- data/generated/google/apis/dataproc_v1/service.rb +613 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
- data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
- data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
- data/generated/google/apis/dialogflow_v2/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
- data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +3 -4
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +2 -2
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +9 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +8 -0
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +2 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +8 -0
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
- data/generated/google/apis/fitness_v1.rb +19 -19
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +87 -41
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +62 -29
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +114 -49
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +12 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -10
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
- data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
- data/generated/google/apis/recommender_v1beta1.rb +34 -0
- data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
- data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
- data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +3553 -33
- data/generated/google/apis/run_v1/representations.rb +1186 -4
- data/generated/google/apis/run_v1/service.rb +2509 -23
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
- data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
- data/generated/google/apis/run_v1beta1/representations.rb +421 -0
- data/generated/google/apis/run_v1beta1/service.rb +172 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
- data/generated/google/apis/safebrowsing_v4.rb +5 -2
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
- data/generated/google/apis/securitycenter_v1/service.rb +13 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
- data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +78 -2
- data/generated/google/apis/spanner_v1/representations.rb +44 -0
- data/generated/google/apis/spanner_v1/service.rb +35 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +73 -19
- data/generated/google/apis/speech_v1/representations.rb +18 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
- data/generated/google/apis/speech_v2beta.rb +1 -1
- data/generated/google/apis/speech_v2beta/classes.rb +6 -6
- data/generated/google/apis/speech_v2beta/representations.rb +2 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +1 -1
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +42 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1/service.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
- data/generated/google/apis/translate_v3beta1/service.rb +31 -31
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +6 -156
- data/generated/google/apis/vision_v1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
- data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
- data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
- data/lib/google/apis/version.rb +1 -1
- metadata +18 -6
- data/generated/google/apis/dfareporting_v3_1.rb +0 -40
- data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
- data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
- data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
|
@@ -196,12 +196,6 @@ module Google
|
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
-
class GoogleRpcStatus
|
|
200
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
-
|
|
202
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
-
end
|
|
204
|
-
|
|
205
199
|
class HttpGetAction
|
|
206
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
201
|
|
|
@@ -358,12 +352,6 @@ module Google
|
|
|
358
352
|
include Google::Apis::Core::JsonObjectSupport
|
|
359
353
|
end
|
|
360
354
|
|
|
361
|
-
class RegionDetails
|
|
362
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
-
|
|
364
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
-
end
|
|
366
|
-
|
|
367
355
|
class ResourceRecord
|
|
368
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
357
|
|
|
@@ -660,6 +648,7 @@ module Google
|
|
|
660
648
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
661
649
|
property :local_object_reference, as: 'localObjectReference', class: Google::Apis::RunV1alpha1::LocalObjectReference, decorator: Google::Apis::RunV1alpha1::LocalObjectReference::Representation
|
|
662
650
|
|
|
651
|
+
property :name, as: 'name'
|
|
663
652
|
property :optional, as: 'optional'
|
|
664
653
|
end
|
|
665
654
|
end
|
|
@@ -670,6 +659,7 @@ module Google
|
|
|
670
659
|
property :key, as: 'key'
|
|
671
660
|
property :local_object_reference, as: 'localObjectReference', class: Google::Apis::RunV1alpha1::LocalObjectReference, decorator: Google::Apis::RunV1alpha1::LocalObjectReference::Representation
|
|
672
661
|
|
|
662
|
+
property :name, as: 'name'
|
|
673
663
|
property :optional, as: 'optional'
|
|
674
664
|
end
|
|
675
665
|
end
|
|
@@ -925,15 +915,6 @@ module Google
|
|
|
925
915
|
end
|
|
926
916
|
end
|
|
927
917
|
|
|
928
|
-
class GoogleRpcStatus
|
|
929
|
-
# @private
|
|
930
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
931
|
-
property :code, as: 'code'
|
|
932
|
-
collection :details, as: 'details'
|
|
933
|
-
property :message, as: 'message'
|
|
934
|
-
end
|
|
935
|
-
end
|
|
936
|
-
|
|
937
918
|
class HttpGetAction
|
|
938
919
|
# @private
|
|
939
920
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1028,8 +1009,6 @@ module Google
|
|
|
1028
1009
|
property :kind, as: 'kind'
|
|
1029
1010
|
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
|
|
1030
1011
|
|
|
1031
|
-
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
|
|
1032
|
-
|
|
1033
1012
|
collection :unreachable, as: 'unreachable'
|
|
1034
1013
|
end
|
|
1035
1014
|
end
|
|
@@ -1043,8 +1022,7 @@ module Google
|
|
|
1043
1022
|
property :kind, as: 'kind'
|
|
1044
1023
|
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
|
|
1045
1024
|
|
|
1046
|
-
|
|
1047
|
-
|
|
1025
|
+
collection :unreachable, as: 'unreachable'
|
|
1048
1026
|
end
|
|
1049
1027
|
end
|
|
1050
1028
|
|
|
@@ -1057,8 +1035,6 @@ module Google
|
|
|
1057
1035
|
property :kind, as: 'kind'
|
|
1058
1036
|
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
|
|
1059
1037
|
|
|
1060
|
-
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
|
|
1061
|
-
|
|
1062
1038
|
collection :unreachable, as: 'unreachable'
|
|
1063
1039
|
end
|
|
1064
1040
|
end
|
|
@@ -1090,8 +1066,6 @@ module Google
|
|
|
1090
1066
|
property :kind, as: 'kind'
|
|
1091
1067
|
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
|
|
1092
1068
|
|
|
1093
|
-
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
|
|
1094
|
-
|
|
1095
1069
|
collection :unreachable, as: 'unreachable'
|
|
1096
1070
|
end
|
|
1097
1071
|
end
|
|
@@ -1105,8 +1079,6 @@ module Google
|
|
|
1105
1079
|
property :kind, as: 'kind'
|
|
1106
1080
|
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
|
|
1107
1081
|
|
|
1108
|
-
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
|
|
1109
|
-
|
|
1110
1082
|
collection :unreachable, as: 'unreachable'
|
|
1111
1083
|
end
|
|
1112
1084
|
end
|
|
@@ -1120,8 +1092,6 @@ module Google
|
|
|
1120
1092
|
property :kind, as: 'kind'
|
|
1121
1093
|
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
|
|
1122
1094
|
|
|
1123
|
-
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
|
|
1124
|
-
|
|
1125
1095
|
collection :unreachable, as: 'unreachable'
|
|
1126
1096
|
end
|
|
1127
1097
|
end
|
|
@@ -1135,8 +1105,6 @@ module Google
|
|
|
1135
1105
|
property :kind, as: 'kind'
|
|
1136
1106
|
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
|
|
1137
1107
|
|
|
1138
|
-
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
|
|
1139
|
-
|
|
1140
1108
|
collection :unreachable, as: 'unreachable'
|
|
1141
1109
|
end
|
|
1142
1110
|
end
|
|
@@ -1240,14 +1208,6 @@ module Google
|
|
|
1240
1208
|
end
|
|
1241
1209
|
end
|
|
1242
1210
|
|
|
1243
|
-
class RegionDetails
|
|
1244
|
-
# @private
|
|
1245
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1246
|
-
property :error, as: 'error', class: Google::Apis::RunV1alpha1::GoogleRpcStatus, decorator: Google::Apis::RunV1alpha1::GoogleRpcStatus::Representation
|
|
1247
|
-
|
|
1248
|
-
end
|
|
1249
|
-
end
|
|
1250
|
-
|
|
1251
1211
|
class ResourceRecord
|
|
1252
1212
|
# @private
|
|
1253
1213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1401,6 +1361,7 @@ module Google
|
|
|
1401
1361
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1402
1362
|
property :local_object_reference, as: 'localObjectReference', class: Google::Apis::RunV1alpha1::LocalObjectReference, decorator: Google::Apis::RunV1alpha1::LocalObjectReference::Representation
|
|
1403
1363
|
|
|
1364
|
+
property :name, as: 'name'
|
|
1404
1365
|
property :optional, as: 'optional'
|
|
1405
1366
|
end
|
|
1406
1367
|
end
|
|
@@ -1411,6 +1372,7 @@ module Google
|
|
|
1411
1372
|
property :key, as: 'key'
|
|
1412
1373
|
property :local_object_reference, as: 'localObjectReference', class: Google::Apis::RunV1alpha1::LocalObjectReference, decorator: Google::Apis::RunV1alpha1::LocalObjectReference::Representation
|
|
1413
1374
|
|
|
1375
|
+
property :name, as: 'name'
|
|
1414
1376
|
property :optional, as: 'optional'
|
|
1415
1377
|
end
|
|
1416
1378
|
end
|
|
@@ -0,0 +1,35 @@
|
|
|
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 'google/apis/run_v1beta1/service.rb'
|
|
16
|
+
require 'google/apis/run_v1beta1/classes.rb'
|
|
17
|
+
require 'google/apis/run_v1beta1/representations.rb'
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Apis
|
|
21
|
+
# Cloud Run API
|
|
22
|
+
#
|
|
23
|
+
# Deploy and manage user provided container images that scale automatically
|
|
24
|
+
# based on HTTP traffic.
|
|
25
|
+
#
|
|
26
|
+
# @see https://cloud.google.com/run/
|
|
27
|
+
module RunV1beta1
|
|
28
|
+
VERSION = 'V1beta1'
|
|
29
|
+
REVISION = '20190920'
|
|
30
|
+
|
|
31
|
+
# View and manage your data across Google Cloud Platform services
|
|
32
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,1209 @@
|
|
|
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 RunV1beta1
|
|
24
|
+
|
|
25
|
+
# CustomResourceColumnDefinition specifies a column for server side printing.
|
|
26
|
+
class CustomResourceColumnDefinition
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# description is a human readable description of this column.
|
|
30
|
+
# +optional
|
|
31
|
+
# Corresponds to the JSON property `description`
|
|
32
|
+
# @return [String]
|
|
33
|
+
attr_accessor :description
|
|
34
|
+
|
|
35
|
+
# format is an optional OpenAPI type definition for this column. The 'name'
|
|
36
|
+
# format is applied to the primary identifier column to assist in clients
|
|
37
|
+
# identifying column is the resource name. See
|
|
38
|
+
# https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-
|
|
39
|
+
# types
|
|
40
|
+
# for more. +optional
|
|
41
|
+
# Corresponds to the JSON property `format`
|
|
42
|
+
# @return [String]
|
|
43
|
+
attr_accessor :format
|
|
44
|
+
|
|
45
|
+
# JSONPath is a simple JSON path, i.e. with array notation.
|
|
46
|
+
# Corresponds to the JSON property `jsonPath`
|
|
47
|
+
# @return [String]
|
|
48
|
+
attr_accessor :json_path
|
|
49
|
+
|
|
50
|
+
# name is a human readable name for the column.
|
|
51
|
+
# Corresponds to the JSON property `name`
|
|
52
|
+
# @return [String]
|
|
53
|
+
attr_accessor :name
|
|
54
|
+
|
|
55
|
+
# priority is an integer defining the relative importance of this column
|
|
56
|
+
# compared to others. Lower numbers are considered higher priority. Columns
|
|
57
|
+
# that may be omitted in limited space scenarios should be given a higher
|
|
58
|
+
# priority. +optional
|
|
59
|
+
# Corresponds to the JSON property `priority`
|
|
60
|
+
# @return [Fixnum]
|
|
61
|
+
attr_accessor :priority
|
|
62
|
+
|
|
63
|
+
# type is an OpenAPI type definition for this column.
|
|
64
|
+
# See
|
|
65
|
+
# https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-
|
|
66
|
+
# types
|
|
67
|
+
# for more.
|
|
68
|
+
# Corresponds to the JSON property `type`
|
|
69
|
+
# @return [String]
|
|
70
|
+
attr_accessor :type
|
|
71
|
+
|
|
72
|
+
def initialize(**args)
|
|
73
|
+
update!(**args)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Update properties of this object
|
|
77
|
+
def update!(**args)
|
|
78
|
+
@description = args[:description] if args.key?(:description)
|
|
79
|
+
@format = args[:format] if args.key?(:format)
|
|
80
|
+
@json_path = args[:json_path] if args.key?(:json_path)
|
|
81
|
+
@name = args[:name] if args.key?(:name)
|
|
82
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
83
|
+
@type = args[:type] if args.key?(:type)
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# CustomResourceDefinition represents a resource that should be exposed on the
|
|
88
|
+
# API server. Its name MUST be in the format
|
|
89
|
+
# <.spec.name>.<.spec.group>.
|
|
90
|
+
class CustomResourceDefinition
|
|
91
|
+
include Google::Apis::Core::Hashable
|
|
92
|
+
|
|
93
|
+
# The API version for this call such as "k8s.apiextensions.io/v1beta1".
|
|
94
|
+
# Corresponds to the JSON property `apiVersion`
|
|
95
|
+
# @return [String]
|
|
96
|
+
attr_accessor :api_version
|
|
97
|
+
|
|
98
|
+
# The kind of resource, one example is "Storage".
|
|
99
|
+
# Corresponds to the JSON property `kind`
|
|
100
|
+
# @return [String]
|
|
101
|
+
attr_accessor :kind
|
|
102
|
+
|
|
103
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
|
104
|
+
# all objects users must create.
|
|
105
|
+
# Corresponds to the JSON property `metadata`
|
|
106
|
+
# @return [Google::Apis::RunV1beta1::ObjectMeta]
|
|
107
|
+
attr_accessor :metadata
|
|
108
|
+
|
|
109
|
+
# CustomResourceDefinitionSpec describes how a user wants their resource to
|
|
110
|
+
# appear
|
|
111
|
+
# Corresponds to the JSON property `spec`
|
|
112
|
+
# @return [Google::Apis::RunV1beta1::CustomResourceDefinitionSpec]
|
|
113
|
+
attr_accessor :spec
|
|
114
|
+
|
|
115
|
+
def initialize(**args)
|
|
116
|
+
update!(**args)
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Update properties of this object
|
|
120
|
+
def update!(**args)
|
|
121
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
122
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
123
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
124
|
+
@spec = args[:spec] if args.key?(:spec)
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# CustomResourceDefinitionNames indicates the names to serve this
|
|
129
|
+
# CustomResourceDefinition
|
|
130
|
+
class CustomResourceDefinitionNames
|
|
131
|
+
include Google::Apis::Core::Hashable
|
|
132
|
+
|
|
133
|
+
# Categories is a list of grouped resources custom resources belong to (e.g.
|
|
134
|
+
# 'all') +optional
|
|
135
|
+
# Corresponds to the JSON property `categories`
|
|
136
|
+
# @return [Array<String>]
|
|
137
|
+
attr_accessor :categories
|
|
138
|
+
|
|
139
|
+
# Kind is the serialized kind of the resource. It is normally CamelCase and
|
|
140
|
+
# singular.
|
|
141
|
+
# Corresponds to the JSON property `kind`
|
|
142
|
+
# @return [String]
|
|
143
|
+
attr_accessor :kind
|
|
144
|
+
|
|
145
|
+
# ListKind is the serialized kind of the list for this resource. Defaults to
|
|
146
|
+
# <kind>List. +optional
|
|
147
|
+
# Corresponds to the JSON property `listKind`
|
|
148
|
+
# @return [String]
|
|
149
|
+
attr_accessor :list_kind
|
|
150
|
+
|
|
151
|
+
# Plural is the plural name of the resource to serve. It must match the name
|
|
152
|
+
# of the CustomResourceDefinition-registration too: plural.group and it must
|
|
153
|
+
# be all lowercase.
|
|
154
|
+
# Corresponds to the JSON property `plural`
|
|
155
|
+
# @return [String]
|
|
156
|
+
attr_accessor :plural
|
|
157
|
+
|
|
158
|
+
# ShortNames are short names for the resource. It must be all lowercase.
|
|
159
|
+
# +optional
|
|
160
|
+
# Corresponds to the JSON property `shortNames`
|
|
161
|
+
# @return [Array<String>]
|
|
162
|
+
attr_accessor :short_names
|
|
163
|
+
|
|
164
|
+
# Singular is the singular name of the resource. It must be all lowercase
|
|
165
|
+
# Defaults to lowercased <kind> +optional
|
|
166
|
+
# Corresponds to the JSON property `singular`
|
|
167
|
+
# @return [String]
|
|
168
|
+
attr_accessor :singular
|
|
169
|
+
|
|
170
|
+
def initialize(**args)
|
|
171
|
+
update!(**args)
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# Update properties of this object
|
|
175
|
+
def update!(**args)
|
|
176
|
+
@categories = args[:categories] if args.key?(:categories)
|
|
177
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
178
|
+
@list_kind = args[:list_kind] if args.key?(:list_kind)
|
|
179
|
+
@plural = args[:plural] if args.key?(:plural)
|
|
180
|
+
@short_names = args[:short_names] if args.key?(:short_names)
|
|
181
|
+
@singular = args[:singular] if args.key?(:singular)
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
# CustomResourceDefinitionSpec describes how a user wants their resource to
|
|
186
|
+
# appear
|
|
187
|
+
class CustomResourceDefinitionSpec
|
|
188
|
+
include Google::Apis::Core::Hashable
|
|
189
|
+
|
|
190
|
+
# AdditionalPrinterColumns are additional columns shown e.g. in kubectl next
|
|
191
|
+
# to the name. Defaults to a created-at column. +optional
|
|
192
|
+
# Corresponds to the JSON property `additionalPrinterColumns`
|
|
193
|
+
# @return [Array<Google::Apis::RunV1beta1::CustomResourceColumnDefinition>]
|
|
194
|
+
attr_accessor :additional_printer_columns
|
|
195
|
+
|
|
196
|
+
# Group is the group this resource belongs in
|
|
197
|
+
# Corresponds to the JSON property `group`
|
|
198
|
+
# @return [String]
|
|
199
|
+
attr_accessor :group
|
|
200
|
+
|
|
201
|
+
# CustomResourceDefinitionNames indicates the names to serve this
|
|
202
|
+
# CustomResourceDefinition
|
|
203
|
+
# Corresponds to the JSON property `names`
|
|
204
|
+
# @return [Google::Apis::RunV1beta1::CustomResourceDefinitionNames]
|
|
205
|
+
attr_accessor :names
|
|
206
|
+
|
|
207
|
+
# Scope indicates whether this resource is cluster or namespace scoped.
|
|
208
|
+
# Default is namespaced
|
|
209
|
+
# Corresponds to the JSON property `scope`
|
|
210
|
+
# @return [String]
|
|
211
|
+
attr_accessor :scope
|
|
212
|
+
|
|
213
|
+
# CustomResourceSubresources defines the status and scale subresources for
|
|
214
|
+
# CustomResources.
|
|
215
|
+
# Corresponds to the JSON property `subresources`
|
|
216
|
+
# @return [Google::Apis::RunV1beta1::CustomResourceSubresources]
|
|
217
|
+
attr_accessor :subresources
|
|
218
|
+
|
|
219
|
+
# CustomResourceValidation is a list of validation methods for CustomResources.
|
|
220
|
+
# Corresponds to the JSON property `validation`
|
|
221
|
+
# @return [Google::Apis::RunV1beta1::CustomResourceValidation]
|
|
222
|
+
attr_accessor :validation
|
|
223
|
+
|
|
224
|
+
# Version is the version this resource belongs in
|
|
225
|
+
# Should be always first item in Versions field if provided.
|
|
226
|
+
# Optional, but at least one of Version or Versions must be set.
|
|
227
|
+
# Deprecated: Please use `Versions`.
|
|
228
|
+
# +optional
|
|
229
|
+
# Corresponds to the JSON property `version`
|
|
230
|
+
# @return [String]
|
|
231
|
+
attr_accessor :version
|
|
232
|
+
|
|
233
|
+
# Versions is the list of all supported versions for this resource.
|
|
234
|
+
# If Version field is provided, this field is optional.
|
|
235
|
+
# Validation: All versions must use the same validation schema for now. i.e.,
|
|
236
|
+
# top level Validation field is applied to all of these versions. Order: The
|
|
237
|
+
# version name will be used to compute the order. If the version string is
|
|
238
|
+
# "kube-like", it will sort above non "kube-like" version strings, which are
|
|
239
|
+
# ordered lexicographically. "Kube-like" versions start with a "v", then are
|
|
240
|
+
# followed by a number (the major version), then optionally the string
|
|
241
|
+
# "alpha" or "beta" and another number (the minor version). These are sorted
|
|
242
|
+
# first by GA > beta > alpha (where GA is a version with no suffix such as
|
|
243
|
+
# beta or alpha), and then by comparing major version, then minor version. An
|
|
244
|
+
# example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1,
|
|
245
|
+
# v12alpha1, v11alpha2, foo1, foo10. +optional
|
|
246
|
+
# Corresponds to the JSON property `versions`
|
|
247
|
+
# @return [Array<Google::Apis::RunV1beta1::CustomResourceDefinitionVersion>]
|
|
248
|
+
attr_accessor :versions
|
|
249
|
+
|
|
250
|
+
def initialize(**args)
|
|
251
|
+
update!(**args)
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
# Update properties of this object
|
|
255
|
+
def update!(**args)
|
|
256
|
+
@additional_printer_columns = args[:additional_printer_columns] if args.key?(:additional_printer_columns)
|
|
257
|
+
@group = args[:group] if args.key?(:group)
|
|
258
|
+
@names = args[:names] if args.key?(:names)
|
|
259
|
+
@scope = args[:scope] if args.key?(:scope)
|
|
260
|
+
@subresources = args[:subresources] if args.key?(:subresources)
|
|
261
|
+
@validation = args[:validation] if args.key?(:validation)
|
|
262
|
+
@version = args[:version] if args.key?(:version)
|
|
263
|
+
@versions = args[:versions] if args.key?(:versions)
|
|
264
|
+
end
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
#
|
|
268
|
+
class CustomResourceDefinitionVersion
|
|
269
|
+
include Google::Apis::Core::Hashable
|
|
270
|
+
|
|
271
|
+
# Name is the version name, e.g. “v1”, “v2beta1”, etc.
|
|
272
|
+
# Corresponds to the JSON property `name`
|
|
273
|
+
# @return [String]
|
|
274
|
+
attr_accessor :name
|
|
275
|
+
|
|
276
|
+
# Served is a flag enabling/disabling this version from being served via REST
|
|
277
|
+
# APIs
|
|
278
|
+
# Corresponds to the JSON property `served`
|
|
279
|
+
# @return [Boolean]
|
|
280
|
+
attr_accessor :served
|
|
281
|
+
alias_method :served?, :served
|
|
282
|
+
|
|
283
|
+
# Storage flags the version as storage version. There must be exactly one
|
|
284
|
+
# flagged as storage version.
|
|
285
|
+
# Corresponds to the JSON property `storage`
|
|
286
|
+
# @return [Boolean]
|
|
287
|
+
attr_accessor :storage
|
|
288
|
+
alias_method :storage?, :storage
|
|
289
|
+
|
|
290
|
+
def initialize(**args)
|
|
291
|
+
update!(**args)
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# Update properties of this object
|
|
295
|
+
def update!(**args)
|
|
296
|
+
@name = args[:name] if args.key?(:name)
|
|
297
|
+
@served = args[:served] if args.key?(:served)
|
|
298
|
+
@storage = args[:storage] if args.key?(:storage)
|
|
299
|
+
end
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# CustomResourceSubresourceScale defines how to serve the scale subresource for
|
|
303
|
+
# CustomResources.
|
|
304
|
+
class CustomResourceSubresourceScale
|
|
305
|
+
include Google::Apis::Core::Hashable
|
|
306
|
+
|
|
307
|
+
# LabelSelectorPath defines the JSON path inside of a CustomResource that
|
|
308
|
+
# corresponds to Scale.Status.Selector. Only JSON paths without the array
|
|
309
|
+
# notation are allowed. Must be a JSON Path under .status. Must be set to
|
|
310
|
+
# work with HPA. If there is no value under the given path in the
|
|
311
|
+
# CustomResource, the status label selector value in the /scale subresource
|
|
312
|
+
# will default to the empty string. +optional
|
|
313
|
+
# Corresponds to the JSON property `labelSelectorPath`
|
|
314
|
+
# @return [String]
|
|
315
|
+
attr_accessor :label_selector_path
|
|
316
|
+
|
|
317
|
+
# SpecReplicasPath defines the JSON path inside of a CustomResource that
|
|
318
|
+
# corresponds to Scale.Spec.Replicas. Only JSON paths without the array
|
|
319
|
+
# notation are allowed. Must be a JSON Path under .spec. If there is no value
|
|
320
|
+
# under the given path in the CustomResource, the /scale subresource will
|
|
321
|
+
# return an error on GET.
|
|
322
|
+
# Corresponds to the JSON property `specReplicasPath`
|
|
323
|
+
# @return [String]
|
|
324
|
+
attr_accessor :spec_replicas_path
|
|
325
|
+
|
|
326
|
+
# StatusReplicasPath defines the JSON path inside of a CustomResource that
|
|
327
|
+
# corresponds to Scale.Status.Replicas. Only JSON paths without the array
|
|
328
|
+
# notation are allowed. Must be a JSON Path under .status. If there is no
|
|
329
|
+
# value under the given path in the CustomResource, the status replica value
|
|
330
|
+
# in the /scale subresource will default to 0.
|
|
331
|
+
# Corresponds to the JSON property `statusReplicasPath`
|
|
332
|
+
# @return [String]
|
|
333
|
+
attr_accessor :status_replicas_path
|
|
334
|
+
|
|
335
|
+
def initialize(**args)
|
|
336
|
+
update!(**args)
|
|
337
|
+
end
|
|
338
|
+
|
|
339
|
+
# Update properties of this object
|
|
340
|
+
def update!(**args)
|
|
341
|
+
@label_selector_path = args[:label_selector_path] if args.key?(:label_selector_path)
|
|
342
|
+
@spec_replicas_path = args[:spec_replicas_path] if args.key?(:spec_replicas_path)
|
|
343
|
+
@status_replicas_path = args[:status_replicas_path] if args.key?(:status_replicas_path)
|
|
344
|
+
end
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
# CustomResourceSubresourceStatus defines how to serve the status subresource
|
|
348
|
+
# for CustomResources. Status is represented by the `.status` JSON path inside
|
|
349
|
+
# of a CustomResource. When set,
|
|
350
|
+
# * exposes a /status subresource for the custom resource
|
|
351
|
+
# * PUT requests to the /status subresource take a custom resource object, and
|
|
352
|
+
# ignore changes to anything except the status stanza
|
|
353
|
+
# * PUT/POST/PATCH requests to the custom resource ignore changes to the status
|
|
354
|
+
# stanza
|
|
355
|
+
class CustomResourceSubresourceStatus
|
|
356
|
+
include Google::Apis::Core::Hashable
|
|
357
|
+
|
|
358
|
+
def initialize(**args)
|
|
359
|
+
update!(**args)
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
# Update properties of this object
|
|
363
|
+
def update!(**args)
|
|
364
|
+
end
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
# CustomResourceSubresources defines the status and scale subresources for
|
|
368
|
+
# CustomResources.
|
|
369
|
+
class CustomResourceSubresources
|
|
370
|
+
include Google::Apis::Core::Hashable
|
|
371
|
+
|
|
372
|
+
# CustomResourceSubresourceScale defines how to serve the scale subresource for
|
|
373
|
+
# CustomResources.
|
|
374
|
+
# Corresponds to the JSON property `scale`
|
|
375
|
+
# @return [Google::Apis::RunV1beta1::CustomResourceSubresourceScale]
|
|
376
|
+
attr_accessor :scale
|
|
377
|
+
|
|
378
|
+
# CustomResourceSubresourceStatus defines how to serve the status subresource
|
|
379
|
+
# for CustomResources. Status is represented by the `.status` JSON path inside
|
|
380
|
+
# of a CustomResource. When set,
|
|
381
|
+
# * exposes a /status subresource for the custom resource
|
|
382
|
+
# * PUT requests to the /status subresource take a custom resource object, and
|
|
383
|
+
# ignore changes to anything except the status stanza
|
|
384
|
+
# * PUT/POST/PATCH requests to the custom resource ignore changes to the status
|
|
385
|
+
# stanza
|
|
386
|
+
# Corresponds to the JSON property `status`
|
|
387
|
+
# @return [Google::Apis::RunV1beta1::CustomResourceSubresourceStatus]
|
|
388
|
+
attr_accessor :status
|
|
389
|
+
|
|
390
|
+
def initialize(**args)
|
|
391
|
+
update!(**args)
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
# Update properties of this object
|
|
395
|
+
def update!(**args)
|
|
396
|
+
@scale = args[:scale] if args.key?(:scale)
|
|
397
|
+
@status = args[:status] if args.key?(:status)
|
|
398
|
+
end
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
# CustomResourceValidation is a list of validation methods for CustomResources.
|
|
402
|
+
class CustomResourceValidation
|
|
403
|
+
include Google::Apis::Core::Hashable
|
|
404
|
+
|
|
405
|
+
# JSONSchemaProps is a JSON-Schema following Specification Draft 4
|
|
406
|
+
# (http://json-schema.org/).
|
|
407
|
+
# Corresponds to the JSON property `openAPIV3Schema`
|
|
408
|
+
# @return [Google::Apis::RunV1beta1::JsonSchemaProps]
|
|
409
|
+
attr_accessor :open_apiv3_schema
|
|
410
|
+
|
|
411
|
+
def initialize(**args)
|
|
412
|
+
update!(**args)
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
# Update properties of this object
|
|
416
|
+
def update!(**args)
|
|
417
|
+
@open_apiv3_schema = args[:open_apiv3_schema] if args.key?(:open_apiv3_schema)
|
|
418
|
+
end
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
# ExternalDocumentation allows referencing an external resource for extended
|
|
422
|
+
# documentation.
|
|
423
|
+
class ExternalDocumentation
|
|
424
|
+
include Google::Apis::Core::Hashable
|
|
425
|
+
|
|
426
|
+
#
|
|
427
|
+
# Corresponds to the JSON property `description`
|
|
428
|
+
# @return [String]
|
|
429
|
+
attr_accessor :description
|
|
430
|
+
|
|
431
|
+
#
|
|
432
|
+
# Corresponds to the JSON property `url`
|
|
433
|
+
# @return [String]
|
|
434
|
+
attr_accessor :url
|
|
435
|
+
|
|
436
|
+
def initialize(**args)
|
|
437
|
+
update!(**args)
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
# Update properties of this object
|
|
441
|
+
def update!(**args)
|
|
442
|
+
@description = args[:description] if args.key?(:description)
|
|
443
|
+
@url = args[:url] if args.key?(:url)
|
|
444
|
+
end
|
|
445
|
+
end
|
|
446
|
+
|
|
447
|
+
# Initializer is information about an initializer that has not yet completed.
|
|
448
|
+
class Initializer
|
|
449
|
+
include Google::Apis::Core::Hashable
|
|
450
|
+
|
|
451
|
+
# name of the process that is responsible for initializing this object.
|
|
452
|
+
# Corresponds to the JSON property `name`
|
|
453
|
+
# @return [String]
|
|
454
|
+
attr_accessor :name
|
|
455
|
+
|
|
456
|
+
def initialize(**args)
|
|
457
|
+
update!(**args)
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
# Update properties of this object
|
|
461
|
+
def update!(**args)
|
|
462
|
+
@name = args[:name] if args.key?(:name)
|
|
463
|
+
end
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
# Initializers tracks the progress of initialization.
|
|
467
|
+
class Initializers
|
|
468
|
+
include Google::Apis::Core::Hashable
|
|
469
|
+
|
|
470
|
+
# Pending is a list of initializers that must execute in order before this
|
|
471
|
+
# object is visible. When the last pending initializer is removed, and no
|
|
472
|
+
# failing result is set, the initializers struct will be set to nil and the
|
|
473
|
+
# object is considered as initialized and visible to all clients.
|
|
474
|
+
# +patchMergeKey=name
|
|
475
|
+
# +patchStrategy=merge
|
|
476
|
+
# Corresponds to the JSON property `pending`
|
|
477
|
+
# @return [Array<Google::Apis::RunV1beta1::Initializer>]
|
|
478
|
+
attr_accessor :pending
|
|
479
|
+
|
|
480
|
+
def initialize(**args)
|
|
481
|
+
update!(**args)
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
# Update properties of this object
|
|
485
|
+
def update!(**args)
|
|
486
|
+
@pending = args[:pending] if args.key?(:pending)
|
|
487
|
+
end
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
# JSON represents any valid JSON value.
|
|
491
|
+
# These types are supported: bool, int64, float64, string, []interface``,
|
|
492
|
+
# map[string]interface`` and nil.
|
|
493
|
+
class Json
|
|
494
|
+
include Google::Apis::Core::Hashable
|
|
495
|
+
|
|
496
|
+
#
|
|
497
|
+
# Corresponds to the JSON property `raw`
|
|
498
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
499
|
+
# @return [String]
|
|
500
|
+
attr_accessor :raw
|
|
501
|
+
|
|
502
|
+
def initialize(**args)
|
|
503
|
+
update!(**args)
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
# Update properties of this object
|
|
507
|
+
def update!(**args)
|
|
508
|
+
@raw = args[:raw] if args.key?(:raw)
|
|
509
|
+
end
|
|
510
|
+
end
|
|
511
|
+
|
|
512
|
+
# JSONSchemaProps is a JSON-Schema following Specification Draft 4
|
|
513
|
+
# (http://json-schema.org/).
|
|
514
|
+
class JsonSchemaProps
|
|
515
|
+
include Google::Apis::Core::Hashable
|
|
516
|
+
|
|
517
|
+
# JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value.
|
|
518
|
+
# Defaults to true for the boolean property.
|
|
519
|
+
# Corresponds to the JSON property `additionalItems`
|
|
520
|
+
# @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrBool]
|
|
521
|
+
attr_accessor :additional_items
|
|
522
|
+
|
|
523
|
+
# JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value.
|
|
524
|
+
# Defaults to true for the boolean property.
|
|
525
|
+
# Corresponds to the JSON property `additionalProperties`
|
|
526
|
+
# @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrBool]
|
|
527
|
+
attr_accessor :additional_properties
|
|
528
|
+
|
|
529
|
+
#
|
|
530
|
+
# Corresponds to the JSON property `allOf`
|
|
531
|
+
# @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>]
|
|
532
|
+
attr_accessor :all_of
|
|
533
|
+
|
|
534
|
+
#
|
|
535
|
+
# Corresponds to the JSON property `anyOf`
|
|
536
|
+
# @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>]
|
|
537
|
+
attr_accessor :any_of
|
|
538
|
+
|
|
539
|
+
# JSON represents any valid JSON value.
|
|
540
|
+
# These types are supported: bool, int64, float64, string, []interface``,
|
|
541
|
+
# map[string]interface`` and nil.
|
|
542
|
+
# Corresponds to the JSON property `default`
|
|
543
|
+
# @return [Google::Apis::RunV1beta1::Json]
|
|
544
|
+
attr_accessor :default
|
|
545
|
+
|
|
546
|
+
#
|
|
547
|
+
# Corresponds to the JSON property `definitions`
|
|
548
|
+
# @return [Hash<String,Google::Apis::RunV1beta1::JsonSchemaProps>]
|
|
549
|
+
attr_accessor :definitions
|
|
550
|
+
|
|
551
|
+
#
|
|
552
|
+
# Corresponds to the JSON property `dependencies`
|
|
553
|
+
# @return [Hash<String,Google::Apis::RunV1beta1::JsonSchemaPropsOrStringArray>]
|
|
554
|
+
attr_accessor :dependencies
|
|
555
|
+
|
|
556
|
+
#
|
|
557
|
+
# Corresponds to the JSON property `description`
|
|
558
|
+
# @return [String]
|
|
559
|
+
attr_accessor :description
|
|
560
|
+
|
|
561
|
+
#
|
|
562
|
+
# Corresponds to the JSON property `enum`
|
|
563
|
+
# @return [Array<String>]
|
|
564
|
+
attr_accessor :enum
|
|
565
|
+
|
|
566
|
+
# JSON represents any valid JSON value.
|
|
567
|
+
# These types are supported: bool, int64, float64, string, []interface``,
|
|
568
|
+
# map[string]interface`` and nil.
|
|
569
|
+
# Corresponds to the JSON property `example`
|
|
570
|
+
# @return [Google::Apis::RunV1beta1::Json]
|
|
571
|
+
attr_accessor :example
|
|
572
|
+
|
|
573
|
+
#
|
|
574
|
+
# Corresponds to the JSON property `exclusiveMaximum`
|
|
575
|
+
# @return [Boolean]
|
|
576
|
+
attr_accessor :exclusive_maximum
|
|
577
|
+
alias_method :exclusive_maximum?, :exclusive_maximum
|
|
578
|
+
|
|
579
|
+
#
|
|
580
|
+
# Corresponds to the JSON property `exclusiveMinimum`
|
|
581
|
+
# @return [Boolean]
|
|
582
|
+
attr_accessor :exclusive_minimum
|
|
583
|
+
alias_method :exclusive_minimum?, :exclusive_minimum
|
|
584
|
+
|
|
585
|
+
# ExternalDocumentation allows referencing an external resource for extended
|
|
586
|
+
# documentation.
|
|
587
|
+
# Corresponds to the JSON property `externalDocs`
|
|
588
|
+
# @return [Google::Apis::RunV1beta1::ExternalDocumentation]
|
|
589
|
+
attr_accessor :external_docs
|
|
590
|
+
|
|
591
|
+
#
|
|
592
|
+
# Corresponds to the JSON property `format`
|
|
593
|
+
# @return [String]
|
|
594
|
+
attr_accessor :format
|
|
595
|
+
|
|
596
|
+
#
|
|
597
|
+
# Corresponds to the JSON property `id`
|
|
598
|
+
# @return [String]
|
|
599
|
+
attr_accessor :id
|
|
600
|
+
|
|
601
|
+
# JSONSchemaPropsOrArray represents a value that can either be a
|
|
602
|
+
# JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization
|
|
603
|
+
# purposes.
|
|
604
|
+
# Corresponds to the JSON property `items`
|
|
605
|
+
# @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrArray]
|
|
606
|
+
attr_accessor :items
|
|
607
|
+
|
|
608
|
+
#
|
|
609
|
+
# Corresponds to the JSON property `maxItems`
|
|
610
|
+
# @return [Fixnum]
|
|
611
|
+
attr_accessor :max_items
|
|
612
|
+
|
|
613
|
+
#
|
|
614
|
+
# Corresponds to the JSON property `maxLength`
|
|
615
|
+
# @return [Fixnum]
|
|
616
|
+
attr_accessor :max_length
|
|
617
|
+
|
|
618
|
+
#
|
|
619
|
+
# Corresponds to the JSON property `maxProperties`
|
|
620
|
+
# @return [Fixnum]
|
|
621
|
+
attr_accessor :max_properties
|
|
622
|
+
|
|
623
|
+
#
|
|
624
|
+
# Corresponds to the JSON property `maximum`
|
|
625
|
+
# @return [Float]
|
|
626
|
+
attr_accessor :maximum
|
|
627
|
+
|
|
628
|
+
#
|
|
629
|
+
# Corresponds to the JSON property `minItems`
|
|
630
|
+
# @return [Fixnum]
|
|
631
|
+
attr_accessor :min_items
|
|
632
|
+
|
|
633
|
+
#
|
|
634
|
+
# Corresponds to the JSON property `minLength`
|
|
635
|
+
# @return [Fixnum]
|
|
636
|
+
attr_accessor :min_length
|
|
637
|
+
|
|
638
|
+
#
|
|
639
|
+
# Corresponds to the JSON property `minProperties`
|
|
640
|
+
# @return [Fixnum]
|
|
641
|
+
attr_accessor :min_properties
|
|
642
|
+
|
|
643
|
+
#
|
|
644
|
+
# Corresponds to the JSON property `minimum`
|
|
645
|
+
# @return [Float]
|
|
646
|
+
attr_accessor :minimum
|
|
647
|
+
|
|
648
|
+
#
|
|
649
|
+
# Corresponds to the JSON property `multipleOf`
|
|
650
|
+
# @return [Float]
|
|
651
|
+
attr_accessor :multiple_of
|
|
652
|
+
|
|
653
|
+
# JSONSchemaProps is a JSON-Schema following Specification Draft 4
|
|
654
|
+
# (http://json-schema.org/).
|
|
655
|
+
# Corresponds to the JSON property `not`
|
|
656
|
+
# @return [Google::Apis::RunV1beta1::JsonSchemaProps]
|
|
657
|
+
attr_accessor :not
|
|
658
|
+
|
|
659
|
+
#
|
|
660
|
+
# Corresponds to the JSON property `oneOf`
|
|
661
|
+
# @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>]
|
|
662
|
+
attr_accessor :one_of
|
|
663
|
+
|
|
664
|
+
#
|
|
665
|
+
# Corresponds to the JSON property `pattern`
|
|
666
|
+
# @return [String]
|
|
667
|
+
attr_accessor :pattern
|
|
668
|
+
|
|
669
|
+
#
|
|
670
|
+
# Corresponds to the JSON property `patternProperties`
|
|
671
|
+
# @return [Hash<String,Google::Apis::RunV1beta1::JsonSchemaProps>]
|
|
672
|
+
attr_accessor :pattern_properties
|
|
673
|
+
|
|
674
|
+
#
|
|
675
|
+
# Corresponds to the JSON property `properties`
|
|
676
|
+
# @return [Hash<String,Google::Apis::RunV1beta1::JsonSchemaProps>]
|
|
677
|
+
attr_accessor :properties
|
|
678
|
+
|
|
679
|
+
#
|
|
680
|
+
# Corresponds to the JSON property `ref`
|
|
681
|
+
# @return [String]
|
|
682
|
+
attr_accessor :ref
|
|
683
|
+
|
|
684
|
+
#
|
|
685
|
+
# Corresponds to the JSON property `required`
|
|
686
|
+
# @return [Array<String>]
|
|
687
|
+
attr_accessor :required
|
|
688
|
+
|
|
689
|
+
#
|
|
690
|
+
# Corresponds to the JSON property `schema`
|
|
691
|
+
# @return [String]
|
|
692
|
+
attr_accessor :schema
|
|
693
|
+
|
|
694
|
+
#
|
|
695
|
+
# Corresponds to the JSON property `title`
|
|
696
|
+
# @return [String]
|
|
697
|
+
attr_accessor :title
|
|
698
|
+
|
|
699
|
+
#
|
|
700
|
+
# Corresponds to the JSON property `type`
|
|
701
|
+
# @return [String]
|
|
702
|
+
attr_accessor :type
|
|
703
|
+
|
|
704
|
+
#
|
|
705
|
+
# Corresponds to the JSON property `uniqueItems`
|
|
706
|
+
# @return [Boolean]
|
|
707
|
+
attr_accessor :unique_items
|
|
708
|
+
alias_method :unique_items?, :unique_items
|
|
709
|
+
|
|
710
|
+
def initialize(**args)
|
|
711
|
+
update!(**args)
|
|
712
|
+
end
|
|
713
|
+
|
|
714
|
+
# Update properties of this object
|
|
715
|
+
def update!(**args)
|
|
716
|
+
@additional_items = args[:additional_items] if args.key?(:additional_items)
|
|
717
|
+
@additional_properties = args[:additional_properties] if args.key?(:additional_properties)
|
|
718
|
+
@all_of = args[:all_of] if args.key?(:all_of)
|
|
719
|
+
@any_of = args[:any_of] if args.key?(:any_of)
|
|
720
|
+
@default = args[:default] if args.key?(:default)
|
|
721
|
+
@definitions = args[:definitions] if args.key?(:definitions)
|
|
722
|
+
@dependencies = args[:dependencies] if args.key?(:dependencies)
|
|
723
|
+
@description = args[:description] if args.key?(:description)
|
|
724
|
+
@enum = args[:enum] if args.key?(:enum)
|
|
725
|
+
@example = args[:example] if args.key?(:example)
|
|
726
|
+
@exclusive_maximum = args[:exclusive_maximum] if args.key?(:exclusive_maximum)
|
|
727
|
+
@exclusive_minimum = args[:exclusive_minimum] if args.key?(:exclusive_minimum)
|
|
728
|
+
@external_docs = args[:external_docs] if args.key?(:external_docs)
|
|
729
|
+
@format = args[:format] if args.key?(:format)
|
|
730
|
+
@id = args[:id] if args.key?(:id)
|
|
731
|
+
@items = args[:items] if args.key?(:items)
|
|
732
|
+
@max_items = args[:max_items] if args.key?(:max_items)
|
|
733
|
+
@max_length = args[:max_length] if args.key?(:max_length)
|
|
734
|
+
@max_properties = args[:max_properties] if args.key?(:max_properties)
|
|
735
|
+
@maximum = args[:maximum] if args.key?(:maximum)
|
|
736
|
+
@min_items = args[:min_items] if args.key?(:min_items)
|
|
737
|
+
@min_length = args[:min_length] if args.key?(:min_length)
|
|
738
|
+
@min_properties = args[:min_properties] if args.key?(:min_properties)
|
|
739
|
+
@minimum = args[:minimum] if args.key?(:minimum)
|
|
740
|
+
@multiple_of = args[:multiple_of] if args.key?(:multiple_of)
|
|
741
|
+
@not = args[:not] if args.key?(:not)
|
|
742
|
+
@one_of = args[:one_of] if args.key?(:one_of)
|
|
743
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
|
744
|
+
@pattern_properties = args[:pattern_properties] if args.key?(:pattern_properties)
|
|
745
|
+
@properties = args[:properties] if args.key?(:properties)
|
|
746
|
+
@ref = args[:ref] if args.key?(:ref)
|
|
747
|
+
@required = args[:required] if args.key?(:required)
|
|
748
|
+
@schema = args[:schema] if args.key?(:schema)
|
|
749
|
+
@title = args[:title] if args.key?(:title)
|
|
750
|
+
@type = args[:type] if args.key?(:type)
|
|
751
|
+
@unique_items = args[:unique_items] if args.key?(:unique_items)
|
|
752
|
+
end
|
|
753
|
+
end
|
|
754
|
+
|
|
755
|
+
# JSONSchemaPropsOrArray represents a value that can either be a
|
|
756
|
+
# JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization
|
|
757
|
+
# purposes.
|
|
758
|
+
class JsonSchemaPropsOrArray
|
|
759
|
+
include Google::Apis::Core::Hashable
|
|
760
|
+
|
|
761
|
+
#
|
|
762
|
+
# Corresponds to the JSON property `jsonSchemas`
|
|
763
|
+
# @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>]
|
|
764
|
+
attr_accessor :json_schemas
|
|
765
|
+
|
|
766
|
+
# JSONSchemaProps is a JSON-Schema following Specification Draft 4
|
|
767
|
+
# (http://json-schema.org/).
|
|
768
|
+
# Corresponds to the JSON property `schema`
|
|
769
|
+
# @return [Google::Apis::RunV1beta1::JsonSchemaProps]
|
|
770
|
+
attr_accessor :schema
|
|
771
|
+
|
|
772
|
+
def initialize(**args)
|
|
773
|
+
update!(**args)
|
|
774
|
+
end
|
|
775
|
+
|
|
776
|
+
# Update properties of this object
|
|
777
|
+
def update!(**args)
|
|
778
|
+
@json_schemas = args[:json_schemas] if args.key?(:json_schemas)
|
|
779
|
+
@schema = args[:schema] if args.key?(:schema)
|
|
780
|
+
end
|
|
781
|
+
end
|
|
782
|
+
|
|
783
|
+
# JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value.
|
|
784
|
+
# Defaults to true for the boolean property.
|
|
785
|
+
class JsonSchemaPropsOrBool
|
|
786
|
+
include Google::Apis::Core::Hashable
|
|
787
|
+
|
|
788
|
+
#
|
|
789
|
+
# Corresponds to the JSON property `allows`
|
|
790
|
+
# @return [Boolean]
|
|
791
|
+
attr_accessor :allows
|
|
792
|
+
alias_method :allows?, :allows
|
|
793
|
+
|
|
794
|
+
# JSONSchemaProps is a JSON-Schema following Specification Draft 4
|
|
795
|
+
# (http://json-schema.org/).
|
|
796
|
+
# Corresponds to the JSON property `schema`
|
|
797
|
+
# @return [Google::Apis::RunV1beta1::JsonSchemaProps]
|
|
798
|
+
attr_accessor :schema
|
|
799
|
+
|
|
800
|
+
def initialize(**args)
|
|
801
|
+
update!(**args)
|
|
802
|
+
end
|
|
803
|
+
|
|
804
|
+
# Update properties of this object
|
|
805
|
+
def update!(**args)
|
|
806
|
+
@allows = args[:allows] if args.key?(:allows)
|
|
807
|
+
@schema = args[:schema] if args.key?(:schema)
|
|
808
|
+
end
|
|
809
|
+
end
|
|
810
|
+
|
|
811
|
+
# JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.
|
|
812
|
+
class JsonSchemaPropsOrStringArray
|
|
813
|
+
include Google::Apis::Core::Hashable
|
|
814
|
+
|
|
815
|
+
#
|
|
816
|
+
# Corresponds to the JSON property `property`
|
|
817
|
+
# @return [Array<String>]
|
|
818
|
+
attr_accessor :property
|
|
819
|
+
|
|
820
|
+
# JSONSchemaProps is a JSON-Schema following Specification Draft 4
|
|
821
|
+
# (http://json-schema.org/).
|
|
822
|
+
# Corresponds to the JSON property `schema`
|
|
823
|
+
# @return [Google::Apis::RunV1beta1::JsonSchemaProps]
|
|
824
|
+
attr_accessor :schema
|
|
825
|
+
|
|
826
|
+
def initialize(**args)
|
|
827
|
+
update!(**args)
|
|
828
|
+
end
|
|
829
|
+
|
|
830
|
+
# Update properties of this object
|
|
831
|
+
def update!(**args)
|
|
832
|
+
@property = args[:property] if args.key?(:property)
|
|
833
|
+
@schema = args[:schema] if args.key?(:schema)
|
|
834
|
+
end
|
|
835
|
+
end
|
|
836
|
+
|
|
837
|
+
#
|
|
838
|
+
class ListCustomResourceDefinitionsResponse
|
|
839
|
+
include Google::Apis::Core::Hashable
|
|
840
|
+
|
|
841
|
+
# The API version for this call such as "k8s.apiextensions.io/v1beta1".
|
|
842
|
+
# Corresponds to the JSON property `apiVersion`
|
|
843
|
+
# @return [String]
|
|
844
|
+
attr_accessor :api_version
|
|
845
|
+
|
|
846
|
+
# List of CustomResourceDefinitions.
|
|
847
|
+
# Corresponds to the JSON property `items`
|
|
848
|
+
# @return [Array<Google::Apis::RunV1beta1::CustomResourceDefinition>]
|
|
849
|
+
attr_accessor :items
|
|
850
|
+
|
|
851
|
+
# The kind of this resource, in this case "CustomResourceDefinitionList".
|
|
852
|
+
# Corresponds to the JSON property `kind`
|
|
853
|
+
# @return [String]
|
|
854
|
+
attr_accessor :kind
|
|
855
|
+
|
|
856
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
|
857
|
+
# lists and various status objects. A resource may have only one of
|
|
858
|
+
# `ObjectMeta, ListMeta`.
|
|
859
|
+
# Corresponds to the JSON property `metadata`
|
|
860
|
+
# @return [Google::Apis::RunV1beta1::ListMeta]
|
|
861
|
+
attr_accessor :metadata
|
|
862
|
+
|
|
863
|
+
# Locations that could not be reached.
|
|
864
|
+
# Corresponds to the JSON property `unreachable`
|
|
865
|
+
# @return [Array<String>]
|
|
866
|
+
attr_accessor :unreachable
|
|
867
|
+
|
|
868
|
+
def initialize(**args)
|
|
869
|
+
update!(**args)
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
# Update properties of this object
|
|
873
|
+
def update!(**args)
|
|
874
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
875
|
+
@items = args[:items] if args.key?(:items)
|
|
876
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
877
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
878
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
879
|
+
end
|
|
880
|
+
end
|
|
881
|
+
|
|
882
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
|
883
|
+
# lists and various status objects. A resource may have only one of
|
|
884
|
+
# `ObjectMeta, ListMeta`.
|
|
885
|
+
class ListMeta
|
|
886
|
+
include Google::Apis::Core::Hashable
|
|
887
|
+
|
|
888
|
+
# continue may be set if the user set a limit on the number of items
|
|
889
|
+
# returned, and indicates that the server has more data available. The value
|
|
890
|
+
# is opaque and may be used to issue another request to the endpoint that
|
|
891
|
+
# served this list to retrieve the next set of available objects. Continuing
|
|
892
|
+
# a list may not be possible if the server configuration has changed or more
|
|
893
|
+
# than a few minutes have passed. The resourceVersion field returned when
|
|
894
|
+
# using this continue value will be identical to the value in the first
|
|
895
|
+
# response.
|
|
896
|
+
# Corresponds to the JSON property `continue`
|
|
897
|
+
# @return [String]
|
|
898
|
+
attr_accessor :continue
|
|
899
|
+
|
|
900
|
+
# String that identifies the server's internal version of this object that
|
|
901
|
+
# can be used by clients to determine when objects have changed. Value must
|
|
902
|
+
# be treated as opaque by clients and passed unmodified back to the server.
|
|
903
|
+
# Populated by the system.
|
|
904
|
+
# Read-only.
|
|
905
|
+
# More info:
|
|
906
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
|
|
907
|
+
# control-and-consistency
|
|
908
|
+
# +optional
|
|
909
|
+
# Corresponds to the JSON property `resourceVersion`
|
|
910
|
+
# @return [String]
|
|
911
|
+
attr_accessor :resource_version
|
|
912
|
+
|
|
913
|
+
# SelfLink is a URL representing this object.
|
|
914
|
+
# Populated by the system.
|
|
915
|
+
# Read-only.
|
|
916
|
+
# +optional
|
|
917
|
+
# Corresponds to the JSON property `selfLink`
|
|
918
|
+
# @return [String]
|
|
919
|
+
attr_accessor :self_link
|
|
920
|
+
|
|
921
|
+
def initialize(**args)
|
|
922
|
+
update!(**args)
|
|
923
|
+
end
|
|
924
|
+
|
|
925
|
+
# Update properties of this object
|
|
926
|
+
def update!(**args)
|
|
927
|
+
@continue = args[:continue] if args.key?(:continue)
|
|
928
|
+
@resource_version = args[:resource_version] if args.key?(:resource_version)
|
|
929
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
930
|
+
end
|
|
931
|
+
end
|
|
932
|
+
|
|
933
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
|
934
|
+
# all objects users must create.
|
|
935
|
+
class ObjectMeta
|
|
936
|
+
include Google::Apis::Core::Hashable
|
|
937
|
+
|
|
938
|
+
# Annotations is an unstructured key value map stored with a resource that
|
|
939
|
+
# may be set by external tools to store and retrieve arbitrary metadata. They
|
|
940
|
+
# are not queryable and should be preserved when modifying objects. More
|
|
941
|
+
# info: http://kubernetes.io/docs/user-guide/annotations +optional
|
|
942
|
+
# Corresponds to the JSON property `annotations`
|
|
943
|
+
# @return [Hash<String,String>]
|
|
944
|
+
attr_accessor :annotations
|
|
945
|
+
|
|
946
|
+
# Not currently supported by Cloud Run.
|
|
947
|
+
# The name of the cluster which the object belongs to.
|
|
948
|
+
# This is used to distinguish resources with same name and namespace in
|
|
949
|
+
# different clusters. This field is not set anywhere right now and apiserver
|
|
950
|
+
# is going to ignore it if set in create or update request. +optional
|
|
951
|
+
# Corresponds to the JSON property `clusterName`
|
|
952
|
+
# @return [String]
|
|
953
|
+
attr_accessor :cluster_name
|
|
954
|
+
|
|
955
|
+
# CreationTimestamp is a timestamp representing the server time when this
|
|
956
|
+
# object was created. It is not guaranteed to be set in happens-before order
|
|
957
|
+
# across separate operations. Clients may not set this value. It is
|
|
958
|
+
# represented in RFC3339 form and is in UTC.
|
|
959
|
+
# Populated by the system.
|
|
960
|
+
# Read-only.
|
|
961
|
+
# Null for lists.
|
|
962
|
+
# More info:
|
|
963
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
|
964
|
+
# +optional
|
|
965
|
+
# Corresponds to the JSON property `creationTimestamp`
|
|
966
|
+
# @return [String]
|
|
967
|
+
attr_accessor :creation_timestamp
|
|
968
|
+
|
|
969
|
+
# Not currently supported by Cloud Run.
|
|
970
|
+
# Number of seconds allowed for this object to gracefully terminate before
|
|
971
|
+
# it will be removed from the system. Only set when deletionTimestamp is also
|
|
972
|
+
# set. May only be shortened. Read-only. +optional
|
|
973
|
+
# Corresponds to the JSON property `deletionGracePeriodSeconds`
|
|
974
|
+
# @return [Fixnum]
|
|
975
|
+
attr_accessor :deletion_grace_period_seconds
|
|
976
|
+
|
|
977
|
+
# DeletionTimestamp is RFC 3339 date and time at which this resource will be
|
|
978
|
+
# deleted. This field is set by the server when a graceful deletion is
|
|
979
|
+
# requested by the user, and is not directly settable by a client. The
|
|
980
|
+
# resource is expected to be deleted (no longer visible from resource lists,
|
|
981
|
+
# and not reachable by name) after the time in this field, once the
|
|
982
|
+
# finalizers list is empty. As long as the finalizers list contains items,
|
|
983
|
+
# deletion is blocked. Once the deletionTimestamp is set, this value may not
|
|
984
|
+
# be unset or be set further into the future, although it may be shortened or
|
|
985
|
+
# the resource may be deleted prior to this time. For example, a user may
|
|
986
|
+
# request that a pod is deleted in 30 seconds. The Kubelet will react by
|
|
987
|
+
# sending a graceful termination signal to the containers in the pod. After
|
|
988
|
+
# that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
|
|
989
|
+
# to the container and after cleanup, remove the pod from the API. In the
|
|
990
|
+
# presence of network partitions, this object may still exist after this
|
|
991
|
+
# timestamp, until an administrator or automated process can determine the
|
|
992
|
+
# resource is fully terminated.
|
|
993
|
+
# If not set, graceful deletion of the object has not been requested.
|
|
994
|
+
# Populated by the system when a graceful deletion is requested.
|
|
995
|
+
# Read-only.
|
|
996
|
+
# More info:
|
|
997
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
|
998
|
+
# +optional
|
|
999
|
+
# Corresponds to the JSON property `deletionTimestamp`
|
|
1000
|
+
# @return [String]
|
|
1001
|
+
attr_accessor :deletion_timestamp
|
|
1002
|
+
|
|
1003
|
+
# Not currently supported by Cloud Run.
|
|
1004
|
+
# Must be empty before the object is deleted from the registry. Each entry
|
|
1005
|
+
# is an identifier for the responsible component that will remove the entry
|
|
1006
|
+
# from the list. If the deletionTimestamp of the object is non-nil, entries
|
|
1007
|
+
# in this list can only be removed.
|
|
1008
|
+
# +optional
|
|
1009
|
+
# +patchStrategy=merge
|
|
1010
|
+
# Corresponds to the JSON property `finalizers`
|
|
1011
|
+
# @return [Array<String>]
|
|
1012
|
+
attr_accessor :finalizers
|
|
1013
|
+
|
|
1014
|
+
# Not currently supported by Cloud Run.
|
|
1015
|
+
# GenerateName is an optional prefix, used by the server, to generate a
|
|
1016
|
+
# unique name ONLY IF the Name field has not been provided. If this field is
|
|
1017
|
+
# used, the name returned to the client will be different than the name
|
|
1018
|
+
# passed. This value will also be combined with a unique suffix. The provided
|
|
1019
|
+
# value has the same validation rules as the Name field, and may be truncated
|
|
1020
|
+
# by the length of the suffix required to make the value unique on the
|
|
1021
|
+
# server.
|
|
1022
|
+
# If this field is specified and the generated name exists, the server will
|
|
1023
|
+
# NOT return a 409 - instead, it will either return 201 Created or 500 with
|
|
1024
|
+
# Reason ServerTimeout indicating a unique name could not be found in the
|
|
1025
|
+
# time allotted, and the client should retry (optionally after the time
|
|
1026
|
+
# indicated in the Retry-After header).
|
|
1027
|
+
# Applied only if Name is not specified.
|
|
1028
|
+
# More info:
|
|
1029
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
|
|
1030
|
+
# +optional
|
|
1031
|
+
# string generateName = 2;
|
|
1032
|
+
# Corresponds to the JSON property `generateName`
|
|
1033
|
+
# @return [String]
|
|
1034
|
+
attr_accessor :generate_name
|
|
1035
|
+
|
|
1036
|
+
# A sequence number representing a specific generation of the desired state.
|
|
1037
|
+
# Populated by the system. Read-only.
|
|
1038
|
+
# +optional
|
|
1039
|
+
# Corresponds to the JSON property `generation`
|
|
1040
|
+
# @return [Fixnum]
|
|
1041
|
+
attr_accessor :generation
|
|
1042
|
+
|
|
1043
|
+
# Initializers tracks the progress of initialization.
|
|
1044
|
+
# Corresponds to the JSON property `initializers`
|
|
1045
|
+
# @return [Google::Apis::RunV1beta1::Initializers]
|
|
1046
|
+
attr_accessor :initializers
|
|
1047
|
+
|
|
1048
|
+
# Map of string keys and values that can be used to organize and categorize
|
|
1049
|
+
# (scope and select) objects. May match selectors of replication controllers
|
|
1050
|
+
# and routes.
|
|
1051
|
+
# More info: http://kubernetes.io/docs/user-guide/labels
|
|
1052
|
+
# +optional
|
|
1053
|
+
# Corresponds to the JSON property `labels`
|
|
1054
|
+
# @return [Hash<String,String>]
|
|
1055
|
+
attr_accessor :labels
|
|
1056
|
+
|
|
1057
|
+
# Name must be unique within a namespace, within a Cloud Run region.
|
|
1058
|
+
# Is required when creating
|
|
1059
|
+
# resources, although some resources may allow a client to request the
|
|
1060
|
+
# generation of an appropriate name automatically. Name is primarily intended
|
|
1061
|
+
# for creation idempotence and configuration definition. Cannot be updated.
|
|
1062
|
+
# More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
1063
|
+
# +optional
|
|
1064
|
+
# Corresponds to the JSON property `name`
|
|
1065
|
+
# @return [String]
|
|
1066
|
+
attr_accessor :name
|
|
1067
|
+
|
|
1068
|
+
# Namespace defines the space within each name must be unique, within a
|
|
1069
|
+
# Cloud Run region. In Cloud Run the namespace must be equal to either the
|
|
1070
|
+
# project ID or project number.
|
|
1071
|
+
# Corresponds to the JSON property `namespace`
|
|
1072
|
+
# @return [String]
|
|
1073
|
+
attr_accessor :namespace
|
|
1074
|
+
|
|
1075
|
+
# List of objects that own this object. If ALL objects in the list have
|
|
1076
|
+
# been deleted, this object will be garbage collected.
|
|
1077
|
+
# +optional
|
|
1078
|
+
# Corresponds to the JSON property `ownerReferences`
|
|
1079
|
+
# @return [Array<Google::Apis::RunV1beta1::OwnerReference>]
|
|
1080
|
+
attr_accessor :owner_references
|
|
1081
|
+
|
|
1082
|
+
# An opaque value that represents the internal version of this object that
|
|
1083
|
+
# can be used by clients to determine when objects have changed. May be used
|
|
1084
|
+
# for optimistic concurrency, change detection, and the watch operation on a
|
|
1085
|
+
# resource or set of resources. Clients must treat these values as opaque and
|
|
1086
|
+
# passed unmodified back to the server. They may only be valid for a
|
|
1087
|
+
# particular resource or set of resources.
|
|
1088
|
+
# Populated by the system.
|
|
1089
|
+
# Read-only.
|
|
1090
|
+
# Value must be treated as opaque by clients and .
|
|
1091
|
+
# More info:
|
|
1092
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
|
|
1093
|
+
# control-and-consistency
|
|
1094
|
+
# +optional
|
|
1095
|
+
# Corresponds to the JSON property `resourceVersion`
|
|
1096
|
+
# @return [String]
|
|
1097
|
+
attr_accessor :resource_version
|
|
1098
|
+
|
|
1099
|
+
# SelfLink is a URL representing this object.
|
|
1100
|
+
# Populated by the system.
|
|
1101
|
+
# Read-only.
|
|
1102
|
+
# +optional
|
|
1103
|
+
# string selfLink = 4;
|
|
1104
|
+
# Corresponds to the JSON property `selfLink`
|
|
1105
|
+
# @return [String]
|
|
1106
|
+
attr_accessor :self_link
|
|
1107
|
+
|
|
1108
|
+
# UID is the unique in time and space value for this object. It is typically
|
|
1109
|
+
# generated by the server on successful creation of a resource and is not
|
|
1110
|
+
# allowed to change on PUT operations.
|
|
1111
|
+
# Populated by the system.
|
|
1112
|
+
# Read-only.
|
|
1113
|
+
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
|
1114
|
+
# +optional
|
|
1115
|
+
# Corresponds to the JSON property `uid`
|
|
1116
|
+
# @return [String]
|
|
1117
|
+
attr_accessor :uid
|
|
1118
|
+
|
|
1119
|
+
def initialize(**args)
|
|
1120
|
+
update!(**args)
|
|
1121
|
+
end
|
|
1122
|
+
|
|
1123
|
+
# Update properties of this object
|
|
1124
|
+
def update!(**args)
|
|
1125
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
|
1126
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
|
1127
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
1128
|
+
@deletion_grace_period_seconds = args[:deletion_grace_period_seconds] if args.key?(:deletion_grace_period_seconds)
|
|
1129
|
+
@deletion_timestamp = args[:deletion_timestamp] if args.key?(:deletion_timestamp)
|
|
1130
|
+
@finalizers = args[:finalizers] if args.key?(:finalizers)
|
|
1131
|
+
@generate_name = args[:generate_name] if args.key?(:generate_name)
|
|
1132
|
+
@generation = args[:generation] if args.key?(:generation)
|
|
1133
|
+
@initializers = args[:initializers] if args.key?(:initializers)
|
|
1134
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1135
|
+
@name = args[:name] if args.key?(:name)
|
|
1136
|
+
@namespace = args[:namespace] if args.key?(:namespace)
|
|
1137
|
+
@owner_references = args[:owner_references] if args.key?(:owner_references)
|
|
1138
|
+
@resource_version = args[:resource_version] if args.key?(:resource_version)
|
|
1139
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
1140
|
+
@uid = args[:uid] if args.key?(:uid)
|
|
1141
|
+
end
|
|
1142
|
+
end
|
|
1143
|
+
|
|
1144
|
+
# OwnerReference contains enough information to let you identify an owning
|
|
1145
|
+
# object. Currently, an owning object must be in the same namespace, so there
|
|
1146
|
+
# is no namespace field.
|
|
1147
|
+
class OwnerReference
|
|
1148
|
+
include Google::Apis::Core::Hashable
|
|
1149
|
+
|
|
1150
|
+
# API version of the referent.
|
|
1151
|
+
# Corresponds to the JSON property `apiVersion`
|
|
1152
|
+
# @return [String]
|
|
1153
|
+
attr_accessor :api_version
|
|
1154
|
+
|
|
1155
|
+
# If true, AND if the owner has the "foregroundDeletion" finalizer, then
|
|
1156
|
+
# the owner cannot be deleted from the key-value store until this
|
|
1157
|
+
# reference is removed.
|
|
1158
|
+
# Defaults to false.
|
|
1159
|
+
# To set this field, a user needs "delete" permission of the owner,
|
|
1160
|
+
# otherwise 422 (Unprocessable Entity) will be returned.
|
|
1161
|
+
# +optional
|
|
1162
|
+
# Corresponds to the JSON property `blockOwnerDeletion`
|
|
1163
|
+
# @return [Boolean]
|
|
1164
|
+
attr_accessor :block_owner_deletion
|
|
1165
|
+
alias_method :block_owner_deletion?, :block_owner_deletion
|
|
1166
|
+
|
|
1167
|
+
# If true, this reference points to the managing controller.
|
|
1168
|
+
# +optional
|
|
1169
|
+
# Corresponds to the JSON property `controller`
|
|
1170
|
+
# @return [Boolean]
|
|
1171
|
+
attr_accessor :controller
|
|
1172
|
+
alias_method :controller?, :controller
|
|
1173
|
+
|
|
1174
|
+
# Kind of the referent.
|
|
1175
|
+
# More info:
|
|
1176
|
+
# https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
|
|
1177
|
+
# Corresponds to the JSON property `kind`
|
|
1178
|
+
# @return [String]
|
|
1179
|
+
attr_accessor :kind
|
|
1180
|
+
|
|
1181
|
+
# Name of the referent.
|
|
1182
|
+
# More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
1183
|
+
# Corresponds to the JSON property `name`
|
|
1184
|
+
# @return [String]
|
|
1185
|
+
attr_accessor :name
|
|
1186
|
+
|
|
1187
|
+
# UID of the referent.
|
|
1188
|
+
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
|
1189
|
+
# Corresponds to the JSON property `uid`
|
|
1190
|
+
# @return [String]
|
|
1191
|
+
attr_accessor :uid
|
|
1192
|
+
|
|
1193
|
+
def initialize(**args)
|
|
1194
|
+
update!(**args)
|
|
1195
|
+
end
|
|
1196
|
+
|
|
1197
|
+
# Update properties of this object
|
|
1198
|
+
def update!(**args)
|
|
1199
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
1200
|
+
@block_owner_deletion = args[:block_owner_deletion] if args.key?(:block_owner_deletion)
|
|
1201
|
+
@controller = args[:controller] if args.key?(:controller)
|
|
1202
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1203
|
+
@name = args[:name] if args.key?(:name)
|
|
1204
|
+
@uid = args[:uid] if args.key?(:uid)
|
|
1205
|
+
end
|
|
1206
|
+
end
|
|
1207
|
+
end
|
|
1208
|
+
end
|
|
1209
|
+
end
|