google-apis-gkehub_v2alpha 0.21.0 → 0.23.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: 1a8e4fed2f299864ac26541734997662a081ebe4074c82fe7d5430bcbb76f7be
|
4
|
+
data.tar.gz: 9cb768a89448782cc5fc9e69a40dd6171f01035c03548a8e563667ab702dd222
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbedc2f9755d4b3f032625cda9e23736adafcec5a91a5153cf896fb2135a6dd1b5e50e4e5c9bae983f0097a2025b761379572cd95367222193fce11061e5bf6d
|
7
|
+
data.tar.gz: 8e87d6adf63954b89923df1d1f3bee45d26adee03b5252796066df8f070e5a4637df8548e4b2c4c827c5a7ab81ddc3e90a211f5cc09c9e1f4a2a0a81d9d6a71e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v2alpha
|
2
2
|
|
3
|
+
### v0.23.0 (2025-03-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250324
|
6
|
+
|
7
|
+
### v0.22.0 (2025-03-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250302
|
10
|
+
|
3
11
|
### v0.21.0 (2025-01-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250113
|
@@ -307,6 +307,11 @@ module Google
|
|
307
307
|
class ConfigManagementConfigSync
|
308
308
|
include Google::Apis::Core::Hashable
|
309
309
|
|
310
|
+
# Optional. Configuration for deployment overrides.
|
311
|
+
# Corresponds to the JSON property `deploymentOverrides`
|
312
|
+
# @return [Array<Google::Apis::GkehubV2alpha::ConfigManagementDeploymentOverride>]
|
313
|
+
attr_accessor :deployment_overrides
|
314
|
+
|
310
315
|
# Optional. Enables the installation of ConfigSync. If set to true, ConfigSync
|
311
316
|
# resources will be created and the other ConfigSync fields will be applied if
|
312
317
|
# exist. If set to false, all other ConfigSync fields will be ignored,
|
@@ -367,6 +372,7 @@ module Google
|
|
367
372
|
|
368
373
|
# Update properties of this object
|
369
374
|
def update!(**args)
|
375
|
+
@deployment_overrides = args[:deployment_overrides] if args.key?(:deployment_overrides)
|
370
376
|
@enabled = args[:enabled] if args.key?(:enabled)
|
371
377
|
@git = args[:git] if args.key?(:git)
|
372
378
|
@metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
|
@@ -599,6 +605,80 @@ module Google
|
|
599
605
|
end
|
600
606
|
end
|
601
607
|
|
608
|
+
# Configuration for a container override.
|
609
|
+
class ConfigManagementContainerOverride
|
610
|
+
include Google::Apis::Core::Hashable
|
611
|
+
|
612
|
+
# Required. The name of the container.
|
613
|
+
# Corresponds to the JSON property `containerName`
|
614
|
+
# @return [String]
|
615
|
+
attr_accessor :container_name
|
616
|
+
|
617
|
+
# Optional. The cpu limit of the container.
|
618
|
+
# Corresponds to the JSON property `cpuLimit`
|
619
|
+
# @return [String]
|
620
|
+
attr_accessor :cpu_limit
|
621
|
+
|
622
|
+
# Optional. The cpu request of the container.
|
623
|
+
# Corresponds to the JSON property `cpuRequest`
|
624
|
+
# @return [String]
|
625
|
+
attr_accessor :cpu_request
|
626
|
+
|
627
|
+
# Optional. The memory limit of the container.
|
628
|
+
# Corresponds to the JSON property `memoryLimit`
|
629
|
+
# @return [String]
|
630
|
+
attr_accessor :memory_limit
|
631
|
+
|
632
|
+
# Optional. The memory request of the container.
|
633
|
+
# Corresponds to the JSON property `memoryRequest`
|
634
|
+
# @return [String]
|
635
|
+
attr_accessor :memory_request
|
636
|
+
|
637
|
+
def initialize(**args)
|
638
|
+
update!(**args)
|
639
|
+
end
|
640
|
+
|
641
|
+
# Update properties of this object
|
642
|
+
def update!(**args)
|
643
|
+
@container_name = args[:container_name] if args.key?(:container_name)
|
644
|
+
@cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
|
645
|
+
@cpu_request = args[:cpu_request] if args.key?(:cpu_request)
|
646
|
+
@memory_limit = args[:memory_limit] if args.key?(:memory_limit)
|
647
|
+
@memory_request = args[:memory_request] if args.key?(:memory_request)
|
648
|
+
end
|
649
|
+
end
|
650
|
+
|
651
|
+
# Configuration for a deployment override.
|
652
|
+
class ConfigManagementDeploymentOverride
|
653
|
+
include Google::Apis::Core::Hashable
|
654
|
+
|
655
|
+
# Optional. The containers of the deployment resource to be overridden.
|
656
|
+
# Corresponds to the JSON property `containers`
|
657
|
+
# @return [Array<Google::Apis::GkehubV2alpha::ConfigManagementContainerOverride>]
|
658
|
+
attr_accessor :containers
|
659
|
+
|
660
|
+
# Required. The name of the deployment resource to be overridden.
|
661
|
+
# Corresponds to the JSON property `deploymentName`
|
662
|
+
# @return [String]
|
663
|
+
attr_accessor :deployment_name
|
664
|
+
|
665
|
+
# Required. The namespace of the deployment resource to be overridden..
|
666
|
+
# Corresponds to the JSON property `deploymentNamespace`
|
667
|
+
# @return [String]
|
668
|
+
attr_accessor :deployment_namespace
|
669
|
+
|
670
|
+
def initialize(**args)
|
671
|
+
update!(**args)
|
672
|
+
end
|
673
|
+
|
674
|
+
# Update properties of this object
|
675
|
+
def update!(**args)
|
676
|
+
@containers = args[:containers] if args.key?(:containers)
|
677
|
+
@deployment_name = args[:deployment_name] if args.key?(:deployment_name)
|
678
|
+
@deployment_namespace = args[:deployment_namespace] if args.key?(:deployment_namespace)
|
679
|
+
end
|
680
|
+
end
|
681
|
+
|
602
682
|
# Model for a config file in the git repo with an associated Sync error.
|
603
683
|
class ConfigManagementErrorResource
|
604
684
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV2alpha
|
18
18
|
# Version of the google-apis-gkehub_v2alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250324"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,18 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class ConfigManagementContainerOverride
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class ConfigManagementDeploymentOverride
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
127
139
|
class ConfigManagementErrorResource
|
128
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
141
|
|
@@ -663,6 +675,8 @@ module Google
|
|
663
675
|
class ConfigManagementConfigSync
|
664
676
|
# @private
|
665
677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
678
|
+
collection :deployment_overrides, as: 'deploymentOverrides', class: Google::Apis::GkehubV2alpha::ConfigManagementDeploymentOverride, decorator: Google::Apis::GkehubV2alpha::ConfigManagementDeploymentOverride::Representation
|
679
|
+
|
666
680
|
property :enabled, as: 'enabled'
|
667
681
|
property :git, as: 'git', class: Google::Apis::GkehubV2alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV2alpha::ConfigManagementGitConfig::Representation
|
668
682
|
|
@@ -731,6 +745,27 @@ module Google
|
|
731
745
|
end
|
732
746
|
end
|
733
747
|
|
748
|
+
class ConfigManagementContainerOverride
|
749
|
+
# @private
|
750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
751
|
+
property :container_name, as: 'containerName'
|
752
|
+
property :cpu_limit, as: 'cpuLimit'
|
753
|
+
property :cpu_request, as: 'cpuRequest'
|
754
|
+
property :memory_limit, as: 'memoryLimit'
|
755
|
+
property :memory_request, as: 'memoryRequest'
|
756
|
+
end
|
757
|
+
end
|
758
|
+
|
759
|
+
class ConfigManagementDeploymentOverride
|
760
|
+
# @private
|
761
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
762
|
+
collection :containers, as: 'containers', class: Google::Apis::GkehubV2alpha::ConfigManagementContainerOverride, decorator: Google::Apis::GkehubV2alpha::ConfigManagementContainerOverride::Representation
|
763
|
+
|
764
|
+
property :deployment_name, as: 'deploymentName'
|
765
|
+
property :deployment_namespace, as: 'deploymentNamespace'
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
734
769
|
class ConfigManagementErrorResource
|
735
770
|
# @private
|
736
771
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -84,6 +84,9 @@ module Google
|
|
84
84
|
# Lists information about the supported locations for this service.
|
85
85
|
# @param [String] name
|
86
86
|
# The resource that owns the locations collection, if applicable.
|
87
|
+
# @param [Array<String>, String] extra_location_types
|
88
|
+
# Optional. A list of extra location types that should be used as conditions for
|
89
|
+
# controlling the visibility of the locations.
|
87
90
|
# @param [String] filter
|
88
91
|
# A filter to narrow down results to a preferred subset. The filtering language
|
89
92
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -111,11 +114,12 @@ module Google
|
|
111
114
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
112
115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
113
116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
114
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
115
118
|
command = make_simple_command(:get, 'v2alpha/{+name}/locations', options)
|
116
119
|
command.response_representation = Google::Apis::GkehubV2alpha::ListLocationsResponse::Representation
|
117
120
|
command.response_class = Google::Apis::GkehubV2alpha::ListLocationsResponse
|
118
121
|
command.params['name'] = name unless name.nil?
|
122
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
119
123
|
command.query['filter'] = filter unless filter.nil?
|
120
124
|
command.query['pageSize'] = page_size unless page_size.nil?
|
121
125
|
command.query['pageToken'] = page_token unless page_token.nil?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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_v2alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2alpha/v0.23.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v2alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|