google-apis-gkehub_v1 0.15.0 → 0.19.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: 609996b51ec3a826d1eb6de33f2318eb5c7a5414f7c2425fcf677398ab3d072f
4
- data.tar.gz: 61a07ebfd395bbc384df28a1ec0f88531cc44221715a255d5151a7632f069973
3
+ metadata.gz: 23c6123c6729108b028965b2094e5318c4d23a5eef5f4acea67f15c531df1516
4
+ data.tar.gz: 2cce1d26bf673ed67cdfd70aff05379faadbbb6845bcaca4f8e51f8f65dc5ced
5
5
  SHA512:
6
- metadata.gz: 360b76965b2d178fb93d2b5c07b28c582af4e46a97b162c22deaf941fe2920148de6db17776f30c189d006a7707453cf94ea5d6632988ffaf0323041a3c6173a
7
- data.tar.gz: a45e91b07742e2713fbeadff667c8687a33e0dd1fa8be2368bede28fedeb3ea097651738de133d759270e1cbb693fe4797b3dcbaead5e2e6dd3712bafbfd4a65
6
+ metadata.gz: cd494b8b4859dd08d5b89fef7449ad1eecd5b9f5ed2f2b9254fdb2d23f2b6a7d2aa778fc1b89825dd984892b39ca4a1a730ada37f370e81794d23c3eed342bfe
7
+ data.tar.gz: 0fd72b3e9d62744cb56e4c7051ce1bf45819ead0286bce25a26402578a89b5a5756267277af8fce77f21808644a9ef5f8dd8dd1c78a533245ea62c18fab81a66
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.19.0 (2022-01-15)
4
+
5
+ * Regenerated from discovery document revision 20220107
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.18.0 (2021-12-16)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.17.0 (2021-12-12)
13
+
14
+ * Regenerated from discovery document revision 20211203
15
+
16
+ ### v0.16.0 (2021-11-13)
17
+
18
+ * Regenerated from discovery document revision 20211105
19
+
3
20
  ### v0.15.0 (2021-10-30)
4
21
 
5
22
  * Regenerated from discovery document revision 20211021
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/gkehub_v1"
51
51
  client = Google::Apis::GkehubV1::GKEHubService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -335,6 +335,14 @@ module Google
335
335
  # @return [Google::Apis::GkehubV1::ConfigManagementGitConfig]
336
336
  attr_accessor :git
337
337
 
338
+ # Set to true to enable the Config Sync admission webhook to prevent drifts. If
339
+ # set to `false`, disables the Config Sync admission webhook and does not
340
+ # prevent drifts.
341
+ # Corresponds to the JSON property `preventDrift`
342
+ # @return [Boolean]
343
+ attr_accessor :prevent_drift
344
+ alias_method :prevent_drift?, :prevent_drift
345
+
338
346
  # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
339
347
  # mode.
340
348
  # Corresponds to the JSON property `sourceFormat`
@@ -349,6 +357,7 @@ module Google
349
357
  def update!(**args)
350
358
  @enabled = args[:enabled] if args.key?(:enabled)
351
359
  @git = args[:git] if args.key?(:git)
360
+ @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
352
361
  @source_format = args[:source_format] if args.key?(:source_format)
353
362
  end
354
363
  end
@@ -577,7 +586,9 @@ module Google
577
586
  # @return [String]
578
587
  attr_accessor :policy_dir
579
588
 
580
- # Type of secret configured for access to the Git repo.
589
+ # Type of secret configured for access to the Git repo. Must be one of ssh,
590
+ # cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this
591
+ # is case-sensitive. Required.
581
592
  # Corresponds to the JSON property `secretType`
582
593
  # @return [String]
583
594
  attr_accessor :secret_type
@@ -1480,6 +1491,61 @@ module Google
1480
1491
  end
1481
1492
  end
1482
1493
 
1494
+ # KubernetesResource contains the YAML manifests and configuration for
1495
+ # Membership Kubernetes resources in the cluster. After CreateMembership or
1496
+ # UpdateMembership, these resources should be re-applied in the cluster.
1497
+ class KubernetesResource
1498
+ include Google::Apis::Core::Hashable
1499
+
1500
+ # Output only. The Kubernetes resources for installing the GKE Connect agent
1501
+ # This field is only populated in the Membership returned from a successful long-
1502
+ # running operation from CreateMembership or UpdateMembership. It is not
1503
+ # populated during normal GetMembership or ListMemberships requests. To get the
1504
+ # resource manifest after the initial registration, the caller should make a
1505
+ # UpdateMembership call with an empty field mask.
1506
+ # Corresponds to the JSON property `connectResources`
1507
+ # @return [Array<Google::Apis::GkehubV1::ResourceManifest>]
1508
+ attr_accessor :connect_resources
1509
+
1510
+ # Input only. The YAML representation of the Membership CR. This field is
1511
+ # ignored for GKE clusters where Hub can read the CR directly. Callers should
1512
+ # provide the CR that is currently present in the cluster during
1513
+ # CreateMembership or UpdateMembership, or leave this field empty if none exists.
1514
+ # The CR manifest is used to validate the cluster has not been registered with
1515
+ # another Membership.
1516
+ # Corresponds to the JSON property `membershipCrManifest`
1517
+ # @return [String]
1518
+ attr_accessor :membership_cr_manifest
1519
+
1520
+ # Output only. Additional Kubernetes resources that need to be applied to the
1521
+ # cluster after Membership creation, and after every update. This field is only
1522
+ # populated in the Membership returned from a successful long-running operation
1523
+ # from CreateMembership or UpdateMembership. It is not populated during normal
1524
+ # GetMembership or ListMemberships requests. To get the resource manifest after
1525
+ # the initial registration, the caller should make a UpdateMembership call with
1526
+ # an empty field mask.
1527
+ # Corresponds to the JSON property `membershipResources`
1528
+ # @return [Array<Google::Apis::GkehubV1::ResourceManifest>]
1529
+ attr_accessor :membership_resources
1530
+
1531
+ # ResourceOptions represent options for Kubernetes resource generation.
1532
+ # Corresponds to the JSON property `resourceOptions`
1533
+ # @return [Google::Apis::GkehubV1::ResourceOptions]
1534
+ attr_accessor :resource_options
1535
+
1536
+ def initialize(**args)
1537
+ update!(**args)
1538
+ end
1539
+
1540
+ # Update properties of this object
1541
+ def update!(**args)
1542
+ @connect_resources = args[:connect_resources] if args.key?(:connect_resources)
1543
+ @membership_cr_manifest = args[:membership_cr_manifest] if args.key?(:membership_cr_manifest)
1544
+ @membership_resources = args[:membership_resources] if args.key?(:membership_resources)
1545
+ @resource_options = args[:resource_options] if args.key?(:resource_options)
1546
+ end
1547
+ end
1548
+
1483
1549
  # Response message for the `GkeHub.ListFeatures` method.
1484
1550
  class ListFeaturesResponse
1485
1551
  include Google::Apis::Core::Hashable
@@ -1755,6 +1821,13 @@ module Google
1755
1821
  # @return [Google::Apis::GkehubV1::KubernetesMetadata]
1756
1822
  attr_accessor :kubernetes_metadata
1757
1823
 
1824
+ # KubernetesResource contains the YAML manifests and configuration for
1825
+ # Membership Kubernetes resources in the cluster. After CreateMembership or
1826
+ # UpdateMembership, these resources should be re-applied in the cluster.
1827
+ # Corresponds to the JSON property `kubernetesResource`
1828
+ # @return [Google::Apis::GkehubV1::KubernetesResource]
1829
+ attr_accessor :kubernetes_resource
1830
+
1758
1831
  # MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
1759
1832
  # Corresponds to the JSON property `multiCloudCluster`
1760
1833
  # @return [Google::Apis::GkehubV1::MultiCloudCluster]
@@ -1773,6 +1846,7 @@ module Google
1773
1846
  def update!(**args)
1774
1847
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
1775
1848
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
1849
+ @kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
1776
1850
  @multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
1777
1851
  @on_prem_cluster = args[:on_prem_cluster] if args.key?(:on_prem_cluster)
1778
1852
  end
@@ -2156,6 +2230,73 @@ module Google
2156
2230
  end
2157
2231
  end
2158
2232
 
2233
+ # ResourceManifest represents a single Kubernetes resource to be applied to the
2234
+ # cluster.
2235
+ class ResourceManifest
2236
+ include Google::Apis::Core::Hashable
2237
+
2238
+ # Whether the resource provided in the manifest is `cluster_scoped`. If unset,
2239
+ # the manifest is assumed to be namespace scoped. This field is used for REST
2240
+ # mapping when applying the resource in a cluster.
2241
+ # Corresponds to the JSON property `clusterScoped`
2242
+ # @return [Boolean]
2243
+ attr_accessor :cluster_scoped
2244
+ alias_method :cluster_scoped?, :cluster_scoped
2245
+
2246
+ # YAML manifest of the resource.
2247
+ # Corresponds to the JSON property `manifest`
2248
+ # @return [String]
2249
+ attr_accessor :manifest
2250
+
2251
+ def initialize(**args)
2252
+ update!(**args)
2253
+ end
2254
+
2255
+ # Update properties of this object
2256
+ def update!(**args)
2257
+ @cluster_scoped = args[:cluster_scoped] if args.key?(:cluster_scoped)
2258
+ @manifest = args[:manifest] if args.key?(:manifest)
2259
+ end
2260
+ end
2261
+
2262
+ # ResourceOptions represent options for Kubernetes resource generation.
2263
+ class ResourceOptions
2264
+ include Google::Apis::Core::Hashable
2265
+
2266
+ # Optional. The Connect agent version to use for connect_resources. Defaults to
2267
+ # the latest GKE Connect version. The version must be a currently supported
2268
+ # version, obsolete versions will be rejected.
2269
+ # Corresponds to the JSON property `connectVersion`
2270
+ # @return [String]
2271
+ attr_accessor :connect_version
2272
+
2273
+ # Optional. Major version of the Kubernetes cluster. This is only used to
2274
+ # determine which version to use for the CustomResourceDefinition resources, `
2275
+ # apiextensions/v1beta1` or`apiextensions/v1`.
2276
+ # Corresponds to the JSON property `k8sVersion`
2277
+ # @return [String]
2278
+ attr_accessor :k8s_version
2279
+
2280
+ # Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
2281
+ # CustomResourceDefinition resources. This option should be set for clusters
2282
+ # with Kubernetes apiserver versions <1.16.
2283
+ # Corresponds to the JSON property `v1beta1Crd`
2284
+ # @return [Boolean]
2285
+ attr_accessor :v1beta1_crd
2286
+ alias_method :v1beta1_crd?, :v1beta1_crd
2287
+
2288
+ def initialize(**args)
2289
+ update!(**args)
2290
+ end
2291
+
2292
+ # Update properties of this object
2293
+ def update!(**args)
2294
+ @connect_version = args[:connect_version] if args.key?(:connect_version)
2295
+ @k8s_version = args[:k8s_version] if args.key?(:k8s_version)
2296
+ @v1beta1_crd = args[:v1beta1_crd] if args.key?(:v1beta1_crd)
2297
+ end
2298
+ end
2299
+
2159
2300
  # Request message for `SetIamPolicy` method.
2160
2301
  class SetIamPolicyRequest
2161
2302
  include Google::Apis::Core::Hashable
@@ -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.15.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211021"
25
+ REVISION = "20220107"
26
26
  end
27
27
  end
28
28
  end
@@ -262,6 +262,12 @@ module Google
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
+ class KubernetesResource
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
265
271
  class ListFeaturesResponse
266
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
273
 
@@ -358,6 +364,18 @@ module Google
358
364
  include Google::Apis::Core::JsonObjectSupport
359
365
  end
360
366
 
367
+ class ResourceManifest
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class ResourceOptions
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
361
379
  class SetIamPolicyRequest
362
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
381
 
@@ -471,6 +489,7 @@ module Google
471
489
  property :enabled, as: 'enabled'
472
490
  property :git, as: 'git', class: Google::Apis::GkehubV1::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1::ConfigManagementGitConfig::Representation
473
491
 
492
+ property :prevent_drift, as: 'preventDrift'
474
493
  property :source_format, as: 'sourceFormat'
475
494
  end
476
495
  end
@@ -789,6 +808,19 @@ module Google
789
808
  end
790
809
  end
791
810
 
811
+ class KubernetesResource
812
+ # @private
813
+ class Representation < Google::Apis::Core::JsonRepresentation
814
+ collection :connect_resources, as: 'connectResources', class: Google::Apis::GkehubV1::ResourceManifest, decorator: Google::Apis::GkehubV1::ResourceManifest::Representation
815
+
816
+ property :membership_cr_manifest, as: 'membershipCrManifest'
817
+ collection :membership_resources, as: 'membershipResources', class: Google::Apis::GkehubV1::ResourceManifest, decorator: Google::Apis::GkehubV1::ResourceManifest::Representation
818
+
819
+ property :resource_options, as: 'resourceOptions', class: Google::Apis::GkehubV1::ResourceOptions, decorator: Google::Apis::GkehubV1::ResourceOptions::Representation
820
+
821
+ end
822
+ end
823
+
792
824
  class ListFeaturesResponse
793
825
  # @private
794
826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -865,6 +897,8 @@ module Google
865
897
 
866
898
  property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1::KubernetesMetadata, decorator: Google::Apis::GkehubV1::KubernetesMetadata::Representation
867
899
 
900
+ property :kubernetes_resource, as: 'kubernetesResource', class: Google::Apis::GkehubV1::KubernetesResource, decorator: Google::Apis::GkehubV1::KubernetesResource::Representation
901
+
868
902
  property :multi_cloud_cluster, as: 'multiCloudCluster', class: Google::Apis::GkehubV1::MultiCloudCluster, decorator: Google::Apis::GkehubV1::MultiCloudCluster::Representation
869
903
 
870
904
  property :on_prem_cluster, as: 'onPremCluster', class: Google::Apis::GkehubV1::OnPremCluster, decorator: Google::Apis::GkehubV1::OnPremCluster::Representation
@@ -960,6 +994,23 @@ module Google
960
994
  end
961
995
  end
962
996
 
997
+ class ResourceManifest
998
+ # @private
999
+ class Representation < Google::Apis::Core::JsonRepresentation
1000
+ property :cluster_scoped, as: 'clusterScoped'
1001
+ property :manifest, as: 'manifest'
1002
+ end
1003
+ end
1004
+
1005
+ class ResourceOptions
1006
+ # @private
1007
+ class Representation < Google::Apis::Core::JsonRepresentation
1008
+ property :connect_version, as: 'connectVersion'
1009
+ property :k8s_version, as: 'k8sVersion'
1010
+ property :v1beta1_crd, as: 'v1beta1Crd'
1011
+ end
1012
+ end
1013
+
963
1014
  class SetIamPolicyRequest
964
1015
  # @private
965
1016
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -124,22 +124,22 @@ module Google
124
124
 
125
125
  # Adds a new Feature.
126
126
  # @param [String] parent
127
- # The parent (project and location) where the Feature will be created. Specified
128
- # in the format `projects/*/locations/*`.
127
+ # Required. The parent (project and location) where the Feature will be created.
128
+ # Specified in the format `projects/*/locations/*`.
129
129
  # @param [Google::Apis::GkehubV1::Feature] feature_object
130
130
  # @param [String] feature_id
131
131
  # The ID of the feature to create.
132
132
  # @param [String] request_id
133
- # Optional. A request ID to identify requests. Specify a unique request ID so
134
- # that if you must retry your request, the server will know to ignore the
135
- # request if it has already been completed. The server will guarantee that for
136
- # at least 60 minutes after the first request. For example, consider a situation
137
- # where you make an initial request and the request times out. If you make the
138
- # request again with the same request ID, the server can check if original
139
- # operation with the same request ID was received, and if so, will ignore the
140
- # second request. This prevents clients from accidentally creating duplicate
141
- # commitments. The request ID must be a valid UUID with the exception that zero
142
- # UUID is not supported (00000000-0000-0000-0000-000000000000).
133
+ # A request ID to identify requests. Specify a unique request ID so that if you
134
+ # must retry your request, the server will know to ignore the request if it has
135
+ # already been completed. The server will guarantee that for at least 60 minutes
136
+ # after the first request. For example, consider a situation where you make an
137
+ # initial request and the request times out. If you make the request again with
138
+ # the same request ID, the server can check if original operation with the same
139
+ # request ID was received, and if so, will ignore the second request. This
140
+ # prevents clients from accidentally creating duplicate commitments. The request
141
+ # ID must be a valid UUID with the exception that zero UUID is not supported (
142
+ # 00000000-0000-0000-0000-000000000000).
143
143
  # @param [String] fields
144
144
  # Selector specifying which fields to include in a partial response.
145
145
  # @param [String] quota_user
@@ -173,7 +173,8 @@ module Google
173
173
 
174
174
  # Removes a Feature.
175
175
  # @param [String] name
176
- # The Feature resource name in the format `projects/*/locations/*/features/*`.
176
+ # Required. The Feature resource name in the format `projects/*/locations/*/
177
+ # features/*`.
177
178
  # @param [Boolean] force
178
179
  # If set to true, the delete will ignore any outstanding resources for this
179
180
  # Feature (that is, `FeatureState.has_resources` is set to true). These
@@ -220,7 +221,8 @@ module Google
220
221
 
221
222
  # Gets details of a single Feature.
222
223
  # @param [String] name
223
- # The Feature resource name in the format `projects/*/locations/*/features/*`
224
+ # Required. The Feature resource name in the format `projects/*/locations/*/
225
+ # features/*`
224
226
  # @param [String] fields
225
227
  # Selector specifying which fields to include in a partial response.
226
228
  # @param [String] quota_user
@@ -254,13 +256,16 @@ module Google
254
256
  # REQUIRED: The resource for which the policy is being requested. See the
255
257
  # operation documentation for the appropriate value for this field.
256
258
  # @param [Fixnum] options_requested_policy_version
257
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
258
- # 3. Requests specifying an invalid value will be rejected. Requests for
259
- # policies with any conditional bindings must specify version 3. Policies
260
- # without any conditional bindings may specify any valid value or leave the
261
- # field unset. To learn which resources support conditions in their IAM policies,
262
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
263
- # resource-policies).
259
+ # Optional. The maximum policy version that will be used to format the policy.
260
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
261
+ # rejected. Requests for policies with any conditional role bindings must
262
+ # specify version 3. Policies with no conditional role bindings may specify any
263
+ # valid value or leave the field unset. The policy in the response might use the
264
+ # policy version that you specified, or it might use a lower policy version. For
265
+ # example, if you specify version 3, but the policy has no conditional role
266
+ # bindings, the response uses version 1. To learn which resources support
267
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
268
+ # google.com/iam/help/conditions/resource-policies).
264
269
  # @param [String] fields
265
270
  # Selector specifying which fields to include in a partial response.
266
271
  # @param [String] quota_user
@@ -291,8 +296,8 @@ module Google
291
296
 
292
297
  # Lists Features in a given project and location.
293
298
  # @param [String] parent
294
- # The parent (project and location) where the Features will be listed. Specified
295
- # in the format `projects/*/locations/*`.
299
+ # Required. The parent (project and location) where the Features will be listed.
300
+ # Specified in the format `projects/*/locations/*`.
296
301
  # @param [String] filter
297
302
  # Lists Features that match the filter expression, following the syntax outlined
298
303
  # in https://google.aip.dev/160. Examples: - Feature with the name "servicemesh"
@@ -342,19 +347,20 @@ module Google
342
347
 
343
348
  # Updates an existing Feature.
344
349
  # @param [String] name
345
- # The Feature resource name in the format `projects/*/locations/*/features/*`.
350
+ # Required. The Feature resource name in the format `projects/*/locations/*/
351
+ # features/*`.
346
352
  # @param [Google::Apis::GkehubV1::Feature] feature_object
347
353
  # @param [String] request_id
348
- # Optional. A request ID to identify requests. Specify a unique request ID so
349
- # that if you must retry your request, the server will know to ignore the
350
- # request if it has already been completed. The server will guarantee that for
351
- # at least 60 minutes after the first request. For example, consider a situation
352
- # where you make an initial request and the request times out. If you make the
353
- # request again with the same request ID, the server can check if original
354
- # operation with the same request ID was received, and if so, will ignore the
355
- # second request. This prevents clients from accidentally creating duplicate
356
- # commitments. The request ID must be a valid UUID with the exception that zero
357
- # UUID is not supported (00000000-0000-0000-0000-000000000000).
354
+ # A request ID to identify requests. Specify a unique request ID so that if you
355
+ # must retry your request, the server will know to ignore the request if it has
356
+ # already been completed. The server will guarantee that for at least 60 minutes
357
+ # after the first request. For example, consider a situation where you make an
358
+ # initial request and the request times out. If you make the request again with
359
+ # the same request ID, the server can check if original operation with the same
360
+ # request ID was received, and if so, will ignore the second request. This
361
+ # prevents clients from accidentally creating duplicate commitments. The request
362
+ # ID must be a valid UUID with the exception that zero UUID is not supported (
363
+ # 00000000-0000-0000-0000-000000000000).
358
364
  # @param [String] update_mask
359
365
  # Mask of fields to update.
360
366
  # @param [String] fields
@@ -662,13 +668,16 @@ module Google
662
668
  # REQUIRED: The resource for which the policy is being requested. See the
663
669
  # operation documentation for the appropriate value for this field.
664
670
  # @param [Fixnum] options_requested_policy_version
665
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
666
- # 3. Requests specifying an invalid value will be rejected. Requests for
667
- # policies with any conditional bindings must specify version 3. Policies
668
- # without any conditional bindings may specify any valid value or leave the
669
- # field unset. To learn which resources support conditions in their IAM policies,
670
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
671
- # resource-policies).
671
+ # Optional. The maximum policy version that will be used to format the policy.
672
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
673
+ # rejected. Requests for policies with any conditional role bindings must
674
+ # specify version 3. Policies with no conditional role bindings may specify any
675
+ # valid value or leave the field unset. The policy in the response might use the
676
+ # policy version that you specified, or it might use a lower policy version. For
677
+ # example, if you specify version 3, but the policy has no conditional role
678
+ # bindings, the response uses version 1. To learn which resources support
679
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
680
+ # google.com/iam/help/conditions/resource-policies).
672
681
  # @param [String] fields
673
682
  # Selector specifying which fields to include in a partial response.
674
683
  # @param [String] quota_user
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.15.0
4
+ version: 0.19.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-01 00:00:00.000000000 Z
11
+ date: 2022-01-17 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.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.19.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.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1