google-apis-gkeonprem_v1 0.7.0 → 0.9.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: 768d74f8d24f154a5a1da06721c0e9de25c2b56d880fb6601ba2a7c756fa7b25
4
- data.tar.gz: 0347a89f0b90a1b199ef8eed3811cf434a4e5f62e5733850b38aa24860e8c95d
3
+ metadata.gz: 29c99105784b64175f530697d755ed7411fbafc11d3aa2248f1417e30bf207ff
4
+ data.tar.gz: 9f660437a5853a9bee4b7b750412ef28b30ebec961c84012cba85e05714efeee
5
5
  SHA512:
6
- metadata.gz: 4ef27b0d88b5176954c8bc88f8595a38dff93d16343c6bad83110d56f4236b4a75871b8739d71a3b32232e00c4ed9f31dfc60fcb15e95eeb6a8e826d7c1ffd65
7
- data.tar.gz: f14ce6c1040740fccdf07f46d41806024493fec7784478891b101f834022df231fa7dcf2d1e72880710b45a3c1db1a1fe10f2d7e957a7e4d41d3f6a0e4adedd2
6
+ metadata.gz: 8d617667fb79422ffa927327699963b6191fdb806996da54619065aecf01d6b2b4092c8acfd71b68a085cf756cdc8aa5ab3955bd80043d7d04f2e4532e43f655
7
+ data.tar.gz: 5a2145398064dac1d8c17e8b7acf2d6b3c9d75686bfc35a2dffb020294533cbbf8c5cb65a967cd275bbc4faf6a56c626144d5843e9023371d22360803b0d4213
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkeonprem_v1
2
2
 
3
+ ### v0.9.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230724
6
+
7
+ ### v0.8.0 (2023-07-23)
8
+
9
+ * Regenerated from discovery document revision 20230717
10
+
3
11
  ### v0.7.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230705
@@ -1031,6 +1031,11 @@ module Google
1031
1031
  # @return [String]
1032
1032
  attr_accessor :update_time
1033
1033
 
1034
+ # BareMetalClusterUpgradePolicy defines the cluster upgrade policy.
1035
+ # Corresponds to the JSON property `upgradePolicy`
1036
+ # @return [Google::Apis::GkeonpremV1::BareMetalClusterUpgradePolicy]
1037
+ attr_accessor :upgrade_policy
1038
+
1034
1039
  # ValidationCheck represents the result of preflight check.
1035
1040
  # Corresponds to the JSON property `validationCheck`
1036
1041
  # @return [Google::Apis::GkeonpremV1::ValidationCheck]
@@ -1071,6 +1076,7 @@ module Google
1071
1076
  @storage = args[:storage] if args.key?(:storage)
1072
1077
  @uid = args[:uid] if args.key?(:uid)
1073
1078
  @update_time = args[:update_time] if args.key?(:update_time)
1079
+ @upgrade_policy = args[:upgrade_policy] if args.key?(:upgrade_policy)
1074
1080
  @validation_check = args[:validation_check] if args.key?(:validation_check)
1075
1081
  end
1076
1082
  end
@@ -1096,6 +1102,25 @@ module Google
1096
1102
  end
1097
1103
  end
1098
1104
 
1105
+ # BareMetalClusterUpgradePolicy defines the cluster upgrade policy.
1106
+ class BareMetalClusterUpgradePolicy
1107
+ include Google::Apis::Core::Hashable
1108
+
1109
+ # Specifies which upgrade policy to use.
1110
+ # Corresponds to the JSON property `policy`
1111
+ # @return [String]
1112
+ attr_accessor :policy
1113
+
1114
+ def initialize(**args)
1115
+ update!(**args)
1116
+ end
1117
+
1118
+ # Update properties of this object
1119
+ def update!(**args)
1120
+ @policy = args[:policy] if args.key?(:policy)
1121
+ end
1122
+ end
1123
+
1099
1124
  # Specifies the control plane configuration.
1100
1125
  class BareMetalControlPlaneConfig
1101
1126
  include Google::Apis::Core::Hashable
@@ -1833,8 +1858,7 @@ module Google
1833
1858
  class BareMetalParallelUpgradeConfig
1834
1859
  include Google::Apis::Core::Hashable
1835
1860
 
1836
- # Required. The maximum number of nodes that can be upgraded at once. Defaults
1837
- # to 1.
1861
+ # The maximum number of nodes that can be upgraded at once.
1838
1862
  # Corresponds to the JSON property `concurrentNodes`
1839
1863
  # @return [Fixnum]
1840
1864
  attr_accessor :concurrent_nodes
@@ -3782,6 +3806,12 @@ module Google
3782
3806
  # @return [Fixnum]
3783
3807
  attr_accessor :memory
3784
3808
 
3809
+ # The number of control plane nodes for this VMware admin cluster. (default: 1
3810
+ # replica).
3811
+ # Corresponds to the JSON property `replicas`
3812
+ # @return [Fixnum]
3813
+ attr_accessor :replicas
3814
+
3785
3815
  def initialize(**args)
3786
3816
  update!(**args)
3787
3817
  end
@@ -3790,6 +3820,7 @@ module Google
3790
3820
  def update!(**args)
3791
3821
  @cpus = args[:cpus] if args.key?(:cpus)
3792
3822
  @memory = args[:memory] if args.key?(:memory)
3823
+ @replicas = args[:replicas] if args.key?(:replicas)
3793
3824
  end
3794
3825
  end
3795
3826
 
@@ -3826,6 +3857,25 @@ module Google
3826
3857
  end
3827
3858
  end
3828
3859
 
3860
+ # Specifies HA admin control plane config.
3861
+ class VmwareAdminHaControlPlaneConfig
3862
+ include Google::Apis::Core::Hashable
3863
+
3864
+ # Represents a collection of IP addresses to assign to nodes.
3865
+ # Corresponds to the JSON property `controlPlaneIpBlock`
3866
+ # @return [Google::Apis::GkeonpremV1::VmwareIpBlock]
3867
+ attr_accessor :control_plane_ip_block
3868
+
3869
+ def initialize(**args)
3870
+ update!(**args)
3871
+ end
3872
+
3873
+ # Update properties of this object
3874
+ def update!(**args)
3875
+ @control_plane_ip_block = args[:control_plane_ip_block] if args.key?(:control_plane_ip_block)
3876
+ end
3877
+ end
3878
+
3829
3879
  # VmwareAdminLoadBalancerConfig contains load balancer configuration for VMware
3830
3880
  # admin cluster.
3831
3881
  class VmwareAdminLoadBalancerConfig
@@ -3848,6 +3898,26 @@ module Google
3848
3898
  # @return [Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig]
3849
3899
  attr_accessor :metal_lb_config
3850
3900
 
3901
+ # VmwareSeesawConfig represents configuration parameters for an already existing
3902
+ # Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will
3903
+ # not generate or update Seesaw configurations it can only bind a pre-existing
3904
+ # configuration to a new user cluster. IMPORTANT: When attempting to create a
3905
+ # user cluster with a pre-existing Seesaw load balancer you will need to follow
3906
+ # some preparation steps before calling the 'CreateVmwareCluster' API method.
3907
+ # First you will need to create the user cluster's namespace via kubectl. The
3908
+ # namespace will need to use the following naming convention : -gke-onprem-mgmt
3909
+ # or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.
3910
+ # local_name' to disambiguate collisions; for more context see the documentation
3911
+ # of 'VmwareCluster.local_name'. Once the namespace is created you will need to
3912
+ # create a secret resource via kubectl. This secret will contain copies of your
3913
+ # Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain
3914
+ # Seesaw's SSH and Cert credentials. The credentials must be keyed with the
3915
+ # following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-
3916
+ # ssh-ca-key', 'seesaw-ssh-ca-cert'.
3917
+ # Corresponds to the JSON property `seesawConfig`
3918
+ # @return [Google::Apis::GkeonpremV1::VmwareAdminSeesawConfig]
3919
+ attr_accessor :seesaw_config
3920
+
3851
3921
  # VmwareAdminVipConfig for VMware load balancer configurations.
3852
3922
  # Corresponds to the JSON property `vipConfig`
3853
3923
  # @return [Google::Apis::GkeonpremV1::VmwareAdminVipConfig]
@@ -3862,6 +3932,7 @@ module Google
3862
3932
  @f5_config = args[:f5_config] if args.key?(:f5_config)
3863
3933
  @manual_lb_config = args[:manual_lb_config] if args.key?(:manual_lb_config)
3864
3934
  @metal_lb_config = args[:metal_lb_config] if args.key?(:metal_lb_config)
3935
+ @seesaw_config = args[:seesaw_config] if args.key?(:seesaw_config)
3865
3936
  @vip_config = args[:vip_config] if args.key?(:vip_config)
3866
3937
  end
3867
3938
  end
@@ -3938,6 +4009,11 @@ module Google
3938
4009
  # @return [Google::Apis::GkeonpremV1::VmwareDhcpIpConfig]
3939
4010
  attr_accessor :dhcp_ip_config
3940
4011
 
4012
+ # Specifies HA admin control plane config.
4013
+ # Corresponds to the JSON property `haControlPlaneConfig`
4014
+ # @return [Google::Apis::GkeonpremV1::VmwareAdminHaControlPlaneConfig]
4015
+ attr_accessor :ha_control_plane_config
4016
+
3941
4017
  # Represents the common parameters for all the hosts irrespective of their IP
3942
4018
  # address.
3943
4019
  # Corresponds to the JSON property `hostConfig`
@@ -3976,6 +4052,7 @@ module Google
3976
4052
  # Update properties of this object
3977
4053
  def update!(**args)
3978
4054
  @dhcp_ip_config = args[:dhcp_ip_config] if args.key?(:dhcp_ip_config)
4055
+ @ha_control_plane_config = args[:ha_control_plane_config] if args.key?(:ha_control_plane_config)
3979
4056
  @host_config = args[:host_config] if args.key?(:host_config)
3980
4057
  @pod_address_cidr_blocks = args[:pod_address_cidr_blocks] if args.key?(:pod_address_cidr_blocks)
3981
4058
  @service_address_cidr_blocks = args[:service_address_cidr_blocks] if args.key?(:service_address_cidr_blocks)
@@ -3984,6 +4061,67 @@ module Google
3984
4061
  end
3985
4062
  end
3986
4063
 
4064
+ # VmwareSeesawConfig represents configuration parameters for an already existing
4065
+ # Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will
4066
+ # not generate or update Seesaw configurations it can only bind a pre-existing
4067
+ # configuration to a new user cluster. IMPORTANT: When attempting to create a
4068
+ # user cluster with a pre-existing Seesaw load balancer you will need to follow
4069
+ # some preparation steps before calling the 'CreateVmwareCluster' API method.
4070
+ # First you will need to create the user cluster's namespace via kubectl. The
4071
+ # namespace will need to use the following naming convention : -gke-onprem-mgmt
4072
+ # or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.
4073
+ # local_name' to disambiguate collisions; for more context see the documentation
4074
+ # of 'VmwareCluster.local_name'. Once the namespace is created you will need to
4075
+ # create a secret resource via kubectl. This secret will contain copies of your
4076
+ # Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain
4077
+ # Seesaw's SSH and Cert credentials. The credentials must be keyed with the
4078
+ # following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-
4079
+ # ssh-ca-key', 'seesaw-ssh-ca-cert'.
4080
+ class VmwareAdminSeesawConfig
4081
+ include Google::Apis::Core::Hashable
4082
+
4083
+ # Enable two load balancer VMs to achieve a highly-available Seesaw load
4084
+ # balancer.
4085
+ # Corresponds to the JSON property `enableHa`
4086
+ # @return [Boolean]
4087
+ attr_accessor :enable_ha
4088
+ alias_method :enable_ha?, :enable_ha
4089
+
4090
+ # In general the following format should be used for the Seesaw group name:
4091
+ # seesaw-for-[cluster_name].
4092
+ # Corresponds to the JSON property `group`
4093
+ # @return [String]
4094
+ attr_accessor :group
4095
+
4096
+ # The IP Blocks to be used by the Seesaw load balancer
4097
+ # Corresponds to the JSON property `ipBlocks`
4098
+ # @return [Array<Google::Apis::GkeonpremV1::VmwareIpBlock>]
4099
+ attr_accessor :ip_blocks
4100
+
4101
+ # MasterIP is the IP announced by the master of Seesaw group.
4102
+ # Corresponds to the JSON property `masterIp`
4103
+ # @return [String]
4104
+ attr_accessor :master_ip
4105
+
4106
+ # Names of the VMs created for this Seesaw group.
4107
+ # Corresponds to the JSON property `vms`
4108
+ # @return [Array<String>]
4109
+ attr_accessor :vms
4110
+
4111
+ def initialize(**args)
4112
+ update!(**args)
4113
+ end
4114
+
4115
+ # Update properties of this object
4116
+ def update!(**args)
4117
+ @enable_ha = args[:enable_ha] if args.key?(:enable_ha)
4118
+ @group = args[:group] if args.key?(:group)
4119
+ @ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
4120
+ @master_ip = args[:master_ip] if args.key?(:master_ip)
4121
+ @vms = args[:vms] if args.key?(:vms)
4122
+ end
4123
+ end
4124
+
3987
4125
  # VmwareAdminVCenterConfig contains VCenter configuration for VMware admin
3988
4126
  # cluster.
3989
4127
  class VmwareAdminVCenterConfig
@@ -5219,6 +5357,11 @@ module Google
5219
5357
  # @return [String]
5220
5358
  attr_accessor :datastore
5221
5359
 
5360
+ # Vsphere host groups to apply to all VMs in the node pool
5361
+ # Corresponds to the JSON property `hostGroups`
5362
+ # @return [Array<String>]
5363
+ attr_accessor :host_groups
5364
+
5222
5365
  # Tags to apply to VMs.
5223
5366
  # Corresponds to the JSON property `tags`
5224
5367
  # @return [Array<Google::Apis::GkeonpremV1::VmwareVsphereTag>]
@@ -5231,6 +5374,7 @@ module Google
5231
5374
  # Update properties of this object
5232
5375
  def update!(**args)
5233
5376
  @datastore = args[:datastore] if args.key?(:datastore)
5377
+ @host_groups = args[:host_groups] if args.key?(:host_groups)
5234
5378
  @tags = args[:tags] if args.key?(:tags)
5235
5379
  end
5236
5380
  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.7.0"
19
+ GEM_VERSION = "0.9.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 = "20230705"
25
+ REVISION = "20230724"
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
 
@@ -670,6 +676,12 @@ module Google
670
676
  include Google::Apis::Core::JsonObjectSupport
671
677
  end
672
678
 
679
+ class VmwareAdminHaControlPlaneConfig
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
673
685
  class VmwareAdminLoadBalancerConfig
674
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
675
687
 
@@ -694,6 +706,12 @@ module Google
694
706
  include Google::Apis::Core::JsonObjectSupport
695
707
  end
696
708
 
709
+ class VmwareAdminSeesawConfig
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
697
715
  class VmwareAdminVCenterConfig
698
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
717
 
@@ -1176,6 +1194,8 @@ module Google
1176
1194
 
1177
1195
  property :uid, as: 'uid'
1178
1196
  property :update_time, as: 'updateTime'
1197
+ property :upgrade_policy, as: 'upgradePolicy', class: Google::Apis::GkeonpremV1::BareMetalClusterUpgradePolicy, decorator: Google::Apis::GkeonpremV1::BareMetalClusterUpgradePolicy::Representation
1198
+
1179
1199
  property :validation_check, as: 'validationCheck', class: Google::Apis::GkeonpremV1::ValidationCheck, decorator: Google::Apis::GkeonpremV1::ValidationCheck::Representation
1180
1200
 
1181
1201
  end
@@ -1188,6 +1208,13 @@ module Google
1188
1208
  end
1189
1209
  end
1190
1210
 
1211
+ class BareMetalClusterUpgradePolicy
1212
+ # @private
1213
+ class Representation < Google::Apis::Core::JsonRepresentation
1214
+ property :policy, as: 'policy'
1215
+ end
1216
+ end
1217
+
1191
1218
  class BareMetalControlPlaneConfig
1192
1219
  # @private
1193
1220
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1938,6 +1965,7 @@ module Google
1938
1965
  class Representation < Google::Apis::Core::JsonRepresentation
1939
1966
  property :cpus, :numeric_string => true, as: 'cpus'
1940
1967
  property :memory, :numeric_string => true, as: 'memory'
1968
+ property :replicas, :numeric_string => true, as: 'replicas'
1941
1969
  end
1942
1970
  end
1943
1971
 
@@ -1950,6 +1978,14 @@ module Google
1950
1978
  end
1951
1979
  end
1952
1980
 
1981
+ class VmwareAdminHaControlPlaneConfig
1982
+ # @private
1983
+ class Representation < Google::Apis::Core::JsonRepresentation
1984
+ property :control_plane_ip_block, as: 'controlPlaneIpBlock', class: Google::Apis::GkeonpremV1::VmwareIpBlock, decorator: Google::Apis::GkeonpremV1::VmwareIpBlock::Representation
1985
+
1986
+ end
1987
+ end
1988
+
1953
1989
  class VmwareAdminLoadBalancerConfig
1954
1990
  # @private
1955
1991
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1959,6 +1995,8 @@ module Google
1959
1995
 
1960
1996
  property :metal_lb_config, as: 'metalLbConfig', class: Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig::Representation
1961
1997
 
1998
+ property :seesaw_config, as: 'seesawConfig', class: Google::Apis::GkeonpremV1::VmwareAdminSeesawConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminSeesawConfig::Representation
1999
+
1962
2000
  property :vip_config, as: 'vipConfig', class: Google::Apis::GkeonpremV1::VmwareAdminVipConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminVipConfig::Representation
1963
2001
 
1964
2002
  end
@@ -1986,6 +2024,8 @@ module Google
1986
2024
  class Representation < Google::Apis::Core::JsonRepresentation
1987
2025
  property :dhcp_ip_config, as: 'dhcpIpConfig', class: Google::Apis::GkeonpremV1::VmwareDhcpIpConfig, decorator: Google::Apis::GkeonpremV1::VmwareDhcpIpConfig::Representation
1988
2026
 
2027
+ property :ha_control_plane_config, as: 'haControlPlaneConfig', class: Google::Apis::GkeonpremV1::VmwareAdminHaControlPlaneConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminHaControlPlaneConfig::Representation
2028
+
1989
2029
  property :host_config, as: 'hostConfig', class: Google::Apis::GkeonpremV1::VmwareHostConfig, decorator: Google::Apis::GkeonpremV1::VmwareHostConfig::Representation
1990
2030
 
1991
2031
  collection :pod_address_cidr_blocks, as: 'podAddressCidrBlocks'
@@ -1996,6 +2036,18 @@ module Google
1996
2036
  end
1997
2037
  end
1998
2038
 
2039
+ class VmwareAdminSeesawConfig
2040
+ # @private
2041
+ class Representation < Google::Apis::Core::JsonRepresentation
2042
+ property :enable_ha, as: 'enableHa'
2043
+ property :group, as: 'group'
2044
+ collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::GkeonpremV1::VmwareIpBlock, decorator: Google::Apis::GkeonpremV1::VmwareIpBlock::Representation
2045
+
2046
+ property :master_ip, as: 'masterIp'
2047
+ collection :vms, as: 'vms'
2048
+ end
2049
+ end
2050
+
1999
2051
  class VmwareAdminVCenterConfig
2000
2052
  # @private
2001
2053
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2327,6 +2379,7 @@ module Google
2327
2379
  # @private
2328
2380
  class Representation < Google::Apis::Core::JsonRepresentation
2329
2381
  property :datastore, as: 'datastore'
2382
+ collection :host_groups, as: 'hostGroups'
2330
2383
  collection :tags, as: 'tags', class: Google::Apis::GkeonpremV1::VmwareVsphereTag, decorator: Google::Apis::GkeonpremV1::VmwareVsphereTag::Representation
2331
2384
 
2332
2385
  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.7.0
4
+ version: 0.9.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-07-16 00:00:00.000000000 Z
11
+ date: 2023-08-06 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.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.9.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: []