google-apis-gkehub_v1alpha2 0.10.0 → 0.14.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 +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/gkehub_v1alpha2/classes.rb +35 -0
- data/lib/google/apis/gkehub_v1alpha2/gem_version.rb +3 -3
- data/lib/google/apis/gkehub_v1alpha2/representations.rb +16 -0
- data/lib/google/apis/gkehub_v1alpha2/service.rb +10 -7
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e73e4f7029bf393cb98159fbec6fdabc8fea21931035167266f3a8b3e836038
|
4
|
+
data.tar.gz: 7c5318156623684ec0167173d5efcd117d117f2d3496d00ad36c41ec19523fda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef4b786dc020eee764db16f6e43d7c8c03c53720d4c138f73ad2c9d03add290f3e05c9c16db5d6a7f7cf4eee6591a2d61ee82bd3c768c135f31a850754e25e19
|
7
|
+
data.tar.gz: 1ae33a90fcead90b2e29a84ac75047b8760c79c19d6e6f59f3bbcd1b54bbb96f9e20e7bd12e23766a17a6989a05cd1e6b8d9a2fbc7a1b72aaedde1c3c554aca3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha2
|
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_v1alpha2"
|
|
51
51
|
client = Google::Apis::GkehubV1alpha2::GKEHubService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
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.
|
@@ -816,6 +837,11 @@ module Google
|
|
816
837
|
class MembershipEndpoint
|
817
838
|
include Google::Apis::Core::Hashable
|
818
839
|
|
840
|
+
# EdgeCluster contains information specific to Google Edge Clusters.
|
841
|
+
# Corresponds to the JSON property `edgeCluster`
|
842
|
+
# @return [Google::Apis::GkehubV1alpha2::EdgeCluster]
|
843
|
+
attr_accessor :edge_cluster
|
844
|
+
|
819
845
|
# GkeCluster contains information specific to GKE clusters.
|
820
846
|
# Corresponds to the JSON property `gkeCluster`
|
821
847
|
# @return [Google::Apis::GkehubV1alpha2::GkeCluster]
|
@@ -851,6 +877,7 @@ module Google
|
|
851
877
|
|
852
878
|
# Update properties of this object
|
853
879
|
def update!(**args)
|
880
|
+
@edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
|
854
881
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
855
882
|
@kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
|
856
883
|
@kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
|
@@ -1201,6 +1228,13 @@ module Google
|
|
1201
1228
|
# @return [String]
|
1202
1229
|
attr_accessor :connect_version
|
1203
1230
|
|
1231
|
+
# Optional. Major version of the Kubernetes cluster. This is only used to
|
1232
|
+
# determine which version to use for the CustomResourceDefinition resources, `
|
1233
|
+
# apiextensions/v1beta1` or`apiextensions/v1`.
|
1234
|
+
# Corresponds to the JSON property `k8sVersion`
|
1235
|
+
# @return [String]
|
1236
|
+
attr_accessor :k8s_version
|
1237
|
+
|
1204
1238
|
# Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
|
1205
1239
|
# CustomResourceDefinition resources. This option should be set for clusters
|
1206
1240
|
# with Kubernetes apiserver versions <1.16.
|
@@ -1216,6 +1250,7 @@ module Google
|
|
1216
1250
|
# Update properties of this object
|
1217
1251
|
def update!(**args)
|
1218
1252
|
@connect_version = args[:connect_version] if args.key?(:connect_version)
|
1253
|
+
@k8s_version = args[:k8s_version] if args.key?(:k8s_version)
|
1219
1254
|
@v1beta1_crd = args[:v1beta1_crd] if args.key?(:v1beta1_crd)
|
1220
1255
|
end
|
1221
1256
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1alpha2
|
18
18
|
# Version of the google-apis-gkehub_v1alpha2 gem
|
19
|
-
GEM_VERSION = "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.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
@@ -416,6 +429,8 @@ module Google
|
|
416
429
|
class MembershipEndpoint
|
417
430
|
# @private
|
418
431
|
class Representation < Google::Apis::Core::JsonRepresentation
|
432
|
+
property :edge_cluster, as: 'edgeCluster', class: Google::Apis::GkehubV1alpha2::EdgeCluster, decorator: Google::Apis::GkehubV1alpha2::EdgeCluster::Representation
|
433
|
+
|
419
434
|
property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1alpha2::GkeCluster, decorator: Google::Apis::GkehubV1alpha2::GkeCluster::Representation
|
420
435
|
|
421
436
|
property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1alpha2::KubernetesMetadata, decorator: Google::Apis::GkehubV1alpha2::KubernetesMetadata::Representation
|
@@ -502,6 +517,7 @@ module Google
|
|
502
517
|
# @private
|
503
518
|
class Representation < Google::Apis::Core::JsonRepresentation
|
504
519
|
property :connect_version, as: 'connectVersion'
|
520
|
+
property :k8s_version, as: 'k8sVersion'
|
505
521
|
property :v1beta1_crd, as: 'v1beta1Crd'
|
506
522
|
end
|
507
523
|
end
|
@@ -337,13 +337,16 @@ module Google
|
|
337
337
|
# REQUIRED: The resource for which the policy is being requested. See the
|
338
338
|
# operation documentation for the appropriate value for this field.
|
339
339
|
# @param [Fixnum] options_requested_policy_version
|
340
|
-
# Optional. The policy
|
341
|
-
# 3. Requests specifying an invalid value will be
|
342
|
-
# policies with any conditional bindings must
|
343
|
-
#
|
344
|
-
# field unset.
|
345
|
-
#
|
346
|
-
#
|
340
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
341
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
342
|
+
# rejected. Requests for policies with any conditional role bindings must
|
343
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
344
|
+
# valid value or leave the field unset. The policy in the response might use the
|
345
|
+
# policy version that you specified, or it might use a lower policy version. For
|
346
|
+
# example, if you specify version 3, but the policy has no conditional role
|
347
|
+
# bindings, the response uses version 1. To learn which resources support
|
348
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
349
|
+
# google.com/iam/help/conditions/resource-policies).
|
347
350
|
# @param [String] fields
|
348
351
|
# Selector specifying which fields to include in a partial response.
|
349
352
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1alpha2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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:
|
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_v1alpha2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.14.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha2
|
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.
|
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 V1alpha2
|