google-apis-gkeonprem_v1 0.8.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a1c9dc5c17502c0afa034ad4b4330edb6999f4fd37e81de510d07726db8ada0
|
4
|
+
data.tar.gz: c9a4459d92ee39373afa5d5d709840fcebcac2be36658acdb6cd0a40abdb5b24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb49b277bba497eb2a962af6e46b93f346b4d2c2a91bc372700818e856dee16586e93d6e7f16d264fe59eb57dc76f87137ac8e89df4db9f41fd521beb2fb5228
|
7
|
+
data.tar.gz: c89eff2177137ee2eccf5446f4088b709b1d107092d0baa0a2cd096ce0f0c9849f2ec4a3cbc98259813bd3418ebeb13404128d813bf7c6d515f65cd8dab76b5b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkeonprem_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2023-08-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230815
|
6
|
+
|
7
|
+
### v0.9.0 (2023-08-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230724
|
10
|
+
|
3
11
|
### v0.8.0 (2023-07-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230717
|
@@ -94,6 +94,11 @@ module Google
|
|
94
94
|
# @return [String]
|
95
95
|
attr_accessor :bare_metal_version
|
96
96
|
|
97
|
+
# Configuration for Binary Authorization.
|
98
|
+
# Corresponds to the JSON property `binaryAuthorization`
|
99
|
+
# @return [Google::Apis::GkeonpremV1::BinaryAuthorization]
|
100
|
+
attr_accessor :binary_authorization
|
101
|
+
|
97
102
|
# BareMetalAdminClusterOperationsConfig specifies the admin cluster's
|
98
103
|
# observability infrastructure.
|
99
104
|
# Corresponds to the JSON property `clusterOperations`
|
@@ -253,6 +258,7 @@ module Google
|
|
253
258
|
def update!(**args)
|
254
259
|
@annotations = args[:annotations] if args.key?(:annotations)
|
255
260
|
@bare_metal_version = args[:bare_metal_version] if args.key?(:bare_metal_version)
|
261
|
+
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
|
256
262
|
@cluster_operations = args[:cluster_operations] if args.key?(:cluster_operations)
|
257
263
|
@control_plane = args[:control_plane] if args.key?(:control_plane)
|
258
264
|
@create_time = args[:create_time] if args.key?(:create_time)
|
@@ -887,6 +893,11 @@ module Google
|
|
887
893
|
# @return [String]
|
888
894
|
attr_accessor :bare_metal_version
|
889
895
|
|
896
|
+
# Configuration for Binary Authorization.
|
897
|
+
# Corresponds to the JSON property `binaryAuthorization`
|
898
|
+
# @return [Google::Apis::GkeonpremV1::BinaryAuthorization]
|
899
|
+
attr_accessor :binary_authorization
|
900
|
+
|
890
901
|
# Specifies the bare metal user cluster's observability infrastructure.
|
891
902
|
# Corresponds to the JSON property `clusterOperations`
|
892
903
|
# @return [Google::Apis::GkeonpremV1::BareMetalClusterOperationsConfig]
|
@@ -1031,6 +1042,11 @@ module Google
|
|
1031
1042
|
# @return [String]
|
1032
1043
|
attr_accessor :update_time
|
1033
1044
|
|
1045
|
+
# BareMetalClusterUpgradePolicy defines the cluster upgrade policy.
|
1046
|
+
# Corresponds to the JSON property `upgradePolicy`
|
1047
|
+
# @return [Google::Apis::GkeonpremV1::BareMetalClusterUpgradePolicy]
|
1048
|
+
attr_accessor :upgrade_policy
|
1049
|
+
|
1034
1050
|
# ValidationCheck represents the result of preflight check.
|
1035
1051
|
# Corresponds to the JSON property `validationCheck`
|
1036
1052
|
# @return [Google::Apis::GkeonpremV1::ValidationCheck]
|
@@ -1046,6 +1062,7 @@ module Google
|
|
1046
1062
|
@admin_cluster_name = args[:admin_cluster_name] if args.key?(:admin_cluster_name)
|
1047
1063
|
@annotations = args[:annotations] if args.key?(:annotations)
|
1048
1064
|
@bare_metal_version = args[:bare_metal_version] if args.key?(:bare_metal_version)
|
1065
|
+
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
|
1049
1066
|
@cluster_operations = args[:cluster_operations] if args.key?(:cluster_operations)
|
1050
1067
|
@control_plane = args[:control_plane] if args.key?(:control_plane)
|
1051
1068
|
@create_time = args[:create_time] if args.key?(:create_time)
|
@@ -1071,6 +1088,7 @@ module Google
|
|
1071
1088
|
@storage = args[:storage] if args.key?(:storage)
|
1072
1089
|
@uid = args[:uid] if args.key?(:uid)
|
1073
1090
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1091
|
+
@upgrade_policy = args[:upgrade_policy] if args.key?(:upgrade_policy)
|
1074
1092
|
@validation_check = args[:validation_check] if args.key?(:validation_check)
|
1075
1093
|
end
|
1076
1094
|
end
|
@@ -1096,6 +1114,25 @@ module Google
|
|
1096
1114
|
end
|
1097
1115
|
end
|
1098
1116
|
|
1117
|
+
# BareMetalClusterUpgradePolicy defines the cluster upgrade policy.
|
1118
|
+
class BareMetalClusterUpgradePolicy
|
1119
|
+
include Google::Apis::Core::Hashable
|
1120
|
+
|
1121
|
+
# Specifies which upgrade policy to use.
|
1122
|
+
# Corresponds to the JSON property `policy`
|
1123
|
+
# @return [String]
|
1124
|
+
attr_accessor :policy
|
1125
|
+
|
1126
|
+
def initialize(**args)
|
1127
|
+
update!(**args)
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
# Update properties of this object
|
1131
|
+
def update!(**args)
|
1132
|
+
@policy = args[:policy] if args.key?(:policy)
|
1133
|
+
end
|
1134
|
+
end
|
1135
|
+
|
1099
1136
|
# Specifies the control plane configuration.
|
1100
1137
|
class BareMetalControlPlaneConfig
|
1101
1138
|
include Google::Apis::Core::Hashable
|
@@ -2055,6 +2092,26 @@ module Google
|
|
2055
2092
|
end
|
2056
2093
|
end
|
2057
2094
|
|
2095
|
+
# Configuration for Binary Authorization.
|
2096
|
+
class BinaryAuthorization
|
2097
|
+
include Google::Apis::Core::Hashable
|
2098
|
+
|
2099
|
+
# Mode of operation for binauthz policy evaluation. If unspecified, defaults to
|
2100
|
+
# DISABLED.
|
2101
|
+
# Corresponds to the JSON property `evaluationMode`
|
2102
|
+
# @return [String]
|
2103
|
+
attr_accessor :evaluation_mode
|
2104
|
+
|
2105
|
+
def initialize(**args)
|
2106
|
+
update!(**args)
|
2107
|
+
end
|
2108
|
+
|
2109
|
+
# Update properties of this object
|
2110
|
+
def update!(**args)
|
2111
|
+
@evaluation_mode = args[:evaluation_mode] if args.key?(:evaluation_mode)
|
2112
|
+
end
|
2113
|
+
end
|
2114
|
+
|
2058
2115
|
# Associates `members`, or principals, with a `role`.
|
2059
2116
|
class Binding
|
2060
2117
|
include Google::Apis::Core::Hashable
|
@@ -2854,13 +2911,13 @@ module Google
|
|
2854
2911
|
# @return [String]
|
2855
2912
|
attr_accessor :name
|
2856
2913
|
|
2857
|
-
# The normal response of the operation
|
2858
|
-
#
|
2859
|
-
#
|
2860
|
-
#
|
2861
|
-
#
|
2862
|
-
#
|
2863
|
-
#
|
2914
|
+
# The normal, successful response of the operation. If the original method
|
2915
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
2916
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
2917
|
+
# response should be the resource. For other methods, the response should have
|
2918
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
2919
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
2920
|
+
# `TakeSnapshotResponse`.
|
2864
2921
|
# Corresponds to the JSON property `response`
|
2865
2922
|
# @return [Hash<String,Object>]
|
2866
2923
|
attr_accessor :response
|
@@ -3032,22 +3089,22 @@ module Google
|
|
3032
3089
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
3033
3090
|
# the request, the resource, or both. To learn which resources support
|
3034
3091
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3035
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3092
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
3036
3093
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3037
3094
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3038
3095
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3039
3096
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3040
3097
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3041
3098
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3042
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
3043
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
3044
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
3045
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
3046
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
3047
|
-
# access description: Does not grant access after Sep 2020
|
3048
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3049
|
-
# a description of IAM and its features, see the
|
3050
|
-
# cloud.google.com/iam/docs/).
|
3099
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
3100
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
3101
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
3102
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
3103
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
3104
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
3105
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3106
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
3107
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
3051
3108
|
class Policy
|
3052
3109
|
include Google::Apis::Core::Hashable
|
3053
3110
|
|
@@ -3258,22 +3315,22 @@ module Google
|
|
3258
3315
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
3259
3316
|
# the request, the resource, or both. To learn which resources support
|
3260
3317
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3261
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3318
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
3262
3319
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3263
3320
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3264
3321
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3265
3322
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3266
3323
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3267
3324
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3268
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
3269
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
3270
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
3271
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
3272
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
3273
|
-
# access description: Does not grant access after Sep 2020
|
3274
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3275
|
-
# a description of IAM and its features, see the
|
3276
|
-
# cloud.google.com/iam/docs/).
|
3325
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
3326
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
3327
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
3328
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
3329
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
3330
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
3331
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3332
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
3333
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
3277
3334
|
# Corresponds to the JSON property `policy`
|
3278
3335
|
# @return [Google::Apis::GkeonpremV1::Policy]
|
3279
3336
|
attr_accessor :policy
|
@@ -4078,6 +4135,11 @@ module Google
|
|
4078
4135
|
# @return [String]
|
4079
4136
|
attr_accessor :master_ip
|
4080
4137
|
|
4138
|
+
# Name to be used by Stackdriver.
|
4139
|
+
# Corresponds to the JSON property `stackdriverName`
|
4140
|
+
# @return [String]
|
4141
|
+
attr_accessor :stackdriver_name
|
4142
|
+
|
4081
4143
|
# Names of the VMs created for this Seesaw group.
|
4082
4144
|
# Corresponds to the JSON property `vms`
|
4083
4145
|
# @return [Array<String>]
|
@@ -4093,6 +4155,7 @@ module Google
|
|
4093
4155
|
@group = args[:group] if args.key?(:group)
|
4094
4156
|
@ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
|
4095
4157
|
@master_ip = args[:master_ip] if args.key?(:master_ip)
|
4158
|
+
@stackdriver_name = args[:stackdriver_name] if args.key?(:stackdriver_name)
|
4096
4159
|
@vms = args[:vms] if args.key?(:vms)
|
4097
4160
|
end
|
4098
4161
|
end
|
@@ -4324,6 +4387,12 @@ module Google
|
|
4324
4387
|
# @return [String]
|
4325
4388
|
attr_accessor :description
|
4326
4389
|
|
4390
|
+
# Disable bundled ingress.
|
4391
|
+
# Corresponds to the JSON property `disableBundledIngress`
|
4392
|
+
# @return [Boolean]
|
4393
|
+
attr_accessor :disable_bundled_ingress
|
4394
|
+
alias_method :disable_bundled_ingress?, :disable_bundled_ingress
|
4395
|
+
|
4327
4396
|
# Enable control plane V2. Default to false.
|
4328
4397
|
# Corresponds to the JSON property `enableControlPlaneV2`
|
4329
4398
|
# @return [Boolean]
|
@@ -4417,6 +4486,11 @@ module Google
|
|
4417
4486
|
# @return [String]
|
4418
4487
|
attr_accessor :update_time
|
4419
4488
|
|
4489
|
+
# VmwareClusterUpgradePolicy defines the cluster upgrade policy.
|
4490
|
+
# Corresponds to the JSON property `upgradePolicy`
|
4491
|
+
# @return [Google::Apis::GkeonpremV1::VmwareClusterUpgradePolicy]
|
4492
|
+
attr_accessor :upgrade_policy
|
4493
|
+
|
4420
4494
|
# ValidationCheck represents the result of preflight check.
|
4421
4495
|
# Corresponds to the JSON property `validationCheck`
|
4422
4496
|
# @return [Google::Apis::GkeonpremV1::ValidationCheck]
|
@@ -4450,6 +4524,7 @@ module Google
|
|
4450
4524
|
@dataplane_v2 = args[:dataplane_v2] if args.key?(:dataplane_v2)
|
4451
4525
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
4452
4526
|
@description = args[:description] if args.key?(:description)
|
4527
|
+
@disable_bundled_ingress = args[:disable_bundled_ingress] if args.key?(:disable_bundled_ingress)
|
4453
4528
|
@enable_control_plane_v2 = args[:enable_control_plane_v2] if args.key?(:enable_control_plane_v2)
|
4454
4529
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
4455
4530
|
@etag = args[:etag] if args.key?(:etag)
|
@@ -4465,12 +4540,33 @@ module Google
|
|
4465
4540
|
@storage = args[:storage] if args.key?(:storage)
|
4466
4541
|
@uid = args[:uid] if args.key?(:uid)
|
4467
4542
|
@update_time = args[:update_time] if args.key?(:update_time)
|
4543
|
+
@upgrade_policy = args[:upgrade_policy] if args.key?(:upgrade_policy)
|
4468
4544
|
@validation_check = args[:validation_check] if args.key?(:validation_check)
|
4469
4545
|
@vcenter = args[:vcenter] if args.key?(:vcenter)
|
4470
4546
|
@vm_tracking_enabled = args[:vm_tracking_enabled] if args.key?(:vm_tracking_enabled)
|
4471
4547
|
end
|
4472
4548
|
end
|
4473
4549
|
|
4550
|
+
# VmwareClusterUpgradePolicy defines the cluster upgrade policy.
|
4551
|
+
class VmwareClusterUpgradePolicy
|
4552
|
+
include Google::Apis::Core::Hashable
|
4553
|
+
|
4554
|
+
# Controls whether the upgrade applies to the control plane only.
|
4555
|
+
# Corresponds to the JSON property `controlPlaneOnly`
|
4556
|
+
# @return [Boolean]
|
4557
|
+
attr_accessor :control_plane_only
|
4558
|
+
alias_method :control_plane_only?, :control_plane_only
|
4559
|
+
|
4560
|
+
def initialize(**args)
|
4561
|
+
update!(**args)
|
4562
|
+
end
|
4563
|
+
|
4564
|
+
# Update properties of this object
|
4565
|
+
def update!(**args)
|
4566
|
+
@control_plane_only = args[:control_plane_only] if args.key?(:control_plane_only)
|
4567
|
+
end
|
4568
|
+
end
|
4569
|
+
|
4474
4570
|
# Specifies control plane node config for the VMware user cluster.
|
4475
4571
|
class VmwareControlPlaneNodeConfig
|
4476
4572
|
include Google::Apis::Core::Hashable
|
@@ -4545,6 +4641,11 @@ module Google
|
|
4545
4641
|
# @return [String]
|
4546
4642
|
attr_accessor :datastore
|
4547
4643
|
|
4644
|
+
# The Vsphere storage policy used by the control plane Node.
|
4645
|
+
# Corresponds to the JSON property `storagePolicyName`
|
4646
|
+
# @return [String]
|
4647
|
+
attr_accessor :storage_policy_name
|
4648
|
+
|
4548
4649
|
def initialize(**args)
|
4549
4650
|
update!(**args)
|
4550
4651
|
end
|
@@ -4552,6 +4653,7 @@ module Google
|
|
4552
4653
|
# Update properties of this object
|
4553
4654
|
def update!(**args)
|
4554
4655
|
@datastore = args[:datastore] if args.key?(:datastore)
|
4656
|
+
@storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
|
4555
4657
|
end
|
4556
4658
|
end
|
4557
4659
|
|
@@ -4756,6 +4858,26 @@ module Google
|
|
4756
4858
|
# @return [Google::Apis::GkeonpremV1::VmwareMetalLbConfig]
|
4757
4859
|
attr_accessor :metal_lb_config
|
4758
4860
|
|
4861
|
+
# VmwareSeesawConfig represents configuration parameters for an already existing
|
4862
|
+
# Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will
|
4863
|
+
# not generate or update Seesaw configurations it can only bind a pre-existing
|
4864
|
+
# configuration to a new user cluster. IMPORTANT: When attempting to create a
|
4865
|
+
# user cluster with a pre-existing Seesaw load balancer you will need to follow
|
4866
|
+
# some preparation steps before calling the 'CreateVmwareCluster' API method.
|
4867
|
+
# First you will need to create the user cluster's namespace via kubectl. The
|
4868
|
+
# namespace will need to use the following naming convention : -gke-onprem-mgmt
|
4869
|
+
# or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.
|
4870
|
+
# local_name' to disambiguate collisions; for more context see the documentation
|
4871
|
+
# of 'VmwareCluster.local_name'. Once the namespace is created you will need to
|
4872
|
+
# create a secret resource via kubectl. This secret will contain copies of your
|
4873
|
+
# Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain
|
4874
|
+
# Seesaw's SSH and Cert credentials. The credentials must be keyed with the
|
4875
|
+
# following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-
|
4876
|
+
# ssh-ca-key', 'seesaw-ssh-ca-cert'.
|
4877
|
+
# Corresponds to the JSON property `seesawConfig`
|
4878
|
+
# @return [Google::Apis::GkeonpremV1::VmwareSeesawConfig]
|
4879
|
+
attr_accessor :seesaw_config
|
4880
|
+
|
4759
4881
|
# Specifies the VIP config for the VMware user cluster load balancer.
|
4760
4882
|
# Corresponds to the JSON property `vipConfig`
|
4761
4883
|
# @return [Google::Apis::GkeonpremV1::VmwareVipConfig]
|
@@ -4770,6 +4892,7 @@ module Google
|
|
4770
4892
|
@f5_config = args[:f5_config] if args.key?(:f5_config)
|
4771
4893
|
@manual_lb_config = args[:manual_lb_config] if args.key?(:manual_lb_config)
|
4772
4894
|
@metal_lb_config = args[:metal_lb_config] if args.key?(:metal_lb_config)
|
4895
|
+
@seesaw_config = args[:seesaw_config] if args.key?(:seesaw_config)
|
4773
4896
|
@vip_config = args[:vip_config] if args.key?(:vip_config)
|
4774
4897
|
end
|
4775
4898
|
end
|
@@ -5164,6 +5287,73 @@ module Google
|
|
5164
5287
|
end
|
5165
5288
|
end
|
5166
5289
|
|
5290
|
+
# VmwareSeesawConfig represents configuration parameters for an already existing
|
5291
|
+
# Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will
|
5292
|
+
# not generate or update Seesaw configurations it can only bind a pre-existing
|
5293
|
+
# configuration to a new user cluster. IMPORTANT: When attempting to create a
|
5294
|
+
# user cluster with a pre-existing Seesaw load balancer you will need to follow
|
5295
|
+
# some preparation steps before calling the 'CreateVmwareCluster' API method.
|
5296
|
+
# First you will need to create the user cluster's namespace via kubectl. The
|
5297
|
+
# namespace will need to use the following naming convention : -gke-onprem-mgmt
|
5298
|
+
# or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.
|
5299
|
+
# local_name' to disambiguate collisions; for more context see the documentation
|
5300
|
+
# of 'VmwareCluster.local_name'. Once the namespace is created you will need to
|
5301
|
+
# create a secret resource via kubectl. This secret will contain copies of your
|
5302
|
+
# Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain
|
5303
|
+
# Seesaw's SSH and Cert credentials. The credentials must be keyed with the
|
5304
|
+
# following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-
|
5305
|
+
# ssh-ca-key', 'seesaw-ssh-ca-cert'.
|
5306
|
+
class VmwareSeesawConfig
|
5307
|
+
include Google::Apis::Core::Hashable
|
5308
|
+
|
5309
|
+
# Enable two load balancer VMs to achieve a highly-available Seesaw load
|
5310
|
+
# balancer.
|
5311
|
+
# Corresponds to the JSON property `enableHa`
|
5312
|
+
# @return [Boolean]
|
5313
|
+
attr_accessor :enable_ha
|
5314
|
+
alias_method :enable_ha?, :enable_ha
|
5315
|
+
|
5316
|
+
# Required. In general the following format should be used for the Seesaw group
|
5317
|
+
# name: seesaw-for-[cluster_name].
|
5318
|
+
# Corresponds to the JSON property `group`
|
5319
|
+
# @return [String]
|
5320
|
+
attr_accessor :group
|
5321
|
+
|
5322
|
+
# Required. The IP Blocks to be used by the Seesaw load balancer
|
5323
|
+
# Corresponds to the JSON property `ipBlocks`
|
5324
|
+
# @return [Array<Google::Apis::GkeonpremV1::VmwareIpBlock>]
|
5325
|
+
attr_accessor :ip_blocks
|
5326
|
+
|
5327
|
+
# Required. MasterIP is the IP announced by the master of Seesaw group.
|
5328
|
+
# Corresponds to the JSON property `masterIp`
|
5329
|
+
# @return [String]
|
5330
|
+
attr_accessor :master_ip
|
5331
|
+
|
5332
|
+
# Name to be used by Stackdriver.
|
5333
|
+
# Corresponds to the JSON property `stackdriverName`
|
5334
|
+
# @return [String]
|
5335
|
+
attr_accessor :stackdriver_name
|
5336
|
+
|
5337
|
+
# Names of the VMs created for this Seesaw group.
|
5338
|
+
# Corresponds to the JSON property `vms`
|
5339
|
+
# @return [Array<String>]
|
5340
|
+
attr_accessor :vms
|
5341
|
+
|
5342
|
+
def initialize(**args)
|
5343
|
+
update!(**args)
|
5344
|
+
end
|
5345
|
+
|
5346
|
+
# Update properties of this object
|
5347
|
+
def update!(**args)
|
5348
|
+
@enable_ha = args[:enable_ha] if args.key?(:enable_ha)
|
5349
|
+
@group = args[:group] if args.key?(:group)
|
5350
|
+
@ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
|
5351
|
+
@master_ip = args[:master_ip] if args.key?(:master_ip)
|
5352
|
+
@stackdriver_name = args[:stackdriver_name] if args.key?(:stackdriver_name)
|
5353
|
+
@vms = args[:vms] if args.key?(:vms)
|
5354
|
+
end
|
5355
|
+
end
|
5356
|
+
|
5167
5357
|
# Represents the network configuration required for the VMware user clusters
|
5168
5358
|
# with Static IP configurations.
|
5169
5359
|
class VmwareStaticIpConfig
|
@@ -5244,6 +5434,11 @@ module Google
|
|
5244
5434
|
# @return [String]
|
5245
5435
|
attr_accessor :resource_pool
|
5246
5436
|
|
5437
|
+
# The name of the vCenter storage policy for the user cluster.
|
5438
|
+
# Corresponds to the JSON property `storagePolicyName`
|
5439
|
+
# @return [String]
|
5440
|
+
attr_accessor :storage_policy_name
|
5441
|
+
|
5247
5442
|
def initialize(**args)
|
5248
5443
|
update!(**args)
|
5249
5444
|
end
|
@@ -5257,6 +5452,7 @@ module Google
|
|
5257
5452
|
@datastore = args[:datastore] if args.key?(:datastore)
|
5258
5453
|
@folder = args[:folder] if args.key?(:folder)
|
5259
5454
|
@resource_pool = args[:resource_pool] if args.key?(:resource_pool)
|
5455
|
+
@storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
|
5260
5456
|
end
|
5261
5457
|
end
|
5262
5458
|
|
@@ -5332,6 +5528,11 @@ module Google
|
|
5332
5528
|
# @return [String]
|
5333
5529
|
attr_accessor :datastore
|
5334
5530
|
|
5531
|
+
# Vsphere host groups to apply to all VMs in the node pool
|
5532
|
+
# Corresponds to the JSON property `hostGroups`
|
5533
|
+
# @return [Array<String>]
|
5534
|
+
attr_accessor :host_groups
|
5535
|
+
|
5335
5536
|
# Tags to apply to VMs.
|
5336
5537
|
# Corresponds to the JSON property `tags`
|
5337
5538
|
# @return [Array<Google::Apis::GkeonpremV1::VmwareVsphereTag>]
|
@@ -5344,6 +5545,7 @@ module Google
|
|
5344
5545
|
# Update properties of this object
|
5345
5546
|
def update!(**args)
|
5346
5547
|
@datastore = args[:datastore] if args.key?(:datastore)
|
5548
|
+
@host_groups = args[:host_groups] if args.key?(:host_groups)
|
5347
5549
|
@tags = args[:tags] if args.key?(:tags)
|
5348
5550
|
end
|
5349
5551
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkeonpremV1
|
18
18
|
# Version of the google-apis-gkeonprem_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230815"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,6 +190,12 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class BareMetalClusterUpgradePolicy
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
193
199
|
class BareMetalControlPlaneConfig
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
@@ -388,6 +394,12 @@ module Google
|
|
388
394
|
include Google::Apis::Core::JsonObjectSupport
|
389
395
|
end
|
390
396
|
|
397
|
+
class BinaryAuthorization
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
391
403
|
class Binding
|
392
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
405
|
|
@@ -742,6 +754,12 @@ module Google
|
|
742
754
|
include Google::Apis::Core::JsonObjectSupport
|
743
755
|
end
|
744
756
|
|
757
|
+
class VmwareClusterUpgradePolicy
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
|
+
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
761
|
+
end
|
762
|
+
|
745
763
|
class VmwareControlPlaneNodeConfig
|
746
764
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
765
|
|
@@ -844,6 +862,12 @@ module Google
|
|
844
862
|
include Google::Apis::Core::JsonObjectSupport
|
845
863
|
end
|
846
864
|
|
865
|
+
class VmwareSeesawConfig
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
847
871
|
class VmwareStaticIpConfig
|
848
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
873
|
|
@@ -907,6 +931,8 @@ module Google
|
|
907
931
|
class Representation < Google::Apis::Core::JsonRepresentation
|
908
932
|
hash :annotations, as: 'annotations'
|
909
933
|
property :bare_metal_version, as: 'bareMetalVersion'
|
934
|
+
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::GkeonpremV1::BinaryAuthorization, decorator: Google::Apis::GkeonpremV1::BinaryAuthorization::Representation
|
935
|
+
|
910
936
|
property :cluster_operations, as: 'clusterOperations', class: Google::Apis::GkeonpremV1::BareMetalAdminClusterOperationsConfig, decorator: Google::Apis::GkeonpremV1::BareMetalAdminClusterOperationsConfig::Representation
|
911
937
|
|
912
938
|
property :control_plane, as: 'controlPlane', class: Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneConfig, decorator: Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneConfig::Representation
|
@@ -1149,6 +1175,8 @@ module Google
|
|
1149
1175
|
property :admin_cluster_name, as: 'adminClusterName'
|
1150
1176
|
hash :annotations, as: 'annotations'
|
1151
1177
|
property :bare_metal_version, as: 'bareMetalVersion'
|
1178
|
+
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::GkeonpremV1::BinaryAuthorization, decorator: Google::Apis::GkeonpremV1::BinaryAuthorization::Representation
|
1179
|
+
|
1152
1180
|
property :cluster_operations, as: 'clusterOperations', class: Google::Apis::GkeonpremV1::BareMetalClusterOperationsConfig, decorator: Google::Apis::GkeonpremV1::BareMetalClusterOperationsConfig::Representation
|
1153
1181
|
|
1154
1182
|
property :control_plane, as: 'controlPlane', class: Google::Apis::GkeonpremV1::BareMetalControlPlaneConfig, decorator: Google::Apis::GkeonpremV1::BareMetalControlPlaneConfig::Representation
|
@@ -1188,6 +1216,8 @@ module Google
|
|
1188
1216
|
|
1189
1217
|
property :uid, as: 'uid'
|
1190
1218
|
property :update_time, as: 'updateTime'
|
1219
|
+
property :upgrade_policy, as: 'upgradePolicy', class: Google::Apis::GkeonpremV1::BareMetalClusterUpgradePolicy, decorator: Google::Apis::GkeonpremV1::BareMetalClusterUpgradePolicy::Representation
|
1220
|
+
|
1191
1221
|
property :validation_check, as: 'validationCheck', class: Google::Apis::GkeonpremV1::ValidationCheck, decorator: Google::Apis::GkeonpremV1::ValidationCheck::Representation
|
1192
1222
|
|
1193
1223
|
end
|
@@ -1200,6 +1230,13 @@ module Google
|
|
1200
1230
|
end
|
1201
1231
|
end
|
1202
1232
|
|
1233
|
+
class BareMetalClusterUpgradePolicy
|
1234
|
+
# @private
|
1235
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1236
|
+
property :policy, as: 'policy'
|
1237
|
+
end
|
1238
|
+
end
|
1239
|
+
|
1203
1240
|
class BareMetalControlPlaneConfig
|
1204
1241
|
# @private
|
1205
1242
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1503,6 +1540,13 @@ module Google
|
|
1503
1540
|
end
|
1504
1541
|
end
|
1505
1542
|
|
1543
|
+
class BinaryAuthorization
|
1544
|
+
# @private
|
1545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1546
|
+
property :evaluation_mode, as: 'evaluationMode'
|
1547
|
+
end
|
1548
|
+
end
|
1549
|
+
|
1506
1550
|
class Binding
|
1507
1551
|
# @private
|
1508
1552
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2029,6 +2073,7 @@ module Google
|
|
2029
2073
|
collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::GkeonpremV1::VmwareIpBlock, decorator: Google::Apis::GkeonpremV1::VmwareIpBlock::Representation
|
2030
2074
|
|
2031
2075
|
property :master_ip, as: 'masterIp'
|
2076
|
+
property :stackdriver_name, as: 'stackdriverName'
|
2032
2077
|
collection :vms, as: 'vms'
|
2033
2078
|
end
|
2034
2079
|
end
|
@@ -2097,6 +2142,7 @@ module Google
|
|
2097
2142
|
|
2098
2143
|
property :delete_time, as: 'deleteTime'
|
2099
2144
|
property :description, as: 'description'
|
2145
|
+
property :disable_bundled_ingress, as: 'disableBundledIngress'
|
2100
2146
|
property :enable_control_plane_v2, as: 'enableControlPlaneV2'
|
2101
2147
|
property :endpoint, as: 'endpoint'
|
2102
2148
|
property :etag, as: 'etag'
|
@@ -2117,6 +2163,8 @@ module Google
|
|
2117
2163
|
|
2118
2164
|
property :uid, as: 'uid'
|
2119
2165
|
property :update_time, as: 'updateTime'
|
2166
|
+
property :upgrade_policy, as: 'upgradePolicy', class: Google::Apis::GkeonpremV1::VmwareClusterUpgradePolicy, decorator: Google::Apis::GkeonpremV1::VmwareClusterUpgradePolicy::Representation
|
2167
|
+
|
2120
2168
|
property :validation_check, as: 'validationCheck', class: Google::Apis::GkeonpremV1::ValidationCheck, decorator: Google::Apis::GkeonpremV1::ValidationCheck::Representation
|
2121
2169
|
|
2122
2170
|
property :vcenter, as: 'vcenter', class: Google::Apis::GkeonpremV1::VmwareVCenterConfig, decorator: Google::Apis::GkeonpremV1::VmwareVCenterConfig::Representation
|
@@ -2125,6 +2173,13 @@ module Google
|
|
2125
2173
|
end
|
2126
2174
|
end
|
2127
2175
|
|
2176
|
+
class VmwareClusterUpgradePolicy
|
2177
|
+
# @private
|
2178
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2179
|
+
property :control_plane_only, as: 'controlPlaneOnly'
|
2180
|
+
end
|
2181
|
+
end
|
2182
|
+
|
2128
2183
|
class VmwareControlPlaneNodeConfig
|
2129
2184
|
# @private
|
2130
2185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2150,6 +2205,7 @@ module Google
|
|
2150
2205
|
# @private
|
2151
2206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2152
2207
|
property :datastore, as: 'datastore'
|
2208
|
+
property :storage_policy_name, as: 'storagePolicyName'
|
2153
2209
|
end
|
2154
2210
|
end
|
2155
2211
|
|
@@ -2214,6 +2270,8 @@ module Google
|
|
2214
2270
|
|
2215
2271
|
property :metal_lb_config, as: 'metalLbConfig', class: Google::Apis::GkeonpremV1::VmwareMetalLbConfig, decorator: Google::Apis::GkeonpremV1::VmwareMetalLbConfig::Representation
|
2216
2272
|
|
2273
|
+
property :seesaw_config, as: 'seesawConfig', class: Google::Apis::GkeonpremV1::VmwareSeesawConfig, decorator: Google::Apis::GkeonpremV1::VmwareSeesawConfig::Representation
|
2274
|
+
|
2217
2275
|
property :vip_config, as: 'vipConfig', class: Google::Apis::GkeonpremV1::VmwareVipConfig, decorator: Google::Apis::GkeonpremV1::VmwareVipConfig::Representation
|
2218
2276
|
|
2219
2277
|
end
|
@@ -2315,6 +2373,19 @@ module Google
|
|
2315
2373
|
end
|
2316
2374
|
end
|
2317
2375
|
|
2376
|
+
class VmwareSeesawConfig
|
2377
|
+
# @private
|
2378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2379
|
+
property :enable_ha, as: 'enableHa'
|
2380
|
+
property :group, as: 'group'
|
2381
|
+
collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::GkeonpremV1::VmwareIpBlock, decorator: Google::Apis::GkeonpremV1::VmwareIpBlock::Representation
|
2382
|
+
|
2383
|
+
property :master_ip, as: 'masterIp'
|
2384
|
+
property :stackdriver_name, as: 'stackdriverName'
|
2385
|
+
collection :vms, as: 'vms'
|
2386
|
+
end
|
2387
|
+
end
|
2388
|
+
|
2318
2389
|
class VmwareStaticIpConfig
|
2319
2390
|
# @private
|
2320
2391
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2340,6 +2411,7 @@ module Google
|
|
2340
2411
|
property :datastore, as: 'datastore'
|
2341
2412
|
property :folder, as: 'folder'
|
2342
2413
|
property :resource_pool, as: 'resourcePool'
|
2414
|
+
property :storage_policy_name, as: 'storagePolicyName'
|
2343
2415
|
end
|
2344
2416
|
end
|
2345
2417
|
|
@@ -2364,6 +2436,7 @@ module Google
|
|
2364
2436
|
# @private
|
2365
2437
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2366
2438
|
property :datastore, as: 'datastore'
|
2439
|
+
collection :host_groups, as: 'hostGroups'
|
2367
2440
|
collection :tags, as: 'tags', class: Google::Apis::GkeonpremV1::VmwareVsphereTag, decorator: Google::Apis::GkeonpremV1::VmwareVsphereTag::Representation
|
2368
2441
|
|
2369
2442
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkeonprem_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkeonprem_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.10.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkeonprem_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Anthos On-Prem API V1
|