google-apis-gkehub_v1beta1 0.10.0 → 0.14.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: 3a48b1cba49a116d78bd9072e473f9b6a4048e67dabc5e6f4ec9bb2f47351862
4
- data.tar.gz: ce59948e6ef3742d8df74e8878087e65703d6ea06fe2ff1acb77300a237b087f
3
+ metadata.gz: 94a7f2efda71cf37281ec37b4267306721fb9e8c2b135bc1875a6439e97f20d3
4
+ data.tar.gz: 42b2a070f2e7b688e9ae87fc441bfdcb5ac2c7d0be5a93161e51efa8b88fec80
5
5
  SHA512:
6
- metadata.gz: c93ff29d92388479bd115b6024c178dff92f55a88f92919828341810108a3ea24a747650c68b3f6b7edf96fa90367039bb5f91fd4db9dc678de1b6025a456c67
7
- data.tar.gz: a764fa8b238d6f9f06bbb85623f7c52284a65e932d46a7d83b17d36afdc94fc94228787d50505adf5bdaf0a11eba4231469d6720ba3fe1a463d35f2f3213e0fe
6
+ metadata.gz: ea96a6150cf0894401dd5a77d553d4f8222b2311e9b03a2731d08baa8b68d63a2236025c5fd684b8bf308ba865350419c29af648be8cea64bbd2bdf71c53d145
7
+ data.tar.gz: d6935ffe771eb002bdb1705c8f49f17dcba88957085f18f8db780abdadaf0fff58be98c9292d2343b51031143f75ceaf92a8bd7983c1c778314572f231e94ddf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-gkehub_v1beta1
2
2
 
3
+ ### v0.14.0 (2022-01-30)
4
+
5
+ * Regenerated from discovery document revision 20220122
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.13.0 (2021-12-16)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.12.0 (2021-12-12)
13
+
14
+ * Regenerated from discovery document revision 20211203
15
+
16
+ ### v0.11.0 (2021-11-13)
17
+
18
+ * Regenerated from discovery document revision 20211105
19
+
3
20
  ### v0.10.0 (2021-10-24)
4
21
 
5
22
  * Regenerated from discovery document revision 20211015
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/gkehub_v1beta1"
51
51
  client = Google::Apis::GkehubV1beta1::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.
@@ -258,6 +258,27 @@ module Google
258
258
  end
259
259
  end
260
260
 
261
+ # EdgeCluster contains information specific to Google Edge Clusters.
262
+ class EdgeCluster
263
+ include Google::Apis::Core::Hashable
264
+
265
+ # Immutable. Self-link of the GCP resource for the Edge Cluster. For example: //
266
+ # edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/
267
+ # my-cluster
268
+ # Corresponds to the JSON property `resourceLink`
269
+ # @return [String]
270
+ attr_accessor :resource_link
271
+
272
+ def initialize(**args)
273
+ update!(**args)
274
+ end
275
+
276
+ # Update properties of this object
277
+ def update!(**args)
278
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
279
+ end
280
+ end
281
+
261
282
  # A generic empty message that you can re-use to avoid defining duplicated empty
262
283
  # messages in your APIs. A typical example is to use it as the request or the
263
284
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -802,6 +823,11 @@ module Google
802
823
  class MembershipEndpoint
803
824
  include Google::Apis::Core::Hashable
804
825
 
826
+ # EdgeCluster contains information specific to Google Edge Clusters.
827
+ # Corresponds to the JSON property `edgeCluster`
828
+ # @return [Google::Apis::GkehubV1beta1::EdgeCluster]
829
+ attr_accessor :edge_cluster
830
+
805
831
  # GkeCluster contains information specific to GKE clusters.
806
832
  # Corresponds to the JSON property `gkeCluster`
807
833
  # @return [Google::Apis::GkehubV1beta1::GkeCluster]
@@ -836,6 +862,7 @@ module Google
836
862
 
837
863
  # Update properties of this object
838
864
  def update!(**args)
865
+ @edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
839
866
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
840
867
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
841
868
  @kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
@@ -1198,6 +1225,13 @@ module Google
1198
1225
  # @return [String]
1199
1226
  attr_accessor :connect_version
1200
1227
 
1228
+ # Optional. Major version of the Kubernetes cluster. This is only used to
1229
+ # determine which version to use for the CustomResourceDefinition resources, `
1230
+ # apiextensions/v1beta1` or`apiextensions/v1`.
1231
+ # Corresponds to the JSON property `k8sVersion`
1232
+ # @return [String]
1233
+ attr_accessor :k8s_version
1234
+
1201
1235
  # Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
1202
1236
  # CustomResourceDefinition resources. This option should be set for clusters
1203
1237
  # with Kubernetes apiserver versions <1.16.
@@ -1213,6 +1247,7 @@ module Google
1213
1247
  # Update properties of this object
1214
1248
  def update!(**args)
1215
1249
  @connect_version = args[:connect_version] if args.key?(:connect_version)
1250
+ @k8s_version = args[:k8s_version] if args.key?(:k8s_version)
1216
1251
  @v1beta1_crd = args[:v1beta1_crd] if args.key?(:v1beta1_crd)
1217
1252
  end
1218
1253
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta1
18
18
  # Version of the google-apis-gkehub_v1beta1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.14.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 = "20211015"
25
+ REVISION = "20220122"
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 EdgeCluster
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class Empty
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -272,6 +278,13 @@ module Google
272
278
  end
273
279
  end
274
280
 
281
+ class EdgeCluster
282
+ # @private
283
+ class Representation < Google::Apis::Core::JsonRepresentation
284
+ property :resource_link, as: 'resourceLink'
285
+ end
286
+ end
287
+
275
288
  class Empty
276
289
  # @private
277
290
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -410,6 +423,8 @@ module Google
410
423
  class MembershipEndpoint
411
424
  # @private
412
425
  class Representation < Google::Apis::Core::JsonRepresentation
426
+ property :edge_cluster, as: 'edgeCluster', class: Google::Apis::GkehubV1beta1::EdgeCluster, decorator: Google::Apis::GkehubV1beta1::EdgeCluster::Representation
427
+
413
428
  property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1beta1::GkeCluster, decorator: Google::Apis::GkehubV1beta1::GkeCluster::Representation
414
429
 
415
430
  property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1beta1::KubernetesMetadata, decorator: Google::Apis::GkehubV1beta1::KubernetesMetadata::Representation
@@ -498,6 +513,7 @@ module Google
498
513
  # @private
499
514
  class Representation < Google::Apis::Core::JsonRepresentation
500
515
  property :connect_version, as: 'connectVersion'
516
+ property :k8s_version, as: 'k8sVersion'
501
517
  property :v1beta1_crd, as: 'v1beta1Crd'
502
518
  end
503
519
  end
@@ -373,13 +373,16 @@ module Google
373
373
  # REQUIRED: The resource for which the policy is being requested. See the
374
374
  # operation documentation for the appropriate value for this field.
375
375
  # @param [Fixnum] options_requested_policy_version
376
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
377
- # 3. Requests specifying an invalid value will be rejected. Requests for
378
- # policies with any conditional bindings must specify version 3. Policies
379
- # without any conditional bindings may specify any valid value or leave the
380
- # field unset. To learn which resources support conditions in their IAM policies,
381
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
382
- # resource-policies).
376
+ # Optional. The maximum policy version that will be used to format the policy.
377
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
378
+ # rejected. Requests for policies with any conditional role bindings must
379
+ # specify version 3. Policies with no conditional role bindings may specify any
380
+ # valid value or leave the field unset. The policy in the response might use the
381
+ # policy version that you specified, or it might use a lower policy version. For
382
+ # example, if you specify version 3, but the policy has no conditional role
383
+ # bindings, the response uses version 1. To learn which resources support
384
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
385
+ # google.com/iam/help/conditions/resource-policies).
383
386
  # @param [String] fields
384
387
  # Selector specifying which fields to include in a partial response.
385
388
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.14.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-10-27 00:00:00.000000000 Z
11
+ date: 2022-01-31 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta1
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 V1beta1