google-cloud-gke_connect-gateway-v1beta1 0.6.0 → 0.7.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/AUTHENTICATION.md +4 -4
- data/README.md +3 -3
- 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 +13 -9
- 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
|
@@ -62,18 +62,22 @@ files:
|
|
62
62
|
- README.md
|
63
63
|
- lib/google-cloud-gke_connect-gateway-v1beta1.rb
|
64
64
|
- lib/google/cloud/gke_connect/gateway/v1beta1.rb
|
65
|
-
- lib/google/cloud/gke_connect/gateway/v1beta1/
|
66
|
-
- lib/google/cloud/gke_connect/gateway/v1beta1/
|
67
|
-
- 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
|
68
72
|
- lib/google/cloud/gke_connect/gateway/v1beta1/version.rb
|
69
|
-
- lib/google/cloud/gkeconnect/gateway/v1beta1/
|
70
|
-
- 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
|
71
75
|
- proto_docs/README.md
|
72
76
|
- proto_docs/google/api/client.rb
|
73
|
-
- proto_docs/google/api/
|
77
|
+
- proto_docs/google/api/field_behavior.rb
|
74
78
|
- proto_docs/google/api/launch_stage.rb
|
75
79
|
- proto_docs/google/api/resource.rb
|
76
|
-
- proto_docs/google/
|
80
|
+
- proto_docs/google/cloud/gkeconnect/gateway/v1beta1/control.rb
|
77
81
|
- proto_docs/google/protobuf/duration.rb
|
78
82
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
79
83
|
licenses:
|