google-apis-gkehub_v1 0.27.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fb57fb0553339bdcf7c6ed28a1681ed857e6e7634b9f79e07d6146bb9b13fd7
4
- data.tar.gz: 349b860bb10a4e5915b6637355f58598d4c8f5f67b5b35b4e4ea590c84d70992
3
+ metadata.gz: 389dac1ff497c7a495dd0d1d8abbdb18e880346e803fdb86390defa8385cc976
4
+ data.tar.gz: fe561d8497613a99170db78f37cacda9c6979b7686083cdf2855761885c5f336
5
5
  SHA512:
6
- metadata.gz: 5fdb0fd3fffb3704ff9f59bb1a1471a72b3e7497a131d761e8ba7659b0339eefc3dba5cc54a790458faf1fdd2165274aba9bb43e8e265c91bbe961fe60e57a79
7
- data.tar.gz: ffaf417f92ac35a80a731381f415c4265be189596fbdc00799d3562dda521a135b75e5ac48757abfc46413defae6210f3c5c3275d769109469ddd357a7c34f24
6
+ metadata.gz: 49b534b5b5bb403f6d5254b0ca805accc0bd335eeca33361fa754838030c893d8abbb8fe941ec025130cf70aabdc76e3081c0d1dd2755869ef3faa05f8b1950b
7
+ data.tar.gz: 5314cb5f0fce61a09db3b2b7bc6b39cd0514e6904ae1d7d2299e532f383dd24d4d1913d2fc61182253a7edc5e4d9a8119ff4eeed0aa0a1a779a1c399c5b52a3c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.28.0 (2022-06-06)
4
+
5
+ * Regenerated from discovery document revision 20220530
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.27.0 (2022-05-16)
4
9
 
5
10
  * 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,13 @@ 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
+
1066
1146
  # Enables the ability to use Constraint Templates that reference to objects
1067
1147
  # other than the object currently being evaluated.
1068
1148
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -1086,11 +1166,34 @@ module Google
1086
1166
  @enabled = args[:enabled] if args.key?(:enabled)
1087
1167
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
1088
1168
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
1169
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
1089
1170
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
1090
1171
  @template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed)
1091
1172
  end
1092
1173
  end
1093
1174
 
1175
+ # PolicyControllerMonitoring specifies the backends Policy Controller should
1176
+ # export metrics to. For example, to specify metrics should be exported to Cloud
1177
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
1178
+ class ConfigManagementPolicyControllerMonitoring
1179
+ include Google::Apis::Core::Hashable
1180
+
1181
+ # Specifies the list of backends Policy Controller will export to. An empty list
1182
+ # would effectively disable metrics export.
1183
+ # Corresponds to the JSON property `backends`
1184
+ # @return [Array<String>]
1185
+ attr_accessor :backends
1186
+
1187
+ def initialize(**args)
1188
+ update!(**args)
1189
+ end
1190
+
1191
+ # Update properties of this object
1192
+ def update!(**args)
1193
+ @backends = args[:backends] if args.key?(:backends)
1194
+ end
1195
+ end
1196
+
1094
1197
  # State for PolicyControllerState.
1095
1198
  class ConfigManagementPolicyControllerState
1096
1199
  include Google::Apis::Core::Hashable
@@ -2166,6 +2269,11 @@ module Google
2166
2269
  class MembershipEndpoint
2167
2270
  include Google::Apis::Core::Hashable
2168
2271
 
2272
+ # ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
2273
+ # Corresponds to the JSON property `applianceCluster`
2274
+ # @return [Google::Apis::GkehubV1::ApplianceCluster]
2275
+ attr_accessor :appliance_cluster
2276
+
2169
2277
  # EdgeCluster contains information specific to Google Edge Clusters.
2170
2278
  # Corresponds to the JSON property `edgeCluster`
2171
2279
  # @return [Google::Apis::GkehubV1::EdgeCluster]
@@ -2205,6 +2313,7 @@ module Google
2205
2313
 
2206
2314
  # Update properties of this object
2207
2315
  def update!(**args)
2316
+ @appliance_cluster = args[:appliance_cluster] if args.key?(:appliance_cluster)
2208
2317
  @edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
2209
2318
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
2210
2319
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
@@ -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.28.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.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220505"
25
+ REVISION = "20220530"
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,20 @@ 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
+
815
855
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
816
856
  property :template_library_installed, as: 'templateLibraryInstalled'
817
857
  end
818
858
  end
819
859
 
860
+ class ConfigManagementPolicyControllerMonitoring
861
+ # @private
862
+ class Representation < Google::Apis::Core::JsonRepresentation
863
+ collection :backends, as: 'backends'
864
+ end
865
+ end
866
+
820
867
  class ConfigManagementPolicyControllerState
821
868
  # @private
822
869
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1105,6 +1152,8 @@ module Google
1105
1152
  class MembershipEndpoint
1106
1153
  # @private
1107
1154
  class Representation < Google::Apis::Core::JsonRepresentation
1155
+ property :appliance_cluster, as: 'applianceCluster', class: Google::Apis::GkehubV1::ApplianceCluster, decorator: Google::Apis::GkehubV1::ApplianceCluster::Representation
1156
+
1108
1157
  property :edge_cluster, as: 'edgeCluster', class: Google::Apis::GkehubV1::EdgeCluster, decorator: Google::Apis::GkehubV1::EdgeCluster::Representation
1109
1158
 
1110
1159
  property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1::GkeCluster, decorator: Google::Apis::GkehubV1::GkeCluster::Representation
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.28.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-06-13 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.5'
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.5'
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.28.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