google-apis-gkehub_v1 0.39.0 → 0.41.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: f3356ec5f0d59a2fc805bc87d6b1a0dac0180e4753015f75db9bf5167d6512f1
4
- data.tar.gz: cd95f7507ecc98dde8059657a642abba17037788ab9c5124ca50763a4d8fa41f
3
+ metadata.gz: 9d6af36b1994965d5aa46363501db7560117a4c84fc51baf8734023e43c869ea
4
+ data.tar.gz: 618d7b19bd853ed2963bb283736ef66dc9e6e0d509270e05824f7056aa508ab4
5
5
  SHA512:
6
- metadata.gz: 4e6c3576798acf617e5c3f0ec6445a60f7180eab2c85807296f8136315c994cc0d5e076a41eda642eb45d04c2a2c8f1be211874968d4ecefdb4dc3657f869cb7
7
- data.tar.gz: 5876ad5a5014d7316f4070d074c09dc4fc07be47f96490cab28ef9482629c1371f08066e999c55837f9e8494da917b78c964a3363d2dc4e82730b1fc3fb1299b
6
+ metadata.gz: fc03456066bcaaf833b7aab5408f5ff8ed8bb73f784e44a92c3ed4d361b04c9f627d86b5d15b6f91664311c6cbd6525d87d164f93d7269a4d968e0c77cde7199
7
+ data.tar.gz: 1ffbfce1b69b703f064b5b48ac64bac6d839a3aa9bb3c80d5319f78540c4e448c4034d9d879d9b8104b729e99a820ac84ef44a8a54aae9030171fd54476666e0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.41.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230206
6
+
7
+ ### v0.40.0 (2023-02-05)
8
+
9
+ * Regenerated from discovery document revision 20230129
10
+
3
11
  ### v0.39.0 (2023-01-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20230119
@@ -238,22 +238,22 @@ module Google
238
238
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
239
239
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
240
240
  # email address that represents a Google group. For example, `admins@example.com`
241
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
242
- # identifier) representing a user that has been recently deleted. For example, `
243
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
244
- # value reverts to `user:`emailid`` and the recovered user retains the role in
245
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
246
- # address (plus unique identifier) representing a service account that has been
247
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
241
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
242
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
243
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
244
+ # representing a user that has been recently deleted. For example, `alice@
245
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
246
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
247
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
248
+ # (plus unique identifier) representing a service account that has been recently
249
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
248
250
  # 123456789012345678901`. If the service account is undeleted, this value
249
251
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
250
252
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
251
253
  # An email address (plus unique identifier) representing a Google group that has
252
254
  # been recently deleted. For example, `admins@example.com?uid=
253
255
  # 123456789012345678901`. If the group is recovered, this value reverts to `
254
- # group:`emailid`` and the recovered group retains the role in the binding. * `
255
- # domain:`domain``: The G Suite domain (primary) that represents all the users
256
- # of that domain. For example, `google.com` or `example.com`.
256
+ # group:`emailid`` and the recovered group retains the role in the binding.
257
257
  # Corresponds to the JSON property `members`
258
258
  # @return [Array<String>]
259
259
  attr_accessor :members
@@ -1103,6 +1103,25 @@ module Google
1103
1103
  end
1104
1104
  end
1105
1105
 
1106
+ # State for the migration of PolicyController from ACM -> PoCo Hub.
1107
+ class ConfigManagementPolicyControllerMigration
1108
+ include Google::Apis::Core::Hashable
1109
+
1110
+ # Stage of the migration.
1111
+ # Corresponds to the JSON property `stage`
1112
+ # @return [String]
1113
+ attr_accessor :stage
1114
+
1115
+ def initialize(**args)
1116
+ update!(**args)
1117
+ end
1118
+
1119
+ # Update properties of this object
1120
+ def update!(**args)
1121
+ @stage = args[:stage] if args.key?(:stage)
1122
+ end
1123
+ end
1124
+
1106
1125
  # PolicyControllerMonitoring specifies the backends Policy Controller should
1107
1126
  # export metrics to. For example, to specify metrics should be exported to Cloud
1108
1127
  # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
@@ -1134,6 +1153,11 @@ module Google
1134
1153
  # @return [Google::Apis::GkehubV1::ConfigManagementGatekeeperDeploymentState]
1135
1154
  attr_accessor :deployment_state
1136
1155
 
1156
+ # State for the migration of PolicyController from ACM -> PoCo Hub.
1157
+ # Corresponds to the JSON property `migration`
1158
+ # @return [Google::Apis::GkehubV1::ConfigManagementPolicyControllerMigration]
1159
+ attr_accessor :migration
1160
+
1137
1161
  # The build version of Gatekeeper Policy Controller is using.
1138
1162
  # Corresponds to the JSON property `version`
1139
1163
  # @return [Google::Apis::GkehubV1::ConfigManagementPolicyControllerVersion]
@@ -1146,6 +1170,7 @@ module Google
1146
1170
  # Update properties of this object
1147
1171
  def update!(**args)
1148
1172
  @deployment_state = args[:deployment_state] if args.key?(:deployment_state)
1173
+ @migration = args[:migration] if args.key?(:migration)
1149
1174
  @version = args[:version] if args.key?(:version)
1150
1175
  end
1151
1176
  end
@@ -2360,6 +2385,13 @@ module Google
2360
2385
  # @return [Google::Apis::GkehubV1::GkeCluster]
2361
2386
  attr_accessor :gke_cluster
2362
2387
 
2388
+ # Output only. Whether the lifecycle of this membership is managed by a google
2389
+ # cluster platform service.
2390
+ # Corresponds to the JSON property `googleManaged`
2391
+ # @return [Boolean]
2392
+ attr_accessor :google_managed
2393
+ alias_method :google_managed?, :google_managed
2394
+
2363
2395
  # KubernetesMetadata provides informational metadata for Memberships
2364
2396
  # representing Kubernetes clusters.
2365
2397
  # Corresponds to the JSON property `kubernetesMetadata`
@@ -2392,6 +2424,7 @@ module Google
2392
2424
  @appliance_cluster = args[:appliance_cluster] if args.key?(:appliance_cluster)
2393
2425
  @edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
2394
2426
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
2427
+ @google_managed = args[:google_managed] if args.key?(:google_managed)
2395
2428
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
2396
2429
  @kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
2397
2430
  @multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230119"
25
+ REVISION = "20230206"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class ConfigManagementPolicyControllerMigration
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class ConfigManagementPolicyControllerMonitoring
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -835,6 +841,13 @@ module Google
835
841
  end
836
842
  end
837
843
 
844
+ class ConfigManagementPolicyControllerMigration
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ property :stage, as: 'stage'
848
+ end
849
+ end
850
+
838
851
  class ConfigManagementPolicyControllerMonitoring
839
852
  # @private
840
853
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -847,6 +860,8 @@ module Google
847
860
  class Representation < Google::Apis::Core::JsonRepresentation
848
861
  property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1::ConfigManagementGatekeeperDeploymentState, decorator: Google::Apis::GkehubV1::ConfigManagementGatekeeperDeploymentState::Representation
849
862
 
863
+ property :migration, as: 'migration', class: Google::Apis::GkehubV1::ConfigManagementPolicyControllerMigration, decorator: Google::Apis::GkehubV1::ConfigManagementPolicyControllerMigration::Representation
864
+
850
865
  property :version, as: 'version', class: Google::Apis::GkehubV1::ConfigManagementPolicyControllerVersion, decorator: Google::Apis::GkehubV1::ConfigManagementPolicyControllerVersion::Representation
851
866
 
852
867
  end
@@ -1181,6 +1196,7 @@ module Google
1181
1196
 
1182
1197
  property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1::GkeCluster, decorator: Google::Apis::GkehubV1::GkeCluster::Representation
1183
1198
 
1199
+ property :google_managed, as: 'googleManaged'
1184
1200
  property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1::KubernetesMetadata, decorator: Google::Apis::GkehubV1::KubernetesMetadata::Representation
1185
1201
 
1186
1202
  property :kubernetes_resource, as: 'kubernetesResource', class: Google::Apis::GkehubV1::KubernetesResource, decorator: Google::Apis::GkehubV1::KubernetesResource::Representation
@@ -713,7 +713,8 @@ module Google
713
713
  # Lists Memberships in a given project and location.
714
714
  # @param [String] parent
715
715
  # Required. The parent (project and location) where the Memberships will be
716
- # listed. Specified in the format `projects/*/locations/*`.
716
+ # listed. Specified in the format `projects/*/locations/*`. `projects/*/
717
+ # locations/-` list memberships in all the regions.
717
718
  # @param [String] filter
718
719
  # Optional. Lists Memberships that match the filter expression, following the
719
720
  # syntax outlined in https://google.aip.dev/160. Examples: - Name is `bar` in
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.39.0
4
+ version: 0.41.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: 2023-01-29 00:00:00.000000000 Z
11
+ date: 2023-02-12 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/main/generated/google-apis-gkehub_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.41.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: []