google-apis-container_v1 0.1.0 → 0.2.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: 8b4878053b15a6b3e8ecf1e4f6b170759dfd535d9e174efc8b729d29c25a76ba
|
4
|
+
data.tar.gz: 79afcac463eeea94413350eb73cef335cce14b7de23c707ea443d2b72d365a71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '035459a080d1eed5fc1711314ff8c600419210693513c3efe668daa361b21c23d7b9e6eaa6ee5600e62094c9ffd0c14239d98433f9ed1774fbc8b3459c63a4fb'
|
7
|
+
data.tar.gz: f821c80a1e30655e3c5b094d402ffa43e580a4d9fc6fead68bd10e42192a3caa52f6e847ede795dbda8865e9091291beb24b265dfe741476f1f6cd1af4e2e596
|
data/CHANGELOG.md
CHANGED
@@ -682,6 +682,11 @@ module Google
|
|
682
682
|
# @return [Array<Google::Apis::ContainerV1::NodePool>]
|
683
683
|
attr_accessor :node_pools
|
684
684
|
|
685
|
+
# NotificationConfig is the configuration of notifications.
|
686
|
+
# Corresponds to the JSON property `notificationConfig`
|
687
|
+
# @return [Google::Apis::ContainerV1::NotificationConfig]
|
688
|
+
attr_accessor :notification_config
|
689
|
+
|
685
690
|
# Configuration options for private clusters.
|
686
691
|
# Corresponds to the JSON property `privateClusterConfig`
|
687
692
|
# @return [Google::Apis::ContainerV1::PrivateClusterConfig]
|
@@ -810,6 +815,7 @@ module Google
|
|
810
815
|
@node_config = args[:node_config] if args.key?(:node_config)
|
811
816
|
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
|
812
817
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
818
|
+
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
813
819
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
814
820
|
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
815
821
|
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
@@ -990,6 +996,11 @@ module Google
|
|
990
996
|
# @return [String]
|
991
997
|
attr_accessor :desired_node_version
|
992
998
|
|
999
|
+
# NotificationConfig is the configuration of notifications.
|
1000
|
+
# Corresponds to the JSON property `desiredNotificationConfig`
|
1001
|
+
# @return [Google::Apis::ContainerV1::NotificationConfig]
|
1002
|
+
attr_accessor :desired_notification_config
|
1003
|
+
|
993
1004
|
# Configuration options for private clusters.
|
994
1005
|
# Corresponds to the JSON property `desiredPrivateClusterConfig`
|
995
1006
|
# @return [Google::Apis::ContainerV1::PrivateClusterConfig]
|
@@ -1051,6 +1062,7 @@ module Google
|
|
1051
1062
|
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
|
1052
1063
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
1053
1064
|
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
1065
|
+
@desired_notification_config = args[:desired_notification_config] if args.key?(:desired_notification_config)
|
1054
1066
|
@desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
|
1055
1067
|
@desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
|
1056
1068
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
@@ -2657,6 +2669,25 @@ module Google
|
|
2657
2669
|
end
|
2658
2670
|
end
|
2659
2671
|
|
2672
|
+
# NotificationConfig is the configuration of notifications.
|
2673
|
+
class NotificationConfig
|
2674
|
+
include Google::Apis::Core::Hashable
|
2675
|
+
|
2676
|
+
# Pub/Sub specific notification config.
|
2677
|
+
# Corresponds to the JSON property `pubsub`
|
2678
|
+
# @return [Google::Apis::ContainerV1::PubSub]
|
2679
|
+
attr_accessor :pubsub
|
2680
|
+
|
2681
|
+
def initialize(**args)
|
2682
|
+
update!(**args)
|
2683
|
+
end
|
2684
|
+
|
2685
|
+
# Update properties of this object
|
2686
|
+
def update!(**args)
|
2687
|
+
@pubsub = args[:pubsub] if args.key?(:pubsub)
|
2688
|
+
end
|
2689
|
+
end
|
2690
|
+
|
2660
2691
|
# This operation resource represents operations that may have happened or are
|
2661
2692
|
# happening on the cluster. All fields are output only.
|
2662
2693
|
class Operation
|
@@ -2884,6 +2915,33 @@ module Google
|
|
2884
2915
|
end
|
2885
2916
|
end
|
2886
2917
|
|
2918
|
+
# Pub/Sub specific notification config.
|
2919
|
+
class PubSub
|
2920
|
+
include Google::Apis::Core::Hashable
|
2921
|
+
|
2922
|
+
# Enable notifications for Pub/Sub.
|
2923
|
+
# Corresponds to the JSON property `enabled`
|
2924
|
+
# @return [Boolean]
|
2925
|
+
attr_accessor :enabled
|
2926
|
+
alias_method :enabled?, :enabled
|
2927
|
+
|
2928
|
+
# The desired Pub/Sub topic to which notifications will be sent by GKE. Format
|
2929
|
+
# is `projects/`project`/topics/`topic``.
|
2930
|
+
# Corresponds to the JSON property `topic`
|
2931
|
+
# @return [String]
|
2932
|
+
attr_accessor :topic
|
2933
|
+
|
2934
|
+
def initialize(**args)
|
2935
|
+
update!(**args)
|
2936
|
+
end
|
2937
|
+
|
2938
|
+
# Update properties of this object
|
2939
|
+
def update!(**args)
|
2940
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
2941
|
+
@topic = args[:topic] if args.key?(:topic)
|
2942
|
+
end
|
2943
|
+
end
|
2944
|
+
|
2887
2945
|
# Represents an arbitrary window of time that recurs.
|
2888
2946
|
class RecurringTimeWindow
|
2889
2947
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.1.
|
22
|
+
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210119"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -340,6 +340,12 @@ module Google
|
|
340
340
|
include Google::Apis::Core::JsonObjectSupport
|
341
341
|
end
|
342
342
|
|
343
|
+
class NotificationConfig
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
343
349
|
class Operation
|
344
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
351
|
|
@@ -364,6 +370,12 @@ module Google
|
|
364
370
|
include Google::Apis::Core::JsonObjectSupport
|
365
371
|
end
|
366
372
|
|
373
|
+
class PubSub
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
367
379
|
class RecurringTimeWindow
|
368
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
381
|
|
@@ -747,6 +759,8 @@ module Google
|
|
747
759
|
property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize'
|
748
760
|
collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
|
749
761
|
|
762
|
+
property :notification_config, as: 'notificationConfig', class: Google::Apis::ContainerV1::NotificationConfig, decorator: Google::Apis::ContainerV1::NotificationConfig::Representation
|
763
|
+
|
750
764
|
property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
|
751
765
|
|
752
766
|
property :release_channel, as: 'releaseChannel', class: Google::Apis::ContainerV1::ReleaseChannel, decorator: Google::Apis::ContainerV1::ReleaseChannel::Representation
|
@@ -808,6 +822,8 @@ module Google
|
|
808
822
|
|
809
823
|
property :desired_node_pool_id, as: 'desiredNodePoolId'
|
810
824
|
property :desired_node_version, as: 'desiredNodeVersion'
|
825
|
+
property :desired_notification_config, as: 'desiredNotificationConfig', class: Google::Apis::ContainerV1::NotificationConfig, decorator: Google::Apis::ContainerV1::NotificationConfig::Representation
|
826
|
+
|
811
827
|
property :desired_private_cluster_config, as: 'desiredPrivateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
|
812
828
|
|
813
829
|
property :desired_private_ipv6_google_access, as: 'desiredPrivateIpv6GoogleAccess'
|
@@ -1227,6 +1243,14 @@ module Google
|
|
1227
1243
|
end
|
1228
1244
|
end
|
1229
1245
|
|
1246
|
+
class NotificationConfig
|
1247
|
+
# @private
|
1248
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1249
|
+
property :pubsub, as: 'pubsub', class: Google::Apis::ContainerV1::PubSub, decorator: Google::Apis::ContainerV1::PubSub::Representation
|
1250
|
+
|
1251
|
+
end
|
1252
|
+
end
|
1253
|
+
|
1230
1254
|
class Operation
|
1231
1255
|
# @private
|
1232
1256
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1283,6 +1307,14 @@ module Google
|
|
1283
1307
|
end
|
1284
1308
|
end
|
1285
1309
|
|
1310
|
+
class PubSub
|
1311
|
+
# @private
|
1312
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1313
|
+
property :enabled, as: 'enabled'
|
1314
|
+
property :topic, as: 'topic'
|
1315
|
+
end
|
1316
|
+
end
|
1317
|
+
|
1286
1318
|
class RecurringTimeWindow
|
1287
1319
|
# @private
|
1288
1320
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.
|
4
|
+
version: 0.2.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-
|
11
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.2.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.6
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Kubernetes Engine API V1
|