google-apis-gkehub_v1alpha 0.38.0 → 0.40.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: 4d5d0088840f32e3a396b491598aea062b29521923f313f449ee1cab1b905d44
4
- data.tar.gz: fae902fbafb463050f5a4330d6c97a21097081f4625209ff536bdf467df4838e
3
+ metadata.gz: 7bd561738810c9fbaaf56a83a083e7651a886a4da3ee115b20421a5d16eaffec
4
+ data.tar.gz: 949be3af4859f22a6ace0a6d347db41a4f4c816251a27b42692406f730769cb2
5
5
  SHA512:
6
- metadata.gz: 1405bb86e593fa675c88c9e8a45c32a158fe4d838d81eacf30f70372f45f188c6ed7393a939e1b5679a7c4ac5a3451dfd9ad6645b059a73dfda4ea308def5de2
7
- data.tar.gz: b4c3479a25edb8053c59c840d6934b2f1a9f5919d5f48bb071368000ff111491a2aaad455ef8a08140461a6fc89b93c938eea5a066fa6b100d9f014adc409b14
6
+ metadata.gz: 39c4aa02977fa248b47c8047e8838b5ba2f0df117eb6eeb0a6929288e79d4e8e1ceeb42ce1a627e88df0f5b95bdf2af6e56e148d6336237f24858e94e8faebca
7
+ data.tar.gz: fc41c8d37290cf9b2106bbd449ad07e7e807e171b603b7000516ac8932f30e38f8cba386fc72fdbb923454cc17b75c716ee517845e4f3d765181ecbb4f72dfcc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.40.0 (2022-10-27)
4
+
5
+ * Regenerated from discovery document revision 20220923
6
+ * Regenerated using generator version 0.11.0
7
+
8
+ ### v0.39.0 (2022-09-21)
9
+
10
+ * Regenerated from discovery document revision 20220912
11
+ * Regenerated using generator version 0.10.0
12
+
3
13
  ### v0.38.0 (2022-09-04)
4
14
 
5
15
  * Regenerated from discovery document revision 20220828
@@ -661,6 +661,13 @@ module Google
661
661
  class ConfigManagementConfigSync
662
662
  include Google::Apis::Core::Hashable
663
663
 
664
+ # Set to true to allow the vertical scaling. Defaults to false which disallows
665
+ # vertical scaling.
666
+ # Corresponds to the JSON property `allowVerticalScale`
667
+ # @return [Boolean]
668
+ attr_accessor :allow_vertical_scale
669
+ alias_method :allow_vertical_scale?, :allow_vertical_scale
670
+
664
671
  # Enables the installation of ConfigSync. If set to true, ConfigSync resources
665
672
  # will be created and the other ConfigSync fields will be applied if exist. If
666
673
  # set to false, all other ConfigSync fields will be ignored, ConfigSync
@@ -701,6 +708,7 @@ module Google
701
708
 
702
709
  # Update properties of this object
703
710
  def update!(**args)
711
+ @allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
704
712
  @enabled = args[:enabled] if args.key?(:enabled)
705
713
  @git = args[:git] if args.key?(:git)
706
714
  @oci = args[:oci] if args.key?(:oci)
@@ -3725,6 +3733,11 @@ module Google
3725
3733
  # @return [String]
3726
3734
  attr_accessor :default_channel
3727
3735
 
3736
+ # Enables automatic Service Mesh management.
3737
+ # Corresponds to the JSON property `management`
3738
+ # @return [String]
3739
+ attr_accessor :management
3740
+
3728
3741
  def initialize(**args)
3729
3742
  update!(**args)
3730
3743
  end
@@ -3733,6 +3746,7 @@ module Google
3733
3746
  def update!(**args)
3734
3747
  @control_plane = args[:control_plane] if args.key?(:control_plane)
3735
3748
  @default_channel = args[:default_channel] if args.key?(:default_channel)
3749
+ @management = args[:management] if args.key?(:management)
3736
3750
  end
3737
3751
  end
3738
3752
 
@@ -4002,6 +4016,83 @@ module Google
4002
4016
  @kind = args[:kind] if args.key?(:kind)
4003
4017
  end
4004
4018
  end
4019
+
4020
+ # Request message for the `GkeHub.ValidateCreateMembership` method.
4021
+ class ValidateCreateMembershipRequest
4022
+ include Google::Apis::Core::Hashable
4023
+
4024
+ # Membership contains information about a member cluster.
4025
+ # Corresponds to the JSON property `membership`
4026
+ # @return [Google::Apis::GkehubV1alpha::Membership]
4027
+ attr_accessor :membership
4028
+
4029
+ # Required. Client chosen membership id.
4030
+ # Corresponds to the JSON property `membershipId`
4031
+ # @return [String]
4032
+ attr_accessor :membership_id
4033
+
4034
+ def initialize(**args)
4035
+ update!(**args)
4036
+ end
4037
+
4038
+ # Update properties of this object
4039
+ def update!(**args)
4040
+ @membership = args[:membership] if args.key?(:membership)
4041
+ @membership_id = args[:membership_id] if args.key?(:membership_id)
4042
+ end
4043
+ end
4044
+
4045
+ # Response message for the `GkeHub.ValidateCreateMembership` method.
4046
+ class ValidateCreateMembershipResponse
4047
+ include Google::Apis::Core::Hashable
4048
+
4049
+ # Wraps all the validator results.
4050
+ # Corresponds to the JSON property `validationResults`
4051
+ # @return [Array<Google::Apis::GkehubV1alpha::ValidationResult>]
4052
+ attr_accessor :validation_results
4053
+
4054
+ def initialize(**args)
4055
+ update!(**args)
4056
+ end
4057
+
4058
+ # Update properties of this object
4059
+ def update!(**args)
4060
+ @validation_results = args[:validation_results] if args.key?(:validation_results)
4061
+ end
4062
+ end
4063
+
4064
+ # ValidationResults are results set by each validator running during
4065
+ # ValidateCreateMembership.
4066
+ class ValidationResult
4067
+ include Google::Apis::Core::Hashable
4068
+
4069
+ # Additional information for the validation.
4070
+ # Corresponds to the JSON property `result`
4071
+ # @return [String]
4072
+ attr_accessor :result
4073
+
4074
+ # Whether the validation is passed or not.
4075
+ # Corresponds to the JSON property `success`
4076
+ # @return [Boolean]
4077
+ attr_accessor :success
4078
+ alias_method :success?, :success
4079
+
4080
+ # Validator type to validate membership with.
4081
+ # Corresponds to the JSON property `validator`
4082
+ # @return [String]
4083
+ attr_accessor :validator
4084
+
4085
+ def initialize(**args)
4086
+ update!(**args)
4087
+ end
4088
+
4089
+ # Update properties of this object
4090
+ def update!(**args)
4091
+ @result = args[:result] if args.key?(:result)
4092
+ @success = args[:success] if args.key?(:success)
4093
+ @validator = args[:validator] if args.key?(:validator)
4094
+ end
4095
+ end
4005
4096
  end
4006
4097
  end
4007
4098
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.38.0"
19
+ GEM_VERSION = "0.40.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220828"
25
+ REVISION = "20220923"
26
26
  end
27
27
  end
28
28
  end
@@ -688,6 +688,24 @@ module Google
688
688
  include Google::Apis::Core::JsonObjectSupport
689
689
  end
690
690
 
691
+ class ValidateCreateMembershipRequest
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
697
+ class ValidateCreateMembershipResponse
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class ValidationResult
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
691
709
  class AnthosObservabilityFeatureSpec
692
710
  # @private
693
711
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -879,6 +897,7 @@ module Google
879
897
  class ConfigManagementConfigSync
880
898
  # @private
881
899
  class Representation < Google::Apis::Core::JsonRepresentation
900
+ property :allow_vertical_scale, as: 'allowVerticalScale'
882
901
  property :enabled, as: 'enabled'
883
902
  property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
884
903
 
@@ -1720,6 +1739,7 @@ module Google
1720
1739
  class Representation < Google::Apis::Core::JsonRepresentation
1721
1740
  property :control_plane, as: 'controlPlane'
1722
1741
  property :default_channel, as: 'defaultChannel'
1742
+ property :management, as: 'management'
1723
1743
  end
1724
1744
  end
1725
1745
 
@@ -1802,6 +1822,32 @@ module Google
1802
1822
  property :kind, as: 'kind'
1803
1823
  end
1804
1824
  end
1825
+
1826
+ class ValidateCreateMembershipRequest
1827
+ # @private
1828
+ class Representation < Google::Apis::Core::JsonRepresentation
1829
+ property :membership, as: 'membership', class: Google::Apis::GkehubV1alpha::Membership, decorator: Google::Apis::GkehubV1alpha::Membership::Representation
1830
+
1831
+ property :membership_id, as: 'membershipId'
1832
+ end
1833
+ end
1834
+
1835
+ class ValidateCreateMembershipResponse
1836
+ # @private
1837
+ class Representation < Google::Apis::Core::JsonRepresentation
1838
+ collection :validation_results, as: 'validationResults', class: Google::Apis::GkehubV1alpha::ValidationResult, decorator: Google::Apis::GkehubV1alpha::ValidationResult::Representation
1839
+
1840
+ end
1841
+ end
1842
+
1843
+ class ValidationResult
1844
+ # @private
1845
+ class Representation < Google::Apis::Core::JsonRepresentation
1846
+ property :result, as: 'result'
1847
+ property :success, as: 'success'
1848
+ property :validator, as: 'validator'
1849
+ end
1850
+ end
1805
1851
  end
1806
1852
  end
1807
1853
  end
@@ -1154,6 +1154,42 @@ module Google
1154
1154
  execute_or_queue_command(command, &block)
1155
1155
  end
1156
1156
 
1157
+ # ValidateCreateMembership is a preflight check for CreateMembership. It checks
1158
+ # the following: 1. Caller has the required `gkehub.memberships.create`
1159
+ # permission. 2. The membership_id is still available.
1160
+ # @param [String] parent
1161
+ # Required. The parent (project and location) where the Memberships will be
1162
+ # created. Specified in the format `projects/*/locations/*`.
1163
+ # @param [Google::Apis::GkehubV1alpha::ValidateCreateMembershipRequest] validate_create_membership_request_object
1164
+ # @param [String] fields
1165
+ # Selector specifying which fields to include in a partial response.
1166
+ # @param [String] quota_user
1167
+ # Available to use for quota purposes for server-side applications. Can be any
1168
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1169
+ # @param [Google::Apis::RequestOptions] options
1170
+ # Request-specific options
1171
+ #
1172
+ # @yield [result, err] Result & error if block supplied
1173
+ # @yieldparam result [Google::Apis::GkehubV1alpha::ValidateCreateMembershipResponse] parsed result object
1174
+ # @yieldparam err [StandardError] error object if request failed
1175
+ #
1176
+ # @return [Google::Apis::GkehubV1alpha::ValidateCreateMembershipResponse]
1177
+ #
1178
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1179
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1180
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1181
+ def validate_create_membership(parent, validate_create_membership_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1182
+ command = make_simple_command(:post, 'v1alpha/{+parent}/memberships:validateCreate', options)
1183
+ command.request_representation = Google::Apis::GkehubV1alpha::ValidateCreateMembershipRequest::Representation
1184
+ command.request_object = validate_create_membership_request_object
1185
+ command.response_representation = Google::Apis::GkehubV1alpha::ValidateCreateMembershipResponse::Representation
1186
+ command.response_class = Google::Apis::GkehubV1alpha::ValidateCreateMembershipResponse
1187
+ command.params['parent'] = parent unless parent.nil?
1188
+ command.query['fields'] = fields unless fields.nil?
1189
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1190
+ execute_or_queue_command(command, &block)
1191
+ end
1192
+
1157
1193
  # Starts asynchronous cancellation on a long-running operation. The server makes
1158
1194
  # a best effort to cancel the operation, but success is not guaranteed. If the
1159
1195
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.0
4
+ version: 0.40.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: 2022-09-05 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-gkehub_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.40.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []