google-apis-gkehub_v1 0.27.0 → 0.30.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: 2fb57fb0553339bdcf7c6ed28a1681ed857e6e7634b9f79e07d6146bb9b13fd7
4
- data.tar.gz: 349b860bb10a4e5915b6637355f58598d4c8f5f67b5b35b4e4ea590c84d70992
3
+ metadata.gz: e69be23f4fd2e34d9951d462276f5180f8a9f88b569317716704e2d05e13ff78
4
+ data.tar.gz: 216a4c046d3798649fdb0bf453aee1a20173c7208f02f7b9ee767e4643211444
5
5
  SHA512:
6
- metadata.gz: 5fdb0fd3fffb3704ff9f59bb1a1471a72b3e7497a131d761e8ba7659b0339eefc3dba5cc54a790458faf1fdd2165274aba9bb43e8e265c91bbe961fe60e57a79
7
- data.tar.gz: ffaf417f92ac35a80a731381f415c4265be189596fbdc00799d3562dda521a135b75e5ac48757abfc46413defae6210f3c5c3275d769109469ddd357a7c34f24
6
+ metadata.gz: cf7bc5956f3f79b12140f5a3f2e7e409a072102a989d2fdee947802c806f96e5d4e3edd2df37310a2f4544433dd1e3ac88c3a86e1d332f30e4052e7925fd510c
7
+ data.tar.gz: 751486c826ca863a1836259a173d3d254a02f59427521bf52e249bb3ddab8d65ff9bd6ae962584d7ed5720352300f99a20ae24fee50fe442cc91bc0b6fb75539
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.30.0 (2022-07-03)
4
+
5
+ * Regenerated from discovery document revision 20220628
6
+ * Regenerated using generator version 0.8.0
7
+
8
+ ### v0.29.0 (2022-06-18)
9
+
10
+ * Regenerated from discovery document revision 20220613
11
+ * Regenerated using generator version 0.7.0
12
+
13
+ ### v0.28.0 (2022-06-06)
14
+
15
+ * Regenerated from discovery document revision 20220530
16
+ * Regenerated using generator version 0.5.0
17
+
3
18
  ### v0.27.0 (2022-05-16)
4
19
 
5
20
  * Regenerated from discovery document revision 20220505
@@ -177,6 +177,27 @@ module Google
177
177
  end
178
178
  end
179
179
 
180
+ # ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
181
+ class ApplianceCluster
182
+ include Google::Apis::Core::Hashable
183
+
184
+ # Immutable. Self-link of the GCP resource for the Appliance Cluster. For
185
+ # example: //transferappliance.googleapis.com/projects/my-project/locations/us-
186
+ # west1-a/appliances/my-appliance
187
+ # Corresponds to the JSON property `resourceLink`
188
+ # @return [String]
189
+ attr_accessor :resource_link
190
+
191
+ def initialize(**args)
192
+ update!(**args)
193
+ end
194
+
195
+ # Update properties of this object
196
+ def update!(**args)
197
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
198
+ end
199
+ end
200
+
180
201
  # Specifies the audit configuration for a service. The configuration determines
181
202
  # which permission types are logged, and what identities, if any, are exempted
182
203
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -458,6 +479,11 @@ module Google
458
479
  # @return [Google::Apis::GkehubV1::ConfigManagementGitConfig]
459
480
  attr_accessor :git
460
481
 
482
+ # OCI repo configuration for a single cluster
483
+ # Corresponds to the JSON property `oci`
484
+ # @return [Google::Apis::GkehubV1::ConfigManagementOciConfig]
485
+ attr_accessor :oci
486
+
461
487
  # Set to true to enable the Config Sync admission webhook to prevent drifts. If
462
488
  # set to `false`, disables the Config Sync admission webhook and does not
463
489
  # prevent drifts.
@@ -480,6 +506,7 @@ module Google
480
506
  def update!(**args)
481
507
  @enabled = args[:enabled] if args.key?(:enabled)
482
508
  @git = args[:git] if args.key?(:git)
509
+ @oci = args[:oci] if args.key?(:oci)
483
510
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
484
511
  @source_format = args[:source_format] if args.key?(:source_format)
485
512
  end
@@ -1003,6 +1030,52 @@ module Google
1003
1030
  end
1004
1031
  end
1005
1032
 
1033
+ # OCI repo configuration for a single cluster
1034
+ class ConfigManagementOciConfig
1035
+ include Google::Apis::Core::Hashable
1036
+
1037
+ # The GCP Service Account Email used for auth when secret_type is
1038
+ # gcpServiceAccount.
1039
+ # Corresponds to the JSON property `gcpServiceAccountEmail`
1040
+ # @return [String]
1041
+ attr_accessor :gcp_service_account_email
1042
+
1043
+ # The absolute path of the directory that contains the local resources. Default:
1044
+ # the root directory of the image.
1045
+ # Corresponds to the JSON property `policyDir`
1046
+ # @return [String]
1047
+ attr_accessor :policy_dir
1048
+
1049
+ # Type of secret configured for access to the Git repo.
1050
+ # Corresponds to the JSON property `secretType`
1051
+ # @return [String]
1052
+ attr_accessor :secret_type
1053
+
1054
+ # The OCI image repository URL for the package to sync from. e.g. `LOCATION-
1055
+ # docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
1056
+ # Corresponds to the JSON property `syncRepo`
1057
+ # @return [String]
1058
+ attr_accessor :sync_repo
1059
+
1060
+ # Period in seconds between consecutive syncs. Default: 15.
1061
+ # Corresponds to the JSON property `syncWaitSecs`
1062
+ # @return [Fixnum]
1063
+ attr_accessor :sync_wait_secs
1064
+
1065
+ def initialize(**args)
1066
+ update!(**args)
1067
+ end
1068
+
1069
+ # Update properties of this object
1070
+ def update!(**args)
1071
+ @gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
1072
+ @policy_dir = args[:policy_dir] if args.key?(:policy_dir)
1073
+ @secret_type = args[:secret_type] if args.key?(:secret_type)
1074
+ @sync_repo = args[:sync_repo] if args.key?(:sync_repo)
1075
+ @sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs)
1076
+ end
1077
+ end
1078
+
1006
1079
  # State information for an ACM's Operator
1007
1080
  class ConfigManagementOperatorState
1008
1081
  include Google::Apis::Core::Hashable
@@ -1063,6 +1136,20 @@ module Google
1063
1136
  attr_accessor :log_denies_enabled
1064
1137
  alias_method :log_denies_enabled?, :log_denies_enabled
1065
1138
 
1139
+ # PolicyControllerMonitoring specifies the backends Policy Controller should
1140
+ # export metrics to. For example, to specify metrics should be exported to Cloud
1141
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
1142
+ # Corresponds to the JSON property `monitoring`
1143
+ # @return [Google::Apis::GkehubV1::ConfigManagementPolicyControllerMonitoring]
1144
+ attr_accessor :monitoring
1145
+
1146
+ # Enable or disable mutation in policy controller. If true, mutation CRDs,
1147
+ # webhook and controller deployment will be deployed to the cluster.
1148
+ # Corresponds to the JSON property `mutationEnabled`
1149
+ # @return [Boolean]
1150
+ attr_accessor :mutation_enabled
1151
+ alias_method :mutation_enabled?, :mutation_enabled
1152
+
1066
1153
  # Enables the ability to use Constraint Templates that reference to objects
1067
1154
  # other than the object currently being evaluated.
1068
1155
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -1086,11 +1173,35 @@ module Google
1086
1173
  @enabled = args[:enabled] if args.key?(:enabled)
1087
1174
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
1088
1175
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
1176
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
1177
+ @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
1089
1178
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
1090
1179
  @template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed)
1091
1180
  end
1092
1181
  end
1093
1182
 
1183
+ # PolicyControllerMonitoring specifies the backends Policy Controller should
1184
+ # export metrics to. For example, to specify metrics should be exported to Cloud
1185
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
1186
+ class ConfigManagementPolicyControllerMonitoring
1187
+ include Google::Apis::Core::Hashable
1188
+
1189
+ # Specifies the list of backends Policy Controller will export to. An empty list
1190
+ # would effectively disable metrics export.
1191
+ # Corresponds to the JSON property `backends`
1192
+ # @return [Array<String>]
1193
+ attr_accessor :backends
1194
+
1195
+ def initialize(**args)
1196
+ update!(**args)
1197
+ end
1198
+
1199
+ # Update properties of this object
1200
+ def update!(**args)
1201
+ @backends = args[:backends] if args.key?(:backends)
1202
+ end
1203
+ end
1204
+
1094
1205
  # State for PolicyControllerState.
1095
1206
  class ConfigManagementPolicyControllerState
1096
1207
  include Google::Apis::Core::Hashable
@@ -2166,6 +2277,11 @@ module Google
2166
2277
  class MembershipEndpoint
2167
2278
  include Google::Apis::Core::Hashable
2168
2279
 
2280
+ # ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
2281
+ # Corresponds to the JSON property `applianceCluster`
2282
+ # @return [Google::Apis::GkehubV1::ApplianceCluster]
2283
+ attr_accessor :appliance_cluster
2284
+
2169
2285
  # EdgeCluster contains information specific to Google Edge Clusters.
2170
2286
  # Corresponds to the JSON property `edgeCluster`
2171
2287
  # @return [Google::Apis::GkehubV1::EdgeCluster]
@@ -2205,6 +2321,7 @@ module Google
2205
2321
 
2206
2322
  # Update properties of this object
2207
2323
  def update!(**args)
2324
+ @appliance_cluster = args[:appliance_cluster] if args.key?(:appliance_cluster)
2208
2325
  @edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
2209
2326
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
2210
2327
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
@@ -2422,6 +2539,11 @@ module Google
2422
2539
  attr_accessor :cluster_missing
2423
2540
  alias_method :cluster_missing?, :cluster_missing
2424
2541
 
2542
+ # Immutable. The on prem cluster's type.
2543
+ # Corresponds to the JSON property `clusterType`
2544
+ # @return [String]
2545
+ attr_accessor :cluster_type
2546
+
2425
2547
  # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
2426
2548
  # example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
2427
2549
  # vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
@@ -2438,6 +2560,7 @@ module Google
2438
2560
  def update!(**args)
2439
2561
  @admin_cluster = args[:admin_cluster] if args.key?(:admin_cluster)
2440
2562
  @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
2563
+ @cluster_type = args[:cluster_type] if args.key?(:cluster_type)
2441
2564
  @resource_link = args[:resource_link] if args.key?(:resource_link)
2442
2565
  end
2443
2566
  end
@@ -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.27.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.8.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220505"
25
+ REVISION = "20220628"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class ApplianceCluster
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class AuditConfig
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -190,6 +196,12 @@ module Google
190
196
  include Google::Apis::Core::JsonObjectSupport
191
197
  end
192
198
 
199
+ class ConfigManagementOciConfig
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
193
205
  class ConfigManagementOperatorState
194
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
207
 
@@ -202,6 +214,12 @@ module Google
202
214
  include Google::Apis::Core::JsonObjectSupport
203
215
  end
204
216
 
217
+ class ConfigManagementPolicyControllerMonitoring
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
205
223
  class ConfigManagementPolicyControllerState
206
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
225
 
@@ -569,6 +587,13 @@ module Google
569
587
  end
570
588
  end
571
589
 
590
+ class ApplianceCluster
591
+ # @private
592
+ class Representation < Google::Apis::Core::JsonRepresentation
593
+ property :resource_link, as: 'resourceLink'
594
+ end
595
+ end
596
+
572
597
  class AuditConfig
573
598
  # @private
574
599
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -638,6 +663,8 @@ module Google
638
663
  property :enabled, as: 'enabled'
639
664
  property :git, as: 'git', class: Google::Apis::GkehubV1::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1::ConfigManagementGitConfig::Representation
640
665
 
666
+ property :oci, as: 'oci', class: Google::Apis::GkehubV1::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1::ConfigManagementOciConfig::Representation
667
+
641
668
  property :prevent_drift, as: 'preventDrift'
642
669
  property :source_format, as: 'sourceFormat'
643
670
  end
@@ -795,6 +822,17 @@ module Google
795
822
  end
796
823
  end
797
824
 
825
+ class ConfigManagementOciConfig
826
+ # @private
827
+ class Representation < Google::Apis::Core::JsonRepresentation
828
+ property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
829
+ property :policy_dir, as: 'policyDir'
830
+ property :secret_type, as: 'secretType'
831
+ property :sync_repo, as: 'syncRepo'
832
+ property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
833
+ end
834
+ end
835
+
798
836
  class ConfigManagementOperatorState
799
837
  # @private
800
838
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -812,11 +850,21 @@ module Google
812
850
  property :enabled, as: 'enabled'
813
851
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
814
852
  property :log_denies_enabled, as: 'logDeniesEnabled'
853
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1::ConfigManagementPolicyControllerMonitoring, decorator: Google::Apis::GkehubV1::ConfigManagementPolicyControllerMonitoring::Representation
854
+
855
+ property :mutation_enabled, as: 'mutationEnabled'
815
856
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
816
857
  property :template_library_installed, as: 'templateLibraryInstalled'
817
858
  end
818
859
  end
819
860
 
861
+ class ConfigManagementPolicyControllerMonitoring
862
+ # @private
863
+ class Representation < Google::Apis::Core::JsonRepresentation
864
+ collection :backends, as: 'backends'
865
+ end
866
+ end
867
+
820
868
  class ConfigManagementPolicyControllerState
821
869
  # @private
822
870
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1105,6 +1153,8 @@ module Google
1105
1153
  class MembershipEndpoint
1106
1154
  # @private
1107
1155
  class Representation < Google::Apis::Core::JsonRepresentation
1156
+ property :appliance_cluster, as: 'applianceCluster', class: Google::Apis::GkehubV1::ApplianceCluster, decorator: Google::Apis::GkehubV1::ApplianceCluster::Representation
1157
+
1108
1158
  property :edge_cluster, as: 'edgeCluster', class: Google::Apis::GkehubV1::EdgeCluster, decorator: Google::Apis::GkehubV1::EdgeCluster::Representation
1109
1159
 
1110
1160
  property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1::GkeCluster, decorator: Google::Apis::GkehubV1::GkeCluster::Representation
@@ -1191,6 +1241,7 @@ module Google
1191
1241
  class Representation < Google::Apis::Core::JsonRepresentation
1192
1242
  property :admin_cluster, as: 'adminCluster'
1193
1243
  property :cluster_missing, as: 'clusterMissing'
1244
+ property :cluster_type, as: 'clusterType'
1194
1245
  property :resource_link, as: 'resourceLink'
1195
1246
  end
1196
1247
  end
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.27.0
4
+ version: 0.30.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: 2022-05-23 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.30.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1