google-apis-gkeonprem_v1 0.7.0 → 0.8.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: 768d74f8d24f154a5a1da06721c0e9de25c2b56d880fb6601ba2a7c756fa7b25
4
- data.tar.gz: 0347a89f0b90a1b199ef8eed3811cf434a4e5f62e5733850b38aa24860e8c95d
3
+ metadata.gz: 2b88803409c4352db0ba1e5ec95f86d0973595b808ff425ab734410ddda0a28b
4
+ data.tar.gz: ba194c2bdee1ee4acafe895a5f4483d2288e9e60396cb482893ca4b98d56dee8
5
5
  SHA512:
6
- metadata.gz: 4ef27b0d88b5176954c8bc88f8595a38dff93d16343c6bad83110d56f4236b4a75871b8739d71a3b32232e00c4ed9f31dfc60fcb15e95eeb6a8e826d7c1ffd65
7
- data.tar.gz: f14ce6c1040740fccdf07f46d41806024493fec7784478891b101f834022df231fa7dcf2d1e72880710b45a3c1db1a1fe10f2d7e957a7e4d41d3f6a0e4adedd2
6
+ metadata.gz: a9314f0e831f57eda7946e8db28394cbe01a12147c04f63b1d280656465eec0dfe1ed5002658e05eacb269e79cc16bfe53ebddf0c0d9133918632653dd6ca420
7
+ data.tar.gz: 676def8b323b57e4bc0699eb39e4377dea6e63d968e2effb27d9018f705aa1da4e05e4c103ad1150c0a60217b0f42d2c6d3ae14fa9ecb48e7a9cfc688173f84e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkeonprem_v1
2
2
 
3
+ ### v0.8.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230717
6
+
3
7
  ### v0.7.0 (2023-07-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230705
@@ -1833,8 +1833,7 @@ module Google
1833
1833
  class BareMetalParallelUpgradeConfig
1834
1834
  include Google::Apis::Core::Hashable
1835
1835
 
1836
- # Required. The maximum number of nodes that can be upgraded at once. Defaults
1837
- # to 1.
1836
+ # The maximum number of nodes that can be upgraded at once.
1838
1837
  # Corresponds to the JSON property `concurrentNodes`
1839
1838
  # @return [Fixnum]
1840
1839
  attr_accessor :concurrent_nodes
@@ -3782,6 +3781,12 @@ module Google
3782
3781
  # @return [Fixnum]
3783
3782
  attr_accessor :memory
3784
3783
 
3784
+ # The number of control plane nodes for this VMware admin cluster. (default: 1
3785
+ # replica).
3786
+ # Corresponds to the JSON property `replicas`
3787
+ # @return [Fixnum]
3788
+ attr_accessor :replicas
3789
+
3785
3790
  def initialize(**args)
3786
3791
  update!(**args)
3787
3792
  end
@@ -3790,6 +3795,7 @@ module Google
3790
3795
  def update!(**args)
3791
3796
  @cpus = args[:cpus] if args.key?(:cpus)
3792
3797
  @memory = args[:memory] if args.key?(:memory)
3798
+ @replicas = args[:replicas] if args.key?(:replicas)
3793
3799
  end
3794
3800
  end
3795
3801
 
@@ -3826,6 +3832,25 @@ module Google
3826
3832
  end
3827
3833
  end
3828
3834
 
3835
+ # Specifies HA admin control plane config.
3836
+ class VmwareAdminHaControlPlaneConfig
3837
+ include Google::Apis::Core::Hashable
3838
+
3839
+ # Represents a collection of IP addresses to assign to nodes.
3840
+ # Corresponds to the JSON property `controlPlaneIpBlock`
3841
+ # @return [Google::Apis::GkeonpremV1::VmwareIpBlock]
3842
+ attr_accessor :control_plane_ip_block
3843
+
3844
+ def initialize(**args)
3845
+ update!(**args)
3846
+ end
3847
+
3848
+ # Update properties of this object
3849
+ def update!(**args)
3850
+ @control_plane_ip_block = args[:control_plane_ip_block] if args.key?(:control_plane_ip_block)
3851
+ end
3852
+ end
3853
+
3829
3854
  # VmwareAdminLoadBalancerConfig contains load balancer configuration for VMware
3830
3855
  # admin cluster.
3831
3856
  class VmwareAdminLoadBalancerConfig
@@ -3848,6 +3873,26 @@ module Google
3848
3873
  # @return [Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig]
3849
3874
  attr_accessor :metal_lb_config
3850
3875
 
3876
+ # VmwareSeesawConfig represents configuration parameters for an already existing
3877
+ # Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will
3878
+ # not generate or update Seesaw configurations it can only bind a pre-existing
3879
+ # configuration to a new user cluster. IMPORTANT: When attempting to create a
3880
+ # user cluster with a pre-existing Seesaw load balancer you will need to follow
3881
+ # some preparation steps before calling the 'CreateVmwareCluster' API method.
3882
+ # First you will need to create the user cluster's namespace via kubectl. The
3883
+ # namespace will need to use the following naming convention : -gke-onprem-mgmt
3884
+ # or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.
3885
+ # local_name' to disambiguate collisions; for more context see the documentation
3886
+ # of 'VmwareCluster.local_name'. Once the namespace is created you will need to
3887
+ # create a secret resource via kubectl. This secret will contain copies of your
3888
+ # Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain
3889
+ # Seesaw's SSH and Cert credentials. The credentials must be keyed with the
3890
+ # following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-
3891
+ # ssh-ca-key', 'seesaw-ssh-ca-cert'.
3892
+ # Corresponds to the JSON property `seesawConfig`
3893
+ # @return [Google::Apis::GkeonpremV1::VmwareAdminSeesawConfig]
3894
+ attr_accessor :seesaw_config
3895
+
3851
3896
  # VmwareAdminVipConfig for VMware load balancer configurations.
3852
3897
  # Corresponds to the JSON property `vipConfig`
3853
3898
  # @return [Google::Apis::GkeonpremV1::VmwareAdminVipConfig]
@@ -3862,6 +3907,7 @@ module Google
3862
3907
  @f5_config = args[:f5_config] if args.key?(:f5_config)
3863
3908
  @manual_lb_config = args[:manual_lb_config] if args.key?(:manual_lb_config)
3864
3909
  @metal_lb_config = args[:metal_lb_config] if args.key?(:metal_lb_config)
3910
+ @seesaw_config = args[:seesaw_config] if args.key?(:seesaw_config)
3865
3911
  @vip_config = args[:vip_config] if args.key?(:vip_config)
3866
3912
  end
3867
3913
  end
@@ -3938,6 +3984,11 @@ module Google
3938
3984
  # @return [Google::Apis::GkeonpremV1::VmwareDhcpIpConfig]
3939
3985
  attr_accessor :dhcp_ip_config
3940
3986
 
3987
+ # Specifies HA admin control plane config.
3988
+ # Corresponds to the JSON property `haControlPlaneConfig`
3989
+ # @return [Google::Apis::GkeonpremV1::VmwareAdminHaControlPlaneConfig]
3990
+ attr_accessor :ha_control_plane_config
3991
+
3941
3992
  # Represents the common parameters for all the hosts irrespective of their IP
3942
3993
  # address.
3943
3994
  # Corresponds to the JSON property `hostConfig`
@@ -3976,6 +4027,7 @@ module Google
3976
4027
  # Update properties of this object
3977
4028
  def update!(**args)
3978
4029
  @dhcp_ip_config = args[:dhcp_ip_config] if args.key?(:dhcp_ip_config)
4030
+ @ha_control_plane_config = args[:ha_control_plane_config] if args.key?(:ha_control_plane_config)
3979
4031
  @host_config = args[:host_config] if args.key?(:host_config)
3980
4032
  @pod_address_cidr_blocks = args[:pod_address_cidr_blocks] if args.key?(:pod_address_cidr_blocks)
3981
4033
  @service_address_cidr_blocks = args[:service_address_cidr_blocks] if args.key?(:service_address_cidr_blocks)
@@ -3984,6 +4036,67 @@ module Google
3984
4036
  end
3985
4037
  end
3986
4038
 
4039
+ # VmwareSeesawConfig represents configuration parameters for an already existing
4040
+ # Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will
4041
+ # not generate or update Seesaw configurations it can only bind a pre-existing
4042
+ # configuration to a new user cluster. IMPORTANT: When attempting to create a
4043
+ # user cluster with a pre-existing Seesaw load balancer you will need to follow
4044
+ # some preparation steps before calling the 'CreateVmwareCluster' API method.
4045
+ # First you will need to create the user cluster's namespace via kubectl. The
4046
+ # namespace will need to use the following naming convention : -gke-onprem-mgmt
4047
+ # or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.
4048
+ # local_name' to disambiguate collisions; for more context see the documentation
4049
+ # of 'VmwareCluster.local_name'. Once the namespace is created you will need to
4050
+ # create a secret resource via kubectl. This secret will contain copies of your
4051
+ # Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain
4052
+ # Seesaw's SSH and Cert credentials. The credentials must be keyed with the
4053
+ # following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-
4054
+ # ssh-ca-key', 'seesaw-ssh-ca-cert'.
4055
+ class VmwareAdminSeesawConfig
4056
+ include Google::Apis::Core::Hashable
4057
+
4058
+ # Enable two load balancer VMs to achieve a highly-available Seesaw load
4059
+ # balancer.
4060
+ # Corresponds to the JSON property `enableHa`
4061
+ # @return [Boolean]
4062
+ attr_accessor :enable_ha
4063
+ alias_method :enable_ha?, :enable_ha
4064
+
4065
+ # In general the following format should be used for the Seesaw group name:
4066
+ # seesaw-for-[cluster_name].
4067
+ # Corresponds to the JSON property `group`
4068
+ # @return [String]
4069
+ attr_accessor :group
4070
+
4071
+ # The IP Blocks to be used by the Seesaw load balancer
4072
+ # Corresponds to the JSON property `ipBlocks`
4073
+ # @return [Array<Google::Apis::GkeonpremV1::VmwareIpBlock>]
4074
+ attr_accessor :ip_blocks
4075
+
4076
+ # MasterIP is the IP announced by the master of Seesaw group.
4077
+ # Corresponds to the JSON property `masterIp`
4078
+ # @return [String]
4079
+ attr_accessor :master_ip
4080
+
4081
+ # Names of the VMs created for this Seesaw group.
4082
+ # Corresponds to the JSON property `vms`
4083
+ # @return [Array<String>]
4084
+ attr_accessor :vms
4085
+
4086
+ def initialize(**args)
4087
+ update!(**args)
4088
+ end
4089
+
4090
+ # Update properties of this object
4091
+ def update!(**args)
4092
+ @enable_ha = args[:enable_ha] if args.key?(:enable_ha)
4093
+ @group = args[:group] if args.key?(:group)
4094
+ @ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
4095
+ @master_ip = args[:master_ip] if args.key?(:master_ip)
4096
+ @vms = args[:vms] if args.key?(:vms)
4097
+ end
4098
+ end
4099
+
3987
4100
  # VmwareAdminVCenterConfig contains VCenter configuration for VMware admin
3988
4101
  # cluster.
3989
4102
  class VmwareAdminVCenterConfig
@@ -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.8.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 = "20230717"
26
26
  end
27
27
  end
28
28
  end
@@ -670,6 +670,12 @@ module Google
670
670
  include Google::Apis::Core::JsonObjectSupport
671
671
  end
672
672
 
673
+ class VmwareAdminHaControlPlaneConfig
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
673
679
  class VmwareAdminLoadBalancerConfig
674
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
675
681
 
@@ -694,6 +700,12 @@ module Google
694
700
  include Google::Apis::Core::JsonObjectSupport
695
701
  end
696
702
 
703
+ class VmwareAdminSeesawConfig
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
697
709
  class VmwareAdminVCenterConfig
698
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
711
 
@@ -1938,6 +1950,7 @@ module Google
1938
1950
  class Representation < Google::Apis::Core::JsonRepresentation
1939
1951
  property :cpus, :numeric_string => true, as: 'cpus'
1940
1952
  property :memory, :numeric_string => true, as: 'memory'
1953
+ property :replicas, :numeric_string => true, as: 'replicas'
1941
1954
  end
1942
1955
  end
1943
1956
 
@@ -1950,6 +1963,14 @@ module Google
1950
1963
  end
1951
1964
  end
1952
1965
 
1966
+ class VmwareAdminHaControlPlaneConfig
1967
+ # @private
1968
+ class Representation < Google::Apis::Core::JsonRepresentation
1969
+ property :control_plane_ip_block, as: 'controlPlaneIpBlock', class: Google::Apis::GkeonpremV1::VmwareIpBlock, decorator: Google::Apis::GkeonpremV1::VmwareIpBlock::Representation
1970
+
1971
+ end
1972
+ end
1973
+
1953
1974
  class VmwareAdminLoadBalancerConfig
1954
1975
  # @private
1955
1976
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1959,6 +1980,8 @@ module Google
1959
1980
 
1960
1981
  property :metal_lb_config, as: 'metalLbConfig', class: Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig::Representation
1961
1982
 
1983
+ property :seesaw_config, as: 'seesawConfig', class: Google::Apis::GkeonpremV1::VmwareAdminSeesawConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminSeesawConfig::Representation
1984
+
1962
1985
  property :vip_config, as: 'vipConfig', class: Google::Apis::GkeonpremV1::VmwareAdminVipConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminVipConfig::Representation
1963
1986
 
1964
1987
  end
@@ -1986,6 +2009,8 @@ module Google
1986
2009
  class Representation < Google::Apis::Core::JsonRepresentation
1987
2010
  property :dhcp_ip_config, as: 'dhcpIpConfig', class: Google::Apis::GkeonpremV1::VmwareDhcpIpConfig, decorator: Google::Apis::GkeonpremV1::VmwareDhcpIpConfig::Representation
1988
2011
 
2012
+ property :ha_control_plane_config, as: 'haControlPlaneConfig', class: Google::Apis::GkeonpremV1::VmwareAdminHaControlPlaneConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminHaControlPlaneConfig::Representation
2013
+
1989
2014
  property :host_config, as: 'hostConfig', class: Google::Apis::GkeonpremV1::VmwareHostConfig, decorator: Google::Apis::GkeonpremV1::VmwareHostConfig::Representation
1990
2015
 
1991
2016
  collection :pod_address_cidr_blocks, as: 'podAddressCidrBlocks'
@@ -1996,6 +2021,18 @@ module Google
1996
2021
  end
1997
2022
  end
1998
2023
 
2024
+ class VmwareAdminSeesawConfig
2025
+ # @private
2026
+ class Representation < Google::Apis::Core::JsonRepresentation
2027
+ property :enable_ha, as: 'enableHa'
2028
+ property :group, as: 'group'
2029
+ collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::GkeonpremV1::VmwareIpBlock, decorator: Google::Apis::GkeonpremV1::VmwareIpBlock::Representation
2030
+
2031
+ property :master_ip, as: 'masterIp'
2032
+ collection :vms, as: 'vms'
2033
+ end
2034
+ end
2035
+
1999
2036
  class VmwareAdminVCenterConfig
2000
2037
  # @private
2001
2038
  class Representation < Google::Apis::Core::JsonRepresentation
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.8.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-07-23 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.8.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: []