google-cloud-network_connectivity-v1alpha1 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.
Files changed (28) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +203 -0
  5. data/README.md +75 -0
  6. data/lib/google-cloud-network_connectivity-v1alpha1.rb +21 -0
  7. data/lib/google/cloud/network_connectivity/v1alpha1.rb +38 -0
  8. data/lib/google/cloud/network_connectivity/v1alpha1/hub_service.rb +52 -0
  9. data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb +1188 -0
  10. data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/credentials.rb +51 -0
  11. data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/operations.rb +570 -0
  12. data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/paths.rb +143 -0
  13. data/lib/google/cloud/network_connectivity/v1alpha1/version.rb +28 -0
  14. data/lib/google/cloud/networkconnectivity/v1alpha1/common_pb.rb +31 -0
  15. data/lib/google/cloud/networkconnectivity/v1alpha1/hub_pb.rb +126 -0
  16. data/lib/google/cloud/networkconnectivity/v1alpha1/hub_services_pb.rb +65 -0
  17. data/proto_docs/README.md +4 -0
  18. data/proto_docs/google/api/field_behavior.rb +59 -0
  19. data/proto_docs/google/api/resource.rb +283 -0
  20. data/proto_docs/google/cloud/networkconnectivity/v1alpha1/common.rb +56 -0
  21. data/proto_docs/google/cloud/networkconnectivity/v1alpha1/hub.rb +393 -0
  22. data/proto_docs/google/longrunning/operations.rb +150 -0
  23. data/proto_docs/google/protobuf/any.rb +138 -0
  24. data/proto_docs/google/protobuf/empty.rb +36 -0
  25. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  26. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  27. data/proto_docs/google/rpc/status.rb +46 -0
  28. metadata +210 -0
@@ -0,0 +1,283 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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
+ # name_descriptor: {
37
+ # pattern: "projects/{project}/topics/{topic}"
38
+ # parent_type: "cloudresourcemanager.googleapis.com/Project"
39
+ # parent_name_extractor: "projects/{project}"
40
+ # }
41
+ # };
42
+ # }
43
+ #
44
+ # The ResourceDescriptor Yaml config will look like:
45
+ #
46
+ # resources:
47
+ # - type: "pubsub.googleapis.com/Topic"
48
+ # name_descriptor:
49
+ # - pattern: "projects/{project}/topics/{topic}"
50
+ # parent_type: "cloudresourcemanager.googleapis.com/Project"
51
+ # parent_name_extractor: "projects/{project}"
52
+ #
53
+ # Sometimes, resources have multiple patterns, typically because they can
54
+ # live under multiple parents.
55
+ #
56
+ # Example:
57
+ #
58
+ # message LogEntry {
59
+ # option (google.api.resource) = {
60
+ # type: "logging.googleapis.com/LogEntry"
61
+ # name_descriptor: {
62
+ # pattern: "projects/{project}/logs/{log}"
63
+ # parent_type: "cloudresourcemanager.googleapis.com/Project"
64
+ # parent_name_extractor: "projects/{project}"
65
+ # }
66
+ # name_descriptor: {
67
+ # pattern: "folders/{folder}/logs/{log}"
68
+ # parent_type: "cloudresourcemanager.googleapis.com/Folder"
69
+ # parent_name_extractor: "folders/{folder}"
70
+ # }
71
+ # name_descriptor: {
72
+ # pattern: "organizations/{organization}/logs/{log}"
73
+ # parent_type: "cloudresourcemanager.googleapis.com/Organization"
74
+ # parent_name_extractor: "organizations/{organization}"
75
+ # }
76
+ # name_descriptor: {
77
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
78
+ # parent_type: "billing.googleapis.com/BillingAccount"
79
+ # parent_name_extractor: "billingAccounts/{billing_account}"
80
+ # }
81
+ # };
82
+ # }
83
+ #
84
+ # The ResourceDescriptor Yaml config will look like:
85
+ #
86
+ # resources:
87
+ # - type: 'logging.googleapis.com/LogEntry'
88
+ # name_descriptor:
89
+ # - pattern: "projects/{project}/logs/{log}"
90
+ # parent_type: "cloudresourcemanager.googleapis.com/Project"
91
+ # parent_name_extractor: "projects/{project}"
92
+ # - pattern: "folders/{folder}/logs/{log}"
93
+ # parent_type: "cloudresourcemanager.googleapis.com/Folder"
94
+ # parent_name_extractor: "folders/{folder}"
95
+ # - pattern: "organizations/{organization}/logs/{log}"
96
+ # parent_type: "cloudresourcemanager.googleapis.com/Organization"
97
+ # parent_name_extractor: "organizations/{organization}"
98
+ # - pattern: "billingAccounts/{billing_account}/logs/{log}"
99
+ # parent_type: "billing.googleapis.com/BillingAccount"
100
+ # parent_name_extractor: "billingAccounts/{billing_account}"
101
+ #
102
+ # For flexible resources, the resource name doesn't contain parent names, but
103
+ # the resource itself has parents for policy evaluation.
104
+ #
105
+ # Example:
106
+ #
107
+ # message Shelf {
108
+ # option (google.api.resource) = {
109
+ # type: "library.googleapis.com/Shelf"
110
+ # name_descriptor: {
111
+ # pattern: "shelves/{shelf}"
112
+ # parent_type: "cloudresourcemanager.googleapis.com/Project"
113
+ # }
114
+ # name_descriptor: {
115
+ # pattern: "shelves/{shelf}"
116
+ # parent_type: "cloudresourcemanager.googleapis.com/Folder"
117
+ # }
118
+ # };
119
+ # }
120
+ #
121
+ # The ResourceDescriptor Yaml config will look like:
122
+ #
123
+ # resources:
124
+ # - type: 'library.googleapis.com/Shelf'
125
+ # name_descriptor:
126
+ # - pattern: "shelves/{shelf}"
127
+ # parent_type: "cloudresourcemanager.googleapis.com/Project"
128
+ # - pattern: "shelves/{shelf}"
129
+ # parent_type: "cloudresourcemanager.googleapis.com/Folder"
130
+ # @!attribute [rw] type
131
+ # @return [::String]
132
+ # The resource type. It must be in the format of
133
+ # \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
134
+ # singular and must not include version numbers.
135
+ #
136
+ # Example: `storage.googleapis.com/Bucket`
137
+ #
138
+ # The value of the resource_type_kind must follow the regular expression
139
+ # /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
140
+ # should use PascalCase (UpperCamelCase). The maximum number of
141
+ # characters allowed for the `resource_type_kind` is 100.
142
+ # @!attribute [rw] pattern
143
+ # @return [::Array<::String>]
144
+ # Optional. The relative resource name pattern associated with this resource
145
+ # type. The DNS prefix of the full resource name shouldn't be specified here.
146
+ #
147
+ # The path pattern must follow the syntax, which aligns with HTTP binding
148
+ # syntax:
149
+ #
150
+ # Template = Segment { "/" Segment } ;
151
+ # Segment = LITERAL | Variable ;
152
+ # Variable = "{" LITERAL "}" ;
153
+ #
154
+ # Examples:
155
+ #
156
+ # - "projects/\\{project}/topics/\\{topic}"
157
+ # - "projects/\\{project}/knowledgeBases/\\{knowledge_base}"
158
+ #
159
+ # The components in braces correspond to the IDs for each resource in the
160
+ # hierarchy. It is expected that, if multiple patterns are provided,
161
+ # the same component name (e.g. "project") refers to IDs of the same
162
+ # type of resource.
163
+ # @!attribute [rw] name_field
164
+ # @return [::String]
165
+ # Optional. The field on the resource that designates the resource name
166
+ # field. If omitted, this is assumed to be "name".
167
+ # @!attribute [rw] history
168
+ # @return [::Google::Api::ResourceDescriptor::History]
169
+ # Optional. The historical or future-looking state of the resource pattern.
170
+ #
171
+ # Example:
172
+ #
173
+ # // The InspectTemplate message originally only supported resource
174
+ # // names with organization, and project was added later.
175
+ # message InspectTemplate {
176
+ # option (google.api.resource) = {
177
+ # type: "dlp.googleapis.com/InspectTemplate"
178
+ # pattern:
179
+ # "organizations/{organization}/inspectTemplates/{inspect_template}"
180
+ # pattern: "projects/{project}/inspectTemplates/{inspect_template}"
181
+ # history: ORIGINALLY_SINGLE_PATTERN
182
+ # };
183
+ # }
184
+ # @!attribute [rw] plural
185
+ # @return [::String]
186
+ # The plural name used in the resource name and permission names, such as
187
+ # 'projects' for the resource name of 'projects/\\{project}' and the permission
188
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
189
+ # concept of the `plural` field in k8s CRD spec
190
+ # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
191
+ #
192
+ # Note: The plural form is required even for singleton resources. See
193
+ # https://aip.dev/156
194
+ # @!attribute [rw] singular
195
+ # @return [::String]
196
+ # The same concept of the `singular` field in k8s CRD spec
197
+ # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
198
+ # Such as "project" for the `resourcemanager.googleapis.com/Project` type.
199
+ # @!attribute [rw] style
200
+ # @return [::Array<::Google::Api::ResourceDescriptor::Style>]
201
+ # Style flag(s) for this resource.
202
+ # These indicate that a resource is expected to conform to a given
203
+ # style. See the specific style flags for additional information.
204
+ class ResourceDescriptor
205
+ include ::Google::Protobuf::MessageExts
206
+ extend ::Google::Protobuf::MessageExts::ClassMethods
207
+
208
+ # A description of the historical or future-looking state of the
209
+ # resource pattern.
210
+ module History
211
+ # The "unset" value.
212
+ HISTORY_UNSPECIFIED = 0
213
+
214
+ # The resource originally had one pattern and launched as such, and
215
+ # additional patterns were added later.
216
+ ORIGINALLY_SINGLE_PATTERN = 1
217
+
218
+ # The resource has one pattern, but the API owner expects to add more
219
+ # later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents
220
+ # that from being necessary once there are multiple patterns.)
221
+ FUTURE_MULTI_PATTERN = 2
222
+ end
223
+
224
+ # A flag representing a specific style that a resource claims to conform to.
225
+ module Style
226
+ # The unspecified value. Do not use.
227
+ STYLE_UNSPECIFIED = 0
228
+
229
+ # This resource is intended to be "declarative-friendly".
230
+ #
231
+ # Declarative-friendly resources must be more strictly consistent, and
232
+ # setting this to true communicates to tools that this resource should
233
+ # adhere to declarative-friendly expectations.
234
+ #
235
+ # Note: This is used by the API linter (linter.aip.dev) to enable
236
+ # additional checks.
237
+ DECLARATIVE_FRIENDLY = 1
238
+ end
239
+ end
240
+
241
+ # Defines a proto annotation that describes a string field that refers to
242
+ # an API resource.
243
+ # @!attribute [rw] type
244
+ # @return [::String]
245
+ # The resource type that the annotated field references.
246
+ #
247
+ # Example:
248
+ #
249
+ # message Subscription {
250
+ # string topic = 2 [(google.api.resource_reference) = {
251
+ # type: "pubsub.googleapis.com/Topic"
252
+ # }];
253
+ # }
254
+ #
255
+ # Occasionally, a field may reference an arbitrary resource. In this case,
256
+ # APIs use the special value * in their resource reference.
257
+ #
258
+ # Example:
259
+ #
260
+ # message GetIamPolicyRequest {
261
+ # string resource = 2 [(google.api.resource_reference) = {
262
+ # type: "*"
263
+ # }];
264
+ # }
265
+ # @!attribute [rw] child_type
266
+ # @return [::String]
267
+ # The resource type of a child collection that the annotated field
268
+ # references. This is useful for annotating the `parent` field that
269
+ # doesn't have a fixed resource type.
270
+ #
271
+ # Example:
272
+ #
273
+ # message ListLogEntriesRequest {
274
+ # string parent = 1 [(google.api.resource_reference) = {
275
+ # child_type: "logging.googleapis.com/LogEntry"
276
+ # };
277
+ # }
278
+ class ResourceReference
279
+ include ::Google::Protobuf::MessageExts
280
+ extend ::Google::Protobuf::MessageExts::ClassMethods
281
+ end
282
+ end
283
+ end
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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 NetworkConnectivity
23
+ module V1alpha1
24
+ # Represents the metadata of the long-running operation.
25
+ # @!attribute [r] create_time
26
+ # @return [::Google::Protobuf::Timestamp]
27
+ # Output only. The time the operation was created.
28
+ # @!attribute [r] end_time
29
+ # @return [::Google::Protobuf::Timestamp]
30
+ # Output only. The time the operation finished running.
31
+ # @!attribute [r] target
32
+ # @return [::String]
33
+ # Output only. Server-defined resource path for the target of the operation.
34
+ # @!attribute [r] verb
35
+ # @return [::String]
36
+ # Output only. Name of the verb executed by the operation.
37
+ # @!attribute [r] status_message
38
+ # @return [::String]
39
+ # Output only. Human-readable status of the operation, if any.
40
+ # @!attribute [r] requested_cancellation
41
+ # @return [::Boolean]
42
+ # Output only. Identifies whether the user has requested cancellation
43
+ # of the operation. Operations that have successfully been cancelled
44
+ # have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
45
+ # corresponding to `Code.CANCELLED`.
46
+ # @!attribute [r] api_version
47
+ # @return [::String]
48
+ # Output only. API version used to start the operation.
49
+ class OperationMetadata
50
+ include ::Google::Protobuf::MessageExts
51
+ extend ::Google::Protobuf::MessageExts::ClassMethods
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,393 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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 NetworkConnectivity
23
+ module V1alpha1
24
+ # The Connectivity Hub is a hub-and-spoke abstraction for network connectivity
25
+ # management in Google Cloud. It aims to reduce operational complexity
26
+ # through a simple, centralized connectivity management model. Here is the
27
+ # resource message of a Hub.
28
+ # @!attribute [rw] name
29
+ # @return [::String]
30
+ # Immutable. The name of a Hub resource.
31
+ # @!attribute [rw] create_time
32
+ # @return [::Google::Protobuf::Timestamp]
33
+ # Time when the Hub was created.
34
+ # @!attribute [rw] update_time
35
+ # @return [::Google::Protobuf::Timestamp]
36
+ # Time when the Hub was updated.
37
+ # @!attribute [rw] labels
38
+ # @return [::Google::Protobuf::Map{::String => ::String}]
39
+ # User-defined labels.
40
+ # @!attribute [rw] description
41
+ # @return [::String]
42
+ # Short description of the hub resource.
43
+ # @!attribute [r] spokes
44
+ # @return [::Array<::String>]
45
+ # Output only. A list of the URIs of all attached spokes
46
+ # @!attribute [r] unique_id
47
+ # @return [::String]
48
+ # Output only. Google-generated UUID for this resource. This is unique across all Hub
49
+ # resources. If a Hub resource is deleted and another with the same name is
50
+ # created, it gets a different unique_id.
51
+ class Hub
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+
55
+ # @!attribute [rw] key
56
+ # @return [::String]
57
+ # @!attribute [rw] value
58
+ # @return [::String]
59
+ class LabelsEntry
60
+ include ::Google::Protobuf::MessageExts
61
+ extend ::Google::Protobuf::MessageExts::ClassMethods
62
+ end
63
+ end
64
+
65
+ # A Spoke is an abstraction of a network attachment being attached
66
+ # to a Hub. A Spoke can be underlying a VPN tunnel, a
67
+ # VLAN (interconnect) attachment, a Router appliance, etc.
68
+ # @!attribute [rw] name
69
+ # @return [::String]
70
+ # Immutable. The name of a Spoke resource.
71
+ # @!attribute [rw] create_time
72
+ # @return [::Google::Protobuf::Timestamp]
73
+ # The time when the Spoke was created.
74
+ # @!attribute [rw] update_time
75
+ # @return [::Google::Protobuf::Timestamp]
76
+ # The time when the Spoke was updated.
77
+ # @!attribute [rw] labels
78
+ # @return [::Google::Protobuf::Map{::String => ::String}]
79
+ # User-defined labels.
80
+ # @!attribute [rw] description
81
+ # @return [::String]
82
+ # Short description of the spoke resource
83
+ # @!attribute [rw] hub
84
+ # @return [::String]
85
+ # The resource URL of the hub resource that the spoke is attached to
86
+ # @!attribute [rw] linked_vpn_tunnels
87
+ # @return [::Array<::String>]
88
+ # The URIs of linked VPN tunnel resources
89
+ # @!attribute [rw] linked_interconnect_attachments
90
+ # @return [::Array<::String>]
91
+ # The URIs of linked interconnect attachment resources
92
+ # @!attribute [rw] linked_router_appliance_instances
93
+ # @return [::Array<::Google::Cloud::NetworkConnectivity::V1alpha1::RouterApplianceInstance>]
94
+ # The URIs of linked Router appliance resources
95
+ # @!attribute [r] unique_id
96
+ # @return [::String]
97
+ # Output only. Google-generated UUID for this resource. This is unique across all Spoke
98
+ # resources. If a Spoke resource is deleted and another with the same name is
99
+ # created, it gets a different unique_id.
100
+ class Spoke
101
+ include ::Google::Protobuf::MessageExts
102
+ extend ::Google::Protobuf::MessageExts::ClassMethods
103
+
104
+ # @!attribute [rw] key
105
+ # @return [::String]
106
+ # @!attribute [rw] value
107
+ # @return [::String]
108
+ class LabelsEntry
109
+ include ::Google::Protobuf::MessageExts
110
+ extend ::Google::Protobuf::MessageExts::ClassMethods
111
+ end
112
+ end
113
+
114
+ # Request for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#list_hubs HubService.ListHubs} method.
115
+ # @!attribute [rw] parent
116
+ # @return [::String]
117
+ # Required. The parent resource's name.
118
+ # @!attribute [rw] page_size
119
+ # @return [::Integer]
120
+ # The maximum number of results per page that should be returned.
121
+ # @!attribute [rw] page_token
122
+ # @return [::String]
123
+ # The page token.
124
+ # @!attribute [rw] filter
125
+ # @return [::String]
126
+ # A filter expression that filters the results listed in the response.
127
+ # @!attribute [rw] order_by
128
+ # @return [::String]
129
+ # Sort the results by a certain order.
130
+ class ListHubsRequest
131
+ include ::Google::Protobuf::MessageExts
132
+ extend ::Google::Protobuf::MessageExts::ClassMethods
133
+ end
134
+
135
+ # Response for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#list_hubs HubService.ListHubs} method.
136
+ # @!attribute [rw] hubs
137
+ # @return [::Array<::Google::Cloud::NetworkConnectivity::V1alpha1::Hub>]
138
+ # Hubs to be returned.
139
+ # @!attribute [rw] next_page_token
140
+ # @return [::String]
141
+ # The next pagination token in the List response. It should be used as
142
+ # page_token for the following request. An empty value means no more result.
143
+ # @!attribute [rw] unreachable
144
+ # @return [::Array<::String>]
145
+ # Locations that could not be reached.
146
+ class ListHubsResponse
147
+ include ::Google::Protobuf::MessageExts
148
+ extend ::Google::Protobuf::MessageExts::ClassMethods
149
+ end
150
+
151
+ # Request for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#get_hub HubService.GetHub} method.
152
+ # @!attribute [rw] name
153
+ # @return [::String]
154
+ # Required. Name of the Hub resource to get.
155
+ class GetHubRequest
156
+ include ::Google::Protobuf::MessageExts
157
+ extend ::Google::Protobuf::MessageExts::ClassMethods
158
+ end
159
+
160
+ # Request for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#create_hub HubService.CreateHub} method.
161
+ # @!attribute [rw] parent
162
+ # @return [::String]
163
+ # Required. The parent resource's name of the Hub.
164
+ # @!attribute [rw] hub_id
165
+ # @return [::String]
166
+ # Optional. Unique id for the Hub to create.
167
+ # @!attribute [rw] hub
168
+ # @return [::Google::Cloud::NetworkConnectivity::V1alpha1::Hub]
169
+ # Required. Initial values for a new Hub.
170
+ # @!attribute [rw] request_id
171
+ # @return [::String]
172
+ # Optional. An optional request ID to identify requests. Specify a unique request ID
173
+ # so that if you must retry your request, the server will know to ignore
174
+ # the request if it has already been completed. The server will guarantee
175
+ # that for at least 60 minutes since the first request.
176
+ #
177
+ # For example, consider a situation where you make an initial request and t
178
+ # he request times out. If you make the request again with the same request
179
+ # ID, the server can check if original operation with the same request ID
180
+ # was received, and if so, will ignore the second request. This prevents
181
+ # clients from accidentally creating duplicate commitments.
182
+ #
183
+ # The request ID must be a valid UUID with the exception that zero UUID is
184
+ # not supported (00000000-0000-0000-0000-000000000000).
185
+ class CreateHubRequest
186
+ include ::Google::Protobuf::MessageExts
187
+ extend ::Google::Protobuf::MessageExts::ClassMethods
188
+ end
189
+
190
+ # Request for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#update_hub HubService.UpdateHub} method.
191
+ # @!attribute [rw] update_mask
192
+ # @return [::Google::Protobuf::FieldMask]
193
+ # Optional. Field mask is used to specify the fields to be overwritten in the
194
+ # Hub resource by the update.
195
+ # The fields specified in the update_mask are relative to the resource, not
196
+ # the full request. A field will be overwritten if it is in the mask. If the
197
+ # user does not provide a mask then all fields will be overwritten.
198
+ # @!attribute [rw] hub
199
+ # @return [::Google::Cloud::NetworkConnectivity::V1alpha1::Hub]
200
+ # Required. The state that the Hub should be in after the update.
201
+ # @!attribute [rw] request_id
202
+ # @return [::String]
203
+ # Optional. An optional request ID to identify requests. Specify a unique request ID
204
+ # so that if you must retry your request, the server will know to ignore
205
+ # the request if it has already been completed. The server will guarantee
206
+ # that for at least 60 minutes since the first request.
207
+ #
208
+ # For example, consider a situation where you make an initial request and t
209
+ # he request times out. If you make the request again with the same request
210
+ # ID, the server can check if original operation with the same request ID
211
+ # was received, and if so, will ignore the second request. This prevents
212
+ # clients from accidentally creating duplicate commitments.
213
+ #
214
+ # The request ID must be a valid UUID with the exception that zero UUID is
215
+ # not supported (00000000-0000-0000-0000-000000000000).
216
+ class UpdateHubRequest
217
+ include ::Google::Protobuf::MessageExts
218
+ extend ::Google::Protobuf::MessageExts::ClassMethods
219
+ end
220
+
221
+ # The request for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#delete_hub HubService.DeleteHub}.
222
+ # @!attribute [rw] name
223
+ # @return [::String]
224
+ # Required. The name of the Hub to delete.
225
+ # @!attribute [rw] request_id
226
+ # @return [::String]
227
+ # Optional. An optional request ID to identify requests. Specify a unique request ID
228
+ # so that if you must retry your request, the server will know to ignore
229
+ # the request if it has already been completed. The server will guarantee
230
+ # that for at least 60 minutes after the first request.
231
+ #
232
+ # For example, consider a situation where you make an initial request and t
233
+ # he request times out. If you make the request again with the same request
234
+ # ID, the server can check if original operation with the same request ID
235
+ # was received, and if so, will ignore the second request. This prevents
236
+ # clients from accidentally creating duplicate commitments.
237
+ #
238
+ # The request ID must be a valid UUID with the exception that zero UUID is
239
+ # not supported (00000000-0000-0000-0000-000000000000).
240
+ class DeleteHubRequest
241
+ include ::Google::Protobuf::MessageExts
242
+ extend ::Google::Protobuf::MessageExts::ClassMethods
243
+ end
244
+
245
+ # The request for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#list_spokes HubService.ListSpokes}.
246
+ # @!attribute [rw] parent
247
+ # @return [::String]
248
+ # Required. The parent's resource name.
249
+ # @!attribute [rw] page_size
250
+ # @return [::Integer]
251
+ # The maximum number of results per page that should be returned.
252
+ # @!attribute [rw] page_token
253
+ # @return [::String]
254
+ # The page token.
255
+ # @!attribute [rw] filter
256
+ # @return [::String]
257
+ # A filter expression that filters the results listed in the response.
258
+ # @!attribute [rw] order_by
259
+ # @return [::String]
260
+ # Sort the results by a certain order.
261
+ class ListSpokesRequest
262
+ include ::Google::Protobuf::MessageExts
263
+ extend ::Google::Protobuf::MessageExts::ClassMethods
264
+ end
265
+
266
+ # The response for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#list_spokes HubService.ListSpokes}.
267
+ # @!attribute [rw] spokes
268
+ # @return [::Array<::Google::Cloud::NetworkConnectivity::V1alpha1::Spoke>]
269
+ # Spokes to be returned.
270
+ # @!attribute [rw] next_page_token
271
+ # @return [::String]
272
+ # The next pagination token in the List response. It should be used as
273
+ # page_token for the following request. An empty value means no more result.
274
+ # @!attribute [rw] unreachable
275
+ # @return [::Array<::String>]
276
+ # Locations that could not be reached.
277
+ class ListSpokesResponse
278
+ include ::Google::Protobuf::MessageExts
279
+ extend ::Google::Protobuf::MessageExts::ClassMethods
280
+ end
281
+
282
+ # The request for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#get_spoke HubService.GetSpoke}.
283
+ # @!attribute [rw] name
284
+ # @return [::String]
285
+ # Required. The name of Spoke resource.
286
+ class GetSpokeRequest
287
+ include ::Google::Protobuf::MessageExts
288
+ extend ::Google::Protobuf::MessageExts::ClassMethods
289
+ end
290
+
291
+ # The request for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#create_spoke HubService.CreateSpoke}.
292
+ # @!attribute [rw] parent
293
+ # @return [::String]
294
+ # Required. The parent's resource name of the Spoke.
295
+ # @!attribute [rw] spoke_id
296
+ # @return [::String]
297
+ # Optional. Unique id for the Spoke to create.
298
+ # @!attribute [rw] spoke
299
+ # @return [::Google::Cloud::NetworkConnectivity::V1alpha1::Spoke]
300
+ # Required. Initial values for a new Hub.
301
+ # @!attribute [rw] request_id
302
+ # @return [::String]
303
+ # Optional. An optional request ID to identify requests. Specify a unique request ID
304
+ # so that if you must retry your request, the server will know to ignore
305
+ # the request if it has already been completed. The server will guarantee
306
+ # that for at least 60 minutes since the first request.
307
+ #
308
+ # For example, consider a situation where you make an initial request and t
309
+ # he request times out. If you make the request again with the same request
310
+ # ID, the server can check if original operation with the same request ID
311
+ # was received, and if so, will ignore the second request. This prevents
312
+ # clients from accidentally creating duplicate commitments.
313
+ #
314
+ # The request ID must be a valid UUID with the exception that zero UUID is
315
+ # not supported (00000000-0000-0000-0000-000000000000).
316
+ class CreateSpokeRequest
317
+ include ::Google::Protobuf::MessageExts
318
+ extend ::Google::Protobuf::MessageExts::ClassMethods
319
+ end
320
+
321
+ # Request for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#update_spoke HubService.UpdateSpoke} method.
322
+ # @!attribute [rw] update_mask
323
+ # @return [::Google::Protobuf::FieldMask]
324
+ # Optional. Field mask is used to specify the fields to be overwritten in the
325
+ # Spoke resource by the update.
326
+ # The fields specified in the update_mask are relative to the resource, not
327
+ # the full request. A field will be overwritten if it is in the mask. If the
328
+ # user does not provide a mask then all fields will be overwritten.
329
+ # @!attribute [rw] spoke
330
+ # @return [::Google::Cloud::NetworkConnectivity::V1alpha1::Spoke]
331
+ # Required. The state that the Spoke should be in after the update.
332
+ # @!attribute [rw] request_id
333
+ # @return [::String]
334
+ # Optional. An optional request ID to identify requests. Specify a unique request ID
335
+ # so that if you must retry your request, the server will know to ignore
336
+ # the request if it has already been completed. The server will guarantee
337
+ # that for at least 60 minutes since the first request.
338
+ #
339
+ # For example, consider a situation where you make an initial request and t
340
+ # he request times out. If you make the request again with the same request
341
+ # ID, the server can check if original operation with the same request ID
342
+ # was received, and if so, will ignore the second request. This prevents
343
+ # clients from accidentally creating duplicate commitments.
344
+ #
345
+ # The request ID must be a valid UUID with the exception that zero UUID is
346
+ # not supported (00000000-0000-0000-0000-000000000000).
347
+ class UpdateSpokeRequest
348
+ include ::Google::Protobuf::MessageExts
349
+ extend ::Google::Protobuf::MessageExts::ClassMethods
350
+ end
351
+
352
+ # The request for {::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#delete_spoke HubService.DeleteSpoke}.
353
+ # @!attribute [rw] name
354
+ # @return [::String]
355
+ # Required. The name of the Spoke to delete.
356
+ # @!attribute [rw] request_id
357
+ # @return [::String]
358
+ # Optional. An optional request ID to identify requests. Specify a unique request ID
359
+ # so that if you must retry your request, the server will know to ignore
360
+ # the request if it has already been completed. The server will guarantee
361
+ # that for at least 60 minutes after the first request.
362
+ #
363
+ # For example, consider a situation where you make an initial request and t
364
+ # he request times out. If you make the request again with the same request
365
+ # ID, the server can check if original operation with the same request ID
366
+ # was received, and if so, will ignore the second request. This prevents
367
+ # clients from accidentally creating duplicate commitments.
368
+ #
369
+ # The request ID must be a valid UUID with the exception that zero UUID is
370
+ # not supported (00000000-0000-0000-0000-000000000000).
371
+ class DeleteSpokeRequest
372
+ include ::Google::Protobuf::MessageExts
373
+ extend ::Google::Protobuf::MessageExts::ClassMethods
374
+ end
375
+
376
+ # RouterAppliance represents a Router appliance which is specified by a VM URI
377
+ # and a NIC address.
378
+ # @!attribute [rw] virtual_machine
379
+ # @return [::String]
380
+ # The URI of the virtual machine resource
381
+ # @!attribute [rw] ip_address
382
+ # @return [::String]
383
+ # The IP address of the network interface to use for peering.
384
+ # @!attribute [rw] network_interface
385
+ # @return [::String]
386
+ class RouterApplianceInstance
387
+ include ::Google::Protobuf::MessageExts
388
+ extend ::Google::Protobuf::MessageExts::ClassMethods
389
+ end
390
+ end
391
+ end
392
+ end
393
+ end