google-apis-gkehub_v1 0.17.0 → 0.21.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: 5bf960443dc5ef64492ed734c920ffb5b084f356a7edfc4c31e018299523dd83
4
- data.tar.gz: f245e4eecde382c8c56989797d303048877486801920c27378b69a7709642394
3
+ metadata.gz: 3d86dde9c141706608fd11bd69672e961ac66322ff6340ff48da18577f852fd3
4
+ data.tar.gz: e7eb11e1959348d42787b75afea564e7b0936eeea7e6a6426e4bd25939cf9369
5
5
  SHA512:
6
- metadata.gz: 255ccccc880b1bdf5c2d6419f6d32323bec254e767d1536e197061e3d00b15688099927dd0aacef5716c07b9d095dc599e4ad9a4aa49056cc49c1c8ce97c781e
7
- data.tar.gz: 87a3497bba76e7fe232af5b2defc4f787d616d129ab8240c7441d55b5d5179232617ad113b9efe495934e2badf7ee9bb1ccc98e089cf4336a2cc19906cbae97d
6
+ metadata.gz: 461439e0989f6aa1dd8a7cb9e337175dde8ae092ca1301a8fb1c02b7ede7fe472255e232014b33752b649200cced998ba22872344f7e89b99d7334b503ee825a
7
+ data.tar.gz: dd3f9f3c1c1cc89df340a71c44c8f0b556d3fb8509b7f6e11bbd29f35977400aad4ad104f8aeb3e979a9ef7372a4399c48205d84e9812d2df2b7be37346eae19
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.21.0 (2022-02-12)
4
+
5
+ * Regenerated from discovery document revision 20220204
6
+
7
+ ### v0.20.0 (2022-01-30)
8
+
9
+ * Regenerated from discovery document revision 20220122
10
+
11
+ ### v0.19.0 (2022-01-15)
12
+
13
+ * Regenerated from discovery document revision 20220107
14
+ * Regenerated using generator version 0.4.1
15
+
16
+ ### v0.18.0 (2021-12-16)
17
+
18
+ * Unspecified changes
19
+
3
20
  ### v0.17.0 (2021-12-12)
4
21
 
5
22
  * Regenerated from discovery document revision 20211203
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.
@@ -1130,6 +1130,27 @@ module Google
1130
1130
  end
1131
1131
  end
1132
1132
 
1133
+ # EdgeCluster contains information specific to Google Edge Clusters.
1134
+ class EdgeCluster
1135
+ include Google::Apis::Core::Hashable
1136
+
1137
+ # Immutable. Self-link of the GCP resource for the Edge Cluster. For example: //
1138
+ # edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/
1139
+ # my-cluster
1140
+ # Corresponds to the JSON property `resourceLink`
1141
+ # @return [String]
1142
+ attr_accessor :resource_link
1143
+
1144
+ def initialize(**args)
1145
+ update!(**args)
1146
+ end
1147
+
1148
+ # Update properties of this object
1149
+ def update!(**args)
1150
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
1151
+ end
1152
+ end
1153
+
1133
1154
  # A generic empty message that you can re-use to avoid defining duplicated empty
1134
1155
  # messages in your APIs. A typical example is to use it as the request or the
1135
1156
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1810,6 +1831,11 @@ module Google
1810
1831
  class MembershipEndpoint
1811
1832
  include Google::Apis::Core::Hashable
1812
1833
 
1834
+ # EdgeCluster contains information specific to Google Edge Clusters.
1835
+ # Corresponds to the JSON property `edgeCluster`
1836
+ # @return [Google::Apis::GkehubV1::EdgeCluster]
1837
+ attr_accessor :edge_cluster
1838
+
1813
1839
  # GkeCluster contains information specific to GKE clusters.
1814
1840
  # Corresponds to the JSON property `gkeCluster`
1815
1841
  # @return [Google::Apis::GkehubV1::GkeCluster]
@@ -1844,6 +1870,7 @@ module Google
1844
1870
 
1845
1871
  # Update properties of this object
1846
1872
  def update!(**args)
1873
+ @edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
1847
1874
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
1848
1875
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
1849
1876
  @kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
@@ -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.17.0"
19
+ GEM_VERSION = "0.21.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 = "20211203"
25
+ REVISION = "20220204"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class EdgeCluster
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class Empty
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -718,6 +724,13 @@ module Google
718
724
  end
719
725
  end
720
726
 
727
+ class EdgeCluster
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ property :resource_link, as: 'resourceLink'
731
+ end
732
+ end
733
+
721
734
  class Empty
722
735
  # @private
723
736
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -893,6 +906,8 @@ module Google
893
906
  class MembershipEndpoint
894
907
  # @private
895
908
  class Representation < Google::Apis::Core::JsonRepresentation
909
+ property :edge_cluster, as: 'edgeCluster', class: Google::Apis::GkehubV1::EdgeCluster, decorator: Google::Apis::GkehubV1::EdgeCluster::Representation
910
+
896
911
  property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1::GkeCluster, decorator: Google::Apis::GkehubV1::GkeCluster::Representation
897
912
 
898
913
  property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1::KubernetesMetadata, decorator: Google::Apis::GkehubV1::KubernetesMetadata::Representation
@@ -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
@@ -294,8 +296,8 @@ module Google
294
296
 
295
297
  # Lists Features in a given project and location.
296
298
  # @param [String] parent
297
- # The parent (project and location) where the Features will be listed. Specified
298
- # 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/*`.
299
301
  # @param [String] filter
300
302
  # Lists Features that match the filter expression, following the syntax outlined
301
303
  # in https://google.aip.dev/160. Examples: - Feature with the name "servicemesh"
@@ -345,19 +347,20 @@ module Google
345
347
 
346
348
  # Updates an existing Feature.
347
349
  # @param [String] name
348
- # The Feature resource name in the format `projects/*/locations/*/features/*`.
350
+ # Required. The Feature resource name in the format `projects/*/locations/*/
351
+ # features/*`.
349
352
  # @param [Google::Apis::GkehubV1::Feature] feature_object
350
353
  # @param [String] request_id
351
- # Optional. A request ID to identify requests. Specify a unique request ID so
352
- # that if you must retry your request, the server will know to ignore the
353
- # request if it has already been completed. The server will guarantee that for
354
- # at least 60 minutes after the first request. For example, consider a situation
355
- # where you make an initial request and the request times out. If you make the
356
- # request again with the same request ID, the server can check if original
357
- # operation with the same request ID was received, and if so, will ignore the
358
- # second request. This prevents clients from accidentally creating duplicate
359
- # commitments. The request ID must be a valid UUID with the exception that zero
360
- # 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).
361
364
  # @param [String] update_mask
362
365
  # Mask of fields to update.
363
366
  # @param [String] fields
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.17.0
4
+ version: 0.21.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-12-13 00:00:00.000000000 Z
11
+ date: 2022-02-14 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.21.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