google-apis-gkehub_v1alpha 0.50.0 → 0.51.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: 0cb423d3353a0518533ae850b470440d59ce5ddab4c746aa04bef2f25426f0dd
|
4
|
+
data.tar.gz: b6a1e7b572c3a502affdac0e75421b38bab1921cdca982371c8e49f4af42bdc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f77509714666bb89eab8139ec09bd86c2db8f408c44cc2f6fa5e320a751a14c80afa0d0681d2b12f4189bb7c3f3c7cdb79c1af29543541f76fecd50649138112
|
7
|
+
data.tar.gz: 29552d35ec3cd509bd2a054d5ed47562b47295cc9d9f5f07782e0300e110001ec894e0f7ffee18fbfc0aab0f021956fb8591aaf619aa565a790e884f0dc82cdf
|
data/CHANGELOG.md
CHANGED
@@ -593,6 +593,11 @@ module Google
|
|
593
593
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementGitConfig]
|
594
594
|
attr_accessor :git
|
595
595
|
|
596
|
+
# Configuration for Managed Config Sync.
|
597
|
+
# Corresponds to the JSON property `managed`
|
598
|
+
# @return [Google::Apis::GkehubV1alpha::ConfigManagementManaged]
|
599
|
+
attr_accessor :managed
|
600
|
+
|
596
601
|
# OCI repo configuration for a single cluster
|
597
602
|
# Corresponds to the JSON property `oci`
|
598
603
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementOciConfig]
|
@@ -621,6 +626,7 @@ module Google
|
|
621
626
|
@allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
|
622
627
|
@enabled = args[:enabled] if args.key?(:enabled)
|
623
628
|
@git = args[:git] if args.key?(:git)
|
629
|
+
@managed = args[:managed] if args.key?(:managed)
|
624
630
|
@oci = args[:oci] if args.key?(:oci)
|
625
631
|
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
626
632
|
@source_format = args[:source_format] if args.key?(:source_format)
|
@@ -1060,6 +1066,27 @@ module Google
|
|
1060
1066
|
end
|
1061
1067
|
end
|
1062
1068
|
|
1069
|
+
# Configuration for Managed Config Sync.
|
1070
|
+
class ConfigManagementManaged
|
1071
|
+
include Google::Apis::Core::Hashable
|
1072
|
+
|
1073
|
+
# Set to true to enable Managed Config Sync. Defaults to false which disables
|
1074
|
+
# Managed Config Sync.
|
1075
|
+
# Corresponds to the JSON property `enabled`
|
1076
|
+
# @return [Boolean]
|
1077
|
+
attr_accessor :enabled
|
1078
|
+
alias_method :enabled?, :enabled
|
1079
|
+
|
1080
|
+
def initialize(**args)
|
1081
|
+
update!(**args)
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
# Update properties of this object
|
1085
|
+
def update!(**args)
|
1086
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1087
|
+
end
|
1088
|
+
end
|
1089
|
+
|
1063
1090
|
# **Anthos Config Management**: Configuration for a single cluster. Intended to
|
1064
1091
|
# parallel the ConfigManagement CR.
|
1065
1092
|
class ConfigManagementMembershipSpec
|
@@ -2800,6 +2827,12 @@ module Google
|
|
2800
2827
|
# @return [String]
|
2801
2828
|
attr_accessor :last_connection_time
|
2802
2829
|
|
2830
|
+
# This field informs Fleet-based applications/services/UIs with the necessary
|
2831
|
+
# information for where each underlying Cluster reports its metrics.
|
2832
|
+
# Corresponds to the JSON property `monitoringConfig`
|
2833
|
+
# @return [Google::Apis::GkehubV1alpha::MonitoringConfig]
|
2834
|
+
attr_accessor :monitoring_config
|
2835
|
+
|
2803
2836
|
# Output only. The full, unique name of this Membership resource in the format `
|
2804
2837
|
# projects/*/locations/*/memberships/`membership_id``, set during creation. `
|
2805
2838
|
# membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63
|
@@ -2842,6 +2875,7 @@ module Google
|
|
2842
2875
|
@external_id = args[:external_id] if args.key?(:external_id)
|
2843
2876
|
@labels = args[:labels] if args.key?(:labels)
|
2844
2877
|
@last_connection_time = args[:last_connection_time] if args.key?(:last_connection_time)
|
2878
|
+
@monitoring_config = args[:monitoring_config] if args.key?(:monitoring_config)
|
2845
2879
|
@name = args[:name] if args.key?(:name)
|
2846
2880
|
@state = args[:state] if args.key?(:state)
|
2847
2881
|
@unique_id = args[:unique_id] if args.key?(:unique_id)
|
@@ -3207,6 +3241,58 @@ module Google
|
|
3207
3241
|
end
|
3208
3242
|
end
|
3209
3243
|
|
3244
|
+
# This field informs Fleet-based applications/services/UIs with the necessary
|
3245
|
+
# information for where each underlying Cluster reports its metrics.
|
3246
|
+
class MonitoringConfig
|
3247
|
+
include Google::Apis::Core::Hashable
|
3248
|
+
|
3249
|
+
# Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal,
|
3250
|
+
# it would be in format `memberClusters/cluster_name`; And for Anthos on
|
3251
|
+
# MultiCloud, it would be in format ``azureClusters, awsClusters`/cluster_name`.
|
3252
|
+
# Corresponds to the JSON property `cluster`
|
3253
|
+
# @return [String]
|
3254
|
+
attr_accessor :cluster
|
3255
|
+
|
3256
|
+
# Immutable. Cluster hash, this is a unique string generated by google code,
|
3257
|
+
# which does not contain any PII, which we can use to reference the cluster.
|
3258
|
+
# This is expected to be created by the monitoring stack and persisted into the
|
3259
|
+
# Cluster object as well as to GKE-Hub.
|
3260
|
+
# Corresponds to the JSON property `clusterHash`
|
3261
|
+
# @return [String]
|
3262
|
+
attr_accessor :cluster_hash
|
3263
|
+
|
3264
|
+
# Kubernetes system metrics, if available, are written to this prefix. This
|
3265
|
+
# defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos
|
3266
|
+
# eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today but
|
3267
|
+
# will migration to be under kubernetes.io/anthos
|
3268
|
+
# Corresponds to the JSON property `kubernetesMetricsPrefix`
|
3269
|
+
# @return [String]
|
3270
|
+
attr_accessor :kubernetes_metrics_prefix
|
3271
|
+
|
3272
|
+
# Immutable. Location used to report Metrics
|
3273
|
+
# Corresponds to the JSON property `location`
|
3274
|
+
# @return [String]
|
3275
|
+
attr_accessor :location
|
3276
|
+
|
3277
|
+
# Immutable. Project used to report Metrics
|
3278
|
+
# Corresponds to the JSON property `projectId`
|
3279
|
+
# @return [String]
|
3280
|
+
attr_accessor :project_id
|
3281
|
+
|
3282
|
+
def initialize(**args)
|
3283
|
+
update!(**args)
|
3284
|
+
end
|
3285
|
+
|
3286
|
+
# Update properties of this object
|
3287
|
+
def update!(**args)
|
3288
|
+
@cluster = args[:cluster] if args.key?(:cluster)
|
3289
|
+
@cluster_hash = args[:cluster_hash] if args.key?(:cluster_hash)
|
3290
|
+
@kubernetes_metrics_prefix = args[:kubernetes_metrics_prefix] if args.key?(:kubernetes_metrics_prefix)
|
3291
|
+
@location = args[:location] if args.key?(:location)
|
3292
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
3293
|
+
end
|
3294
|
+
end
|
3295
|
+
|
3210
3296
|
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
3211
3297
|
class MultiCloudCluster
|
3212
3298
|
include Google::Apis::Core::Hashable
|
@@ -4482,7 +4568,8 @@ module Google
|
|
4482
4568
|
class ServiceMeshMembershipSpec
|
4483
4569
|
include Google::Apis::Core::Hashable
|
4484
4570
|
|
4485
|
-
# Enables automatic control plane
|
4571
|
+
# Deprecated: use `management` instead Enables automatic control plane
|
4572
|
+
# management.
|
4486
4573
|
# Corresponds to the JSON property `controlPlane`
|
4487
4574
|
# @return [String]
|
4488
4575
|
attr_accessor :control_plane
|
@@ -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.51.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 = "
|
25
|
+
REVISION = "20230407"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -208,6 +208,12 @@ module Google
|
|
208
208
|
include Google::Apis::Core::JsonObjectSupport
|
209
209
|
end
|
210
210
|
|
211
|
+
class ConfigManagementManaged
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
211
217
|
class ConfigManagementMembershipSpec
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
219
|
|
@@ -544,6 +550,12 @@ module Google
|
|
544
550
|
include Google::Apis::Core::JsonObjectSupport
|
545
551
|
end
|
546
552
|
|
553
|
+
class MonitoringConfig
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
547
559
|
class MultiCloudCluster
|
548
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
561
|
|
@@ -992,6 +1004,8 @@ module Google
|
|
992
1004
|
property :enabled, as: 'enabled'
|
993
1005
|
property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
|
994
1006
|
|
1007
|
+
property :managed, as: 'managed', class: Google::Apis::GkehubV1alpha::ConfigManagementManaged, decorator: Google::Apis::GkehubV1alpha::ConfigManagementManaged::Representation
|
1008
|
+
|
995
1009
|
property :oci, as: 'oci', class: Google::Apis::GkehubV1alpha::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementOciConfig::Representation
|
996
1010
|
|
997
1011
|
property :prevent_drift, as: 'preventDrift'
|
@@ -1122,6 +1136,13 @@ module Google
|
|
1122
1136
|
end
|
1123
1137
|
end
|
1124
1138
|
|
1139
|
+
class ConfigManagementManaged
|
1140
|
+
# @private
|
1141
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1142
|
+
property :enabled, as: 'enabled'
|
1143
|
+
end
|
1144
|
+
end
|
1145
|
+
|
1125
1146
|
class ConfigManagementMembershipSpec
|
1126
1147
|
# @private
|
1127
1148
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1615,6 +1636,8 @@ module Google
|
|
1615
1636
|
property :external_id, as: 'externalId'
|
1616
1637
|
hash :labels, as: 'labels'
|
1617
1638
|
property :last_connection_time, as: 'lastConnectionTime'
|
1639
|
+
property :monitoring_config, as: 'monitoringConfig', class: Google::Apis::GkehubV1alpha::MonitoringConfig, decorator: Google::Apis::GkehubV1alpha::MonitoringConfig::Representation
|
1640
|
+
|
1618
1641
|
property :name, as: 'name'
|
1619
1642
|
property :state, as: 'state', class: Google::Apis::GkehubV1alpha::MembershipState, decorator: Google::Apis::GkehubV1alpha::MembershipState::Representation
|
1620
1643
|
|
@@ -1733,6 +1756,17 @@ module Google
|
|
1733
1756
|
end
|
1734
1757
|
end
|
1735
1758
|
|
1759
|
+
class MonitoringConfig
|
1760
|
+
# @private
|
1761
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1762
|
+
property :cluster, as: 'cluster'
|
1763
|
+
property :cluster_hash, as: 'clusterHash'
|
1764
|
+
property :kubernetes_metrics_prefix, as: 'kubernetesMetricsPrefix'
|
1765
|
+
property :location, as: 'location'
|
1766
|
+
property :project_id, as: 'projectId'
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
|
1736
1770
|
class MultiCloudCluster
|
1737
1771
|
# @private
|
1738
1772
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.
|
4
|
+
version: 0.51.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-
|
11
|
+
date: 2023-04-16 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-gkehub_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.51.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: []
|