google-apis-gkehub_v1alpha 0.29.0 → 0.30.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: 232c9f76149741fb56a933c296b31f08365e8cba5cf099425c574565be0ef2c7
4
- data.tar.gz: f3f341277a7ab0a1acbb70d7e00bf4e1f7f3252a8947febb784e9cc8af1a682a
3
+ metadata.gz: d2ef9a855ad38e9b51d9d96076b6f2f8be2cbbcdc8315b20b30ea5ef0db33b5e
4
+ data.tar.gz: 3d88e14ec569254aa6e154fb890b2353e2bbbb7658699ded05707770712b0214
5
5
  SHA512:
6
- metadata.gz: cb07ca2bc0d1ffa96cd91d4961ed570b6ca174f132bc1bf7aee5ccbfb4ab3263828d91e4fd74ef181eb0c2dc4b4e11db5d0e4067015db53381ff5402543ecd59
7
- data.tar.gz: de346d24ea5f6f10296f19bda564b95709df153576925583a0ae67983d070e718e4961591ff815689cfd22f531e6928e7b3b41d1e1674910a9be57c774f991b2
6
+ metadata.gz: b3885f5e7c549f82e67f63673a43edeb8ae5936d0fca0db51ce34f70545af9e4fced59c45e7a14e057bbead5d0ba3d623e0ea00eaeaa6dc6ada8251163ce007d
7
+ data.tar.gz: 0ae81346f82201103017dde249a4e45122f9776af0d4f529379fde7438d9dd6259e9a91213fb48d169ee3a6a1c083f054ad30f6deb23c728c55940f9575f514a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.30.0 (2022-06-12)
4
+
5
+ * Regenerated from discovery document revision 20220603
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.29.0 (2022-05-16)
4
9
 
5
10
  * Regenerated from discovery document revision 20220505
@@ -232,6 +232,27 @@ module Google
232
232
  end
233
233
  end
234
234
 
235
+ # ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
236
+ class ApplianceCluster
237
+ include Google::Apis::Core::Hashable
238
+
239
+ # Immutable. Self-link of the GCP resource for the Appliance Cluster. For
240
+ # example: //transferappliance.googleapis.com/projects/my-project/locations/us-
241
+ # west1-a/appliances/my-appliance
242
+ # Corresponds to the JSON property `resourceLink`
243
+ # @return [String]
244
+ attr_accessor :resource_link
245
+
246
+ def initialize(**args)
247
+ update!(**args)
248
+ end
249
+
250
+ # Update properties of this object
251
+ def update!(**args)
252
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
253
+ end
254
+ end
255
+
235
256
  # Specifies the audit configuration for a service. The configuration determines
236
257
  # which permission types are logged, and what identities, if any, are exempted
237
258
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -651,6 +672,11 @@ module Google
651
672
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementGitConfig]
652
673
  attr_accessor :git
653
674
 
675
+ # OCI repo configuration for a single cluster
676
+ # Corresponds to the JSON property `oci`
677
+ # @return [Google::Apis::GkehubV1alpha::ConfigManagementOciConfig]
678
+ attr_accessor :oci
679
+
654
680
  # Set to true to enable the Config Sync admission webhook to prevent drifts. If
655
681
  # set to `false`, disables the Config Sync admission webhook and does not
656
682
  # prevent drifts.
@@ -673,6 +699,7 @@ module Google
673
699
  def update!(**args)
674
700
  @enabled = args[:enabled] if args.key?(:enabled)
675
701
  @git = args[:git] if args.key?(:git)
702
+ @oci = args[:oci] if args.key?(:oci)
676
703
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
677
704
  @source_format = args[:source_format] if args.key?(:source_format)
678
705
  end
@@ -1214,6 +1241,52 @@ module Google
1214
1241
  end
1215
1242
  end
1216
1243
 
1244
+ # OCI repo configuration for a single cluster
1245
+ class ConfigManagementOciConfig
1246
+ include Google::Apis::Core::Hashable
1247
+
1248
+ # The GCP Service Account Email used for auth when secret_type is
1249
+ # gcpServiceAccount.
1250
+ # Corresponds to the JSON property `gcpServiceAccountEmail`
1251
+ # @return [String]
1252
+ attr_accessor :gcp_service_account_email
1253
+
1254
+ # The absolute path of the directory that contains the local resources. Default:
1255
+ # the root directory of the image.
1256
+ # Corresponds to the JSON property `policyDir`
1257
+ # @return [String]
1258
+ attr_accessor :policy_dir
1259
+
1260
+ # Type of secret configured for access to the Git repo.
1261
+ # Corresponds to the JSON property `secretType`
1262
+ # @return [String]
1263
+ attr_accessor :secret_type
1264
+
1265
+ # The OCI image repository URL for the package to sync from. e.g. `LOCATION-
1266
+ # docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
1267
+ # Corresponds to the JSON property `syncRepo`
1268
+ # @return [String]
1269
+ attr_accessor :sync_repo
1270
+
1271
+ # Period in seconds between consecutive syncs. Default: 15.
1272
+ # Corresponds to the JSON property `syncWaitSecs`
1273
+ # @return [Fixnum]
1274
+ attr_accessor :sync_wait_secs
1275
+
1276
+ def initialize(**args)
1277
+ update!(**args)
1278
+ end
1279
+
1280
+ # Update properties of this object
1281
+ def update!(**args)
1282
+ @gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
1283
+ @policy_dir = args[:policy_dir] if args.key?(:policy_dir)
1284
+ @secret_type = args[:secret_type] if args.key?(:secret_type)
1285
+ @sync_repo = args[:sync_repo] if args.key?(:sync_repo)
1286
+ @sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs)
1287
+ end
1288
+ end
1289
+
1217
1290
  # State information for an ACM's Operator
1218
1291
  class ConfigManagementOperatorState
1219
1292
  include Google::Apis::Core::Hashable
@@ -1274,6 +1347,13 @@ module Google
1274
1347
  attr_accessor :log_denies_enabled
1275
1348
  alias_method :log_denies_enabled?, :log_denies_enabled
1276
1349
 
1350
+ # PolicyControllerMonitoring specifies the backends Policy Controller should
1351
+ # export metrics to. For example, to specify metrics should be exported to Cloud
1352
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
1353
+ # Corresponds to the JSON property `monitoring`
1354
+ # @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerMonitoring]
1355
+ attr_accessor :monitoring
1356
+
1277
1357
  # Enable users to try out mutation for PolicyController.
1278
1358
  # Corresponds to the JSON property `mutationEnabled`
1279
1359
  # @return [Boolean]
@@ -1303,12 +1383,35 @@ module Google
1303
1383
  @enabled = args[:enabled] if args.key?(:enabled)
1304
1384
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
1305
1385
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
1386
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
1306
1387
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
1307
1388
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
1308
1389
  @template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed)
1309
1390
  end
1310
1391
  end
1311
1392
 
1393
+ # PolicyControllerMonitoring specifies the backends Policy Controller should
1394
+ # export metrics to. For example, to specify metrics should be exported to Cloud
1395
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
1396
+ class ConfigManagementPolicyControllerMonitoring
1397
+ include Google::Apis::Core::Hashable
1398
+
1399
+ # Specifies the list of backends Policy Controller will export to. An empty list
1400
+ # would effectively disable metrics export.
1401
+ # Corresponds to the JSON property `backends`
1402
+ # @return [Array<String>]
1403
+ attr_accessor :backends
1404
+
1405
+ def initialize(**args)
1406
+ update!(**args)
1407
+ end
1408
+
1409
+ # Update properties of this object
1410
+ def update!(**args)
1411
+ @backends = args[:backends] if args.key?(:backends)
1412
+ end
1413
+ end
1414
+
1312
1415
  # State for PolicyControllerState.
1313
1416
  class ConfigManagementPolicyControllerState
1314
1417
  include Google::Apis::Core::Hashable
@@ -2544,6 +2647,11 @@ module Google
2544
2647
  class MembershipEndpoint
2545
2648
  include Google::Apis::Core::Hashable
2546
2649
 
2650
+ # ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
2651
+ # Corresponds to the JSON property `applianceCluster`
2652
+ # @return [Google::Apis::GkehubV1alpha::ApplianceCluster]
2653
+ attr_accessor :appliance_cluster
2654
+
2547
2655
  # EdgeCluster contains information specific to Google Edge Clusters.
2548
2656
  # Corresponds to the JSON property `edgeCluster`
2549
2657
  # @return [Google::Apis::GkehubV1alpha::EdgeCluster]
@@ -2583,6 +2691,7 @@ module Google
2583
2691
 
2584
2692
  # Update properties of this object
2585
2693
  def update!(**args)
2694
+ @appliance_cluster = args[:appliance_cluster] if args.key?(:appliance_cluster)
2586
2695
  @edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
2587
2696
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
2588
2697
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
@@ -3500,6 +3609,31 @@ module Google
3500
3609
  end
3501
3610
  end
3502
3611
 
3612
+ # Status of data plane management. Only reported per-member.
3613
+ class ServiceMeshDataPlaneManagement
3614
+ include Google::Apis::Core::Hashable
3615
+
3616
+ # Explanation of the status.
3617
+ # Corresponds to the JSON property `details`
3618
+ # @return [Array<Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails>]
3619
+ attr_accessor :details
3620
+
3621
+ # Lifecycle status of data plane management.
3622
+ # Corresponds to the JSON property `state`
3623
+ # @return [String]
3624
+ attr_accessor :state
3625
+
3626
+ def initialize(**args)
3627
+ update!(**args)
3628
+ end
3629
+
3630
+ # Update properties of this object
3631
+ def update!(**args)
3632
+ @details = args[:details] if args.key?(:details)
3633
+ @state = args[:state] if args.key?(:state)
3634
+ end
3635
+ end
3636
+
3503
3637
  # **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub
3504
3638
  # Controller.
3505
3639
  class ServiceMeshFeatureState
@@ -3567,6 +3701,11 @@ module Google
3567
3701
  # @return [Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement]
3568
3702
  attr_accessor :control_plane_management
3569
3703
 
3704
+ # Status of data plane management. Only reported per-member.
3705
+ # Corresponds to the JSON property `dataPlaneManagement`
3706
+ # @return [Google::Apis::GkehubV1alpha::ServiceMeshDataPlaneManagement]
3707
+ attr_accessor :data_plane_management
3708
+
3570
3709
  def initialize(**args)
3571
3710
  update!(**args)
3572
3711
  end
@@ -3576,6 +3715,7 @@ module Google
3576
3715
  @analysis_messages = args[:analysis_messages] if args.key?(:analysis_messages)
3577
3716
  @config_api_version = args[:config_api_version] if args.key?(:config_api_version)
3578
3717
  @control_plane_management = args[:control_plane_management] if args.key?(:control_plane_management)
3718
+ @data_plane_management = args[:data_plane_management] if args.key?(:data_plane_management)
3579
3719
  end
3580
3720
  end
3581
3721
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.29.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.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220505"
25
+ REVISION = "20220603"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class ApplianceCluster
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class AuditConfig
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -232,6 +238,12 @@ module Google
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
241
+ class ConfigManagementOciConfig
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
235
247
  class ConfigManagementOperatorState
236
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
249
 
@@ -244,6 +256,12 @@ module Google
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class ConfigManagementPolicyControllerMonitoring
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
247
265
  class ConfigManagementPolicyControllerState
248
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
267
 
@@ -580,6 +598,12 @@ module Google
580
598
  include Google::Apis::Core::JsonObjectSupport
581
599
  end
582
600
 
601
+ class ServiceMeshDataPlaneManagement
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
583
607
  class ServiceMeshFeatureState
584
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
609
 
@@ -724,6 +748,13 @@ module Google
724
748
  end
725
749
  end
726
750
 
751
+ class ApplianceCluster
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :resource_link, as: 'resourceLink'
755
+ end
756
+ end
757
+
727
758
  class AuditConfig
728
759
  # @private
729
760
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -839,6 +870,8 @@ module Google
839
870
  property :enabled, as: 'enabled'
840
871
  property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
841
872
 
873
+ property :oci, as: 'oci', class: Google::Apis::GkehubV1alpha::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementOciConfig::Representation
874
+
842
875
  property :prevent_drift, as: 'preventDrift'
843
876
  property :source_format, as: 'sourceFormat'
844
877
  end
@@ -1001,6 +1034,17 @@ module Google
1001
1034
  end
1002
1035
  end
1003
1036
 
1037
+ class ConfigManagementOciConfig
1038
+ # @private
1039
+ class Representation < Google::Apis::Core::JsonRepresentation
1040
+ property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
1041
+ property :policy_dir, as: 'policyDir'
1042
+ property :secret_type, as: 'secretType'
1043
+ property :sync_repo, as: 'syncRepo'
1044
+ property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
1045
+ end
1046
+ end
1047
+
1004
1048
  class ConfigManagementOperatorState
1005
1049
  # @private
1006
1050
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1018,12 +1062,21 @@ module Google
1018
1062
  property :enabled, as: 'enabled'
1019
1063
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
1020
1064
  property :log_denies_enabled, as: 'logDeniesEnabled'
1065
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerMonitoring, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerMonitoring::Representation
1066
+
1021
1067
  property :mutation_enabled, as: 'mutationEnabled'
1022
1068
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1023
1069
  property :template_library_installed, as: 'templateLibraryInstalled'
1024
1070
  end
1025
1071
  end
1026
1072
 
1073
+ class ConfigManagementPolicyControllerMonitoring
1074
+ # @private
1075
+ class Representation < Google::Apis::Core::JsonRepresentation
1076
+ collection :backends, as: 'backends'
1077
+ end
1078
+ end
1079
+
1027
1080
  class ConfigManagementPolicyControllerState
1028
1081
  # @private
1029
1082
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1354,6 +1407,8 @@ module Google
1354
1407
  class MembershipEndpoint
1355
1408
  # @private
1356
1409
  class Representation < Google::Apis::Core::JsonRepresentation
1410
+ property :appliance_cluster, as: 'applianceCluster', class: Google::Apis::GkehubV1alpha::ApplianceCluster, decorator: Google::Apis::GkehubV1alpha::ApplianceCluster::Representation
1411
+
1357
1412
  property :edge_cluster, as: 'edgeCluster', class: Google::Apis::GkehubV1alpha::EdgeCluster, decorator: Google::Apis::GkehubV1alpha::EdgeCluster::Representation
1358
1413
 
1359
1414
  property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1alpha::GkeCluster, decorator: Google::Apis::GkehubV1alpha::GkeCluster::Representation
@@ -1614,6 +1669,15 @@ module Google
1614
1669
  end
1615
1670
  end
1616
1671
 
1672
+ class ServiceMeshDataPlaneManagement
1673
+ # @private
1674
+ class Representation < Google::Apis::Core::JsonRepresentation
1675
+ collection :details, as: 'details', class: Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails, decorator: Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails::Representation
1676
+
1677
+ property :state, as: 'state'
1678
+ end
1679
+ end
1680
+
1617
1681
  class ServiceMeshFeatureState
1618
1682
  # @private
1619
1683
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1638,6 +1702,8 @@ module Google
1638
1702
  property :config_api_version, as: 'configApiVersion'
1639
1703
  property :control_plane_management, as: 'controlPlaneManagement', class: Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement, decorator: Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement::Representation
1640
1704
 
1705
+ property :data_plane_management, as: 'dataPlaneManagement', class: Google::Apis::GkehubV1alpha::ServiceMeshDataPlaneManagement, decorator: Google::Apis::GkehubV1alpha::ServiceMeshDataPlaneManagement::Representation
1706
+
1641
1707
  end
1642
1708
  end
1643
1709
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.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-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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
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 V1alpha