google-cloud-gke_connect-gateway-v1beta1 0.5.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +4 -4
- data/README.md +4 -4
- data/lib/google/cloud/gke_connect/gateway/v1beta1/gateway_control/client.rb +450 -0
- data/lib/google/cloud/gke_connect/gateway/v1beta1/{gateway_service → gateway_control}/credentials.rb +3 -3
- data/lib/google/cloud/gke_connect/gateway/v1beta1/gateway_control/rest/client.rb +417 -0
- data/lib/google/cloud/gke_connect/gateway/v1beta1/gateway_control/rest/service_stub.rb +130 -0
- data/lib/google/cloud/gke_connect/gateway/v1beta1/gateway_control/rest.rb +53 -0
- data/lib/google/cloud/gke_connect/gateway/v1beta1/{gateway_service.rb → gateway_control.rb} +15 -13
- data/lib/google/cloud/gke_connect/gateway/v1beta1/rest.rb +39 -0
- data/lib/google/cloud/gke_connect/gateway/v1beta1/version.rb +1 -1
- data/lib/google/cloud/gke_connect/gateway/v1beta1.rb +7 -2
- data/lib/google/cloud/gkeconnect/gateway/v1beta1/control_pb.rb +50 -0
- data/lib/google/cloud/gkeconnect/gateway/v1beta1/control_services_pb.rb +48 -0
- data/proto_docs/google/api/client.rb +18 -10
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/gkeconnect/gateway/v1beta1/control.rb +84 -0
- metadata +15 -123
- data/lib/google/cloud/gke_connect/gateway/v1beta1/gateway_service/client.rb +0 -778
- data/lib/google/cloud/gkeconnect/gateway/v1beta1/gateway_pb.rb +0 -47
- data/lib/google/cloud/gkeconnect/gateway/v1beta1/gateway_services_pb.rb +0 -59
- data/proto_docs/google/api/httpbody.rb +0 -80
- data/proto_docs/google/protobuf/any.rb +0 -145
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/gke_connect/gateway/v1beta1/gateway_control/rest"
|
20
|
+
require "google/cloud/gke_connect/gateway/v1beta1/version"
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module GkeConnect
|
25
|
+
module Gateway
|
26
|
+
##
|
27
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
28
|
+
#
|
29
|
+
# @example
|
30
|
+
#
|
31
|
+
# require "google/cloud/gke_connect/gateway/v1beta1/rest"
|
32
|
+
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayControl::Rest::Client.new
|
33
|
+
#
|
34
|
+
module V1beta1
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
18
|
|
19
|
-
require "google/cloud/gke_connect/gateway/v1beta1/
|
19
|
+
require "google/cloud/gke_connect/gateway/v1beta1/gateway_control"
|
20
20
|
require "google/cloud/gke_connect/gateway/v1beta1/version"
|
21
21
|
|
22
22
|
module Google
|
@@ -29,7 +29,12 @@ module Google
|
|
29
29
|
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
30
|
#
|
31
31
|
# require "google/cloud/gke_connect/gateway/v1beta1"
|
32
|
-
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::
|
32
|
+
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayControl::Client.new
|
33
|
+
#
|
34
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
35
|
+
#
|
36
|
+
# require "google/cloud/gke_connect/gateway/v1beta1"
|
37
|
+
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayControl::Rest::Client.new
|
33
38
|
#
|
34
39
|
module V1beta1
|
35
40
|
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/gkeconnect/gateway/v1beta1/control.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n5google/cloud/gkeconnect/gateway/v1beta1/control.proto\x12\'google.cloud.gkeconnect.gateway.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\"\xcd\x02\n\x1aGenerateCredentialsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0f\x66orce_use_agent\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14kubernetes_namespace\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12r\n\x10operating_system\x18\x05 \x01(\x0e\x32S.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest.OperatingSystemB\x03\xe0\x41\x01\"Q\n\x0fOperatingSystem\x12 \n\x1cOPERATING_SYSTEM_UNSPECIFIED\x10\x00\x12\x1c\n\x18OPERATING_SYSTEM_WINDOWS\x10\x01\"C\n\x1bGenerateCredentialsResponse\x12\x12\n\nkubeconfig\x18\x01 \x01(\x0c\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t2\xd8\x02\n\x0eGatewayControl\x12\xf2\x01\n\x13GenerateCredentials\x12\x43.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest\x1a\x44.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsResponse\"P\x82\xd3\xe4\x93\x02J\x12H/v1beta1/{name=projects/*/locations/*/memberships/*}:generateCredentials\x1aQ\xca\x41\x1d\x63onnectgateway.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x86\x02\n+com.google.cloud.gkeconnect.gateway.v1beta1B\x0c\x43ontrolProtoP\x01ZEcloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb;gatewaypb\xaa\x02\'Google.Cloud.GkeConnect.Gateway.V1Beta1\xca\x02\'Google\\Cloud\\GkeConnect\\Gateway\\V1beta1\xea\x02+Google::Cloud::GkeConnect::Gateway::V1beta1b\x06proto3"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
36
|
+
end
|
37
|
+
|
38
|
+
module Google
|
39
|
+
module Cloud
|
40
|
+
module GkeConnect
|
41
|
+
module Gateway
|
42
|
+
module V1beta1
|
43
|
+
GenerateCredentialsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest").msgclass
|
44
|
+
GenerateCredentialsRequest::OperatingSystem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest.OperatingSystem").enummodule
|
45
|
+
GenerateCredentialsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsResponse").msgclass
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/gkeconnect/gateway/v1beta1/control.proto for package 'Google.Cloud.GkeConnect.Gateway.V1beta1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2024 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/gkeconnect/gateway/v1beta1/control_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module GkeConnect
|
25
|
+
module Gateway
|
26
|
+
module V1beta1
|
27
|
+
module GatewayControl
|
28
|
+
# GatewayControl is the control plane API for Connect Gateway.
|
29
|
+
class Service
|
30
|
+
|
31
|
+
include ::GRPC::GenericService
|
32
|
+
|
33
|
+
self.marshal_class_method = :encode
|
34
|
+
self.unmarshal_class_method = :decode
|
35
|
+
self.service_name = 'google.cloud.gkeconnect.gateway.v1beta1.GatewayControl'
|
36
|
+
|
37
|
+
# GenerateCredentials provides connection information that allows a user to
|
38
|
+
# access the specified membership using Connect Gateway.
|
39
|
+
rpc :GenerateCredentials, ::Google::Cloud::GkeConnect::Gateway::V1beta1::GenerateCredentialsRequest, ::Google::Cloud::GkeConnect::Gateway::V1beta1::GenerateCredentialsResponse
|
40
|
+
end
|
41
|
+
|
42
|
+
Stub = Service.rpc_stub_class
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -286,6 +290,13 @@ module Google
|
|
286
290
|
# @return [::String]
|
287
291
|
# The fully qualified name of the method, for which the options below apply.
|
288
292
|
# This is used to find the method to apply the options.
|
293
|
+
#
|
294
|
+
# Example:
|
295
|
+
#
|
296
|
+
# publishing:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
299
|
+
# # method settings for CreateFolder...
|
289
300
|
# @!attribute [rw] long_running
|
290
301
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
302
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +305,14 @@ module Google
|
|
294
305
|
#
|
295
306
|
# Example of a YAML configuration::
|
296
307
|
#
|
297
|
-
#
|
298
|
-
#
|
308
|
+
# publishing:
|
309
|
+
# method_settings:
|
299
310
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
311
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
312
|
+
# initial_poll_delay: 60s # 1 minute
|
303
313
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
314
|
+
# max_poll_delay: 360s # 6 minutes
|
315
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
316
|
# @!attribute [rw] auto_populated_fields
|
309
317
|
# @return [::Array<::String>]
|
310
318
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +321,8 @@ module Google
|
|
313
321
|
#
|
314
322
|
# Example of a YAML configuration:
|
315
323
|
#
|
316
|
-
#
|
317
|
-
#
|
324
|
+
# publishing:
|
325
|
+
# method_settings:
|
318
326
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
327
|
# auto_populated_fields:
|
320
328
|
# - request_id
|
@@ -0,0 +1,85 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# An indicator of the behavior of a given field (for example, that a field
|
23
|
+
# is required in requests, or given as output but ignored as input).
|
24
|
+
# This **does not** change the behavior in protocol buffers itself; it only
|
25
|
+
# denotes the behavior and may affect how API tooling handles the field.
|
26
|
+
#
|
27
|
+
# Note: This enum **may** receive new values in the future.
|
28
|
+
module FieldBehavior
|
29
|
+
# Conventional default for enums. Do not use this.
|
30
|
+
FIELD_BEHAVIOR_UNSPECIFIED = 0
|
31
|
+
|
32
|
+
# Specifically denotes a field as optional.
|
33
|
+
# While all fields in protocol buffers are optional, this may be specified
|
34
|
+
# for emphasis if appropriate.
|
35
|
+
OPTIONAL = 1
|
36
|
+
|
37
|
+
# Denotes a field as required.
|
38
|
+
# This indicates that the field **must** be provided as part of the request,
|
39
|
+
# and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
|
40
|
+
REQUIRED = 2
|
41
|
+
|
42
|
+
# Denotes a field as output only.
|
43
|
+
# This indicates that the field is provided in responses, but including the
|
44
|
+
# field in a request does nothing (the server *must* ignore it and
|
45
|
+
# *must not* throw an error as a result of the field's presence).
|
46
|
+
OUTPUT_ONLY = 3
|
47
|
+
|
48
|
+
# Denotes a field as input only.
|
49
|
+
# This indicates that the field is provided in requests, and the
|
50
|
+
# corresponding field is not included in output.
|
51
|
+
INPUT_ONLY = 4
|
52
|
+
|
53
|
+
# Denotes a field as immutable.
|
54
|
+
# This indicates that the field may be set once in a request to create a
|
55
|
+
# resource, but may not be changed thereafter.
|
56
|
+
IMMUTABLE = 5
|
57
|
+
|
58
|
+
# Denotes that a (repeated) field is an unordered list.
|
59
|
+
# This indicates that the service may provide the elements of the list
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
|
+
# provided. Additionally, the list's order may or may not be stable.
|
62
|
+
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module GkeConnect
|
23
|
+
module Gateway
|
24
|
+
module V1beta1
|
25
|
+
# A request for connection information for a particular membership.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Required. The Fleet membership resource.
|
29
|
+
# @!attribute [rw] force_use_agent
|
30
|
+
# @return [::Boolean]
|
31
|
+
# Optional. Whether to force the use of Connect Agent-based transport.
|
32
|
+
#
|
33
|
+
# This will return a configuration that uses Connect Agent as the underlying
|
34
|
+
# transport mechanism for cluster types that would otherwise have used a
|
35
|
+
# different transport. Requires that Connect Agent be installed on the
|
36
|
+
# cluster. Setting this field to false is equivalent to not setting it.
|
37
|
+
# @!attribute [rw] version
|
38
|
+
# @return [::String]
|
39
|
+
# Optional. The Connect Gateway version to be used in the resulting
|
40
|
+
# configuration.
|
41
|
+
#
|
42
|
+
# Leave this field blank to let the server choose the version (recommended).
|
43
|
+
# @!attribute [rw] kubernetes_namespace
|
44
|
+
# @return [::String]
|
45
|
+
# Optional. The namespace to use in the kubeconfig context.
|
46
|
+
#
|
47
|
+
# If this field is specified, the server will set the `namespace` field in
|
48
|
+
# kubeconfig context. If not specified, the `namespace` field is omitted.
|
49
|
+
# @!attribute [rw] operating_system
|
50
|
+
# @return [::Google::Cloud::GkeConnect::Gateway::V1beta1::GenerateCredentialsRequest::OperatingSystem]
|
51
|
+
# Optional. The operating system where the kubeconfig will be used.
|
52
|
+
class GenerateCredentialsRequest
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
|
+
|
56
|
+
# Operating systems requiring specialized kubeconfigs.
|
57
|
+
module OperatingSystem
|
58
|
+
# Generates a kubeconfig that works for all operating systems not defined
|
59
|
+
# below.
|
60
|
+
OPERATING_SYSTEM_UNSPECIFIED = 0
|
61
|
+
|
62
|
+
# Generates a kubeconfig that is specifically designed to work with
|
63
|
+
# Windows.
|
64
|
+
OPERATING_SYSTEM_WINDOWS = 1
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# Connection information for a particular membership.
|
69
|
+
# @!attribute [rw] kubeconfig
|
70
|
+
# @return [::String]
|
71
|
+
# A full YAML kubeconfig in serialized format.
|
72
|
+
# @!attribute [rw] endpoint
|
73
|
+
# @return [::String]
|
74
|
+
# The generated URI of the cluster as accessed through the Connect Gateway
|
75
|
+
# API.
|
76
|
+
class GenerateCredentialsResponse
|
77
|
+
include ::Google::Protobuf::MessageExts
|
78
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-gke_connect-gateway-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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: 2024-
|
11
|
+
date: 2024-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,118 +44,6 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: google-style
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.3
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.3
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: minitest
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '5.16'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '5.16'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest-focus
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.1'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.1'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-rg
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '5.2'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '5.2'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rake
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '13.0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '13.0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: redcarpet
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '3.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: simplecov
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '0.18'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '0.18'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: yard
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.9'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.9'
|
159
47
|
description: The Connect gateway builds on the power of fleets to let Anthos users
|
160
48
|
connect to and run commands against registered Anthos clusters in a simple, consistent,
|
161
49
|
and secured way, whether the clusters are on Google Cloud, other public clouds,
|
@@ -174,18 +62,22 @@ files:
|
|
174
62
|
- README.md
|
175
63
|
- lib/google-cloud-gke_connect-gateway-v1beta1.rb
|
176
64
|
- lib/google/cloud/gke_connect/gateway/v1beta1.rb
|
177
|
-
- lib/google/cloud/gke_connect/gateway/v1beta1/
|
178
|
-
- lib/google/cloud/gke_connect/gateway/v1beta1/
|
179
|
-
- lib/google/cloud/gke_connect/gateway/v1beta1/
|
65
|
+
- lib/google/cloud/gke_connect/gateway/v1beta1/gateway_control.rb
|
66
|
+
- lib/google/cloud/gke_connect/gateway/v1beta1/gateway_control/client.rb
|
67
|
+
- lib/google/cloud/gke_connect/gateway/v1beta1/gateway_control/credentials.rb
|
68
|
+
- lib/google/cloud/gke_connect/gateway/v1beta1/gateway_control/rest.rb
|
69
|
+
- lib/google/cloud/gke_connect/gateway/v1beta1/gateway_control/rest/client.rb
|
70
|
+
- lib/google/cloud/gke_connect/gateway/v1beta1/gateway_control/rest/service_stub.rb
|
71
|
+
- lib/google/cloud/gke_connect/gateway/v1beta1/rest.rb
|
180
72
|
- lib/google/cloud/gke_connect/gateway/v1beta1/version.rb
|
181
|
-
- lib/google/cloud/gkeconnect/gateway/v1beta1/
|
182
|
-
- lib/google/cloud/gkeconnect/gateway/v1beta1/
|
73
|
+
- lib/google/cloud/gkeconnect/gateway/v1beta1/control_pb.rb
|
74
|
+
- lib/google/cloud/gkeconnect/gateway/v1beta1/control_services_pb.rb
|
183
75
|
- proto_docs/README.md
|
184
76
|
- proto_docs/google/api/client.rb
|
185
|
-
- proto_docs/google/api/
|
77
|
+
- proto_docs/google/api/field_behavior.rb
|
186
78
|
- proto_docs/google/api/launch_stage.rb
|
187
79
|
- proto_docs/google/api/resource.rb
|
188
|
-
- proto_docs/google/
|
80
|
+
- proto_docs/google/cloud/gkeconnect/gateway/v1beta1/control.rb
|
189
81
|
- proto_docs/google/protobuf/duration.rb
|
190
82
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
191
83
|
licenses:
|
@@ -199,14 +91,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
91
|
requirements:
|
200
92
|
- - ">="
|
201
93
|
- !ruby/object:Gem::Version
|
202
|
-
version: '2.
|
94
|
+
version: '2.7'
|
203
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
96
|
requirements:
|
205
97
|
- - ">="
|
206
98
|
- !ruby/object:Gem::Version
|
207
99
|
version: '0'
|
208
100
|
requirements: []
|
209
|
-
rubygems_version: 3.5.
|
101
|
+
rubygems_version: 3.5.6
|
210
102
|
signing_key:
|
211
103
|
specification_version: 4
|
212
104
|
summary: The Connect Gateway service allows connectivity from external parties to
|