google-cloud-beyond_corp-client_connector_services-v1 0.1.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 +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +149 -0
- data/LICENSE.md +201 -0
- data/README.md +144 -0
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/client.rb +919 -0
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/credentials.rb +49 -0
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/operations.rb +772 -0
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/paths.rb +71 -0
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service.rb +62 -0
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/version.rb +30 -0
- data/lib/google/cloud/beyond_corp/client_connector_services/v1.rb +42 -0
- data/lib/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service_pb.rb +129 -0
- data/lib/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service_services_pb.rb +65 -0
- data/lib/google-cloud-beyond_corp-client_connector_services-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.rb +336 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +260 -0
@@ -0,0 +1,222 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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
|
+
# A simple descriptor of a resource type.
|
23
|
+
#
|
24
|
+
# ResourceDescriptor annotates a resource message (either by means of a
|
25
|
+
# protobuf annotation or use in the service config), and associates the
|
26
|
+
# resource's schema, the resource type, and the pattern of the resource name.
|
27
|
+
#
|
28
|
+
# Example:
|
29
|
+
#
|
30
|
+
# message Topic {
|
31
|
+
# // Indicates this message defines a resource schema.
|
32
|
+
# // Declares the resource type in the format of {service}/{kind}.
|
33
|
+
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
|
+
# option (google.api.resource) = {
|
35
|
+
# type: "pubsub.googleapis.com/Topic"
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
37
|
+
# };
|
38
|
+
# }
|
39
|
+
#
|
40
|
+
# The ResourceDescriptor Yaml config will look like:
|
41
|
+
#
|
42
|
+
# resources:
|
43
|
+
# - type: "pubsub.googleapis.com/Topic"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
45
|
+
#
|
46
|
+
# Sometimes, resources have multiple patterns, typically because they can
|
47
|
+
# live under multiple parents.
|
48
|
+
#
|
49
|
+
# Example:
|
50
|
+
#
|
51
|
+
# message LogEntry {
|
52
|
+
# option (google.api.resource) = {
|
53
|
+
# type: "logging.googleapis.com/LogEntry"
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
58
|
+
# };
|
59
|
+
# }
|
60
|
+
#
|
61
|
+
# The ResourceDescriptor Yaml config will look like:
|
62
|
+
#
|
63
|
+
# resources:
|
64
|
+
# - type: 'logging.googleapis.com/LogEntry'
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
69
|
+
# @!attribute [rw] type
|
70
|
+
# @return [::String]
|
71
|
+
# The resource type. It must be in the format of
|
72
|
+
# \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
|
73
|
+
# singular and must not include version numbers.
|
74
|
+
#
|
75
|
+
# Example: `storage.googleapis.com/Bucket`
|
76
|
+
#
|
77
|
+
# The value of the resource_type_kind must follow the regular expression
|
78
|
+
# /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
|
79
|
+
# should use PascalCase (UpperCamelCase). The maximum number of
|
80
|
+
# characters allowed for the `resource_type_kind` is 100.
|
81
|
+
# @!attribute [rw] pattern
|
82
|
+
# @return [::Array<::String>]
|
83
|
+
# Optional. The relative resource name pattern associated with this resource
|
84
|
+
# type. The DNS prefix of the full resource name shouldn't be specified here.
|
85
|
+
#
|
86
|
+
# The path pattern must follow the syntax, which aligns with HTTP binding
|
87
|
+
# syntax:
|
88
|
+
#
|
89
|
+
# Template = Segment { "/" Segment } ;
|
90
|
+
# Segment = LITERAL | Variable ;
|
91
|
+
# Variable = "{" LITERAL "}" ;
|
92
|
+
#
|
93
|
+
# Examples:
|
94
|
+
#
|
95
|
+
# - "projects/\\{project}/topics/\\{topic}"
|
96
|
+
# - "projects/\\{project}/knowledgeBases/\\{knowledge_base}"
|
97
|
+
#
|
98
|
+
# The components in braces correspond to the IDs for each resource in the
|
99
|
+
# hierarchy. It is expected that, if multiple patterns are provided,
|
100
|
+
# the same component name (e.g. "project") refers to IDs of the same
|
101
|
+
# type of resource.
|
102
|
+
# @!attribute [rw] name_field
|
103
|
+
# @return [::String]
|
104
|
+
# Optional. The field on the resource that designates the resource name
|
105
|
+
# field. If omitted, this is assumed to be "name".
|
106
|
+
# @!attribute [rw] history
|
107
|
+
# @return [::Google::Api::ResourceDescriptor::History]
|
108
|
+
# Optional. The historical or future-looking state of the resource pattern.
|
109
|
+
#
|
110
|
+
# Example:
|
111
|
+
#
|
112
|
+
# // The InspectTemplate message originally only supported resource
|
113
|
+
# // names with organization, and project was added later.
|
114
|
+
# message InspectTemplate {
|
115
|
+
# option (google.api.resource) = {
|
116
|
+
# type: "dlp.googleapis.com/InspectTemplate"
|
117
|
+
# pattern:
|
118
|
+
# "organizations/{organization}/inspectTemplates/{inspect_template}"
|
119
|
+
# pattern: "projects/{project}/inspectTemplates/{inspect_template}"
|
120
|
+
# history: ORIGINALLY_SINGLE_PATTERN
|
121
|
+
# };
|
122
|
+
# }
|
123
|
+
# @!attribute [rw] plural
|
124
|
+
# @return [::String]
|
125
|
+
# The plural name used in the resource name and permission names, such as
|
126
|
+
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
|
128
|
+
# concept of the `plural` field in k8s CRD spec
|
129
|
+
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
|
+
#
|
131
|
+
# Note: The plural form is required even for singleton resources. See
|
132
|
+
# https://aip.dev/156
|
133
|
+
# @!attribute [rw] singular
|
134
|
+
# @return [::String]
|
135
|
+
# The same concept of the `singular` field in k8s CRD spec
|
136
|
+
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
137
|
+
# Such as "project" for the `resourcemanager.googleapis.com/Project` type.
|
138
|
+
# @!attribute [rw] style
|
139
|
+
# @return [::Array<::Google::Api::ResourceDescriptor::Style>]
|
140
|
+
# Style flag(s) for this resource.
|
141
|
+
# These indicate that a resource is expected to conform to a given
|
142
|
+
# style. See the specific style flags for additional information.
|
143
|
+
class ResourceDescriptor
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
|
+
|
147
|
+
# A description of the historical or future-looking state of the
|
148
|
+
# resource pattern.
|
149
|
+
module History
|
150
|
+
# The "unset" value.
|
151
|
+
HISTORY_UNSPECIFIED = 0
|
152
|
+
|
153
|
+
# The resource originally had one pattern and launched as such, and
|
154
|
+
# additional patterns were added later.
|
155
|
+
ORIGINALLY_SINGLE_PATTERN = 1
|
156
|
+
|
157
|
+
# The resource has one pattern, but the API owner expects to add more
|
158
|
+
# later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents
|
159
|
+
# that from being necessary once there are multiple patterns.)
|
160
|
+
FUTURE_MULTI_PATTERN = 2
|
161
|
+
end
|
162
|
+
|
163
|
+
# A flag representing a specific style that a resource claims to conform to.
|
164
|
+
module Style
|
165
|
+
# The unspecified value. Do not use.
|
166
|
+
STYLE_UNSPECIFIED = 0
|
167
|
+
|
168
|
+
# This resource is intended to be "declarative-friendly".
|
169
|
+
#
|
170
|
+
# Declarative-friendly resources must be more strictly consistent, and
|
171
|
+
# setting this to true communicates to tools that this resource should
|
172
|
+
# adhere to declarative-friendly expectations.
|
173
|
+
#
|
174
|
+
# Note: This is used by the API linter (linter.aip.dev) to enable
|
175
|
+
# additional checks.
|
176
|
+
DECLARATIVE_FRIENDLY = 1
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
# Defines a proto annotation that describes a string field that refers to
|
181
|
+
# an API resource.
|
182
|
+
# @!attribute [rw] type
|
183
|
+
# @return [::String]
|
184
|
+
# The resource type that the annotated field references.
|
185
|
+
#
|
186
|
+
# Example:
|
187
|
+
#
|
188
|
+
# message Subscription {
|
189
|
+
# string topic = 2 [(google.api.resource_reference) = {
|
190
|
+
# type: "pubsub.googleapis.com/Topic"
|
191
|
+
# }];
|
192
|
+
# }
|
193
|
+
#
|
194
|
+
# Occasionally, a field may reference an arbitrary resource. In this case,
|
195
|
+
# APIs use the special value * in their resource reference.
|
196
|
+
#
|
197
|
+
# Example:
|
198
|
+
#
|
199
|
+
# message GetIamPolicyRequest {
|
200
|
+
# string resource = 2 [(google.api.resource_reference) = {
|
201
|
+
# type: "*"
|
202
|
+
# }];
|
203
|
+
# }
|
204
|
+
# @!attribute [rw] child_type
|
205
|
+
# @return [::String]
|
206
|
+
# The resource type of a child collection that the annotated field
|
207
|
+
# references. This is useful for annotating the `parent` field that
|
208
|
+
# doesn't have a fixed resource type.
|
209
|
+
#
|
210
|
+
# Example:
|
211
|
+
#
|
212
|
+
# message ListLogEntriesRequest {
|
213
|
+
# string parent = 1 [(google.api.resource_reference) = {
|
214
|
+
# child_type: "logging.googleapis.com/LogEntry"
|
215
|
+
# };
|
216
|
+
# }
|
217
|
+
class ResourceReference
|
218
|
+
include ::Google::Protobuf::MessageExts
|
219
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
220
|
+
end
|
221
|
+
end
|
222
|
+
end
|
@@ -0,0 +1,336 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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 BeyondCorp
|
23
|
+
module ClientConnectorServices
|
24
|
+
module V1
|
25
|
+
# Message describing ClientConnectorService object.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Required. Name of resource. The name is ignored during creation.
|
29
|
+
# @!attribute [r] create_time
|
30
|
+
# @return [::Google::Protobuf::Timestamp]
|
31
|
+
# Output only. [Output only] Create time stamp.
|
32
|
+
# @!attribute [r] update_time
|
33
|
+
# @return [::Google::Protobuf::Timestamp]
|
34
|
+
# Output only. [Output only] Update time stamp.
|
35
|
+
# @!attribute [rw] display_name
|
36
|
+
# @return [::String]
|
37
|
+
# Optional. User-provided name.
|
38
|
+
# The display name should follow certain format.
|
39
|
+
# * Must be 6 to 30 characters in length.
|
40
|
+
# * Can only contain lowercase letters, numbers, and hyphens.
|
41
|
+
# * Must start with a letter.
|
42
|
+
# @!attribute [rw] ingress
|
43
|
+
# @return [::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorService::Ingress]
|
44
|
+
# Required. The details of the ingress settings.
|
45
|
+
# @!attribute [rw] egress
|
46
|
+
# @return [::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorService::Egress]
|
47
|
+
# Required. The details of the egress settings.
|
48
|
+
# @!attribute [r] state
|
49
|
+
# @return [::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorService::State]
|
50
|
+
# Output only. The operational state of the ClientConnectorService.
|
51
|
+
class ClientConnectorService
|
52
|
+
include ::Google::Protobuf::MessageExts
|
53
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
54
|
+
|
55
|
+
# Settings of how to connect to the ClientGateway.
|
56
|
+
# One of the following options should be set.
|
57
|
+
# @!attribute [rw] config
|
58
|
+
# @return [::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorService::Ingress::Config]
|
59
|
+
# The basic ingress config for ClientGateways.
|
60
|
+
class Ingress
|
61
|
+
include ::Google::Protobuf::MessageExts
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
63
|
+
|
64
|
+
# The basic ingress config for ClientGateways.
|
65
|
+
# @!attribute [rw] transport_protocol
|
66
|
+
# @return [::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorService::Ingress::Config::TransportProtocol]
|
67
|
+
# Required. Immutable. The transport protocol used between the client and
|
68
|
+
# the server.
|
69
|
+
# @!attribute [rw] destination_routes
|
70
|
+
# @return [::Array<::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorService::Ingress::Config::DestinationRoute>]
|
71
|
+
# Required. The settings used to configure basic ClientGateways.
|
72
|
+
class Config
|
73
|
+
include ::Google::Protobuf::MessageExts
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
|
+
|
76
|
+
# The setting used to configure ClientGateways.
|
77
|
+
# It is adding routes to the client's routing table
|
78
|
+
# after the connection is established.
|
79
|
+
# @!attribute [rw] address
|
80
|
+
# @return [::String]
|
81
|
+
# Required. The network address of the subnet
|
82
|
+
# for which the packet is routed to the ClientGateway.
|
83
|
+
# @!attribute [rw] netmask
|
84
|
+
# @return [::String]
|
85
|
+
# Required. The network mask of the subnet
|
86
|
+
# for which the packet is routed to the ClientGateway.
|
87
|
+
class DestinationRoute
|
88
|
+
include ::Google::Protobuf::MessageExts
|
89
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
90
|
+
end
|
91
|
+
|
92
|
+
# The protocol used to connect to the server.
|
93
|
+
module TransportProtocol
|
94
|
+
# Default value. This value is unused.
|
95
|
+
TRANSPORT_PROTOCOL_UNSPECIFIED = 0
|
96
|
+
|
97
|
+
# TCP protocol.
|
98
|
+
TCP = 1
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
# The details of the egress info. One of the following options should be set.
|
104
|
+
# @!attribute [rw] peered_vpc
|
105
|
+
# @return [::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorService::Egress::PeeredVpc]
|
106
|
+
# A VPC from the consumer project.
|
107
|
+
class Egress
|
108
|
+
include ::Google::Protobuf::MessageExts
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
|
111
|
+
# The peered VPC owned by the consumer project.
|
112
|
+
# @!attribute [rw] network_vpc
|
113
|
+
# @return [::String]
|
114
|
+
# Required. The name of the peered VPC owned by the consumer project.
|
115
|
+
class PeeredVpc
|
116
|
+
include ::Google::Protobuf::MessageExts
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
# Represents the different states of a ClientConnectorService.
|
122
|
+
module State
|
123
|
+
# Default value. This value is unused.
|
124
|
+
STATE_UNSPECIFIED = 0
|
125
|
+
|
126
|
+
# ClientConnectorService is being created.
|
127
|
+
CREATING = 1
|
128
|
+
|
129
|
+
# ClientConnectorService is being updated.
|
130
|
+
UPDATING = 2
|
131
|
+
|
132
|
+
# ClientConnectorService is being deleted.
|
133
|
+
DELETING = 3
|
134
|
+
|
135
|
+
# ClientConnectorService is running.
|
136
|
+
RUNNING = 4
|
137
|
+
|
138
|
+
# ClientConnectorService is down and may be restored in the future.
|
139
|
+
# This happens when CCFE sends ProjectState = OFF.
|
140
|
+
DOWN = 5
|
141
|
+
|
142
|
+
# ClientConnectorService encountered an error and is in an indeterministic
|
143
|
+
# state.
|
144
|
+
ERROR = 6
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
# Message for requesting list of ClientConnectorServices.
|
149
|
+
# @!attribute [rw] parent
|
150
|
+
# @return [::String]
|
151
|
+
# Required. Parent value for ListClientConnectorServicesRequest.
|
152
|
+
# @!attribute [rw] page_size
|
153
|
+
# @return [::Integer]
|
154
|
+
# Optional. Requested page size. Server may return fewer items than
|
155
|
+
# requested. If unspecified, server will pick an appropriate default.
|
156
|
+
# @!attribute [rw] page_token
|
157
|
+
# @return [::String]
|
158
|
+
# Optional. A token identifying a page of results the server should return.
|
159
|
+
# @!attribute [rw] filter
|
160
|
+
# @return [::String]
|
161
|
+
# Optional. Filtering results.
|
162
|
+
# @!attribute [rw] order_by
|
163
|
+
# @return [::String]
|
164
|
+
# Optional. Hint for how to order the results.
|
165
|
+
class ListClientConnectorServicesRequest
|
166
|
+
include ::Google::Protobuf::MessageExts
|
167
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
168
|
+
end
|
169
|
+
|
170
|
+
# Message for response to listing ClientConnectorServices.
|
171
|
+
# @!attribute [rw] client_connector_services
|
172
|
+
# @return [::Array<::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorService>]
|
173
|
+
# The list of ClientConnectorService.
|
174
|
+
# @!attribute [rw] next_page_token
|
175
|
+
# @return [::String]
|
176
|
+
# A token identifying a page of results the server should return.
|
177
|
+
# @!attribute [rw] unreachable
|
178
|
+
# @return [::Array<::String>]
|
179
|
+
# Locations that could not be reached.
|
180
|
+
class ListClientConnectorServicesResponse
|
181
|
+
include ::Google::Protobuf::MessageExts
|
182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
183
|
+
end
|
184
|
+
|
185
|
+
# Message for getting a ClientConnectorService.
|
186
|
+
# @!attribute [rw] name
|
187
|
+
# @return [::String]
|
188
|
+
# Required. Name of the resource.
|
189
|
+
class GetClientConnectorServiceRequest
|
190
|
+
include ::Google::Protobuf::MessageExts
|
191
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
192
|
+
end
|
193
|
+
|
194
|
+
# Message for creating a ClientConnectorService.
|
195
|
+
# @!attribute [rw] parent
|
196
|
+
# @return [::String]
|
197
|
+
# Required. Value for parent.
|
198
|
+
# @!attribute [rw] client_connector_service_id
|
199
|
+
# @return [::String]
|
200
|
+
# Optional. User-settable client connector service resource ID.
|
201
|
+
# * Must start with a letter.
|
202
|
+
# * Must contain between 4-63 characters from `/[a-z][0-9]-/`.
|
203
|
+
# * Must end with a number or a letter.
|
204
|
+
#
|
205
|
+
# A random system generated name will be assigned
|
206
|
+
# if not specified by the user.
|
207
|
+
# @!attribute [rw] client_connector_service
|
208
|
+
# @return [::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorService]
|
209
|
+
# Required. The resource being created.
|
210
|
+
# @!attribute [rw] request_id
|
211
|
+
# @return [::String]
|
212
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
213
|
+
# request ID so that if you must retry your request, the server will know to
|
214
|
+
# ignore the request if it has already been completed. The server will
|
215
|
+
# guarantee that for at least 60 minutes since the first request.
|
216
|
+
#
|
217
|
+
# For example, consider a situation where you make an initial request and t
|
218
|
+
# he request times out. If you make the request again with the same request
|
219
|
+
# ID, the server can check if original operation with the same request ID
|
220
|
+
# was received, and if so, will ignore the second request. This prevents
|
221
|
+
# clients from accidentally creating duplicate commitments.
|
222
|
+
#
|
223
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
224
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
225
|
+
# @!attribute [rw] validate_only
|
226
|
+
# @return [::Boolean]
|
227
|
+
# Optional. If set, validates request by executing a dry-run which would not
|
228
|
+
# alter the resource in any way.
|
229
|
+
class CreateClientConnectorServiceRequest
|
230
|
+
include ::Google::Protobuf::MessageExts
|
231
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
232
|
+
end
|
233
|
+
|
234
|
+
# Message for updating a ClientConnectorService
|
235
|
+
# @!attribute [rw] update_mask
|
236
|
+
# @return [::Google::Protobuf::FieldMask]
|
237
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
238
|
+
# ClientConnectorService resource by the update.
|
239
|
+
# The fields specified in the update_mask are relative to the resource, not
|
240
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
241
|
+
# user does not provide a mask then all fields will be overwritten.
|
242
|
+
#
|
243
|
+
# Mutable fields: display_name.
|
244
|
+
# @!attribute [rw] client_connector_service
|
245
|
+
# @return [::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorService]
|
246
|
+
# Required. The resource being updated.
|
247
|
+
# @!attribute [rw] request_id
|
248
|
+
# @return [::String]
|
249
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
250
|
+
# request ID so that if you must retry your request, the server will know to
|
251
|
+
# ignore the request if it has already been completed. The server will
|
252
|
+
# guarantee that for at least 60 minutes since the first request.
|
253
|
+
#
|
254
|
+
# For example, consider a situation where you make an initial request and t
|
255
|
+
# he request times out. If you make the request again with the same request
|
256
|
+
# ID, the server can check if original operation with the same request ID
|
257
|
+
# was received, and if so, will ignore the second request. This prevents
|
258
|
+
# clients from accidentally creating duplicate commitments.
|
259
|
+
#
|
260
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
261
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
262
|
+
# @!attribute [rw] validate_only
|
263
|
+
# @return [::Boolean]
|
264
|
+
# Optional. If set, validates request by executing a dry-run which would not
|
265
|
+
# alter the resource in any way.
|
266
|
+
# @!attribute [rw] allow_missing
|
267
|
+
# @return [::Boolean]
|
268
|
+
# Optional. If set as true, will create the resource if it is not found.
|
269
|
+
class UpdateClientConnectorServiceRequest
|
270
|
+
include ::Google::Protobuf::MessageExts
|
271
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
272
|
+
end
|
273
|
+
|
274
|
+
# Message for deleting a ClientConnectorService.
|
275
|
+
# @!attribute [rw] name
|
276
|
+
# @return [::String]
|
277
|
+
# Required. Name of the resource.
|
278
|
+
# @!attribute [rw] request_id
|
279
|
+
# @return [::String]
|
280
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
281
|
+
# request ID so that if you must retry your request, the server will know to
|
282
|
+
# ignore the request if it has already been completed. The server will
|
283
|
+
# guarantee that for at least 60 minutes after the first request.
|
284
|
+
#
|
285
|
+
# For example, consider a situation where you make an initial request and t
|
286
|
+
# he request times out. If you make the request again with the same request
|
287
|
+
# ID, the server can check if original operation with the same request ID
|
288
|
+
# was received, and if so, will ignore the second request. This prevents
|
289
|
+
# clients from accidentally creating duplicate commitments.
|
290
|
+
#
|
291
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
292
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
293
|
+
# @!attribute [rw] validate_only
|
294
|
+
# @return [::Boolean]
|
295
|
+
# Optional. If set, validates request by executing a dry-run which would not
|
296
|
+
# alter the resource in any way.
|
297
|
+
class DeleteClientConnectorServiceRequest
|
298
|
+
include ::Google::Protobuf::MessageExts
|
299
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
300
|
+
end
|
301
|
+
|
302
|
+
# Represents the metadata of the long-running operation.
|
303
|
+
# @!attribute [r] create_time
|
304
|
+
# @return [::Google::Protobuf::Timestamp]
|
305
|
+
# Output only. The time the operation was created.
|
306
|
+
# @!attribute [r] end_time
|
307
|
+
# @return [::Google::Protobuf::Timestamp]
|
308
|
+
# Output only. The time the operation finished running.
|
309
|
+
# @!attribute [r] target
|
310
|
+
# @return [::String]
|
311
|
+
# Output only. Server-defined resource path for the target of the operation.
|
312
|
+
# @!attribute [r] verb
|
313
|
+
# @return [::String]
|
314
|
+
# Output only. Name of the verb executed by the operation.
|
315
|
+
# @!attribute [r] status_message
|
316
|
+
# @return [::String]
|
317
|
+
# Output only. Human-readable status of the operation, if any.
|
318
|
+
# @!attribute [r] requested_cancellation
|
319
|
+
# @return [::Boolean]
|
320
|
+
# Output only. Identifies whether the user has requested cancellation
|
321
|
+
# of the operation. Operations that have successfully been cancelled
|
322
|
+
# have [Operation.error][] value with a
|
323
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
324
|
+
# `Code.CANCELLED`.
|
325
|
+
# @!attribute [r] api_version
|
326
|
+
# @return [::String]
|
327
|
+
# Output only. API version used to start the operation.
|
328
|
+
class ClientConnectorServiceOperationMetadata
|
329
|
+
include ::Google::Protobuf::MessageExts
|
330
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
331
|
+
end
|
332
|
+
end
|
333
|
+
end
|
334
|
+
end
|
335
|
+
end
|
336
|
+
end
|