google-apis-container_v1 0.14.0 → 0.15.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: fedd23d02a0a926a2bd5f5920e9a79541fad44f501cd4f4aa17c6ee4f8fc9208
4
- data.tar.gz: 1e81b57ff31698d26f348dbfb1b74f97ecf4e9584bf0f9652d598f52f80fe3e9
3
+ metadata.gz: 2d494084330f4be087fd54bf1239814e039b36ff47c51e5fd1fee44c766e5ba8
4
+ data.tar.gz: eba379e9f0d2346801fc9ee2e99591067586b8dfb5f22eb02e9b6212500abae2
5
5
  SHA512:
6
- metadata.gz: '08399100fbe62837ad3d31b233505fba671f00a3a32f9dabd087ea694f62626b3eadfefef126beeef77f196ee384cfdea71e16d2b89135332d85ea9bf0e74d7f'
7
- data.tar.gz: a3aa53a74491b828036223070da42db03794248b38a76d2aaf9423b81b68d56ebfb9aeee897178c2968ad43ef7a39ead63e2dd8e0e82f3be606d2e70c727de98
6
+ metadata.gz: 18bed542a9047f62d1801dc730fdd3ab2e9e9a245e5ba0ad9a5aa53f54651fb6717dbd2ab080f10a12d41379d425bd6d8c438a0c9a01698a9a71bc684fbee0e5
7
+ data.tar.gz: 98e9e6f655298073f9283bbcd4c9260b09eba94759cdbff8cb2df99f200947b32818c16663e9f79c2c89935b999b8a601aa9846c6df2ea199f0a31f3efab6836
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.15.0 (2021-08-05)
4
+
5
+ * Regenerated from discovery document revision 20210722
6
+
3
7
  ### v0.14.0 (2021-07-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20210715
@@ -639,6 +639,11 @@ module Google
639
639
  # @return [Array<String>]
640
640
  attr_accessor :locations
641
641
 
642
+ # LoggingConfig is cluster logging configuration.
643
+ # Corresponds to the JSON property `loggingConfig`
644
+ # @return [Google::Apis::ContainerV1::LoggingConfig]
645
+ attr_accessor :logging_config
646
+
642
647
  # The logging service the cluster should use to write logs. Currently available
643
648
  # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
644
649
  # with a Kubernetes-native resource model * `logging.googleapis.com` - The
@@ -669,6 +674,11 @@ module Google
669
674
  # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
670
675
  attr_accessor :master_authorized_networks_config
671
676
 
677
+ # MonitoringConfig is cluster monitoring configuration.
678
+ # Corresponds to the JSON property `monitoringConfig`
679
+ # @return [Google::Apis::ContainerV1::MonitoringConfig]
680
+ attr_accessor :monitoring_config
681
+
672
682
  # The monitoring service the cluster should use to write metrics. Currently
673
683
  # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
674
684
  # Monitoring service with a Kubernetes-native resource model * `monitoring.
@@ -848,10 +858,12 @@ module Google
848
858
  @legacy_abac = args[:legacy_abac] if args.key?(:legacy_abac)
849
859
  @location = args[:location] if args.key?(:location)
850
860
  @locations = args[:locations] if args.key?(:locations)
861
+ @logging_config = args[:logging_config] if args.key?(:logging_config)
851
862
  @logging_service = args[:logging_service] if args.key?(:logging_service)
852
863
  @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
853
864
  @master_auth = args[:master_auth] if args.key?(:master_auth)
854
865
  @master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
866
+ @monitoring_config = args[:monitoring_config] if args.key?(:monitoring_config)
855
867
  @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
856
868
  @name = args[:name] if args.key?(:name)
857
869
  @network = args[:network] if args.key?(:network)
@@ -1003,6 +1015,11 @@ module Google
1003
1015
  # @return [Array<String>]
1004
1016
  attr_accessor :desired_locations
1005
1017
 
1018
+ # LoggingConfig is cluster logging configuration.
1019
+ # Corresponds to the JSON property `desiredLoggingConfig`
1020
+ # @return [Google::Apis::ContainerV1::LoggingConfig]
1021
+ attr_accessor :desired_logging_config
1022
+
1006
1023
  # The logging service the cluster should use to write logs. Currently available
1007
1024
  # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
1008
1025
  # with a Kubernetes-native resource model * `logging.googleapis.com` - The
@@ -1033,6 +1050,11 @@ module Google
1033
1050
  # @return [String]
1034
1051
  attr_accessor :desired_master_version
1035
1052
 
1053
+ # MonitoringConfig is cluster monitoring configuration.
1054
+ # Corresponds to the JSON property `desiredMonitoringConfig`
1055
+ # @return [Google::Apis::ContainerV1::MonitoringConfig]
1056
+ attr_accessor :desired_monitoring_config
1057
+
1036
1058
  # The monitoring service the cluster should use to write metrics. Currently
1037
1059
  # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
1038
1060
  # Monitoring service with a Kubernetes-native resource model * `monitoring.
@@ -1131,9 +1153,11 @@ module Google
1131
1153
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1132
1154
  @desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
1133
1155
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
1156
+ @desired_logging_config = args[:desired_logging_config] if args.key?(:desired_logging_config)
1134
1157
  @desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
1135
1158
  @desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
1136
1159
  @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
1160
+ @desired_monitoring_config = args[:desired_monitoring_config] if args.key?(:desired_monitoring_config)
1137
1161
  @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
1138
1162
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1139
1163
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
@@ -2054,6 +2078,44 @@ module Google
2054
2078
  end
2055
2079
  end
2056
2080
 
2081
+ # LoggingComponentConfig is cluster logging component configuration.
2082
+ class LoggingComponentConfig
2083
+ include Google::Apis::Core::Hashable
2084
+
2085
+ # Select components to collect logs. An empty set would disable all logging.
2086
+ # Corresponds to the JSON property `enableComponents`
2087
+ # @return [Array<String>]
2088
+ attr_accessor :enable_components
2089
+
2090
+ def initialize(**args)
2091
+ update!(**args)
2092
+ end
2093
+
2094
+ # Update properties of this object
2095
+ def update!(**args)
2096
+ @enable_components = args[:enable_components] if args.key?(:enable_components)
2097
+ end
2098
+ end
2099
+
2100
+ # LoggingConfig is cluster logging configuration.
2101
+ class LoggingConfig
2102
+ include Google::Apis::Core::Hashable
2103
+
2104
+ # LoggingComponentConfig is cluster logging component configuration.
2105
+ # Corresponds to the JSON property `componentConfig`
2106
+ # @return [Google::Apis::ContainerV1::LoggingComponentConfig]
2107
+ attr_accessor :component_config
2108
+
2109
+ def initialize(**args)
2110
+ update!(**args)
2111
+ end
2112
+
2113
+ # Update properties of this object
2114
+ def update!(**args)
2115
+ @component_config = args[:component_config] if args.key?(:component_config)
2116
+ end
2117
+ end
2118
+
2057
2119
  # MaintenancePolicy defines the maintenance policy to be used for the cluster.
2058
2120
  class MaintenancePolicy
2059
2121
  include Google::Apis::Core::Hashable
@@ -2266,6 +2328,45 @@ module Google
2266
2328
  end
2267
2329
  end
2268
2330
 
2331
+ # MonitoringComponentConfig is cluster monitoring component configuration.
2332
+ class MonitoringComponentConfig
2333
+ include Google::Apis::Core::Hashable
2334
+
2335
+ # Select components to collect metrics. An empty set would disable all
2336
+ # monitoring.
2337
+ # Corresponds to the JSON property `enableComponents`
2338
+ # @return [Array<String>]
2339
+ attr_accessor :enable_components
2340
+
2341
+ def initialize(**args)
2342
+ update!(**args)
2343
+ end
2344
+
2345
+ # Update properties of this object
2346
+ def update!(**args)
2347
+ @enable_components = args[:enable_components] if args.key?(:enable_components)
2348
+ end
2349
+ end
2350
+
2351
+ # MonitoringConfig is cluster monitoring configuration.
2352
+ class MonitoringConfig
2353
+ include Google::Apis::Core::Hashable
2354
+
2355
+ # MonitoringComponentConfig is cluster monitoring component configuration.
2356
+ # Corresponds to the JSON property `componentConfig`
2357
+ # @return [Google::Apis::ContainerV1::MonitoringComponentConfig]
2358
+ attr_accessor :component_config
2359
+
2360
+ def initialize(**args)
2361
+ update!(**args)
2362
+ end
2363
+
2364
+ # Update properties of this object
2365
+ def update!(**args)
2366
+ @component_config = args[:component_config] if args.key?(:component_config)
2367
+ end
2368
+ end
2369
+
2269
2370
  # NetworkConfig reports the relative names of network & subnetwork.
2270
2371
  class NetworkConfig
2271
2372
  include Google::Apis::Core::Hashable
@@ -2672,6 +2773,53 @@ module Google
2672
2773
  end
2673
2774
  end
2674
2775
 
2776
+ # Parameters for node pool-level network config.
2777
+ class NodeNetworkConfig
2778
+ include Google::Apis::Core::Hashable
2779
+
2780
+ # Input only. Whether to create a new range for pod IPs in this node pool.
2781
+ # Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are
2782
+ # not specified. If neither `create_pod_range` or `pod_range` are specified, the
2783
+ # cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used.
2784
+ # Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field
2785
+ # cannot be changed after the node pool has been created.
2786
+ # Corresponds to the JSON property `createPodRange`
2787
+ # @return [Boolean]
2788
+ attr_accessor :create_pod_range
2789
+ alias_method :create_pod_range?, :create_pod_range
2790
+
2791
+ # The IP address range for pod IPs in this node pool. Only applicable if `
2792
+ # create_pod_range` is true. Set to blank to have a range chosen with the
2793
+ # default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
2794
+ # specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/
2795
+ # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a
2796
+ # specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases`
2797
+ # is true. This field cannot be changed after the node pool has been created.
2798
+ # Corresponds to the JSON property `podIpv4CidrBlock`
2799
+ # @return [String]
2800
+ attr_accessor :pod_ipv4_cidr_block
2801
+
2802
+ # The ID of the secondary range for pod IPs. If `create_pod_range` is true, this
2803
+ # ID is used for the new range. If `create_pod_range` is false, uses an existing
2804
+ # secondary range with this ID. Only applicable if `ip_allocation_policy.
2805
+ # use_ip_aliases` is true. This field cannot be changed after the node pool has
2806
+ # been created.
2807
+ # Corresponds to the JSON property `podRange`
2808
+ # @return [String]
2809
+ attr_accessor :pod_range
2810
+
2811
+ def initialize(**args)
2812
+ update!(**args)
2813
+ end
2814
+
2815
+ # Update properties of this object
2816
+ def update!(**args)
2817
+ @create_pod_range = args[:create_pod_range] if args.key?(:create_pod_range)
2818
+ @pod_ipv4_cidr_block = args[:pod_ipv4_cidr_block] if args.key?(:pod_ipv4_cidr_block)
2819
+ @pod_range = args[:pod_range] if args.key?(:pod_range)
2820
+ end
2821
+ end
2822
+
2675
2823
  # NodePool contains the name and configuration for a cluster's node pool. Node
2676
2824
  # pools are a set of nodes (i.e. VM's), with a common configuration and
2677
2825
  # specification, under the control of the cluster master. They may have a set of
@@ -2738,6 +2886,11 @@ module Google
2738
2886
  # @return [String]
2739
2887
  attr_accessor :name
2740
2888
 
2889
+ # Parameters for node pool-level network config.
2890
+ # Corresponds to the JSON property `networkConfig`
2891
+ # @return [Google::Apis::ContainerV1::NodeNetworkConfig]
2892
+ attr_accessor :network_config
2893
+
2741
2894
  # [Output only] The pod CIDR block size per node in this node pool.
2742
2895
  # Corresponds to the JSON property `podIpv4CidrSize`
2743
2896
  # @return [Fixnum]
@@ -2797,6 +2950,7 @@ module Google
2797
2950
  @management = args[:management] if args.key?(:management)
2798
2951
  @max_pods_constraint = args[:max_pods_constraint] if args.key?(:max_pods_constraint)
2799
2952
  @name = args[:name] if args.key?(:name)
2953
+ @network_config = args[:network_config] if args.key?(:network_config)
2800
2954
  @pod_ipv4_cidr_size = args[:pod_ipv4_cidr_size] if args.key?(:pod_ipv4_cidr_size)
2801
2955
  @self_link = args[:self_link] if args.key?(:self_link)
2802
2956
  @status = args[:status] if args.key?(:status)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1
18
18
  # Version of the google-apis-container_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210715"
25
+ REVISION = "20210722"
26
26
  end
27
27
  end
28
28
  end
@@ -280,6 +280,18 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
+ class LoggingComponentConfig
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class LoggingConfig
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
283
295
  class MaintenancePolicy
284
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
297
 
@@ -316,6 +328,18 @@ module Google
316
328
  include Google::Apis::Core::JsonObjectSupport
317
329
  end
318
330
 
331
+ class MonitoringComponentConfig
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class MonitoringConfig
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
319
343
  class NetworkConfig
320
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
345
 
@@ -352,6 +376,12 @@ module Google
352
376
  include Google::Apis::Core::JsonObjectSupport
353
377
  end
354
378
 
379
+ class NodeNetworkConfig
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
355
385
  class NodePool
356
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
387
 
@@ -795,6 +825,8 @@ module Google
795
825
 
796
826
  property :location, as: 'location'
797
827
  collection :locations, as: 'locations'
828
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1::LoggingConfig, decorator: Google::Apis::ContainerV1::LoggingConfig::Representation
829
+
798
830
  property :logging_service, as: 'loggingService'
799
831
  property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::MaintenancePolicy, decorator: Google::Apis::ContainerV1::MaintenancePolicy::Representation
800
832
 
@@ -802,6 +834,8 @@ module Google
802
834
 
803
835
  property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
804
836
 
837
+ property :monitoring_config, as: 'monitoringConfig', class: Google::Apis::ContainerV1::MonitoringConfig, decorator: Google::Apis::ContainerV1::MonitoringConfig::Representation
838
+
805
839
  property :monitoring_service, as: 'monitoringService'
806
840
  property :name, as: 'name'
807
841
  property :network, as: 'network'
@@ -876,10 +910,14 @@ module Google
876
910
  property :desired_l4ilb_subsetting_config, as: 'desiredL4ilbSubsettingConfig', class: Google::Apis::ContainerV1::IlbSubsettingConfig, decorator: Google::Apis::ContainerV1::IlbSubsettingConfig::Representation
877
911
 
878
912
  collection :desired_locations, as: 'desiredLocations'
913
+ property :desired_logging_config, as: 'desiredLoggingConfig', class: Google::Apis::ContainerV1::LoggingConfig, decorator: Google::Apis::ContainerV1::LoggingConfig::Representation
914
+
879
915
  property :desired_logging_service, as: 'desiredLoggingService'
880
916
  property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
881
917
 
882
918
  property :desired_master_version, as: 'desiredMasterVersion'
919
+ property :desired_monitoring_config, as: 'desiredMonitoringConfig', class: Google::Apis::ContainerV1::MonitoringConfig, decorator: Google::Apis::ContainerV1::MonitoringConfig::Representation
920
+
883
921
  property :desired_monitoring_service, as: 'desiredMonitoringService'
884
922
  property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
885
923
 
@@ -1152,6 +1190,21 @@ module Google
1152
1190
  end
1153
1191
  end
1154
1192
 
1193
+ class LoggingComponentConfig
1194
+ # @private
1195
+ class Representation < Google::Apis::Core::JsonRepresentation
1196
+ collection :enable_components, as: 'enableComponents'
1197
+ end
1198
+ end
1199
+
1200
+ class LoggingConfig
1201
+ # @private
1202
+ class Representation < Google::Apis::Core::JsonRepresentation
1203
+ property :component_config, as: 'componentConfig', class: Google::Apis::ContainerV1::LoggingComponentConfig, decorator: Google::Apis::ContainerV1::LoggingComponentConfig::Representation
1204
+
1205
+ end
1206
+ end
1207
+
1155
1208
  class MaintenancePolicy
1156
1209
  # @private
1157
1210
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1212,6 +1265,21 @@ module Google
1212
1265
  end
1213
1266
  end
1214
1267
 
1268
+ class MonitoringComponentConfig
1269
+ # @private
1270
+ class Representation < Google::Apis::Core::JsonRepresentation
1271
+ collection :enable_components, as: 'enableComponents'
1272
+ end
1273
+ end
1274
+
1275
+ class MonitoringConfig
1276
+ # @private
1277
+ class Representation < Google::Apis::Core::JsonRepresentation
1278
+ property :component_config, as: 'componentConfig', class: Google::Apis::ContainerV1::MonitoringComponentConfig, decorator: Google::Apis::ContainerV1::MonitoringComponentConfig::Representation
1279
+
1280
+ end
1281
+ end
1282
+
1215
1283
  class NetworkConfig
1216
1284
  # @private
1217
1285
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1296,6 +1364,15 @@ module Google
1296
1364
  end
1297
1365
  end
1298
1366
 
1367
+ class NodeNetworkConfig
1368
+ # @private
1369
+ class Representation < Google::Apis::Core::JsonRepresentation
1370
+ property :create_pod_range, as: 'createPodRange'
1371
+ property :pod_ipv4_cidr_block, as: 'podIpv4CidrBlock'
1372
+ property :pod_range, as: 'podRange'
1373
+ end
1374
+ end
1375
+
1299
1376
  class NodePool
1300
1377
  # @private
1301
1378
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1313,6 +1390,8 @@ module Google
1313
1390
  property :max_pods_constraint, as: 'maxPodsConstraint', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
1314
1391
 
1315
1392
  property :name, as: 'name'
1393
+ property :network_config, as: 'networkConfig', class: Google::Apis::ContainerV1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1::NodeNetworkConfig::Representation
1394
+
1316
1395
  property :pod_ipv4_cidr_size, as: 'podIpv4CidrSize'
1317
1396
  property :self_link, as: 'selfLink'
1318
1397
  property :status, as: 'status'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.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: 2021-08-02 00:00:00.000000000 Z
11
+ date: 2021-08-09 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/master/generated/google-apis-container_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1
63
63
  post_install_message:
64
64
  rdoc_options: []