google-apis-gkeonprem_v1 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29c99105784b64175f530697d755ed7411fbafc11d3aa2248f1417e30bf207ff
4
- data.tar.gz: 9f660437a5853a9bee4b7b750412ef28b30ebec961c84012cba85e05714efeee
3
+ metadata.gz: 893d76ffb30466862c72edbbf5b68cc9437678ecbb1bee864932d0f89fba3fb0
4
+ data.tar.gz: a0a3c7ac59e952f3442eeeac602fedd7bca660d433f73bb7563f7a3d48a13a62
5
5
  SHA512:
6
- metadata.gz: 8d617667fb79422ffa927327699963b6191fdb806996da54619065aecf01d6b2b4092c8acfd71b68a085cf756cdc8aa5ab3955bd80043d7d04f2e4532e43f655
7
- data.tar.gz: 5a2145398064dac1d8c17e8b7acf2d6b3c9d75686bfc35a2dffb020294533cbbf8c5cb65a967cd275bbc4faf6a56c626144d5843e9023371d22360803b0d4213
6
+ metadata.gz: abda69d8de95cc598a472e19f687b8fd16bb0e013d7a173fea0054e14a4f4216e9f1d5412f4db8700c11a80491697580377bde343cab7354c87ece4baf6527a1
7
+ data.tar.gz: 34abc4f57671fd61100cda6c96ae91c0f0a3f11cd4056055b41882bf02cb34da292a9aa1be967e37a2539d1a0ef3d5f0ec3d52ccffe2757d65d72f2f2d1cd00d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkeonprem_v1
2
2
 
3
+ ### v0.11.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230906
6
+
7
+ ### v0.10.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230815
10
+
3
11
  ### v0.9.0 (2023-08-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20230724
@@ -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]
@@ -1051,6 +1062,7 @@ module Google
1051
1062
  @admin_cluster_name = args[:admin_cluster_name] if args.key?(:admin_cluster_name)
1052
1063
  @annotations = args[:annotations] if args.key?(:annotations)
1053
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)
1054
1066
  @cluster_operations = args[:cluster_operations] if args.key?(:cluster_operations)
1055
1067
  @control_plane = args[:control_plane] if args.key?(:control_plane)
1056
1068
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -2080,6 +2092,26 @@ module Google
2080
2092
  end
2081
2093
  end
2082
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
+
2083
2115
  # Associates `members`, or principals, with a `role`.
2084
2116
  class Binding
2085
2117
  include Google::Apis::Core::Hashable
@@ -2879,13 +2911,13 @@ module Google
2879
2911
  # @return [String]
2880
2912
  attr_accessor :name
2881
2913
 
2882
- # The normal response of the operation in case of success. If the original
2883
- # method returns no data on success, such as `Delete`, the response is `google.
2884
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
2885
- # the response should be the resource. For other methods, the response should
2886
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
2887
- # example, if the original method name is `TakeSnapshot()`, the inferred
2888
- # response type is `TakeSnapshotResponse`.
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`.
2889
2921
  # Corresponds to the JSON property `response`
2890
2922
  # @return [Hash<String,Object>]
2891
2923
  attr_accessor :response
@@ -3057,22 +3089,22 @@ module Google
3057
3089
  # evaluates to `true`. A condition can add constraints based on attributes of
3058
3090
  # the request, the resource, or both. To learn which resources support
3059
3091
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
3060
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
3092
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
3061
3093
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
3062
3094
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
3063
3095
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
3064
3096
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
3065
3097
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
3066
3098
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
3067
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
3068
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
3069
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
3070
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
3071
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
3072
- # access description: Does not grant access after Sep 2020 expression: request.
3073
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
3074
- # a description of IAM and its features, see the [IAM documentation](https://
3075
- # 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/).
3076
3108
  class Policy
3077
3109
  include Google::Apis::Core::Hashable
3078
3110
 
@@ -3283,22 +3315,22 @@ module Google
3283
3315
  # evaluates to `true`. A condition can add constraints based on attributes of
3284
3316
  # the request, the resource, or both. To learn which resources support
3285
3317
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
3286
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
3318
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
3287
3319
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
3288
3320
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
3289
3321
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
3290
3322
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
3291
3323
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
3292
3324
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
3293
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
3294
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
3295
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
3296
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
3297
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
3298
- # access description: Does not grant access after Sep 2020 expression: request.
3299
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
3300
- # a description of IAM and its features, see the [IAM documentation](https://
3301
- # 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/).
3302
3334
  # Corresponds to the JSON property `policy`
3303
3335
  # @return [Google::Apis::GkeonpremV1::Policy]
3304
3336
  attr_accessor :policy
@@ -3406,6 +3438,11 @@ module Google
3406
3438
  # @return [String]
3407
3439
  attr_accessor :local_name
3408
3440
 
3441
+ # Membership names are formatted as `projects//locations//memberships/`.
3442
+ # Corresponds to the JSON property `membership`
3443
+ # @return [String]
3444
+ attr_accessor :membership
3445
+
3409
3446
  # Resource name of the dependency.
3410
3447
  # Corresponds to the JSON property `resourceName`
3411
3448
  # @return [String]
@@ -3425,6 +3462,7 @@ module Google
3425
3462
  def update!(**args)
3426
3463
  @current_version = args[:current_version] if args.key?(:current_version)
3427
3464
  @local_name = args[:local_name] if args.key?(:local_name)
3465
+ @membership = args[:membership] if args.key?(:membership)
3428
3466
  @resource_name = args[:resource_name] if args.key?(:resource_name)
3429
3467
  @target_version = args[:target_version] if args.key?(:target_version)
3430
3468
  end
@@ -4103,6 +4141,11 @@ module Google
4103
4141
  # @return [String]
4104
4142
  attr_accessor :master_ip
4105
4143
 
4144
+ # Name to be used by Stackdriver.
4145
+ # Corresponds to the JSON property `stackdriverName`
4146
+ # @return [String]
4147
+ attr_accessor :stackdriver_name
4148
+
4106
4149
  # Names of the VMs created for this Seesaw group.
4107
4150
  # Corresponds to the JSON property `vms`
4108
4151
  # @return [Array<String>]
@@ -4118,6 +4161,7 @@ module Google
4118
4161
  @group = args[:group] if args.key?(:group)
4119
4162
  @ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
4120
4163
  @master_ip = args[:master_ip] if args.key?(:master_ip)
4164
+ @stackdriver_name = args[:stackdriver_name] if args.key?(:stackdriver_name)
4121
4165
  @vms = args[:vms] if args.key?(:vms)
4122
4166
  end
4123
4167
  end
@@ -4349,6 +4393,12 @@ module Google
4349
4393
  # @return [String]
4350
4394
  attr_accessor :description
4351
4395
 
4396
+ # Disable bundled ingress.
4397
+ # Corresponds to the JSON property `disableBundledIngress`
4398
+ # @return [Boolean]
4399
+ attr_accessor :disable_bundled_ingress
4400
+ alias_method :disable_bundled_ingress?, :disable_bundled_ingress
4401
+
4352
4402
  # Enable control plane V2. Default to false.
4353
4403
  # Corresponds to the JSON property `enableControlPlaneV2`
4354
4404
  # @return [Boolean]
@@ -4442,6 +4492,11 @@ module Google
4442
4492
  # @return [String]
4443
4493
  attr_accessor :update_time
4444
4494
 
4495
+ # VmwareClusterUpgradePolicy defines the cluster upgrade policy.
4496
+ # Corresponds to the JSON property `upgradePolicy`
4497
+ # @return [Google::Apis::GkeonpremV1::VmwareClusterUpgradePolicy]
4498
+ attr_accessor :upgrade_policy
4499
+
4445
4500
  # ValidationCheck represents the result of preflight check.
4446
4501
  # Corresponds to the JSON property `validationCheck`
4447
4502
  # @return [Google::Apis::GkeonpremV1::ValidationCheck]
@@ -4475,6 +4530,7 @@ module Google
4475
4530
  @dataplane_v2 = args[:dataplane_v2] if args.key?(:dataplane_v2)
4476
4531
  @delete_time = args[:delete_time] if args.key?(:delete_time)
4477
4532
  @description = args[:description] if args.key?(:description)
4533
+ @disable_bundled_ingress = args[:disable_bundled_ingress] if args.key?(:disable_bundled_ingress)
4478
4534
  @enable_control_plane_v2 = args[:enable_control_plane_v2] if args.key?(:enable_control_plane_v2)
4479
4535
  @endpoint = args[:endpoint] if args.key?(:endpoint)
4480
4536
  @etag = args[:etag] if args.key?(:etag)
@@ -4490,12 +4546,33 @@ module Google
4490
4546
  @storage = args[:storage] if args.key?(:storage)
4491
4547
  @uid = args[:uid] if args.key?(:uid)
4492
4548
  @update_time = args[:update_time] if args.key?(:update_time)
4549
+ @upgrade_policy = args[:upgrade_policy] if args.key?(:upgrade_policy)
4493
4550
  @validation_check = args[:validation_check] if args.key?(:validation_check)
4494
4551
  @vcenter = args[:vcenter] if args.key?(:vcenter)
4495
4552
  @vm_tracking_enabled = args[:vm_tracking_enabled] if args.key?(:vm_tracking_enabled)
4496
4553
  end
4497
4554
  end
4498
4555
 
4556
+ # VmwareClusterUpgradePolicy defines the cluster upgrade policy.
4557
+ class VmwareClusterUpgradePolicy
4558
+ include Google::Apis::Core::Hashable
4559
+
4560
+ # Controls whether the upgrade applies to the control plane only.
4561
+ # Corresponds to the JSON property `controlPlaneOnly`
4562
+ # @return [Boolean]
4563
+ attr_accessor :control_plane_only
4564
+ alias_method :control_plane_only?, :control_plane_only
4565
+
4566
+ def initialize(**args)
4567
+ update!(**args)
4568
+ end
4569
+
4570
+ # Update properties of this object
4571
+ def update!(**args)
4572
+ @control_plane_only = args[:control_plane_only] if args.key?(:control_plane_only)
4573
+ end
4574
+ end
4575
+
4499
4576
  # Specifies control plane node config for the VMware user cluster.
4500
4577
  class VmwareControlPlaneNodeConfig
4501
4578
  include Google::Apis::Core::Hashable
@@ -4570,6 +4647,11 @@ module Google
4570
4647
  # @return [String]
4571
4648
  attr_accessor :datastore
4572
4649
 
4650
+ # The Vsphere storage policy used by the control plane Node.
4651
+ # Corresponds to the JSON property `storagePolicyName`
4652
+ # @return [String]
4653
+ attr_accessor :storage_policy_name
4654
+
4573
4655
  def initialize(**args)
4574
4656
  update!(**args)
4575
4657
  end
@@ -4577,6 +4659,7 @@ module Google
4577
4659
  # Update properties of this object
4578
4660
  def update!(**args)
4579
4661
  @datastore = args[:datastore] if args.key?(:datastore)
4662
+ @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
4580
4663
  end
4581
4664
  end
4582
4665
 
@@ -4781,6 +4864,26 @@ module Google
4781
4864
  # @return [Google::Apis::GkeonpremV1::VmwareMetalLbConfig]
4782
4865
  attr_accessor :metal_lb_config
4783
4866
 
4867
+ # VmwareSeesawConfig represents configuration parameters for an already existing
4868
+ # Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will
4869
+ # not generate or update Seesaw configurations it can only bind a pre-existing
4870
+ # configuration to a new user cluster. IMPORTANT: When attempting to create a
4871
+ # user cluster with a pre-existing Seesaw load balancer you will need to follow
4872
+ # some preparation steps before calling the 'CreateVmwareCluster' API method.
4873
+ # First you will need to create the user cluster's namespace via kubectl. The
4874
+ # namespace will need to use the following naming convention : -gke-onprem-mgmt
4875
+ # or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.
4876
+ # local_name' to disambiguate collisions; for more context see the documentation
4877
+ # of 'VmwareCluster.local_name'. Once the namespace is created you will need to
4878
+ # create a secret resource via kubectl. This secret will contain copies of your
4879
+ # Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain
4880
+ # Seesaw's SSH and Cert credentials. The credentials must be keyed with the
4881
+ # following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-
4882
+ # ssh-ca-key', 'seesaw-ssh-ca-cert'.
4883
+ # Corresponds to the JSON property `seesawConfig`
4884
+ # @return [Google::Apis::GkeonpremV1::VmwareSeesawConfig]
4885
+ attr_accessor :seesaw_config
4886
+
4784
4887
  # Specifies the VIP config for the VMware user cluster load balancer.
4785
4888
  # Corresponds to the JSON property `vipConfig`
4786
4889
  # @return [Google::Apis::GkeonpremV1::VmwareVipConfig]
@@ -4795,6 +4898,7 @@ module Google
4795
4898
  @f5_config = args[:f5_config] if args.key?(:f5_config)
4796
4899
  @manual_lb_config = args[:manual_lb_config] if args.key?(:manual_lb_config)
4797
4900
  @metal_lb_config = args[:metal_lb_config] if args.key?(:metal_lb_config)
4901
+ @seesaw_config = args[:seesaw_config] if args.key?(:seesaw_config)
4798
4902
  @vip_config = args[:vip_config] if args.key?(:vip_config)
4799
4903
  end
4800
4904
  end
@@ -5189,6 +5293,73 @@ module Google
5189
5293
  end
5190
5294
  end
5191
5295
 
5296
+ # VmwareSeesawConfig represents configuration parameters for an already existing
5297
+ # Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will
5298
+ # not generate or update Seesaw configurations it can only bind a pre-existing
5299
+ # configuration to a new user cluster. IMPORTANT: When attempting to create a
5300
+ # user cluster with a pre-existing Seesaw load balancer you will need to follow
5301
+ # some preparation steps before calling the 'CreateVmwareCluster' API method.
5302
+ # First you will need to create the user cluster's namespace via kubectl. The
5303
+ # namespace will need to use the following naming convention : -gke-onprem-mgmt
5304
+ # or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.
5305
+ # local_name' to disambiguate collisions; for more context see the documentation
5306
+ # of 'VmwareCluster.local_name'. Once the namespace is created you will need to
5307
+ # create a secret resource via kubectl. This secret will contain copies of your
5308
+ # Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain
5309
+ # Seesaw's SSH and Cert credentials. The credentials must be keyed with the
5310
+ # following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-
5311
+ # ssh-ca-key', 'seesaw-ssh-ca-cert'.
5312
+ class VmwareSeesawConfig
5313
+ include Google::Apis::Core::Hashable
5314
+
5315
+ # Enable two load balancer VMs to achieve a highly-available Seesaw load
5316
+ # balancer.
5317
+ # Corresponds to the JSON property `enableHa`
5318
+ # @return [Boolean]
5319
+ attr_accessor :enable_ha
5320
+ alias_method :enable_ha?, :enable_ha
5321
+
5322
+ # Required. In general the following format should be used for the Seesaw group
5323
+ # name: seesaw-for-[cluster_name].
5324
+ # Corresponds to the JSON property `group`
5325
+ # @return [String]
5326
+ attr_accessor :group
5327
+
5328
+ # Required. The IP Blocks to be used by the Seesaw load balancer
5329
+ # Corresponds to the JSON property `ipBlocks`
5330
+ # @return [Array<Google::Apis::GkeonpremV1::VmwareIpBlock>]
5331
+ attr_accessor :ip_blocks
5332
+
5333
+ # Required. MasterIP is the IP announced by the master of Seesaw group.
5334
+ # Corresponds to the JSON property `masterIp`
5335
+ # @return [String]
5336
+ attr_accessor :master_ip
5337
+
5338
+ # Name to be used by Stackdriver.
5339
+ # Corresponds to the JSON property `stackdriverName`
5340
+ # @return [String]
5341
+ attr_accessor :stackdriver_name
5342
+
5343
+ # Names of the VMs created for this Seesaw group.
5344
+ # Corresponds to the JSON property `vms`
5345
+ # @return [Array<String>]
5346
+ attr_accessor :vms
5347
+
5348
+ def initialize(**args)
5349
+ update!(**args)
5350
+ end
5351
+
5352
+ # Update properties of this object
5353
+ def update!(**args)
5354
+ @enable_ha = args[:enable_ha] if args.key?(:enable_ha)
5355
+ @group = args[:group] if args.key?(:group)
5356
+ @ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
5357
+ @master_ip = args[:master_ip] if args.key?(:master_ip)
5358
+ @stackdriver_name = args[:stackdriver_name] if args.key?(:stackdriver_name)
5359
+ @vms = args[:vms] if args.key?(:vms)
5360
+ end
5361
+ end
5362
+
5192
5363
  # Represents the network configuration required for the VMware user clusters
5193
5364
  # with Static IP configurations.
5194
5365
  class VmwareStaticIpConfig
@@ -5234,7 +5405,7 @@ module Google
5234
5405
  class VmwareVCenterConfig
5235
5406
  include Google::Apis::Core::Hashable
5236
5407
 
5237
- # The vCenter IP address.
5408
+ # Output only. The vCenter IP address.
5238
5409
  # Corresponds to the JSON property `address`
5239
5410
  # @return [String]
5240
5411
  attr_accessor :address
@@ -5269,6 +5440,11 @@ module Google
5269
5440
  # @return [String]
5270
5441
  attr_accessor :resource_pool
5271
5442
 
5443
+ # The name of the vCenter storage policy for the user cluster.
5444
+ # Corresponds to the JSON property `storagePolicyName`
5445
+ # @return [String]
5446
+ attr_accessor :storage_policy_name
5447
+
5272
5448
  def initialize(**args)
5273
5449
  update!(**args)
5274
5450
  end
@@ -5282,6 +5458,7 @@ module Google
5282
5458
  @datastore = args[:datastore] if args.key?(:datastore)
5283
5459
  @folder = args[:folder] if args.key?(:folder)
5284
5460
  @resource_pool = args[:resource_pool] if args.key?(:resource_pool)
5461
+ @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
5285
5462
  end
5286
5463
  end
5287
5464
 
@@ -5289,6 +5466,11 @@ module Google
5289
5466
  class VmwareVersionInfo
5290
5467
  include Google::Apis::Core::Hashable
5291
5468
 
5469
+ # The list of upgrade dependencies for this version.
5470
+ # Corresponds to the JSON property `dependencies`
5471
+ # @return [Array<Google::Apis::GkeonpremV1::UpgradeDependency>]
5472
+ attr_accessor :dependencies
5473
+
5292
5474
  # If set, the cluster dependencies (e.g. the admin cluster, other user clusters
5293
5475
  # managed by the same admin cluster) must be upgraded before this version can be
5294
5476
  # installed or upgraded to.
@@ -5316,6 +5498,7 @@ module Google
5316
5498
 
5317
5499
  # Update properties of this object
5318
5500
  def update!(**args)
5501
+ @dependencies = args[:dependencies] if args.key?(:dependencies)
5319
5502
  @has_dependencies = args[:has_dependencies] if args.key?(:has_dependencies)
5320
5503
  @is_installed = args[:is_installed] if args.key?(:is_installed)
5321
5504
  @version = args[:version] if args.key?(:version)
@@ -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.9.0"
19
+ GEM_VERSION = "0.11.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 = "20230724"
25
+ REVISION = "20230906"
26
26
  end
27
27
  end
28
28
  end
@@ -394,6 +394,12 @@ module Google
394
394
  include Google::Apis::Core::JsonObjectSupport
395
395
  end
396
396
 
397
+ class BinaryAuthorization
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
397
403
  class Binding
398
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
405
 
@@ -748,6 +754,12 @@ module Google
748
754
  include Google::Apis::Core::JsonObjectSupport
749
755
  end
750
756
 
757
+ class VmwareClusterUpgradePolicy
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
751
763
  class VmwareControlPlaneNodeConfig
752
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
765
 
@@ -850,6 +862,12 @@ module Google
850
862
  include Google::Apis::Core::JsonObjectSupport
851
863
  end
852
864
 
865
+ class VmwareSeesawConfig
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
853
871
  class VmwareStaticIpConfig
854
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
855
873
 
@@ -913,6 +931,8 @@ module Google
913
931
  class Representation < Google::Apis::Core::JsonRepresentation
914
932
  hash :annotations, as: 'annotations'
915
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
+
916
936
  property :cluster_operations, as: 'clusterOperations', class: Google::Apis::GkeonpremV1::BareMetalAdminClusterOperationsConfig, decorator: Google::Apis::GkeonpremV1::BareMetalAdminClusterOperationsConfig::Representation
917
937
 
918
938
  property :control_plane, as: 'controlPlane', class: Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneConfig, decorator: Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneConfig::Representation
@@ -1155,6 +1175,8 @@ module Google
1155
1175
  property :admin_cluster_name, as: 'adminClusterName'
1156
1176
  hash :annotations, as: 'annotations'
1157
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
+
1158
1180
  property :cluster_operations, as: 'clusterOperations', class: Google::Apis::GkeonpremV1::BareMetalClusterOperationsConfig, decorator: Google::Apis::GkeonpremV1::BareMetalClusterOperationsConfig::Representation
1159
1181
 
1160
1182
  property :control_plane, as: 'controlPlane', class: Google::Apis::GkeonpremV1::BareMetalControlPlaneConfig, decorator: Google::Apis::GkeonpremV1::BareMetalControlPlaneConfig::Representation
@@ -1518,6 +1540,13 @@ module Google
1518
1540
  end
1519
1541
  end
1520
1542
 
1543
+ class BinaryAuthorization
1544
+ # @private
1545
+ class Representation < Google::Apis::Core::JsonRepresentation
1546
+ property :evaluation_mode, as: 'evaluationMode'
1547
+ end
1548
+ end
1549
+
1521
1550
  class Binding
1522
1551
  # @private
1523
1552
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1861,6 +1890,7 @@ module Google
1861
1890
  class Representation < Google::Apis::Core::JsonRepresentation
1862
1891
  property :current_version, as: 'currentVersion'
1863
1892
  property :local_name, as: 'localName'
1893
+ property :membership, as: 'membership'
1864
1894
  property :resource_name, as: 'resourceName'
1865
1895
  property :target_version, as: 'targetVersion'
1866
1896
  end
@@ -2044,6 +2074,7 @@ module Google
2044
2074
  collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::GkeonpremV1::VmwareIpBlock, decorator: Google::Apis::GkeonpremV1::VmwareIpBlock::Representation
2045
2075
 
2046
2076
  property :master_ip, as: 'masterIp'
2077
+ property :stackdriver_name, as: 'stackdriverName'
2047
2078
  collection :vms, as: 'vms'
2048
2079
  end
2049
2080
  end
@@ -2112,6 +2143,7 @@ module Google
2112
2143
 
2113
2144
  property :delete_time, as: 'deleteTime'
2114
2145
  property :description, as: 'description'
2146
+ property :disable_bundled_ingress, as: 'disableBundledIngress'
2115
2147
  property :enable_control_plane_v2, as: 'enableControlPlaneV2'
2116
2148
  property :endpoint, as: 'endpoint'
2117
2149
  property :etag, as: 'etag'
@@ -2132,6 +2164,8 @@ module Google
2132
2164
 
2133
2165
  property :uid, as: 'uid'
2134
2166
  property :update_time, as: 'updateTime'
2167
+ property :upgrade_policy, as: 'upgradePolicy', class: Google::Apis::GkeonpremV1::VmwareClusterUpgradePolicy, decorator: Google::Apis::GkeonpremV1::VmwareClusterUpgradePolicy::Representation
2168
+
2135
2169
  property :validation_check, as: 'validationCheck', class: Google::Apis::GkeonpremV1::ValidationCheck, decorator: Google::Apis::GkeonpremV1::ValidationCheck::Representation
2136
2170
 
2137
2171
  property :vcenter, as: 'vcenter', class: Google::Apis::GkeonpremV1::VmwareVCenterConfig, decorator: Google::Apis::GkeonpremV1::VmwareVCenterConfig::Representation
@@ -2140,6 +2174,13 @@ module Google
2140
2174
  end
2141
2175
  end
2142
2176
 
2177
+ class VmwareClusterUpgradePolicy
2178
+ # @private
2179
+ class Representation < Google::Apis::Core::JsonRepresentation
2180
+ property :control_plane_only, as: 'controlPlaneOnly'
2181
+ end
2182
+ end
2183
+
2143
2184
  class VmwareControlPlaneNodeConfig
2144
2185
  # @private
2145
2186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2165,6 +2206,7 @@ module Google
2165
2206
  # @private
2166
2207
  class Representation < Google::Apis::Core::JsonRepresentation
2167
2208
  property :datastore, as: 'datastore'
2209
+ property :storage_policy_name, as: 'storagePolicyName'
2168
2210
  end
2169
2211
  end
2170
2212
 
@@ -2229,6 +2271,8 @@ module Google
2229
2271
 
2230
2272
  property :metal_lb_config, as: 'metalLbConfig', class: Google::Apis::GkeonpremV1::VmwareMetalLbConfig, decorator: Google::Apis::GkeonpremV1::VmwareMetalLbConfig::Representation
2231
2273
 
2274
+ property :seesaw_config, as: 'seesawConfig', class: Google::Apis::GkeonpremV1::VmwareSeesawConfig, decorator: Google::Apis::GkeonpremV1::VmwareSeesawConfig::Representation
2275
+
2232
2276
  property :vip_config, as: 'vipConfig', class: Google::Apis::GkeonpremV1::VmwareVipConfig, decorator: Google::Apis::GkeonpremV1::VmwareVipConfig::Representation
2233
2277
 
2234
2278
  end
@@ -2330,6 +2374,19 @@ module Google
2330
2374
  end
2331
2375
  end
2332
2376
 
2377
+ class VmwareSeesawConfig
2378
+ # @private
2379
+ class Representation < Google::Apis::Core::JsonRepresentation
2380
+ property :enable_ha, as: 'enableHa'
2381
+ property :group, as: 'group'
2382
+ collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::GkeonpremV1::VmwareIpBlock, decorator: Google::Apis::GkeonpremV1::VmwareIpBlock::Representation
2383
+
2384
+ property :master_ip, as: 'masterIp'
2385
+ property :stackdriver_name, as: 'stackdriverName'
2386
+ collection :vms, as: 'vms'
2387
+ end
2388
+ end
2389
+
2333
2390
  class VmwareStaticIpConfig
2334
2391
  # @private
2335
2392
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2355,12 +2412,15 @@ module Google
2355
2412
  property :datastore, as: 'datastore'
2356
2413
  property :folder, as: 'folder'
2357
2414
  property :resource_pool, as: 'resourcePool'
2415
+ property :storage_policy_name, as: 'storagePolicyName'
2358
2416
  end
2359
2417
  end
2360
2418
 
2361
2419
  class VmwareVersionInfo
2362
2420
  # @private
2363
2421
  class Representation < Google::Apis::Core::JsonRepresentation
2422
+ collection :dependencies, as: 'dependencies', class: Google::Apis::GkeonpremV1::UpgradeDependency, decorator: Google::Apis::GkeonpremV1::UpgradeDependency::Representation
2423
+
2364
2424
  property :has_dependencies, as: 'hasDependencies'
2365
2425
  property :is_installed, as: 'isInstalled'
2366
2426
  property :version, as: 'version'
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.9.0
4
+ version: 0.11.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-08-06 00:00:00.000000000 Z
11
+ date: 2023-09-17 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.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.11.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.2
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