google-cloud-network_connectivity-v1beta 0.2.0 → 0.3.2

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/network_connectivity/v1beta/bindings_override.rb +180 -0
  3. data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/rest/client.rb +1666 -0
  4. data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/rest/operations.rb +927 -0
  5. data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/rest/service_stub.rb +817 -0
  6. data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/rest.rb +54 -0
  7. data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service.rb +6 -0
  8. data/lib/google/cloud/network_connectivity/v1beta/hub_service/rest/client.rb +3353 -0
  9. data/lib/google/cloud/network_connectivity/v1beta/hub_service/rest/operations.rb +927 -0
  10. data/lib/google/cloud/network_connectivity/v1beta/hub_service/rest/service_stub.rb +1800 -0
  11. data/lib/google/cloud/network_connectivity/v1beta/hub_service/rest.rb +56 -0
  12. data/lib/google/cloud/network_connectivity/v1beta/hub_service.rb +6 -0
  13. data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/rest/client.rb +817 -0
  14. data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/rest/operations.rb +927 -0
  15. data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/rest/service_stub.rb +326 -0
  16. data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/rest.rb +55 -0
  17. data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service.rb +6 -0
  18. data/lib/google/cloud/network_connectivity/v1beta/rest.rb +41 -0
  19. data/lib/google/cloud/network_connectivity/v1beta/transport_manager/client.rb +98 -1
  20. data/lib/google/cloud/network_connectivity/v1beta/transport_manager/paths.rb +17 -0
  21. data/lib/google/cloud/network_connectivity/v1beta/transport_manager/rest/client.rb +1287 -0
  22. data/lib/google/cloud/network_connectivity/v1beta/transport_manager/rest/operations.rb +927 -0
  23. data/lib/google/cloud/network_connectivity/v1beta/transport_manager/rest/service_stub.rb +632 -0
  24. data/lib/google/cloud/network_connectivity/v1beta/transport_manager/rest.rb +54 -0
  25. data/lib/google/cloud/network_connectivity/v1beta/transport_manager.rb +6 -0
  26. data/lib/google/cloud/network_connectivity/v1beta/version.rb +1 -1
  27. data/lib/google/cloud/network_connectivity/v1beta.rb +5 -0
  28. data/lib/google/cloud/networkconnectivity/v1beta/hub_pb.rb +2 -1
  29. data/lib/google/cloud/networkconnectivity/v1beta/transport_manager_pb.rb +4 -1
  30. data/lib/google/cloud/networkconnectivity/v1beta/transport_manager_services_pb.rb +2 -0
  31. data/proto_docs/google/cloud/networkconnectivity/v1beta/hub.rb +65 -0
  32. data/proto_docs/google/cloud/networkconnectivity/v1beta/transport_manager.rb +70 -10
  33. data/proto_docs/google/protobuf/timestamp.rb +7 -6
  34. metadata +19 -2
  35. data/proto_docs/google/type/expr.rb +0 -75
@@ -59,6 +59,9 @@ module Google
59
59
  # @return [::String]
60
60
  # Output only. Human readable name of this profile, used to identify this
61
61
  # profile in the UI.
62
+ # @!attribute [r] provider_type
63
+ # @return [::Google::Cloud::NetworkConnectivity::V1beta::RemoteTransportProfile::ProviderType]
64
+ # Output only. Provider type for this profile.
62
65
  class RemoteTransportProfile
63
66
  include ::Google::Protobuf::MessageExts
64
67
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -161,6 +164,18 @@ module Google
161
164
  # Enough capacity to fulfill an order.
162
165
  OPEN = 2
163
166
  end
167
+
168
+ # Provider type for this profile.
169
+ module ProviderType
170
+ # Unspecified provider type.
171
+ PROVIDER_TYPE_UNSPECIFIED = 0
172
+
173
+ # Represents a Cloud service provider.
174
+ CLOUD = 1
175
+
176
+ # Represents a Network service provider.
177
+ NETWORK = 2
178
+ end
164
179
  end
165
180
 
166
181
  # Message for requesting list of RemoteTransportProfiles.
@@ -209,6 +224,28 @@ module Google
209
224
  extend ::Google::Protobuf::MessageExts::ClassMethods
210
225
  end
211
226
 
227
+ # Message for getting a RemoteTransportProfile from an activation key.
228
+ # @!attribute [rw] parent
229
+ # @return [::String]
230
+ # Required. Parent value for ParseFromActivationKeyRequest.
231
+ # @!attribute [rw] activation_key
232
+ # @return [::String]
233
+ # Required. The activation key to get the RemoteTransportProfile for.
234
+ class ParseFromActivationKeyRequest
235
+ include ::Google::Protobuf::MessageExts
236
+ extend ::Google::Protobuf::MessageExts::ClassMethods
237
+ end
238
+
239
+ # Message for response to getting a RemoteTransportProfile from an activation
240
+ # key.
241
+ # @!attribute [rw] remote_transport_profile
242
+ # @return [::Google::Cloud::NetworkConnectivity::V1beta::RemoteTransportProfile]
243
+ # The RemoteTransportProfile that was parsed from the activation key.
244
+ class ParseFromActivationKeyResponse
245
+ include ::Google::Protobuf::MessageExts
246
+ extend ::Google::Protobuf::MessageExts::ClassMethods
247
+ end
248
+
212
249
  # Message describing Transport object.
213
250
  # @!attribute [rw] name
214
251
  # @return [::String]
@@ -227,13 +264,13 @@ module Google
227
264
  # Optional. Description of the Transport.
228
265
  # @!attribute [rw] remote_profile
229
266
  # @return [::String]
230
- # Optional. Name of the remoteTransportProfile that this Transport is
231
- # connecting to.
267
+ # Optional. Immutable. Name of the remoteTransportProfile that this Transport
268
+ # is connecting to.
232
269
  # @!attribute [rw] provided_activation_key
233
270
  # @return [::String]
234
- # Optional. Key used for establishing a connection with the remote transport.
235
- # This key can only be provided if the profile supports an INPUT key flow and
236
- # the resource is in the PENDING_KEY state.
271
+ # Optional. Immutable. Key used for establishing a connection with the remote
272
+ # transport. This key can only be provided if the profile supports an INPUT
273
+ # key flow and the resource is in the PENDING_KEY state.
237
274
  # @!attribute [r] generated_activation_key
238
275
  # @return [::String]
239
276
  # Output only. Google-generated activation key. This is only output if the
@@ -265,22 +302,41 @@ module Google
265
302
  # bandwidth associated with the connectivity.
266
303
  # @!attribute [rw] network
267
304
  # @return [::String]
268
- # Optional. Resource URI of the Network that will be peered with this
269
- # Transport. This field must be provided during resource creation and cannot
270
- # be changed.
305
+ # Optional. Immutable. Resource URI of the Network that will be peered with
306
+ # this Transport. This field must be provided during resource creation and
307
+ # cannot be changed.
271
308
  # @!attribute [rw] advertised_routes
272
309
  # @return [::Array<::String>]
273
310
  # Optional. List of IP Prefixes that will be advertised to the remote
274
311
  # provider. Both IPv4 and IPv6 addresses are supported.
275
312
  # @!attribute [rw] remote_account_id
276
313
  # @return [::String]
277
- # Optional. The user supplied account id for the CSP associated with the
278
- # remote profile.
314
+ # Optional. Immutable. The user supplied account id for the CSP associated
315
+ # with the remote profile.
279
316
  # @!attribute [r] peering_network
280
317
  # @return [::String]
281
318
  # Output only. VPC Network URI that was created for the VPC Peering
282
319
  # connection to the provided `network`. If VPC Peering is disconnected, this
283
320
  # can be used to re-establish.
321
+ # @!attribute [rw] hub
322
+ # @return [::String]
323
+ # Optional. Immutable. The NCC Hub that the Transport should attach to. The
324
+ # hub must be in the same project as the Transport. Format:
325
+ # `{hub}` or `projects/{project}/locations/global/hubs/{hub}`
326
+ # @!attribute [rw] psc_routing_enabled
327
+ # @return [::Boolean]
328
+ # Optional. Immutable. Controls whether a Routing VPC Spoke should be created
329
+ # and attached to the NCC Hub. This will provide Private Service Connect
330
+ # (PSC) connectivity through NCC. This can only be set when the Transport is
331
+ # first created.
332
+ # @!attribute [rw] auto_accept
333
+ # @return [::Boolean]
334
+ # Optional. Immutable. Controls whether resources proposed by the Transport
335
+ # are automatically accepted on behalf of the user. List of actions that can
336
+ # be automatically accepted are:
337
+ # 1. VPC Peering creation
338
+ # 2. Routing VPC Spoke creation
339
+ # 3. Hybrid Spoke creation
284
340
  class Transport
285
341
  include ::Google::Protobuf::MessageExts
286
342
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -437,6 +493,10 @@ module Google
437
493
  # @!attribute [rw] name
438
494
  # @return [::String]
439
495
  # Required. Name of the resource.
496
+ # @!attribute [rw] skip_cache
497
+ # @return [::Boolean]
498
+ # Optional. If set to true, the response will bypass any caches and return
499
+ # the freshest possible data.
440
500
  class GetStatusRequest
441
501
  include ::Google::Protobuf::MessageExts
442
502
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -110,14 +110,15 @@ module Google
110
110
  # ) to obtain a formatter capable of generating timestamps in this format.
111
111
  # @!attribute [rw] seconds
112
112
  # @return [::Integer]
113
- # Represents seconds of UTC time since Unix epoch
114
- # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
115
- # 9999-12-31T23:59:59Z inclusive.
113
+ # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
114
+ # be between -315576000000 and 315576000000 inclusive (which corresponds to
115
+ # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
116
116
  # @!attribute [rw] nanos
117
117
  # @return [::Integer]
118
- # Non-negative fractions of a second at nanosecond resolution. Negative
119
- # second values with fractions must still have non-negative nanos values
120
- # that count forward in time. Must be from 0 to 999,999,999
118
+ # Non-negative fractions of a second at nanosecond resolution. This field is
119
+ # the nanosecond portion of the duration, not an alternative to seconds.
120
+ # Negative second values with fractions must still have non-negative nanos
121
+ # values that count forward in time. Must be between 0 and 999,999,999
121
122
  # inclusive.
122
123
  class Timestamp
123
124
  include ::Google::Protobuf::MessageExts
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-network_connectivity-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -80,26 +80,44 @@ files:
80
80
  - README.md
81
81
  - lib/google-cloud-network_connectivity-v1beta.rb
82
82
  - lib/google/cloud/network_connectivity/v1beta.rb
83
+ - lib/google/cloud/network_connectivity/v1beta/bindings_override.rb
83
84
  - lib/google/cloud/network_connectivity/v1beta/data_transfer_service.rb
84
85
  - lib/google/cloud/network_connectivity/v1beta/data_transfer_service/client.rb
85
86
  - lib/google/cloud/network_connectivity/v1beta/data_transfer_service/credentials.rb
86
87
  - lib/google/cloud/network_connectivity/v1beta/data_transfer_service/operations.rb
87
88
  - lib/google/cloud/network_connectivity/v1beta/data_transfer_service/paths.rb
89
+ - lib/google/cloud/network_connectivity/v1beta/data_transfer_service/rest.rb
90
+ - lib/google/cloud/network_connectivity/v1beta/data_transfer_service/rest/client.rb
91
+ - lib/google/cloud/network_connectivity/v1beta/data_transfer_service/rest/operations.rb
92
+ - lib/google/cloud/network_connectivity/v1beta/data_transfer_service/rest/service_stub.rb
88
93
  - lib/google/cloud/network_connectivity/v1beta/hub_service.rb
89
94
  - lib/google/cloud/network_connectivity/v1beta/hub_service/client.rb
90
95
  - lib/google/cloud/network_connectivity/v1beta/hub_service/credentials.rb
91
96
  - lib/google/cloud/network_connectivity/v1beta/hub_service/operations.rb
92
97
  - lib/google/cloud/network_connectivity/v1beta/hub_service/paths.rb
98
+ - lib/google/cloud/network_connectivity/v1beta/hub_service/rest.rb
99
+ - lib/google/cloud/network_connectivity/v1beta/hub_service/rest/client.rb
100
+ - lib/google/cloud/network_connectivity/v1beta/hub_service/rest/operations.rb
101
+ - lib/google/cloud/network_connectivity/v1beta/hub_service/rest/service_stub.rb
93
102
  - lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service.rb
94
103
  - lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/client.rb
95
104
  - lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/credentials.rb
96
105
  - lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/operations.rb
97
106
  - lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/paths.rb
107
+ - lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/rest.rb
108
+ - lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/rest/client.rb
109
+ - lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/rest/operations.rb
110
+ - lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/rest/service_stub.rb
111
+ - lib/google/cloud/network_connectivity/v1beta/rest.rb
98
112
  - lib/google/cloud/network_connectivity/v1beta/transport_manager.rb
99
113
  - lib/google/cloud/network_connectivity/v1beta/transport_manager/client.rb
100
114
  - lib/google/cloud/network_connectivity/v1beta/transport_manager/credentials.rb
101
115
  - lib/google/cloud/network_connectivity/v1beta/transport_manager/operations.rb
102
116
  - lib/google/cloud/network_connectivity/v1beta/transport_manager/paths.rb
117
+ - lib/google/cloud/network_connectivity/v1beta/transport_manager/rest.rb
118
+ - lib/google/cloud/network_connectivity/v1beta/transport_manager/rest/client.rb
119
+ - lib/google/cloud/network_connectivity/v1beta/transport_manager/rest/operations.rb
120
+ - lib/google/cloud/network_connectivity/v1beta/transport_manager/rest/service_stub.rb
103
121
  - lib/google/cloud/network_connectivity/v1beta/version.rb
104
122
  - lib/google/cloud/networkconnectivity/v1beta/common_pb.rb
105
123
  - lib/google/cloud/networkconnectivity/v1beta/data_transfer_pb.rb
@@ -128,7 +146,6 @@ files:
128
146
  - proto_docs/google/protobuf/field_mask.rb
129
147
  - proto_docs/google/protobuf/timestamp.rb
130
148
  - proto_docs/google/rpc/status.rb
131
- - proto_docs/google/type/expr.rb
132
149
  homepage: https://github.com/googleapis/google-cloud-ruby
133
150
  licenses:
134
151
  - Apache-2.0
@@ -1,75 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2026 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 Type
22
- # Represents a textual expression in the Common Expression Language (CEL)
23
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
24
- # are documented at https://github.com/google/cel-spec.
25
- #
26
- # Example (Comparison):
27
- #
28
- # title: "Summary size limit"
29
- # description: "Determines if a summary is less than 100 chars"
30
- # expression: "document.summary.size() < 100"
31
- #
32
- # Example (Equality):
33
- #
34
- # title: "Requestor is owner"
35
- # description: "Determines if requestor is the document owner"
36
- # expression: "document.owner == request.auth.claims.email"
37
- #
38
- # Example (Logic):
39
- #
40
- # title: "Public documents"
41
- # description: "Determine whether the document should be publicly visible"
42
- # expression: "document.type != 'private' && document.type != 'internal'"
43
- #
44
- # Example (Data Manipulation):
45
- #
46
- # title: "Notification string"
47
- # description: "Create a notification string with a timestamp."
48
- # expression: "'New message received at ' + string(document.create_time)"
49
- #
50
- # The exact variables and functions that may be referenced within an expression
51
- # are determined by the service that evaluates it. See the service
52
- # documentation for additional information.
53
- # @!attribute [rw] expression
54
- # @return [::String]
55
- # Textual representation of an expression in Common Expression Language
56
- # syntax.
57
- # @!attribute [rw] title
58
- # @return [::String]
59
- # Optional. Title for the expression, i.e. a short string describing
60
- # its purpose. This can be used e.g. in UIs which allow to enter the
61
- # expression.
62
- # @!attribute [rw] description
63
- # @return [::String]
64
- # Optional. Description of the expression. This is a longer text which
65
- # describes the expression, e.g. when hovered over it in a UI.
66
- # @!attribute [rw] location
67
- # @return [::String]
68
- # Optional. String indicating the location of the expression for error
69
- # reporting, e.g. a file name and a position in the file.
70
- class Expr
71
- include ::Google::Protobuf::MessageExts
72
- extend ::Google::Protobuf::MessageExts::ClassMethods
73
- end
74
- end
75
- end