google-api-client 0.35.0 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +5 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +75 -41
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -41
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -41
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +203 -78
- data/generated/google/apis/container_v1/representations.rb +49 -0
- data/generated/google/apis/container_v1/service.rb +119 -119
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +32 -0
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +44 -7
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +12 -12
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -4
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +15 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +20 -23
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +75 -41
- data/generated/google/apis/monitoring_v1.rb +13 -1
- data/generated/google/apis/monitoring_v1/classes.rb +893 -0
- data/generated/google/apis/monitoring_v1/representations.rb +405 -0
- data/generated/google/apis/monitoring_v1/service.rb +182 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +29 -41
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -92
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +56 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +31 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +56 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +31 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +56 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +31 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -41
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +75 -41
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +75 -41
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +75 -41
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -41
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -41
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +29 -41
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +104 -82
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +51 -41
- data/generated/google/apis/servicenetworking_v1/representations.rb +13 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +29 -41
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +29 -41
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +29 -41
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -7
- data/generated/google/apis/cloudbuild_v1alpha1.rb +0 -34
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1174
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -435
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -226
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/private-catalog/
|
27
27
|
module CloudprivatecatalogproducerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191202'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -721,6 +721,23 @@ module Google
|
|
721
721
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
722
722
|
# * `group:`emailid``: An email address that represents a Google group.
|
723
723
|
# For example, `admins@example.com`.
|
724
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
725
|
+
# identifier) representing a user that has been recently deleted. For
|
726
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
727
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
728
|
+
# retains the role in the binding.
|
729
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
730
|
+
# unique identifier) representing a service account that has been recently
|
731
|
+
# deleted. For example,
|
732
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
733
|
+
# If the service account is undeleted, this value reverts to
|
734
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
735
|
+
# role in the binding.
|
736
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
737
|
+
# identifier) representing a Google group that has been recently
|
738
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
739
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
740
|
+
# recovered group retains the role in the binding.
|
724
741
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
725
742
|
# users of that domain. For example, `google.com` or `example.com`.
|
726
743
|
# Corresponds to the JSON property `members`
|
@@ -745,16 +762,18 @@ module Google
|
|
745
762
|
end
|
746
763
|
end
|
747
764
|
|
748
|
-
#
|
749
|
-
#
|
765
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
766
|
+
# controls for Google Cloud resources.
|
750
767
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
751
768
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
752
769
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
753
|
-
# permissions
|
754
|
-
#
|
755
|
-
#
|
756
|
-
#
|
757
|
-
#
|
770
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
771
|
+
# custom role.
|
772
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
773
|
+
# expression that allows access to a resource only if the expression evaluates
|
774
|
+
# to `true`. A condition can add constraints based on attributes of the
|
775
|
+
# request, the resource, or both.
|
776
|
+
# **JSON example:**
|
758
777
|
# `
|
759
778
|
# "bindings": [
|
760
779
|
# `
|
@@ -772,13 +791,15 @@ module Google
|
|
772
791
|
# "condition": `
|
773
792
|
# "title": "expirable access",
|
774
793
|
# "description": "Does not grant access after Sep 2020",
|
775
|
-
# "expression": "request.time <
|
776
|
-
#
|
794
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
795
|
+
# ",
|
777
796
|
# `
|
778
797
|
# `
|
779
|
-
# ]
|
798
|
+
# ],
|
799
|
+
# "etag": "BwWWja0YfJA=",
|
800
|
+
# "version": 3
|
780
801
|
# `
|
781
|
-
# **YAML
|
802
|
+
# **YAML example:**
|
782
803
|
# bindings:
|
783
804
|
# - members:
|
784
805
|
# - user:mike@example.com
|
@@ -793,8 +814,10 @@ module Google
|
|
793
814
|
# title: expirable access
|
794
815
|
# description: Does not grant access after Sep 2020
|
795
816
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
817
|
+
# - etag: BwWWja0YfJA=
|
818
|
+
# - version: 3
|
796
819
|
# For a description of IAM and its features, see the
|
797
|
-
# [IAM
|
820
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
798
821
|
class GoogleIamV1Policy
|
799
822
|
include Google::Apis::Core::Hashable
|
800
823
|
|
@@ -803,9 +826,9 @@ module Google
|
|
803
826
|
# @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditConfig>]
|
804
827
|
attr_accessor :audit_configs
|
805
828
|
|
806
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
807
|
-
# `condition` that determines when
|
808
|
-
# `bindings`
|
829
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
830
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
831
|
+
# of the `bindings` must contain at least one member.
|
809
832
|
# Corresponds to the JSON property `bindings`
|
810
833
|
# @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Binding>]
|
811
834
|
attr_accessor :bindings
|
@@ -817,26 +840,31 @@ module Google
|
|
817
840
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
818
841
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
819
842
|
# ensure that their change will be applied to the same version of the policy.
|
820
|
-
# If
|
821
|
-
#
|
822
|
-
#
|
823
|
-
#
|
843
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
844
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
845
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
846
|
+
# the conditions in the version `3` policy are lost.
|
824
847
|
# Corresponds to the JSON property `etag`
|
825
848
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
826
849
|
# @return [String]
|
827
850
|
attr_accessor :etag
|
828
851
|
|
829
852
|
# Specifies the format of the policy.
|
830
|
-
# Valid values are 0
|
831
|
-
# rejected.
|
832
|
-
#
|
833
|
-
#
|
834
|
-
#
|
835
|
-
# conditional policy
|
836
|
-
#
|
837
|
-
#
|
838
|
-
#
|
839
|
-
#
|
853
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
854
|
+
# are rejected.
|
855
|
+
# Any operation that affects conditional role bindings must specify version
|
856
|
+
# `3`. This requirement applies to the following operations:
|
857
|
+
# * Getting a policy that includes a conditional role binding
|
858
|
+
# * Adding a conditional role binding to a policy
|
859
|
+
# * Changing a conditional role binding in a policy
|
860
|
+
# * Removing any role binding, with or without a condition, from a policy
|
861
|
+
# that includes conditions
|
862
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
863
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
864
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
865
|
+
# the conditions in the version `3` policy are lost.
|
866
|
+
# If a policy does not include any conditions, operations on that policy may
|
867
|
+
# specify any valid version or leave the field unset.
|
840
868
|
# Corresponds to the JSON property `version`
|
841
869
|
# @return [Fixnum]
|
842
870
|
attr_accessor :version
|
@@ -858,16 +886,18 @@ module Google
|
|
858
886
|
class GoogleIamV1SetIamPolicyRequest
|
859
887
|
include Google::Apis::Core::Hashable
|
860
888
|
|
861
|
-
#
|
862
|
-
#
|
889
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
890
|
+
# controls for Google Cloud resources.
|
863
891
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
864
892
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
865
893
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
866
|
-
# permissions
|
867
|
-
#
|
868
|
-
#
|
869
|
-
#
|
870
|
-
#
|
894
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
895
|
+
# custom role.
|
896
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
897
|
+
# expression that allows access to a resource only if the expression evaluates
|
898
|
+
# to `true`. A condition can add constraints based on attributes of the
|
899
|
+
# request, the resource, or both.
|
900
|
+
# **JSON example:**
|
871
901
|
# `
|
872
902
|
# "bindings": [
|
873
903
|
# `
|
@@ -885,13 +915,15 @@ module Google
|
|
885
915
|
# "condition": `
|
886
916
|
# "title": "expirable access",
|
887
917
|
# "description": "Does not grant access after Sep 2020",
|
888
|
-
# "expression": "request.time <
|
889
|
-
#
|
918
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
919
|
+
# ",
|
890
920
|
# `
|
891
921
|
# `
|
892
|
-
# ]
|
922
|
+
# ],
|
923
|
+
# "etag": "BwWWja0YfJA=",
|
924
|
+
# "version": 3
|
893
925
|
# `
|
894
|
-
# **YAML
|
926
|
+
# **YAML example:**
|
895
927
|
# bindings:
|
896
928
|
# - members:
|
897
929
|
# - user:mike@example.com
|
@@ -906,8 +938,10 @@ module Google
|
|
906
938
|
# title: expirable access
|
907
939
|
# description: Does not grant access after Sep 2020
|
908
940
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
941
|
+
# - etag: BwWWja0YfJA=
|
942
|
+
# - version: 3
|
909
943
|
# For a description of IAM and its features, see the
|
910
|
-
# [IAM
|
944
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
911
945
|
# Corresponds to the JSON property `policy`
|
912
946
|
# @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy]
|
913
947
|
attr_accessor :policy
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191115'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -53,6 +53,11 @@ module Google
|
|
53
53
|
class AddonsConfig
|
54
54
|
include Google::Apis::Core::Hashable
|
55
55
|
|
56
|
+
# Configuration options for the Cloud Run feature.
|
57
|
+
# Corresponds to the JSON property `cloudRunConfig`
|
58
|
+
# @return [Google::Apis::ContainerV1::CloudRunConfig]
|
59
|
+
attr_accessor :cloud_run_config
|
60
|
+
|
56
61
|
# Configuration options for the horizontal pod autoscaling feature, which
|
57
62
|
# increases or decreases the number of replica pods a replication controller
|
58
63
|
# has based on the resource usage of the existing pods.
|
@@ -84,6 +89,7 @@ module Google
|
|
84
89
|
|
85
90
|
# Update properties of this object
|
86
91
|
def update!(**args)
|
92
|
+
@cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
|
87
93
|
@horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
|
88
94
|
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
|
89
95
|
@kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
|
@@ -226,20 +232,20 @@ module Google
|
|
226
232
|
# @return [String]
|
227
233
|
attr_accessor :name
|
228
234
|
|
229
|
-
# Deprecated. The server-assigned `name` of the operation.
|
235
|
+
# Required. Deprecated. The server-assigned `name` of the operation.
|
230
236
|
# This field has been deprecated and replaced by the name field.
|
231
237
|
# Corresponds to the JSON property `operationId`
|
232
238
|
# @return [String]
|
233
239
|
attr_accessor :operation_id
|
234
240
|
|
235
|
-
# Deprecated. The Google Developers Console [project ID or project
|
241
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
236
242
|
# number](https://support.google.com/cloud/answer/6158840).
|
237
243
|
# This field has been deprecated and replaced by the name field.
|
238
244
|
# Corresponds to the JSON property `projectId`
|
239
245
|
# @return [String]
|
240
246
|
attr_accessor :project_id
|
241
247
|
|
242
|
-
# Deprecated. The name of the Google Compute Engine
|
248
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
243
249
|
# [zone](/compute/docs/zones#available) in which the operation resides.
|
244
250
|
# This field has been deprecated and replaced by the name field.
|
245
251
|
# Corresponds to the JSON property `zone`
|
@@ -304,6 +310,26 @@ module Google
|
|
304
310
|
end
|
305
311
|
end
|
306
312
|
|
313
|
+
# Configuration options for the Cloud Run feature.
|
314
|
+
class CloudRunConfig
|
315
|
+
include Google::Apis::Core::Hashable
|
316
|
+
|
317
|
+
# Whether Cloud Run addon is enabled for this cluster.
|
318
|
+
# Corresponds to the JSON property `disabled`
|
319
|
+
# @return [Boolean]
|
320
|
+
attr_accessor :disabled
|
321
|
+
alias_method :disabled?, :disabled
|
322
|
+
|
323
|
+
def initialize(**args)
|
324
|
+
update!(**args)
|
325
|
+
end
|
326
|
+
|
327
|
+
# Update properties of this object
|
328
|
+
def update!(**args)
|
329
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
307
333
|
# A Google Kubernetes Engine cluster.
|
308
334
|
class Cluster
|
309
335
|
include Google::Apis::Core::Hashable
|
@@ -903,7 +929,7 @@ module Google
|
|
903
929
|
class CompleteIpRotationRequest
|
904
930
|
include Google::Apis::Core::Hashable
|
905
931
|
|
906
|
-
# Deprecated. The name of the cluster.
|
932
|
+
# Required. Deprecated. The name of the cluster.
|
907
933
|
# This field has been deprecated and replaced by the name field.
|
908
934
|
# Corresponds to the JSON property `clusterId`
|
909
935
|
# @return [String]
|
@@ -915,14 +941,14 @@ module Google
|
|
915
941
|
# @return [String]
|
916
942
|
attr_accessor :name
|
917
943
|
|
918
|
-
# Deprecated. The Google Developers Console [project ID or project
|
944
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
919
945
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
920
946
|
# This field has been deprecated and replaced by the name field.
|
921
947
|
# Corresponds to the JSON property `projectId`
|
922
948
|
# @return [String]
|
923
949
|
attr_accessor :project_id
|
924
950
|
|
925
|
-
# Deprecated. The name of the Google Compute Engine
|
951
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
926
952
|
# [zone](/compute/docs/zones#available) in which the cluster
|
927
953
|
# resides.
|
928
954
|
# This field has been deprecated and replaced by the name field.
|
@@ -980,14 +1006,14 @@ module Google
|
|
980
1006
|
# @return [String]
|
981
1007
|
attr_accessor :parent
|
982
1008
|
|
983
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1009
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
984
1010
|
# number](https://support.google.com/cloud/answer/6158840).
|
985
1011
|
# This field has been deprecated and replaced by the parent field.
|
986
1012
|
# Corresponds to the JSON property `projectId`
|
987
1013
|
# @return [String]
|
988
1014
|
attr_accessor :project_id
|
989
1015
|
|
990
|
-
# Deprecated. The name of the Google Compute Engine
|
1016
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
991
1017
|
# [zone](/compute/docs/zones#available) in which the cluster
|
992
1018
|
# resides.
|
993
1019
|
# This field has been deprecated and replaced by the parent field.
|
@@ -1012,7 +1038,7 @@ module Google
|
|
1012
1038
|
class CreateNodePoolRequest
|
1013
1039
|
include Google::Apis::Core::Hashable
|
1014
1040
|
|
1015
|
-
# Deprecated. The name of the cluster.
|
1041
|
+
# Required. Deprecated. The name of the cluster.
|
1016
1042
|
# This field has been deprecated and replaced by the parent field.
|
1017
1043
|
# Corresponds to the JSON property `clusterId`
|
1018
1044
|
# @return [String]
|
@@ -1035,14 +1061,14 @@ module Google
|
|
1035
1061
|
# @return [String]
|
1036
1062
|
attr_accessor :parent
|
1037
1063
|
|
1038
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1064
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1039
1065
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1040
1066
|
# This field has been deprecated and replaced by the parent field.
|
1041
1067
|
# Corresponds to the JSON property `projectId`
|
1042
1068
|
# @return [String]
|
1043
1069
|
attr_accessor :project_id
|
1044
1070
|
|
1045
|
-
# Deprecated. The name of the Google Compute Engine
|
1071
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1046
1072
|
# [zone](/compute/docs/zones#available) in which the cluster
|
1047
1073
|
# resides.
|
1048
1074
|
# This field has been deprecated and replaced by the parent field.
|
@@ -1681,6 +1707,15 @@ module Google
|
|
1681
1707
|
class MaintenancePolicy
|
1682
1708
|
include Google::Apis::Core::Hashable
|
1683
1709
|
|
1710
|
+
# A hash identifying the version of this policy, so that updates to fields of
|
1711
|
+
# the policy won't accidentally undo intermediate changes (and so that users
|
1712
|
+
# of the API unaware of some fields won't accidentally remove other fields).
|
1713
|
+
# Make a <code>get()</code> request to the cluster to get the current
|
1714
|
+
# resource version and include it with requests to set the policy.
|
1715
|
+
# Corresponds to the JSON property `resourceVersion`
|
1716
|
+
# @return [String]
|
1717
|
+
attr_accessor :resource_version
|
1718
|
+
|
1684
1719
|
# MaintenanceWindow defines the maintenance window to be used for the cluster.
|
1685
1720
|
# Corresponds to the JSON property `window`
|
1686
1721
|
# @return [Google::Apis::ContainerV1::MaintenanceWindow]
|
@@ -1692,6 +1727,7 @@ module Google
|
|
1692
1727
|
|
1693
1728
|
# Update properties of this object
|
1694
1729
|
def update!(**args)
|
1730
|
+
@resource_version = args[:resource_version] if args.key?(:resource_version)
|
1695
1731
|
@window = args[:window] if args.key?(:window)
|
1696
1732
|
end
|
1697
1733
|
end
|
@@ -1705,6 +1741,17 @@ module Google
|
|
1705
1741
|
# @return [Google::Apis::ContainerV1::DailyMaintenanceWindow]
|
1706
1742
|
attr_accessor :daily_maintenance_window
|
1707
1743
|
|
1744
|
+
# Exceptions to maintenance window. Non-emergency maintenance should not
|
1745
|
+
# occur in these windows.
|
1746
|
+
# Corresponds to the JSON property `maintenanceExclusions`
|
1747
|
+
# @return [Hash<String,Google::Apis::ContainerV1::TimeWindow>]
|
1748
|
+
attr_accessor :maintenance_exclusions
|
1749
|
+
|
1750
|
+
# Represents an arbitrary window of time that recurs.
|
1751
|
+
# Corresponds to the JSON property `recurringWindow`
|
1752
|
+
# @return [Google::Apis::ContainerV1::RecurringTimeWindow]
|
1753
|
+
attr_accessor :recurring_window
|
1754
|
+
|
1708
1755
|
def initialize(**args)
|
1709
1756
|
update!(**args)
|
1710
1757
|
end
|
@@ -1712,6 +1759,8 @@ module Google
|
|
1712
1759
|
# Update properties of this object
|
1713
1760
|
def update!(**args)
|
1714
1761
|
@daily_maintenance_window = args[:daily_maintenance_window] if args.key?(:daily_maintenance_window)
|
1762
|
+
@maintenance_exclusions = args[:maintenance_exclusions] if args.key?(:maintenance_exclusions)
|
1763
|
+
@recurring_window = args[:recurring_window] if args.key?(:recurring_window)
|
1715
1764
|
end
|
1716
1765
|
end
|
1717
1766
|
|
@@ -2457,6 +2506,56 @@ module Google
|
|
2457
2506
|
end
|
2458
2507
|
end
|
2459
2508
|
|
2509
|
+
# Represents an arbitrary window of time that recurs.
|
2510
|
+
class RecurringTimeWindow
|
2511
|
+
include Google::Apis::Core::Hashable
|
2512
|
+
|
2513
|
+
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
|
2514
|
+
# this window reccurs. They go on for the span of time between the start and
|
2515
|
+
# end time.
|
2516
|
+
# For example, to have something repeat every weekday, you'd use:
|
2517
|
+
# <code>FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR</code>
|
2518
|
+
# To repeat some window daily (equivalent to the DailyMaintenanceWindow):
|
2519
|
+
# <code>FREQ=DAILY</code>
|
2520
|
+
# For the first weekend of every month:
|
2521
|
+
# <code>FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU</code>
|
2522
|
+
# This specifies how frequently the window starts. Eg, if you wanted to have
|
2523
|
+
# a 9-5 UTC-4 window every weekday, you'd use something like:
|
2524
|
+
# <code>
|
2525
|
+
# start time = 2019-01-01T09:00:00-0400
|
2526
|
+
# end time = 2019-01-01T17:00:00-0400
|
2527
|
+
# recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
|
2528
|
+
# </code>
|
2529
|
+
# Windows can span multiple days. Eg, to make the window encompass every
|
2530
|
+
# weekend from midnight Saturday till the last minute of Sunday UTC:
|
2531
|
+
# <code>
|
2532
|
+
# start time = 2019-01-05T00:00:00Z
|
2533
|
+
# end time = 2019-01-07T23:59:00Z
|
2534
|
+
# recurrence = FREQ=WEEKLY;BYDAY=SA
|
2535
|
+
# </code>
|
2536
|
+
# Note the start and end time's specific dates are largely arbitrary except
|
2537
|
+
# to specify duration of the window and when it first starts.
|
2538
|
+
# The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
|
2539
|
+
# Corresponds to the JSON property `recurrence`
|
2540
|
+
# @return [String]
|
2541
|
+
attr_accessor :recurrence
|
2542
|
+
|
2543
|
+
# Represents an arbitrary window of time.
|
2544
|
+
# Corresponds to the JSON property `window`
|
2545
|
+
# @return [Google::Apis::ContainerV1::TimeWindow]
|
2546
|
+
attr_accessor :window
|
2547
|
+
|
2548
|
+
def initialize(**args)
|
2549
|
+
update!(**args)
|
2550
|
+
end
|
2551
|
+
|
2552
|
+
# Update properties of this object
|
2553
|
+
def update!(**args)
|
2554
|
+
@recurrence = args[:recurrence] if args.key?(:recurrence)
|
2555
|
+
@window = args[:window] if args.key?(:window)
|
2556
|
+
end
|
2557
|
+
end
|
2558
|
+
|
2460
2559
|
# Contains information about amount of some resource in the cluster.
|
2461
2560
|
# For memory, value should be in GB.
|
2462
2561
|
class ResourceLimit
|
@@ -2528,7 +2627,7 @@ module Google
|
|
2528
2627
|
class RollbackNodePoolUpgradeRequest
|
2529
2628
|
include Google::Apis::Core::Hashable
|
2530
2629
|
|
2531
|
-
# Deprecated. The name of the cluster to rollback.
|
2630
|
+
# Required. Deprecated. The name of the cluster to rollback.
|
2532
2631
|
# This field has been deprecated and replaced by the name field.
|
2533
2632
|
# Corresponds to the JSON property `clusterId`
|
2534
2633
|
# @return [String]
|
@@ -2541,20 +2640,20 @@ module Google
|
|
2541
2640
|
# @return [String]
|
2542
2641
|
attr_accessor :name
|
2543
2642
|
|
2544
|
-
# Deprecated. The name of the node pool to rollback.
|
2643
|
+
# Required. Deprecated. The name of the node pool to rollback.
|
2545
2644
|
# This field has been deprecated and replaced by the name field.
|
2546
2645
|
# Corresponds to the JSON property `nodePoolId`
|
2547
2646
|
# @return [String]
|
2548
2647
|
attr_accessor :node_pool_id
|
2549
2648
|
|
2550
|
-
# Deprecated. The Google Developers Console [project ID or project
|
2649
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
2551
2650
|
# number](https://support.google.com/cloud/answer/6158840).
|
2552
2651
|
# This field has been deprecated and replaced by the name field.
|
2553
2652
|
# Corresponds to the JSON property `projectId`
|
2554
2653
|
# @return [String]
|
2555
2654
|
attr_accessor :project_id
|
2556
2655
|
|
2557
|
-
# Deprecated. The name of the Google Compute Engine
|
2656
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
2558
2657
|
# [zone](/compute/docs/zones#available) in which the cluster
|
2559
2658
|
# resides.
|
2560
2659
|
# This field has been deprecated and replaced by the name field.
|
@@ -2629,7 +2728,7 @@ module Google
|
|
2629
2728
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
2630
2729
|
attr_accessor :addons_config
|
2631
2730
|
|
2632
|
-
# Deprecated. The name of the cluster to upgrade.
|
2731
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
2633
2732
|
# This field has been deprecated and replaced by the name field.
|
2634
2733
|
# Corresponds to the JSON property `clusterId`
|
2635
2734
|
# @return [String]
|
@@ -2641,14 +2740,14 @@ module Google
|
|
2641
2740
|
# @return [String]
|
2642
2741
|
attr_accessor :name
|
2643
2742
|
|
2644
|
-
# Deprecated. The Google Developers Console [project ID or project
|
2743
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
2645
2744
|
# number](https://support.google.com/cloud/answer/6158840).
|
2646
2745
|
# This field has been deprecated and replaced by the name field.
|
2647
2746
|
# Corresponds to the JSON property `projectId`
|
2648
2747
|
# @return [String]
|
2649
2748
|
attr_accessor :project_id
|
2650
2749
|
|
2651
|
-
# Deprecated. The name of the Google Compute Engine
|
2750
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
2652
2751
|
# [zone](/compute/docs/zones#available) in which the cluster
|
2653
2752
|
# resides.
|
2654
2753
|
# This field has been deprecated and replaced by the name field.
|
@@ -2676,13 +2775,13 @@ module Google
|
|
2676
2775
|
class SetLabelsRequest
|
2677
2776
|
include Google::Apis::Core::Hashable
|
2678
2777
|
|
2679
|
-
# Deprecated. The name of the cluster.
|
2778
|
+
# Required. Deprecated. The name of the cluster.
|
2680
2779
|
# This field has been deprecated and replaced by the name field.
|
2681
2780
|
# Corresponds to the JSON property `clusterId`
|
2682
2781
|
# @return [String]
|
2683
2782
|
attr_accessor :cluster_id
|
2684
2783
|
|
2685
|
-
# The fingerprint of the previous set of labels for this resource,
|
2784
|
+
# Required. The fingerprint of the previous set of labels for this resource,
|
2686
2785
|
# used to detect conflicts. The fingerprint is initially generated by
|
2687
2786
|
# Kubernetes Engine and changes after every request to modify or update
|
2688
2787
|
# labels. You must always provide an up-to-date fingerprint hash when
|
@@ -2698,19 +2797,19 @@ module Google
|
|
2698
2797
|
# @return [String]
|
2699
2798
|
attr_accessor :name
|
2700
2799
|
|
2701
|
-
# Deprecated. The Google Developers Console [project ID or project
|
2800
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
2702
2801
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
2703
2802
|
# This field has been deprecated and replaced by the name field.
|
2704
2803
|
# Corresponds to the JSON property `projectId`
|
2705
2804
|
# @return [String]
|
2706
2805
|
attr_accessor :project_id
|
2707
2806
|
|
2708
|
-
# The labels to set for that cluster.
|
2807
|
+
# Required. The labels to set for that cluster.
|
2709
2808
|
# Corresponds to the JSON property `resourceLabels`
|
2710
2809
|
# @return [Hash<String,String>]
|
2711
2810
|
attr_accessor :resource_labels
|
2712
2811
|
|
2713
|
-
# Deprecated. The name of the Google Compute Engine
|
2812
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
2714
2813
|
# [zone](/compute/docs/zones#available) in which the cluster
|
2715
2814
|
# resides.
|
2716
2815
|
# This field has been deprecated and replaced by the name field.
|
@@ -2738,13 +2837,13 @@ module Google
|
|
2738
2837
|
class SetLegacyAbacRequest
|
2739
2838
|
include Google::Apis::Core::Hashable
|
2740
2839
|
|
2741
|
-
# Deprecated. The name of the cluster to update.
|
2840
|
+
# Required. Deprecated. The name of the cluster to update.
|
2742
2841
|
# This field has been deprecated and replaced by the name field.
|
2743
2842
|
# Corresponds to the JSON property `clusterId`
|
2744
2843
|
# @return [String]
|
2745
2844
|
attr_accessor :cluster_id
|
2746
2845
|
|
2747
|
-
# Whether ABAC authorization will be enabled in the cluster.
|
2846
|
+
# Required. Whether ABAC authorization will be enabled in the cluster.
|
2748
2847
|
# Corresponds to the JSON property `enabled`
|
2749
2848
|
# @return [Boolean]
|
2750
2849
|
attr_accessor :enabled
|
@@ -2756,14 +2855,14 @@ module Google
|
|
2756
2855
|
# @return [String]
|
2757
2856
|
attr_accessor :name
|
2758
2857
|
|
2759
|
-
# Deprecated. The Google Developers Console [project ID or project
|
2858
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
2760
2859
|
# number](https://support.google.com/cloud/answer/6158840).
|
2761
2860
|
# This field has been deprecated and replaced by the name field.
|
2762
2861
|
# Corresponds to the JSON property `projectId`
|
2763
2862
|
# @return [String]
|
2764
2863
|
attr_accessor :project_id
|
2765
2864
|
|
2766
|
-
# Deprecated. The name of the Google Compute Engine
|
2865
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
2767
2866
|
# [zone](/compute/docs/zones#available) in which the cluster
|
2768
2867
|
# resides.
|
2769
2868
|
# This field has been deprecated and replaced by the name field.
|
@@ -2789,13 +2888,13 @@ module Google
|
|
2789
2888
|
class SetLocationsRequest
|
2790
2889
|
include Google::Apis::Core::Hashable
|
2791
2890
|
|
2792
|
-
# Deprecated. The name of the cluster to upgrade.
|
2891
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
2793
2892
|
# This field has been deprecated and replaced by the name field.
|
2794
2893
|
# Corresponds to the JSON property `clusterId`
|
2795
2894
|
# @return [String]
|
2796
2895
|
attr_accessor :cluster_id
|
2797
2896
|
|
2798
|
-
# The desired list of Google Compute Engine
|
2897
|
+
# Required. The desired list of Google Compute Engine
|
2799
2898
|
# [zones](/compute/docs/zones#available) in which the cluster's nodes
|
2800
2899
|
# should be located. Changing the locations a cluster is in will result
|
2801
2900
|
# in nodes being either created or removed from the cluster, depending on
|
@@ -2811,14 +2910,14 @@ module Google
|
|
2811
2910
|
# @return [String]
|
2812
2911
|
attr_accessor :name
|
2813
2912
|
|
2814
|
-
# Deprecated. The Google Developers Console [project ID or project
|
2913
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
2815
2914
|
# number](https://support.google.com/cloud/answer/6158840).
|
2816
2915
|
# This field has been deprecated and replaced by the name field.
|
2817
2916
|
# Corresponds to the JSON property `projectId`
|
2818
2917
|
# @return [String]
|
2819
2918
|
attr_accessor :project_id
|
2820
2919
|
|
2821
|
-
# Deprecated. The name of the Google Compute Engine
|
2920
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
2822
2921
|
# [zone](/compute/docs/zones#available) in which the cluster
|
2823
2922
|
# resides.
|
2824
2923
|
# This field has been deprecated and replaced by the name field.
|
@@ -2844,13 +2943,13 @@ module Google
|
|
2844
2943
|
class SetLoggingServiceRequest
|
2845
2944
|
include Google::Apis::Core::Hashable
|
2846
2945
|
|
2847
|
-
# Deprecated. The name of the cluster to upgrade.
|
2946
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
2848
2947
|
# This field has been deprecated and replaced by the name field.
|
2849
2948
|
# Corresponds to the JSON property `clusterId`
|
2850
2949
|
# @return [String]
|
2851
2950
|
attr_accessor :cluster_id
|
2852
2951
|
|
2853
|
-
# The logging service the cluster should use to write metrics.
|
2952
|
+
# Required. The logging service the cluster should use to write metrics.
|
2854
2953
|
# Currently available options:
|
2855
2954
|
# * "logging.googleapis.com" - the Google Cloud Logging service
|
2856
2955
|
# * "none" - no metrics will be exported from the cluster
|
@@ -2864,14 +2963,14 @@ module Google
|
|
2864
2963
|
# @return [String]
|
2865
2964
|
attr_accessor :name
|
2866
2965
|
|
2867
|
-
# Deprecated. The Google Developers Console [project ID or project
|
2966
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
2868
2967
|
# number](https://support.google.com/cloud/answer/6158840).
|
2869
2968
|
# This field has been deprecated and replaced by the name field.
|
2870
2969
|
# Corresponds to the JSON property `projectId`
|
2871
2970
|
# @return [String]
|
2872
2971
|
attr_accessor :project_id
|
2873
2972
|
|
2874
|
-
# Deprecated. The name of the Google Compute Engine
|
2973
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
2875
2974
|
# [zone](/compute/docs/zones#available) in which the cluster
|
2876
2975
|
# resides.
|
2877
2976
|
# This field has been deprecated and replaced by the name field.
|
@@ -2897,7 +2996,7 @@ module Google
|
|
2897
2996
|
class SetMaintenancePolicyRequest
|
2898
2997
|
include Google::Apis::Core::Hashable
|
2899
2998
|
|
2900
|
-
# The name of the cluster to update.
|
2999
|
+
# Required. The name of the cluster to update.
|
2901
3000
|
# Corresponds to the JSON property `clusterId`
|
2902
3001
|
# @return [String]
|
2903
3002
|
attr_accessor :cluster_id
|
@@ -2914,13 +3013,13 @@ module Google
|
|
2914
3013
|
# @return [String]
|
2915
3014
|
attr_accessor :name
|
2916
3015
|
|
2917
|
-
# The Google Developers Console [project ID or project
|
3016
|
+
# Required. The Google Developers Console [project ID or project
|
2918
3017
|
# number](https://support.google.com/cloud/answer/6158840).
|
2919
3018
|
# Corresponds to the JSON property `projectId`
|
2920
3019
|
# @return [String]
|
2921
3020
|
attr_accessor :project_id
|
2922
3021
|
|
2923
|
-
# The name of the Google Compute Engine
|
3022
|
+
# Required. The name of the Google Compute Engine
|
2924
3023
|
# [zone](/compute/docs/zones#available) in which the cluster
|
2925
3024
|
# resides.
|
2926
3025
|
# Corresponds to the JSON property `zone`
|
@@ -2945,12 +3044,12 @@ module Google
|
|
2945
3044
|
class SetMasterAuthRequest
|
2946
3045
|
include Google::Apis::Core::Hashable
|
2947
3046
|
|
2948
|
-
# The exact form of action to be taken on the master auth.
|
3047
|
+
# Required. The exact form of action to be taken on the master auth.
|
2949
3048
|
# Corresponds to the JSON property `action`
|
2950
3049
|
# @return [String]
|
2951
3050
|
attr_accessor :action
|
2952
3051
|
|
2953
|
-
# Deprecated. The name of the cluster to upgrade.
|
3052
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
2954
3053
|
# This field has been deprecated and replaced by the name field.
|
2955
3054
|
# Corresponds to the JSON property `clusterId`
|
2956
3055
|
# @return [String]
|
@@ -2962,7 +3061,7 @@ module Google
|
|
2962
3061
|
# @return [String]
|
2963
3062
|
attr_accessor :name
|
2964
3063
|
|
2965
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3064
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
2966
3065
|
# number](https://support.google.com/cloud/answer/6158840).
|
2967
3066
|
# This field has been deprecated and replaced by the name field.
|
2968
3067
|
# Corresponds to the JSON property `projectId`
|
@@ -2976,7 +3075,7 @@ module Google
|
|
2976
3075
|
# @return [Google::Apis::ContainerV1::MasterAuth]
|
2977
3076
|
attr_accessor :update
|
2978
3077
|
|
2979
|
-
# Deprecated. The name of the Google Compute Engine
|
3078
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
2980
3079
|
# [zone](/compute/docs/zones#available) in which the cluster
|
2981
3080
|
# resides.
|
2982
3081
|
# This field has been deprecated and replaced by the name field.
|
@@ -3003,13 +3102,13 @@ module Google
|
|
3003
3102
|
class SetMonitoringServiceRequest
|
3004
3103
|
include Google::Apis::Core::Hashable
|
3005
3104
|
|
3006
|
-
# Deprecated. The name of the cluster to upgrade.
|
3105
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
3007
3106
|
# This field has been deprecated and replaced by the name field.
|
3008
3107
|
# Corresponds to the JSON property `clusterId`
|
3009
3108
|
# @return [String]
|
3010
3109
|
attr_accessor :cluster_id
|
3011
3110
|
|
3012
|
-
# The monitoring service the cluster should use to write metrics.
|
3111
|
+
# Required. The monitoring service the cluster should use to write metrics.
|
3013
3112
|
# Currently available options:
|
3014
3113
|
# * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
|
3015
3114
|
# service with Kubernetes-native resource model
|
@@ -3025,14 +3124,14 @@ module Google
|
|
3025
3124
|
# @return [String]
|
3026
3125
|
attr_accessor :name
|
3027
3126
|
|
3028
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3127
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3029
3128
|
# number](https://support.google.com/cloud/answer/6158840).
|
3030
3129
|
# This field has been deprecated and replaced by the name field.
|
3031
3130
|
# Corresponds to the JSON property `projectId`
|
3032
3131
|
# @return [String]
|
3033
3132
|
attr_accessor :project_id
|
3034
3133
|
|
3035
|
-
# Deprecated. The name of the Google Compute Engine
|
3134
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3036
3135
|
# [zone](/compute/docs/zones#available) in which the cluster
|
3037
3136
|
# resides.
|
3038
3137
|
# This field has been deprecated and replaced by the name field.
|
@@ -3058,7 +3157,7 @@ module Google
|
|
3058
3157
|
class SetNetworkPolicyRequest
|
3059
3158
|
include Google::Apis::Core::Hashable
|
3060
3159
|
|
3061
|
-
# Deprecated. The name of the cluster.
|
3160
|
+
# Required. Deprecated. The name of the cluster.
|
3062
3161
|
# This field has been deprecated and replaced by the name field.
|
3063
3162
|
# Corresponds to the JSON property `clusterId`
|
3064
3163
|
# @return [String]
|
@@ -3076,14 +3175,14 @@ module Google
|
|
3076
3175
|
# @return [Google::Apis::ContainerV1::NetworkPolicy]
|
3077
3176
|
attr_accessor :network_policy
|
3078
3177
|
|
3079
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3178
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3080
3179
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
3081
3180
|
# This field has been deprecated and replaced by the name field.
|
3082
3181
|
# Corresponds to the JSON property `projectId`
|
3083
3182
|
# @return [String]
|
3084
3183
|
attr_accessor :project_id
|
3085
3184
|
|
3086
|
-
# Deprecated. The name of the Google Compute Engine
|
3185
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3087
3186
|
# [zone](/compute/docs/zones#available) in which the cluster
|
3088
3187
|
# resides.
|
3089
3188
|
# This field has been deprecated and replaced by the name field.
|
@@ -3115,7 +3214,7 @@ module Google
|
|
3115
3214
|
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
3116
3215
|
attr_accessor :autoscaling
|
3117
3216
|
|
3118
|
-
# Deprecated. The name of the cluster to upgrade.
|
3217
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
3119
3218
|
# This field has been deprecated and replaced by the name field.
|
3120
3219
|
# Corresponds to the JSON property `clusterId`
|
3121
3220
|
# @return [String]
|
@@ -3128,20 +3227,20 @@ module Google
|
|
3128
3227
|
# @return [String]
|
3129
3228
|
attr_accessor :name
|
3130
3229
|
|
3131
|
-
# Deprecated. The name of the node pool to upgrade.
|
3230
|
+
# Required. Deprecated. The name of the node pool to upgrade.
|
3132
3231
|
# This field has been deprecated and replaced by the name field.
|
3133
3232
|
# Corresponds to the JSON property `nodePoolId`
|
3134
3233
|
# @return [String]
|
3135
3234
|
attr_accessor :node_pool_id
|
3136
3235
|
|
3137
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3236
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3138
3237
|
# number](https://support.google.com/cloud/answer/6158840).
|
3139
3238
|
# This field has been deprecated and replaced by the name field.
|
3140
3239
|
# Corresponds to the JSON property `projectId`
|
3141
3240
|
# @return [String]
|
3142
3241
|
attr_accessor :project_id
|
3143
3242
|
|
3144
|
-
# Deprecated. The name of the Google Compute Engine
|
3243
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3145
3244
|
# [zone](/compute/docs/zones#available) in which the cluster
|
3146
3245
|
# resides.
|
3147
3246
|
# This field has been deprecated and replaced by the name field.
|
@@ -3169,7 +3268,7 @@ module Google
|
|
3169
3268
|
class SetNodePoolManagementRequest
|
3170
3269
|
include Google::Apis::Core::Hashable
|
3171
3270
|
|
3172
|
-
# Deprecated. The name of the cluster to update.
|
3271
|
+
# Required. Deprecated. The name of the cluster to update.
|
3173
3272
|
# This field has been deprecated and replaced by the name field.
|
3174
3273
|
# Corresponds to the JSON property `clusterId`
|
3175
3274
|
# @return [String]
|
@@ -3188,20 +3287,20 @@ module Google
|
|
3188
3287
|
# @return [String]
|
3189
3288
|
attr_accessor :name
|
3190
3289
|
|
3191
|
-
# Deprecated. The name of the node pool to update.
|
3290
|
+
# Required. Deprecated. The name of the node pool to update.
|
3192
3291
|
# This field has been deprecated and replaced by the name field.
|
3193
3292
|
# Corresponds to the JSON property `nodePoolId`
|
3194
3293
|
# @return [String]
|
3195
3294
|
attr_accessor :node_pool_id
|
3196
3295
|
|
3197
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3296
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3198
3297
|
# number](https://support.google.com/cloud/answer/6158840).
|
3199
3298
|
# This field has been deprecated and replaced by the name field.
|
3200
3299
|
# Corresponds to the JSON property `projectId`
|
3201
3300
|
# @return [String]
|
3202
3301
|
attr_accessor :project_id
|
3203
3302
|
|
3204
|
-
# Deprecated. The name of the Google Compute Engine
|
3303
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3205
3304
|
# [zone](/compute/docs/zones#available) in which the cluster
|
3206
3305
|
# resides.
|
3207
3306
|
# This field has been deprecated and replaced by the name field.
|
@@ -3229,7 +3328,7 @@ module Google
|
|
3229
3328
|
class SetNodePoolSizeRequest
|
3230
3329
|
include Google::Apis::Core::Hashable
|
3231
3330
|
|
3232
|
-
# Deprecated. The name of the cluster to update.
|
3331
|
+
# Required. Deprecated. The name of the cluster to update.
|
3233
3332
|
# This field has been deprecated and replaced by the name field.
|
3234
3333
|
# Corresponds to the JSON property `clusterId`
|
3235
3334
|
# @return [String]
|
@@ -3242,25 +3341,25 @@ module Google
|
|
3242
3341
|
# @return [String]
|
3243
3342
|
attr_accessor :name
|
3244
3343
|
|
3245
|
-
# The desired node count for the pool.
|
3344
|
+
# Required. The desired node count for the pool.
|
3246
3345
|
# Corresponds to the JSON property `nodeCount`
|
3247
3346
|
# @return [Fixnum]
|
3248
3347
|
attr_accessor :node_count
|
3249
3348
|
|
3250
|
-
# Deprecated. The name of the node pool to update.
|
3349
|
+
# Required. Deprecated. The name of the node pool to update.
|
3251
3350
|
# This field has been deprecated and replaced by the name field.
|
3252
3351
|
# Corresponds to the JSON property `nodePoolId`
|
3253
3352
|
# @return [String]
|
3254
3353
|
attr_accessor :node_pool_id
|
3255
3354
|
|
3256
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3355
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3257
3356
|
# number](https://support.google.com/cloud/answer/6158840).
|
3258
3357
|
# This field has been deprecated and replaced by the name field.
|
3259
3358
|
# Corresponds to the JSON property `projectId`
|
3260
3359
|
# @return [String]
|
3261
3360
|
attr_accessor :project_id
|
3262
3361
|
|
3263
|
-
# Deprecated. The name of the Google Compute Engine
|
3362
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3264
3363
|
# [zone](/compute/docs/zones#available) in which the cluster
|
3265
3364
|
# resides.
|
3266
3365
|
# This field has been deprecated and replaced by the name field.
|
@@ -3322,7 +3421,7 @@ module Google
|
|
3322
3421
|
class StartIpRotationRequest
|
3323
3422
|
include Google::Apis::Core::Hashable
|
3324
3423
|
|
3325
|
-
# Deprecated. The name of the cluster.
|
3424
|
+
# Required. Deprecated. The name of the cluster.
|
3326
3425
|
# This field has been deprecated and replaced by the name field.
|
3327
3426
|
# Corresponds to the JSON property `clusterId`
|
3328
3427
|
# @return [String]
|
@@ -3334,7 +3433,7 @@ module Google
|
|
3334
3433
|
# @return [String]
|
3335
3434
|
attr_accessor :name
|
3336
3435
|
|
3337
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3436
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3338
3437
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
3339
3438
|
# This field has been deprecated and replaced by the name field.
|
3340
3439
|
# Corresponds to the JSON property `projectId`
|
@@ -3347,7 +3446,7 @@ module Google
|
|
3347
3446
|
attr_accessor :rotate_credentials
|
3348
3447
|
alias_method :rotate_credentials?, :rotate_credentials
|
3349
3448
|
|
3350
|
-
# Deprecated. The name of the Google Compute Engine
|
3449
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3351
3450
|
# [zone](/compute/docs/zones#available) in which the cluster
|
3352
3451
|
# resides.
|
3353
3452
|
# This field has been deprecated and replaced by the name field.
|
@@ -3395,11 +3494,37 @@ module Google
|
|
3395
3494
|
end
|
3396
3495
|
end
|
3397
3496
|
|
3497
|
+
# Represents an arbitrary window of time.
|
3498
|
+
class TimeWindow
|
3499
|
+
include Google::Apis::Core::Hashable
|
3500
|
+
|
3501
|
+
# The time that the window ends. The end time should take place after the
|
3502
|
+
# start time.
|
3503
|
+
# Corresponds to the JSON property `endTime`
|
3504
|
+
# @return [String]
|
3505
|
+
attr_accessor :end_time
|
3506
|
+
|
3507
|
+
# The time that the window first starts.
|
3508
|
+
# Corresponds to the JSON property `startTime`
|
3509
|
+
# @return [String]
|
3510
|
+
attr_accessor :start_time
|
3511
|
+
|
3512
|
+
def initialize(**args)
|
3513
|
+
update!(**args)
|
3514
|
+
end
|
3515
|
+
|
3516
|
+
# Update properties of this object
|
3517
|
+
def update!(**args)
|
3518
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
3519
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
3520
|
+
end
|
3521
|
+
end
|
3522
|
+
|
3398
3523
|
# UpdateClusterRequest updates the settings of a cluster.
|
3399
3524
|
class UpdateClusterRequest
|
3400
3525
|
include Google::Apis::Core::Hashable
|
3401
3526
|
|
3402
|
-
# Deprecated. The name of the cluster to upgrade.
|
3527
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
3403
3528
|
# This field has been deprecated and replaced by the name field.
|
3404
3529
|
# Corresponds to the JSON property `clusterId`
|
3405
3530
|
# @return [String]
|
@@ -3411,7 +3536,7 @@ module Google
|
|
3411
3536
|
# @return [String]
|
3412
3537
|
attr_accessor :name
|
3413
3538
|
|
3414
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3539
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3415
3540
|
# number](https://support.google.com/cloud/answer/6158840).
|
3416
3541
|
# This field has been deprecated and replaced by the name field.
|
3417
3542
|
# Corresponds to the JSON property `projectId`
|
@@ -3425,7 +3550,7 @@ module Google
|
|
3425
3550
|
# @return [Google::Apis::ContainerV1::ClusterUpdate]
|
3426
3551
|
attr_accessor :update
|
3427
3552
|
|
3428
|
-
# Deprecated. The name of the Google Compute Engine
|
3553
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3429
3554
|
# [zone](/compute/docs/zones#available) in which the cluster
|
3430
3555
|
# resides.
|
3431
3556
|
# This field has been deprecated and replaced by the name field.
|
@@ -3451,13 +3576,13 @@ module Google
|
|
3451
3576
|
class UpdateMasterRequest
|
3452
3577
|
include Google::Apis::Core::Hashable
|
3453
3578
|
|
3454
|
-
# Deprecated. The name of the cluster to upgrade.
|
3579
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
3455
3580
|
# This field has been deprecated and replaced by the name field.
|
3456
3581
|
# Corresponds to the JSON property `clusterId`
|
3457
3582
|
# @return [String]
|
3458
3583
|
attr_accessor :cluster_id
|
3459
3584
|
|
3460
|
-
# The Kubernetes version to change the master to.
|
3585
|
+
# Required. The Kubernetes version to change the master to.
|
3461
3586
|
# Users may specify either explicit versions offered by Kubernetes Engine or
|
3462
3587
|
# version aliases, which have the following behavior:
|
3463
3588
|
# - "latest": picks the highest valid Kubernetes version
|
@@ -3475,14 +3600,14 @@ module Google
|
|
3475
3600
|
# @return [String]
|
3476
3601
|
attr_accessor :name
|
3477
3602
|
|
3478
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3603
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3479
3604
|
# number](https://support.google.com/cloud/answer/6158840).
|
3480
3605
|
# This field has been deprecated and replaced by the name field.
|
3481
3606
|
# Corresponds to the JSON property `projectId`
|
3482
3607
|
# @return [String]
|
3483
3608
|
attr_accessor :project_id
|
3484
3609
|
|
3485
|
-
# Deprecated. The name of the Google Compute Engine
|
3610
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3486
3611
|
# [zone](/compute/docs/zones#available) in which the cluster
|
3487
3612
|
# resides.
|
3488
3613
|
# This field has been deprecated and replaced by the name field.
|
@@ -3508,13 +3633,13 @@ module Google
|
|
3508
3633
|
class UpdateNodePoolRequest
|
3509
3634
|
include Google::Apis::Core::Hashable
|
3510
3635
|
|
3511
|
-
# Deprecated. The name of the cluster to upgrade.
|
3636
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
3512
3637
|
# This field has been deprecated and replaced by the name field.
|
3513
3638
|
# Corresponds to the JSON property `clusterId`
|
3514
3639
|
# @return [String]
|
3515
3640
|
attr_accessor :cluster_id
|
3516
3641
|
|
3517
|
-
# The desired image type for the node pool.
|
3642
|
+
# Required. The desired image type for the node pool.
|
3518
3643
|
# Corresponds to the JSON property `imageType`
|
3519
3644
|
# @return [String]
|
3520
3645
|
attr_accessor :image_type
|
@@ -3526,13 +3651,13 @@ module Google
|
|
3526
3651
|
# @return [String]
|
3527
3652
|
attr_accessor :name
|
3528
3653
|
|
3529
|
-
# Deprecated. The name of the node pool to upgrade.
|
3654
|
+
# Required. Deprecated. The name of the node pool to upgrade.
|
3530
3655
|
# This field has been deprecated and replaced by the name field.
|
3531
3656
|
# Corresponds to the JSON property `nodePoolId`
|
3532
3657
|
# @return [String]
|
3533
3658
|
attr_accessor :node_pool_id
|
3534
3659
|
|
3535
|
-
# The Kubernetes version to change the nodes to (typically an
|
3660
|
+
# Required. The Kubernetes version to change the nodes to (typically an
|
3536
3661
|
# upgrade).
|
3537
3662
|
# Users may specify either explicit versions offered by Kubernetes Engine or
|
3538
3663
|
# version aliases, which have the following behavior:
|
@@ -3545,14 +3670,14 @@ module Google
|
|
3545
3670
|
# @return [String]
|
3546
3671
|
attr_accessor :node_version
|
3547
3672
|
|
3548
|
-
# Deprecated. The Google Developers Console [project ID or project
|
3673
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
3549
3674
|
# number](https://support.google.com/cloud/answer/6158840).
|
3550
3675
|
# This field has been deprecated and replaced by the name field.
|
3551
3676
|
# Corresponds to the JSON property `projectId`
|
3552
3677
|
# @return [String]
|
3553
3678
|
attr_accessor :project_id
|
3554
3679
|
|
3555
|
-
# Deprecated. The name of the Google Compute Engine
|
3680
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
3556
3681
|
# [zone](/compute/docs/zones#available) in which the cluster
|
3557
3682
|
# resides.
|
3558
3683
|
# This field has been deprecated and replaced by the name field.
|