google-apis-gkehub_v1alpha 0.107.0 → 0.108.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4265793bad6b86f3083443d1ac6bbf976ccf93eba012a47b6fec1c0083143e7b
|
|
4
|
+
data.tar.gz: 7bc5652ab355fec106d6be155706b8e21621c7868f88633c88fffe57599c2fed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57fe30d330477262ef02579ae1ae4a7d1719fe838e366fe7b410f666341375339d0f98134c0617dcf7aabb2219a8b68b2c40b2cfec64a8d5cf3513557894e828
|
|
7
|
+
data.tar.gz: 0b27c6a38a483844e60b783e819e387df1e8c51aecb941ba7482a53a38da910400160e3ad17314ca2fcaf5c4482cd278a414428244630d7982cfec4d206c9791
|
data/CHANGELOG.md
CHANGED
|
@@ -214,6 +214,25 @@ module Google
|
|
|
214
214
|
end
|
|
215
215
|
end
|
|
216
216
|
|
|
217
|
+
# Configuration for automatic upgrades.
|
|
218
|
+
class AutoUpgradeConfig
|
|
219
|
+
include Google::Apis::Core::Hashable
|
|
220
|
+
|
|
221
|
+
# The scope for automatic rollout creation.
|
|
222
|
+
# Corresponds to the JSON property `rolloutCreationScope`
|
|
223
|
+
# @return [Google::Apis::GkehubV1alpha::RolloutCreationScope]
|
|
224
|
+
attr_accessor :rollout_creation_scope
|
|
225
|
+
|
|
226
|
+
def initialize(**args)
|
|
227
|
+
update!(**args)
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# Update properties of this object
|
|
231
|
+
def update!(**args)
|
|
232
|
+
@rollout_creation_scope = args[:rollout_creation_scope] if args.key?(:rollout_creation_scope)
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
|
|
217
236
|
# BinaryAuthorizationConfig defines the fleet level configuration of binary
|
|
218
237
|
# authorization feature.
|
|
219
238
|
class BinaryAuthorizationConfig
|
|
@@ -3006,6 +3025,25 @@ module Google
|
|
|
3006
3025
|
end
|
|
3007
3026
|
end
|
|
3008
3027
|
|
|
3028
|
+
# Request message for force-completing a rollout stage.
|
|
3029
|
+
class ForceCompleteRolloutStageRequest
|
|
3030
|
+
include Google::Apis::Core::Hashable
|
|
3031
|
+
|
|
3032
|
+
# Required. The stage number to force-complete.
|
|
3033
|
+
# Corresponds to the JSON property `stageNumber`
|
|
3034
|
+
# @return [Fixnum]
|
|
3035
|
+
attr_accessor :stage_number
|
|
3036
|
+
|
|
3037
|
+
def initialize(**args)
|
|
3038
|
+
update!(**args)
|
|
3039
|
+
end
|
|
3040
|
+
|
|
3041
|
+
# Update properties of this object
|
|
3042
|
+
def update!(**args)
|
|
3043
|
+
@stage_number = args[:stage_number] if args.key?(:stage_number)
|
|
3044
|
+
end
|
|
3045
|
+
end
|
|
3046
|
+
|
|
3009
3047
|
# GenerateConnectManifestResponse contains manifest information for installing/
|
|
3010
3048
|
# upgrading a Connect agent.
|
|
3011
3049
|
class GenerateConnectManifestResponse
|
|
@@ -6217,6 +6255,25 @@ module Google
|
|
|
6217
6255
|
end
|
|
6218
6256
|
end
|
|
6219
6257
|
|
|
6258
|
+
# The scope for automatic rollout creation.
|
|
6259
|
+
class RolloutCreationScope
|
|
6260
|
+
include Google::Apis::Core::Hashable
|
|
6261
|
+
|
|
6262
|
+
# Optional. The list of enabled upgrade types.
|
|
6263
|
+
# Corresponds to the JSON property `upgradeTypes`
|
|
6264
|
+
# @return [Array<String>]
|
|
6265
|
+
attr_accessor :upgrade_types
|
|
6266
|
+
|
|
6267
|
+
def initialize(**args)
|
|
6268
|
+
update!(**args)
|
|
6269
|
+
end
|
|
6270
|
+
|
|
6271
|
+
# Update properties of this object
|
|
6272
|
+
def update!(**args)
|
|
6273
|
+
@upgrade_types = args[:upgrade_types] if args.key?(:upgrade_types)
|
|
6274
|
+
end
|
|
6275
|
+
end
|
|
6276
|
+
|
|
6220
6277
|
# Metadata about single cluster (GKE Hub membership) that's part of this Rollout.
|
|
6221
6278
|
class RolloutMembershipState
|
|
6222
6279
|
include Google::Apis::Core::Hashable
|
|
@@ -6255,6 +6312,11 @@ module Google
|
|
|
6255
6312
|
class RolloutSequence
|
|
6256
6313
|
include Google::Apis::Core::Hashable
|
|
6257
6314
|
|
|
6315
|
+
# Configuration for automatic upgrades.
|
|
6316
|
+
# Corresponds to the JSON property `autoUpgradeConfig`
|
|
6317
|
+
# @return [Google::Apis::GkehubV1alpha::AutoUpgradeConfig]
|
|
6318
|
+
attr_accessor :auto_upgrade_config
|
|
6319
|
+
|
|
6258
6320
|
# Output only. The timestamp at which the Rollout Sequence was created.
|
|
6259
6321
|
# Corresponds to the JSON property `createTime`
|
|
6260
6322
|
# @return [String]
|
|
@@ -6270,6 +6332,11 @@ module Google
|
|
|
6270
6332
|
# @return [String]
|
|
6271
6333
|
attr_accessor :display_name
|
|
6272
6334
|
|
|
6335
|
+
# Configuration for automatic upgrades.
|
|
6336
|
+
# Corresponds to the JSON property `effectiveAutoUpgradeConfig`
|
|
6337
|
+
# @return [Google::Apis::GkehubV1alpha::AutoUpgradeConfig]
|
|
6338
|
+
attr_accessor :effective_auto_upgrade_config
|
|
6339
|
+
|
|
6273
6340
|
# Output only. etag of the Rollout Sequence Ex. abc1234
|
|
6274
6341
|
# Corresponds to the JSON property `etag`
|
|
6275
6342
|
# @return [String]
|
|
@@ -6319,9 +6386,11 @@ module Google
|
|
|
6319
6386
|
|
|
6320
6387
|
# Update properties of this object
|
|
6321
6388
|
def update!(**args)
|
|
6389
|
+
@auto_upgrade_config = args[:auto_upgrade_config] if args.key?(:auto_upgrade_config)
|
|
6322
6390
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
6323
6391
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
|
6324
6392
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
6393
|
+
@effective_auto_upgrade_config = args[:effective_auto_upgrade_config] if args.key?(:effective_auto_upgrade_config)
|
|
6325
6394
|
@etag = args[:etag] if args.key?(:etag)
|
|
6326
6395
|
@ignored_clusters_selector = args[:ignored_clusters_selector] if args.key?(:ignored_clusters_selector)
|
|
6327
6396
|
@labels = args[:labels] if args.key?(:labels)
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.108.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260426"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -58,6 +58,12 @@ module Google
|
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
+
class AutoUpgradeConfig
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
61
67
|
class BinaryAuthorizationConfig
|
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
69
|
|
|
@@ -520,6 +526,12 @@ module Google
|
|
|
520
526
|
include Google::Apis::Core::JsonObjectSupport
|
|
521
527
|
end
|
|
522
528
|
|
|
529
|
+
class ForceCompleteRolloutStageRequest
|
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
531
|
+
|
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
533
|
+
end
|
|
534
|
+
|
|
523
535
|
class GenerateConnectManifestResponse
|
|
524
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
525
537
|
|
|
@@ -1018,6 +1030,12 @@ module Google
|
|
|
1018
1030
|
include Google::Apis::Core::JsonObjectSupport
|
|
1019
1031
|
end
|
|
1020
1032
|
|
|
1033
|
+
class RolloutCreationScope
|
|
1034
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1035
|
+
|
|
1036
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1037
|
+
end
|
|
1038
|
+
|
|
1021
1039
|
class RolloutMembershipState
|
|
1022
1040
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1023
1041
|
|
|
@@ -1296,6 +1314,14 @@ module Google
|
|
|
1296
1314
|
end
|
|
1297
1315
|
end
|
|
1298
1316
|
|
|
1317
|
+
class AutoUpgradeConfig
|
|
1318
|
+
# @private
|
|
1319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1320
|
+
property :rollout_creation_scope, as: 'rolloutCreationScope', class: Google::Apis::GkehubV1alpha::RolloutCreationScope, decorator: Google::Apis::GkehubV1alpha::RolloutCreationScope::Representation
|
|
1321
|
+
|
|
1322
|
+
end
|
|
1323
|
+
end
|
|
1324
|
+
|
|
1299
1325
|
class BinaryAuthorizationConfig
|
|
1300
1326
|
# @private
|
|
1301
1327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2104,6 +2130,13 @@ module Google
|
|
|
2104
2130
|
end
|
|
2105
2131
|
end
|
|
2106
2132
|
|
|
2133
|
+
class ForceCompleteRolloutStageRequest
|
|
2134
|
+
# @private
|
|
2135
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2136
|
+
property :stage_number, as: 'stageNumber'
|
|
2137
|
+
end
|
|
2138
|
+
end
|
|
2139
|
+
|
|
2107
2140
|
class GenerateConnectManifestResponse
|
|
2108
2141
|
# @private
|
|
2109
2142
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2988,6 +3021,13 @@ module Google
|
|
|
2988
3021
|
end
|
|
2989
3022
|
end
|
|
2990
3023
|
|
|
3024
|
+
class RolloutCreationScope
|
|
3025
|
+
# @private
|
|
3026
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3027
|
+
collection :upgrade_types, as: 'upgradeTypes'
|
|
3028
|
+
end
|
|
3029
|
+
end
|
|
3030
|
+
|
|
2991
3031
|
class RolloutMembershipState
|
|
2992
3032
|
# @private
|
|
2993
3033
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3001,9 +3041,13 @@ module Google
|
|
|
3001
3041
|
class RolloutSequence
|
|
3002
3042
|
# @private
|
|
3003
3043
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3044
|
+
property :auto_upgrade_config, as: 'autoUpgradeConfig', class: Google::Apis::GkehubV1alpha::AutoUpgradeConfig, decorator: Google::Apis::GkehubV1alpha::AutoUpgradeConfig::Representation
|
|
3045
|
+
|
|
3004
3046
|
property :create_time, as: 'createTime'
|
|
3005
3047
|
property :delete_time, as: 'deleteTime'
|
|
3006
3048
|
property :display_name, as: 'displayName'
|
|
3049
|
+
property :effective_auto_upgrade_config, as: 'effectiveAutoUpgradeConfig', class: Google::Apis::GkehubV1alpha::AutoUpgradeConfig, decorator: Google::Apis::GkehubV1alpha::AutoUpgradeConfig::Representation
|
|
3050
|
+
|
|
3007
3051
|
property :etag, as: 'etag'
|
|
3008
3052
|
property :ignored_clusters_selector, as: 'ignoredClustersSelector', class: Google::Apis::GkehubV1alpha::ClusterSelector, decorator: Google::Apis::GkehubV1alpha::ClusterSelector::Representation
|
|
3009
3053
|
|
|
@@ -124,8 +124,8 @@ module Google
|
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
# Lists information about the supported locations for this service. This method
|
|
127
|
-
# lists locations based on the resource scope provided in the
|
|
128
|
-
# ListLocationsRequest.name
|
|
127
|
+
# lists locations based on the resource scope provided in the
|
|
128
|
+
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
|
|
129
129
|
# the method lists the public locations available to all projects. * **Project-
|
|
130
130
|
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
131
131
|
# method lists locations visible to that specific project. This includes public,
|
|
@@ -136,8 +136,8 @@ module Google
|
|
|
136
136
|
# @param [String] name
|
|
137
137
|
# The resource that owns the locations collection, if applicable.
|
|
138
138
|
# @param [Array<String>, String] extra_location_types
|
|
139
|
-
# Optional. Do not use this field
|
|
140
|
-
#
|
|
139
|
+
# Optional. Do not use this field unless explicitly documented otherwise. This
|
|
140
|
+
# is primarily for internal usage.
|
|
141
141
|
# @param [String] filter
|
|
142
142
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
143
143
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -1870,7 +1870,7 @@ module Google
|
|
|
1870
1870
|
execute_or_queue_command(command, &block)
|
|
1871
1871
|
end
|
|
1872
1872
|
|
|
1873
|
-
#
|
|
1873
|
+
# Creates a new rollout sequence resource.
|
|
1874
1874
|
# @param [String] parent
|
|
1875
1875
|
# Required. The parent resource where this rollout sequence will be created.
|
|
1876
1876
|
# projects/`project`/locations/`location`
|
|
@@ -1909,7 +1909,7 @@ module Google
|
|
|
1909
1909
|
execute_or_queue_command(command, &block)
|
|
1910
1910
|
end
|
|
1911
1911
|
|
|
1912
|
-
#
|
|
1912
|
+
# Removes a RolloutSequence.
|
|
1913
1913
|
# @param [String] name
|
|
1914
1914
|
# Required. The name of the rollout sequence to delete. projects/`project`/
|
|
1915
1915
|
# locations/`location`/rolloutSequences/`rollout_sequence`
|
|
@@ -1971,7 +1971,7 @@ module Google
|
|
|
1971
1971
|
execute_or_queue_command(command, &block)
|
|
1972
1972
|
end
|
|
1973
1973
|
|
|
1974
|
-
#
|
|
1974
|
+
# Retrieves the list of all rollout sequences.
|
|
1975
1975
|
# @param [String] parent
|
|
1976
1976
|
# Required. The parent, which owns this collection of rollout sequences. Format:
|
|
1977
1977
|
# projects/`project`/locations/`location`
|
|
@@ -2018,7 +2018,7 @@ module Google
|
|
|
2018
2018
|
execute_or_queue_command(command, &block)
|
|
2019
2019
|
end
|
|
2020
2020
|
|
|
2021
|
-
#
|
|
2021
|
+
# Updates a rollout sequence.
|
|
2022
2022
|
# @param [String] name
|
|
2023
2023
|
# Identifier. Name of the rollout sequence in the format of: projects/`
|
|
2024
2024
|
# PROJECT_ID`/locations/global/rolloutSequences/`NAME`
|
|
@@ -2055,7 +2055,42 @@ module Google
|
|
|
2055
2055
|
execute_or_queue_command(command, &block)
|
|
2056
2056
|
end
|
|
2057
2057
|
|
|
2058
|
-
#
|
|
2058
|
+
# Force-completes a rollout stage. Only the active stage of an active rollout
|
|
2059
|
+
# can be force-completed.
|
|
2060
|
+
# @param [String] name
|
|
2061
|
+
# Required. The name of the rollout. Format: projects/`project`/locations/`
|
|
2062
|
+
# location`/rollouts/`rollout`
|
|
2063
|
+
# @param [Google::Apis::GkehubV1alpha::ForceCompleteRolloutStageRequest] force_complete_rollout_stage_request_object
|
|
2064
|
+
# @param [String] fields
|
|
2065
|
+
# Selector specifying which fields to include in a partial response.
|
|
2066
|
+
# @param [String] quota_user
|
|
2067
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2068
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2069
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2070
|
+
# Request-specific options
|
|
2071
|
+
#
|
|
2072
|
+
# @yield [result, err] Result & error if block supplied
|
|
2073
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
|
2074
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2075
|
+
#
|
|
2076
|
+
# @return [Google::Apis::GkehubV1alpha::Operation]
|
|
2077
|
+
#
|
|
2078
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2079
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2080
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2081
|
+
def force_project_location_rollout_complete_stage(name, force_complete_rollout_stage_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2082
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:forceCompleteStage', options)
|
|
2083
|
+
command.request_representation = Google::Apis::GkehubV1alpha::ForceCompleteRolloutStageRequest::Representation
|
|
2084
|
+
command.request_object = force_complete_rollout_stage_request_object
|
|
2085
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
|
2086
|
+
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
|
2087
|
+
command.params['name'] = name unless name.nil?
|
|
2088
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2089
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2090
|
+
execute_or_queue_command(command, &block)
|
|
2091
|
+
end
|
|
2092
|
+
|
|
2093
|
+
# Retrieves a single rollout.
|
|
2059
2094
|
# @param [String] name
|
|
2060
2095
|
# Required. The name of the rollout to retrieve. projects/`project`/locations/`
|
|
2061
2096
|
# location`/rollouts/`rollout`
|
|
@@ -2086,7 +2121,7 @@ module Google
|
|
|
2086
2121
|
execute_or_queue_command(command, &block)
|
|
2087
2122
|
end
|
|
2088
2123
|
|
|
2089
|
-
#
|
|
2124
|
+
# Retrieves the list of all rollouts.
|
|
2090
2125
|
# @param [String] parent
|
|
2091
2126
|
# Required. The parent, which owns this collection of rollout. Format: projects/`
|
|
2092
2127
|
# project`/locations/`location`
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-gkehub_v1alpha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.108.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.108.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|