google-apis-gkehub_v1 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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/gkehub_v1/classes.rb +157 -0
- data/lib/google/apis/gkehub_v1/gem_version.rb +2 -2
- data/lib/google/apis/gkehub_v1/representations.rb +94 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3e23004081c6ba5e864987f4d0166e492133a687ad3836a4c4e456c1b152600
|
4
|
+
data.tar.gz: 75bc99154dcf30805a400e52e435ee7a9d2fb8e7f7e9156eb83d506db96de24a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 876940daa0a3d1db9487429178e3c2c66ee5745006a98097a1ea0584809f54ab5efe08a5765f25c683108405093599a870983b5f4d26f40142dc7d84cd36e2c5
|
7
|
+
data.tar.gz: 3dd4dc36004b07dca1230e6f1503c0c11bab318a95e8c7303a9ff3207dec244f29f4347e220a9941d47c83ccb33fee4d9021de8166b40abb39f7c414242dac7a
|
data/CHANGELOG.md
CHANGED
@@ -1732,16 +1732,47 @@ module Google
|
|
1732
1732
|
end
|
1733
1733
|
end
|
1734
1734
|
|
1735
|
+
# All error details of the fleet observability feature.
|
1736
|
+
class FleetObservabilityFeatureError
|
1737
|
+
include Google::Apis::Core::Hashable
|
1738
|
+
|
1739
|
+
# The code of the error.
|
1740
|
+
# Corresponds to the JSON property `code`
|
1741
|
+
# @return [String]
|
1742
|
+
attr_accessor :code
|
1743
|
+
|
1744
|
+
# A human-readable description of the current status.
|
1745
|
+
# Corresponds to the JSON property `description`
|
1746
|
+
# @return [String]
|
1747
|
+
attr_accessor :description
|
1748
|
+
|
1749
|
+
def initialize(**args)
|
1750
|
+
update!(**args)
|
1751
|
+
end
|
1752
|
+
|
1753
|
+
# Update properties of this object
|
1754
|
+
def update!(**args)
|
1755
|
+
@code = args[:code] if args.key?(:code)
|
1756
|
+
@description = args[:description] if args.key?(:description)
|
1757
|
+
end
|
1758
|
+
end
|
1759
|
+
|
1735
1760
|
# **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
|
1736
1761
|
class FleetObservabilityFeatureSpec
|
1737
1762
|
include Google::Apis::Core::Hashable
|
1738
1763
|
|
1764
|
+
# LoggingConfig defines the configuration for different types of logs.
|
1765
|
+
# Corresponds to the JSON property `loggingConfig`
|
1766
|
+
# @return [Google::Apis::GkehubV1::FleetObservabilityLoggingConfig]
|
1767
|
+
attr_accessor :logging_config
|
1768
|
+
|
1739
1769
|
def initialize(**args)
|
1740
1770
|
update!(**args)
|
1741
1771
|
end
|
1742
1772
|
|
1743
1773
|
# Update properties of this object
|
1744
1774
|
def update!(**args)
|
1775
|
+
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
1745
1776
|
end
|
1746
1777
|
end
|
1747
1778
|
|
@@ -1749,12 +1780,119 @@ module Google
|
|
1749
1780
|
class FleetObservabilityFeatureState
|
1750
1781
|
include Google::Apis::Core::Hashable
|
1751
1782
|
|
1783
|
+
# Feature state for logging feature.
|
1784
|
+
# Corresponds to the JSON property `logging`
|
1785
|
+
# @return [Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityLoggingState]
|
1786
|
+
attr_accessor :logging
|
1787
|
+
|
1788
|
+
# Feature state for monitoring feature.
|
1789
|
+
# Corresponds to the JSON property `monitoring`
|
1790
|
+
# @return [Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityMonitoringState]
|
1791
|
+
attr_accessor :monitoring
|
1792
|
+
|
1793
|
+
def initialize(**args)
|
1794
|
+
update!(**args)
|
1795
|
+
end
|
1796
|
+
|
1797
|
+
# Update properties of this object
|
1798
|
+
def update!(**args)
|
1799
|
+
@logging = args[:logging] if args.key?(:logging)
|
1800
|
+
@monitoring = args[:monitoring] if args.key?(:monitoring)
|
1801
|
+
end
|
1802
|
+
end
|
1803
|
+
|
1804
|
+
# Base state for fleet observability feature.
|
1805
|
+
class FleetObservabilityFleetObservabilityBaseFeatureState
|
1806
|
+
include Google::Apis::Core::Hashable
|
1807
|
+
|
1808
|
+
# The high-level, machine-readable status of this Feature.
|
1809
|
+
# Corresponds to the JSON property `code`
|
1810
|
+
# @return [String]
|
1811
|
+
attr_accessor :code
|
1812
|
+
|
1813
|
+
# Errors after reconciling the monitoring and logging feature if the code is not
|
1814
|
+
# OK.
|
1815
|
+
# Corresponds to the JSON property `errors`
|
1816
|
+
# @return [Array<Google::Apis::GkehubV1::FleetObservabilityFeatureError>]
|
1817
|
+
attr_accessor :errors
|
1818
|
+
|
1752
1819
|
def initialize(**args)
|
1753
1820
|
update!(**args)
|
1754
1821
|
end
|
1755
1822
|
|
1756
1823
|
# Update properties of this object
|
1757
1824
|
def update!(**args)
|
1825
|
+
@code = args[:code] if args.key?(:code)
|
1826
|
+
@errors = args[:errors] if args.key?(:errors)
|
1827
|
+
end
|
1828
|
+
end
|
1829
|
+
|
1830
|
+
# Feature state for logging feature.
|
1831
|
+
class FleetObservabilityFleetObservabilityLoggingState
|
1832
|
+
include Google::Apis::Core::Hashable
|
1833
|
+
|
1834
|
+
# Base state for fleet observability feature.
|
1835
|
+
# Corresponds to the JSON property `defaultLog`
|
1836
|
+
# @return [Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState]
|
1837
|
+
attr_accessor :default_log
|
1838
|
+
|
1839
|
+
# Base state for fleet observability feature.
|
1840
|
+
# Corresponds to the JSON property `scopeLog`
|
1841
|
+
# @return [Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState]
|
1842
|
+
attr_accessor :scope_log
|
1843
|
+
|
1844
|
+
def initialize(**args)
|
1845
|
+
update!(**args)
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
# Update properties of this object
|
1849
|
+
def update!(**args)
|
1850
|
+
@default_log = args[:default_log] if args.key?(:default_log)
|
1851
|
+
@scope_log = args[:scope_log] if args.key?(:scope_log)
|
1852
|
+
end
|
1853
|
+
end
|
1854
|
+
|
1855
|
+
# Feature state for monitoring feature.
|
1856
|
+
class FleetObservabilityFleetObservabilityMonitoringState
|
1857
|
+
include Google::Apis::Core::Hashable
|
1858
|
+
|
1859
|
+
# Base state for fleet observability feature.
|
1860
|
+
# Corresponds to the JSON property `state`
|
1861
|
+
# @return [Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState]
|
1862
|
+
attr_accessor :state
|
1863
|
+
|
1864
|
+
def initialize(**args)
|
1865
|
+
update!(**args)
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
# Update properties of this object
|
1869
|
+
def update!(**args)
|
1870
|
+
@state = args[:state] if args.key?(:state)
|
1871
|
+
end
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
# LoggingConfig defines the configuration for different types of logs.
|
1875
|
+
class FleetObservabilityLoggingConfig
|
1876
|
+
include Google::Apis::Core::Hashable
|
1877
|
+
|
1878
|
+
# RoutingConfig configures the behaviour of fleet logging feature.
|
1879
|
+
# Corresponds to the JSON property `defaultConfig`
|
1880
|
+
# @return [Google::Apis::GkehubV1::FleetObservabilityRoutingConfig]
|
1881
|
+
attr_accessor :default_config
|
1882
|
+
|
1883
|
+
# RoutingConfig configures the behaviour of fleet logging feature.
|
1884
|
+
# Corresponds to the JSON property `fleetScopeLogsConfig`
|
1885
|
+
# @return [Google::Apis::GkehubV1::FleetObservabilityRoutingConfig]
|
1886
|
+
attr_accessor :fleet_scope_logs_config
|
1887
|
+
|
1888
|
+
def initialize(**args)
|
1889
|
+
update!(**args)
|
1890
|
+
end
|
1891
|
+
|
1892
|
+
# Update properties of this object
|
1893
|
+
def update!(**args)
|
1894
|
+
@default_config = args[:default_config] if args.key?(:default_config)
|
1895
|
+
@fleet_scope_logs_config = args[:fleet_scope_logs_config] if args.key?(:fleet_scope_logs_config)
|
1758
1896
|
end
|
1759
1897
|
end
|
1760
1898
|
|
@@ -1786,6 +1924,25 @@ module Google
|
|
1786
1924
|
end
|
1787
1925
|
end
|
1788
1926
|
|
1927
|
+
# RoutingConfig configures the behaviour of fleet logging feature.
|
1928
|
+
class FleetObservabilityRoutingConfig
|
1929
|
+
include Google::Apis::Core::Hashable
|
1930
|
+
|
1931
|
+
# mode configures the logs routing mode.
|
1932
|
+
# Corresponds to the JSON property `mode`
|
1933
|
+
# @return [String]
|
1934
|
+
attr_accessor :mode
|
1935
|
+
|
1936
|
+
def initialize(**args)
|
1937
|
+
update!(**args)
|
1938
|
+
end
|
1939
|
+
|
1940
|
+
# Update properties of this object
|
1941
|
+
def update!(**args)
|
1942
|
+
@mode = args[:mode] if args.key?(:mode)
|
1943
|
+
end
|
1944
|
+
end
|
1945
|
+
|
1789
1946
|
# GenerateConnectManifestResponse contains manifest information for installing/
|
1790
1947
|
# upgrading a Connect agent.
|
1791
1948
|
class GenerateConnectManifestResponse
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1
|
18
18
|
# Version of the google-apis-gkehub_v1 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 = "20230627"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -292,6 +292,12 @@ module Google
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
293
293
|
end
|
294
294
|
|
295
|
+
class FleetObservabilityFeatureError
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
295
301
|
class FleetObservabilityFeatureSpec
|
296
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
303
|
|
@@ -304,6 +310,30 @@ module Google
|
|
304
310
|
include Google::Apis::Core::JsonObjectSupport
|
305
311
|
end
|
306
312
|
|
313
|
+
class FleetObservabilityFleetObservabilityBaseFeatureState
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class FleetObservabilityFleetObservabilityLoggingState
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class FleetObservabilityFleetObservabilityMonitoringState
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class FleetObservabilityLoggingConfig
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
307
337
|
class FleetObservabilityMembershipSpec
|
308
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
339
|
|
@@ -316,6 +346,12 @@ module Google
|
|
316
346
|
include Google::Apis::Core::JsonObjectSupport
|
317
347
|
end
|
318
348
|
|
349
|
+
class FleetObservabilityRoutingConfig
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
319
355
|
class GenerateConnectManifestResponse
|
320
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
357
|
|
@@ -1081,15 +1117,66 @@ module Google
|
|
1081
1117
|
end
|
1082
1118
|
end
|
1083
1119
|
|
1120
|
+
class FleetObservabilityFeatureError
|
1121
|
+
# @private
|
1122
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1123
|
+
property :code, as: 'code'
|
1124
|
+
property :description, as: 'description'
|
1125
|
+
end
|
1126
|
+
end
|
1127
|
+
|
1084
1128
|
class FleetObservabilityFeatureSpec
|
1085
1129
|
# @private
|
1086
1130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1131
|
+
property :logging_config, as: 'loggingConfig', class: Google::Apis::GkehubV1::FleetObservabilityLoggingConfig, decorator: Google::Apis::GkehubV1::FleetObservabilityLoggingConfig::Representation
|
1132
|
+
|
1087
1133
|
end
|
1088
1134
|
end
|
1089
1135
|
|
1090
1136
|
class FleetObservabilityFeatureState
|
1091
1137
|
# @private
|
1092
1138
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1139
|
+
property :logging, as: 'logging', class: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityLoggingState, decorator: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityLoggingState::Representation
|
1140
|
+
|
1141
|
+
property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityMonitoringState, decorator: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityMonitoringState::Representation
|
1142
|
+
|
1143
|
+
end
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
class FleetObservabilityFleetObservabilityBaseFeatureState
|
1147
|
+
# @private
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1149
|
+
property :code, as: 'code'
|
1150
|
+
collection :errors, as: 'errors', class: Google::Apis::GkehubV1::FleetObservabilityFeatureError, decorator: Google::Apis::GkehubV1::FleetObservabilityFeatureError::Representation
|
1151
|
+
|
1152
|
+
end
|
1153
|
+
end
|
1154
|
+
|
1155
|
+
class FleetObservabilityFleetObservabilityLoggingState
|
1156
|
+
# @private
|
1157
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1158
|
+
property :default_log, as: 'defaultLog', class: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
|
1159
|
+
|
1160
|
+
property :scope_log, as: 'scopeLog', class: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
|
1161
|
+
|
1162
|
+
end
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
class FleetObservabilityFleetObservabilityMonitoringState
|
1166
|
+
# @private
|
1167
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1168
|
+
property :state, as: 'state', class: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
|
1169
|
+
|
1170
|
+
end
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
class FleetObservabilityLoggingConfig
|
1174
|
+
# @private
|
1175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1176
|
+
property :default_config, as: 'defaultConfig', class: Google::Apis::GkehubV1::FleetObservabilityRoutingConfig, decorator: Google::Apis::GkehubV1::FleetObservabilityRoutingConfig::Representation
|
1177
|
+
|
1178
|
+
property :fleet_scope_logs_config, as: 'fleetScopeLogsConfig', class: Google::Apis::GkehubV1::FleetObservabilityRoutingConfig, decorator: Google::Apis::GkehubV1::FleetObservabilityRoutingConfig::Representation
|
1179
|
+
|
1093
1180
|
end
|
1094
1181
|
end
|
1095
1182
|
|
@@ -1105,6 +1192,13 @@ module Google
|
|
1105
1192
|
end
|
1106
1193
|
end
|
1107
1194
|
|
1195
|
+
class FleetObservabilityRoutingConfig
|
1196
|
+
# @private
|
1197
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1198
|
+
property :mode, as: 'mode'
|
1199
|
+
end
|
1200
|
+
end
|
1201
|
+
|
1108
1202
|
class GenerateConnectManifestResponse
|
1109
1203
|
# @private
|
1110
1204
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1
|
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-07-02 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.51.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|