google-cloud-network_connectivity-v1 1.3.0 → 1.4.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 (25) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +4 -4
  4. data/lib/google/cloud/network_connectivity/v1/cross_network_automation_service/client.rb +2413 -0
  5. data/lib/google/cloud/network_connectivity/v1/cross_network_automation_service/credentials.rb +51 -0
  6. data/lib/google/cloud/network_connectivity/v1/cross_network_automation_service/operations.rb +813 -0
  7. data/lib/google/cloud/network_connectivity/v1/cross_network_automation_service/paths.rb +195 -0
  8. data/lib/google/cloud/network_connectivity/v1/cross_network_automation_service.rb +50 -0
  9. data/lib/google/cloud/network_connectivity/v1/hub_service/client.rb +242 -0
  10. data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/client.rb +24 -17
  11. data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
  12. data/lib/google/cloud/network_connectivity/v1.rb +2 -1
  13. data/lib/google/cloud/networkconnectivity/v1/common_pb.rb +1 -1
  14. data/lib/google/cloud/networkconnectivity/v1/cross_network_automation_pb.rb +95 -0
  15. data/lib/google/cloud/networkconnectivity/v1/cross_network_automation_services_pb.rb +79 -0
  16. data/lib/google/cloud/networkconnectivity/v1/hub_pb.rb +5 -1
  17. data/lib/google/cloud/networkconnectivity/v1/hub_services_pb.rb +4 -0
  18. data/lib/google/cloud/networkconnectivity/v1/policy_based_routing_services_pb.rb +4 -4
  19. data/proto_docs/google/api/client.rb +14 -0
  20. data/proto_docs/google/cloud/networkconnectivity/v1/common.rb +4 -3
  21. data/proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb +1138 -0
  22. data/proto_docs/google/cloud/networkconnectivity/v1/hub.rb +142 -13
  23. data/proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb +74 -58
  24. data/proto_docs/google/rpc/error_details.rb +346 -0
  25. metadata +12 -3
@@ -45,7 +45,7 @@ module Google
45
45
  # labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
46
46
  # @!attribute [rw] description
47
47
  # @return [::String]
48
- # An optional description of the hub.
48
+ # Optional. An optional description of the hub.
49
49
  # @!attribute [r] unique_id
50
50
  # @return [::String]
51
51
  # Output only. The Google-generated UUID for the hub. This value is unique
@@ -89,10 +89,10 @@ module Google
89
89
  # the preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED.
90
90
  # @!attribute [rw] export_psc
91
91
  # @return [::Boolean]
92
- # Optional. Whether Private Service Connect transitivity is enabled for the
93
- # hub. If true, Private Service Connect endpoints in VPC spokes attached to
94
- # the hub are made accessible to other VPC spokes attached to the hub.
95
- # The default value is false.
92
+ # Optional. Whether Private Service Connect connection propagation is enabled
93
+ # for the hub. If true, Private Service Connect endpoints in VPC spokes
94
+ # attached to the hub are made accessible to other VPC spokes attached to the
95
+ # hub. The default value is false.
96
96
  class Hub
97
97
  include ::Google::Protobuf::MessageExts
98
98
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -152,7 +152,7 @@ module Google
152
152
  # labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
153
153
  # @!attribute [rw] description
154
154
  # @return [::String]
155
- # An optional description of the spoke.
155
+ # Optional. An optional description of the spoke.
156
156
  # @!attribute [rw] hub
157
157
  # @return [::String]
158
158
  # Immutable. The name of the hub that this spoke is attached to.
@@ -161,13 +161,13 @@ module Google
161
161
  # Optional. The name of the group that this spoke is associated with.
162
162
  # @!attribute [rw] linked_vpn_tunnels
163
163
  # @return [::Google::Cloud::NetworkConnectivity::V1::LinkedVpnTunnels]
164
- # VPN tunnels that are associated with the spoke.
164
+ # Optional. VPN tunnels that are associated with the spoke.
165
165
  # @!attribute [rw] linked_interconnect_attachments
166
166
  # @return [::Google::Cloud::NetworkConnectivity::V1::LinkedInterconnectAttachments]
167
- # VLAN attachments that are associated with the spoke.
167
+ # Optional. VLAN attachments that are associated with the spoke.
168
168
  # @!attribute [rw] linked_router_appliance_instances
169
169
  # @return [::Google::Cloud::NetworkConnectivity::V1::LinkedRouterApplianceInstances]
170
- # Router appliance instances that are associated with the spoke.
170
+ # Optional. Router appliance instances that are associated with the spoke.
171
171
  # @!attribute [rw] linked_vpc_network
172
172
  # @return [::Google::Cloud::NetworkConnectivity::V1::LinkedVpcNetwork]
173
173
  # Optional. VPC network that is associated with the spoke.
@@ -184,11 +184,18 @@ module Google
184
184
  # Output only. The current lifecycle state of this spoke.
185
185
  # @!attribute [r] reasons
186
186
  # @return [::Array<::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason>]
187
- # Output only. The reasons for current state of the spoke. Only present when
188
- # the spoke is in the `INACTIVE` state.
187
+ # Output only. The reasons for current state of the spoke.
189
188
  # @!attribute [r] spoke_type
190
189
  # @return [::Google::Cloud::NetworkConnectivity::V1::SpokeType]
191
190
  # Output only. The type of resource associated with the spoke.
191
+ # @!attribute [rw] etag
192
+ # @return [::String]
193
+ # Optional. This checksum is computed by the server based on the value of
194
+ # other fields, and may be sent on update and delete requests to ensure the
195
+ # client has an up-to-date value before proceeding.
196
+ # @!attribute [rw] field_paths_pending_update
197
+ # @return [::Array<::String>]
198
+ # Optional. The list of fields waiting for hub administration's approval.
192
199
  class Spoke
193
200
  include ::Google::Protobuf::MessageExts
194
201
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -224,6 +231,16 @@ module Google
224
231
  # Network Connectivity Center encountered errors while accepting
225
232
  # the spoke.
226
233
  FAILED = 4
234
+
235
+ # The proposed spoke update is pending review.
236
+ UPDATE_PENDING_REVIEW = 5
237
+
238
+ # The proposed spoke update has been rejected by the hub administrator.
239
+ UPDATE_REJECTED = 6
240
+
241
+ # Network Connectivity Center encountered errors while accepting
242
+ # the spoke update.
243
+ UPDATE_FAILED = 7
227
244
  end
228
245
  end
229
246
 
@@ -417,7 +434,7 @@ module Google
417
434
  # administrator.
418
435
  # @!attribute [rw] auto_accept_projects
419
436
  # @return [::Array<::String>]
420
- # A list of project ids or project numbers for which you want
437
+ # Optional. A list of project ids or project numbers for which you want
421
438
  # to enable auto-accept. The auto-accept setting is applied to
422
439
  # spokes being created or updated in these projects.
423
440
  class AutoAccept
@@ -1014,6 +1031,93 @@ module Google
1014
1031
  extend ::Google::Protobuf::MessageExts::ClassMethods
1015
1032
  end
1016
1033
 
1034
+ # The request for
1035
+ # {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#accept_spoke_update HubService.AcceptSpokeUpdate}.
1036
+ # @!attribute [rw] name
1037
+ # @return [::String]
1038
+ # Required. The name of the hub to accept spoke update.
1039
+ # @!attribute [rw] spoke_uri
1040
+ # @return [::String]
1041
+ # Required. The URI of the spoke to accept update.
1042
+ # @!attribute [rw] spoke_etag
1043
+ # @return [::String]
1044
+ # Required. The etag of the spoke to accept update.
1045
+ # @!attribute [rw] request_id
1046
+ # @return [::String]
1047
+ # Optional. A request ID to identify requests. Specify a unique request ID so
1048
+ # that if you must retry your request, the server knows to ignore the request
1049
+ # if it has already been completed. The server guarantees that a request
1050
+ # doesn't result in creation of duplicate commitments for at least 60
1051
+ # minutes.
1052
+ #
1053
+ # For example, consider a situation where you make an initial request and
1054
+ # the request times out. If you make the request again with the same request
1055
+ # ID, the server can check to see whether the original operation
1056
+ # was received. If it was, the server ignores the second request. This
1057
+ # behavior prevents clients from mistakenly creating duplicate commitments.
1058
+ #
1059
+ # The request ID must be a valid UUID, with the exception that zero UUID is
1060
+ # not supported (00000000-0000-0000-0000-000000000000).
1061
+ class AcceptSpokeUpdateRequest
1062
+ include ::Google::Protobuf::MessageExts
1063
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1064
+ end
1065
+
1066
+ # The response for
1067
+ # {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#accept_spoke_update HubService.AcceptSpokeUpdate}.
1068
+ # @!attribute [rw] spoke
1069
+ # @return [::Google::Cloud::NetworkConnectivity::V1::Spoke]
1070
+ # The spoke that was operated on.
1071
+ class AcceptSpokeUpdateResponse
1072
+ include ::Google::Protobuf::MessageExts
1073
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1074
+ end
1075
+
1076
+ # The request for
1077
+ # {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#reject_spoke_update HubService.RejectSpokeUpdate}.
1078
+ # @!attribute [rw] name
1079
+ # @return [::String]
1080
+ # Required. The name of the hub to reject spoke update.
1081
+ # @!attribute [rw] spoke_uri
1082
+ # @return [::String]
1083
+ # Required. The URI of the spoke to reject update.
1084
+ # @!attribute [rw] spoke_etag
1085
+ # @return [::String]
1086
+ # Required. The etag of the spoke to reject update.
1087
+ # @!attribute [rw] details
1088
+ # @return [::String]
1089
+ # Optional. Additional information provided by the hub administrator.
1090
+ # @!attribute [rw] request_id
1091
+ # @return [::String]
1092
+ # Optional. A request ID to identify requests. Specify a unique request ID so
1093
+ # that if you must retry your request, the server knows to ignore the request
1094
+ # if it has already been completed. The server guarantees that a request
1095
+ # doesn't result in creation of duplicate commitments for at least 60
1096
+ # minutes.
1097
+ #
1098
+ # For example, consider a situation where you make an initial request and
1099
+ # the request times out. If you make the request again with the same request
1100
+ # ID, the server can check to see whether the original operation
1101
+ # was received. If it was, the server ignores the second request. This
1102
+ # behavior prevents clients from mistakenly creating duplicate commitments.
1103
+ #
1104
+ # The request ID must be a valid UUID, with the exception that zero UUID is
1105
+ # not supported (00000000-0000-0000-0000-000000000000).
1106
+ class RejectSpokeUpdateRequest
1107
+ include ::Google::Protobuf::MessageExts
1108
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1109
+ end
1110
+
1111
+ # The response for
1112
+ # {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#reject_spoke_update HubService.RejectSpokeUpdate}.
1113
+ # @!attribute [rw] spoke
1114
+ # @return [::Google::Cloud::NetworkConnectivity::V1::Spoke]
1115
+ # The spoke that was operated on.
1116
+ class RejectSpokeUpdateResponse
1117
+ include ::Google::Protobuf::MessageExts
1118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1119
+ end
1120
+
1017
1121
  # The request for
1018
1122
  # {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#get_route_table HubService.GetRouteTable}.
1019
1123
  # @!attribute [rw] name
@@ -1246,11 +1350,23 @@ module Google
1246
1350
  # @!attribute [rw] include_export_ranges
1247
1351
  # @return [::Array<::String>]
1248
1352
  # Optional. IP ranges allowed to be included from peering.
1353
+ # @!attribute [rw] proposed_include_export_ranges
1354
+ # @return [::Array<::String>]
1355
+ # Optional. The proposed include export IP ranges waiting for hub
1356
+ # administration's approval.
1357
+ # @!attribute [r] proposed_exclude_export_ranges
1358
+ # @return [::Array<::String>]
1359
+ # Output only. The proposed exclude export IP ranges waiting for hub
1360
+ # administration's approval.
1249
1361
  # @!attribute [r] producer_vpc_spokes
1250
1362
  # @return [::Array<::String>]
1251
1363
  # Output only. The list of Producer VPC spokes that this VPC spoke is a
1252
1364
  # service consumer VPC spoke for. These producer VPCs are connected through
1253
- # VPC peering to this spoke's backing VPC network.
1365
+ # VPC peering to this spoke's backing VPC network. Because they are directly
1366
+ # connected throuh VPC peering, NCC export filters do not apply between the
1367
+ # service consumer VPC spoke and any of its producer VPC spokes. This VPC
1368
+ # spoke cannot be deleted as long as any of these producer VPC spokes are
1369
+ # connected to the NCC Hub.
1254
1370
  class LinkedVpcNetwork
1255
1371
  include ::Google::Protobuf::MessageExts
1256
1372
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1277,6 +1393,14 @@ module Google
1277
1393
  # @!attribute [rw] include_export_ranges
1278
1394
  # @return [::Array<::String>]
1279
1395
  # Optional. IP ranges allowed to be included from peering.
1396
+ # @!attribute [rw] proposed_include_export_ranges
1397
+ # @return [::Array<::String>]
1398
+ # Optional. The proposed include export IP ranges waiting for hub
1399
+ # administration's approval.
1400
+ # @!attribute [r] proposed_exclude_export_ranges
1401
+ # @return [::Array<::String>]
1402
+ # Output only. The proposed exclude export IP ranges waiting for hub
1403
+ # administration's approval.
1280
1404
  class LinkedProducerVpcNetwork
1281
1405
  include ::Google::Protobuf::MessageExts
1282
1406
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1535,6 +1659,11 @@ module Google
1535
1659
  # The hub associated with this spoke resource has been deleted.
1536
1660
  # This state applies to spoke resources only.
1537
1661
  OBSOLETE = 10
1662
+
1663
+ # The resource is in an undefined state due to resource creation or deletion
1664
+ # failure. You can try to delete the resource later or contact support for
1665
+ # help.
1666
+ FAILED = 11
1538
1667
  end
1539
1668
 
1540
1669
  # The SpokeType enum represents the type of spoke. The type
@@ -21,26 +21,26 @@ module Google
21
21
  module Cloud
22
22
  module NetworkConnectivity
23
23
  module V1
24
- # Policy Based Routes (PBR) are more powerful routes that allows GCP customers
25
- # to route their L4 network traffic based on not just destination IP, but also
26
- # source IP, protocol and more. A PBR always take precedence when it conflicts
27
- # with other types of routes.
28
- # Next id: 22
24
+ # Policy-based routes route L4 network traffic based on not just destination IP
25
+ # address, but also source IP address, protocol, and more. If a policy-based
26
+ # route conflicts with other types of routes, the policy-based route always
27
+ # takes precedence.
29
28
  # @!attribute [rw] virtual_machine
30
29
  # @return [::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::VirtualMachine]
31
- # Optional. VM instances to which this policy based route applies to.
30
+ # Optional. VM instances that this policy-based route applies to.
32
31
  #
33
32
  # Note: The following fields are mutually exclusive: `virtual_machine`, `interconnect_attachment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
33
  # @!attribute [rw] interconnect_attachment
35
34
  # @return [::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::InterconnectAttachment]
36
- # Optional. The interconnect attachments to which this route applies to.
35
+ # Optional. The interconnect attachments that this policy-based route
36
+ # applies to.
37
37
  #
38
38
  # Note: The following fields are mutually exclusive: `interconnect_attachment`, `virtual_machine`. If a field in that set is populated, all other fields in the set will automatically be cleared.
39
39
  # @!attribute [rw] next_hop_ilb_ip
40
40
  # @return [::String]
41
- # Optional. The IP of a global access enabled L4 ILB that should be the
42
- # next hop to handle matching packets. For this version, only
43
- # next_hop_ilb_ip is supported.
41
+ # Optional. The IP address of a global-access-enabled L4 ILB that is the
42
+ # next hop for matching packets. For this version, only nextHopIlbIp is
43
+ # supported.
44
44
  #
45
45
  # Note: The following fields are mutually exclusive: `next_hop_ilb_ip`, `next_hop_other_routes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
46
46
  # @!attribute [rw] next_hop_other_routes
@@ -55,10 +55,10 @@ module Google
55
55
  # `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
56
56
  # @!attribute [r] create_time
57
57
  # @return [::Google::Protobuf::Timestamp]
58
- # Output only. Time when the PolicyBasedRoute was created.
58
+ # Output only. Time when the policy-based route was created.
59
59
  # @!attribute [r] update_time
60
60
  # @return [::Google::Protobuf::Timestamp]
61
- # Output only. Time when the PolicyBasedRoute was updated.
61
+ # Output only. Time when the policy-based route was updated.
62
62
  # @!attribute [rw] labels
63
63
  # @return [::Google::Protobuf::Map{::String => ::String}]
64
64
  # User-defined labels.
@@ -68,16 +68,16 @@ module Google
68
68
  # you create the resource.
69
69
  # @!attribute [rw] network
70
70
  # @return [::String]
71
- # Required. Fully-qualified URL of the network that this route applies to.
72
- # e.g. projects/my-project/global/networks/my-network.
71
+ # Required. Fully-qualified URL of the network that this route applies to,
72
+ # for example: projects/my-project/global/networks/my-network.
73
73
  # @!attribute [rw] filter
74
74
  # @return [::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Filter]
75
75
  # Required. The filter to match L4 traffic.
76
76
  # @!attribute [rw] priority
77
77
  # @return [::Integer]
78
- # Optional. The priority of this policy based route. Priority is used to
79
- # break ties in cases where there are more than one matching policy based
80
- # routes found. In cases where multiple policy based routes are matched, the
78
+ # Optional. The priority of this policy-based route. Priority is used to
79
+ # break ties in cases where there are more than one matching policy-based
80
+ # routes found. In cases where multiple policy-based routes are matched, the
81
81
  # one with the lowest-numbered priority value wins. The default value is
82
82
  # 1000. The priority value must be from 1 to 65535, inclusive.
83
83
  # @!attribute [r] warnings
@@ -90,26 +90,25 @@ module Google
90
90
  # @!attribute [r] kind
91
91
  # @return [::String]
92
92
  # Output only. Type of this resource. Always
93
- # networkconnectivity#policyBasedRoute for Policy Based Route resources.
93
+ # networkconnectivity#policyBasedRoute for policy-based Route resources.
94
94
  class PolicyBasedRoute
95
95
  include ::Google::Protobuf::MessageExts
96
96
  extend ::Google::Protobuf::MessageExts::ClassMethods
97
97
 
98
- # VM instances to which this policy based route applies to.
98
+ # VM instances that this policy-based route applies to.
99
99
  # @!attribute [rw] tags
100
100
  # @return [::Array<::String>]
101
- # Optional. A list of VM instance tags to which this policy based route
102
- # applies to. VM instances that have ANY of tags specified here will
103
- # install this PBR.
101
+ # Optional. A list of VM instance tags that this policy-based route applies
102
+ # to. VM instances that have ANY of tags specified here installs this PBR.
104
103
  class VirtualMachine
105
104
  include ::Google::Protobuf::MessageExts
106
105
  extend ::Google::Protobuf::MessageExts::ClassMethods
107
106
  end
108
107
 
109
- # InterconnectAttachment to which this route applies to.
108
+ # InterconnectAttachment that this route applies to.
110
109
  # @!attribute [rw] region
111
110
  # @return [::String]
112
- # Optional. Cloud region to install this policy based route on interconnect
111
+ # Optional. Cloud region to install this policy-based route on interconnect
113
112
  # attachment. Use `all` to install it on all interconnect attachments.
114
113
  class InterconnectAttachment
115
114
  include ::Google::Protobuf::MessageExts
@@ -119,21 +118,21 @@ module Google
119
118
  # Filter matches L4 traffic.
120
119
  # @!attribute [rw] ip_protocol
121
120
  # @return [::String]
122
- # Optional. The IP protocol that this policy based route applies to. Valid
121
+ # Optional. The IP protocol that this policy-based route applies to. Valid
123
122
  # values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
124
123
  # @!attribute [rw] src_range
125
124
  # @return [::String]
126
- # Optional. The source IP range of outgoing packets that this policy based
125
+ # Optional. The source IP range of outgoing packets that this policy-based
127
126
  # route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
128
127
  # @!attribute [rw] dest_range
129
128
  # @return [::String]
130
- # Optional. The destination IP range of outgoing packets that this policy
131
- # based route applies to. Default is "0.0.0.0/0" if protocol version is
132
- # IPv4.
129
+ # Optional. The destination IP range of outgoing packets that this
130
+ # policy-based route applies to. Default is "0.0.0.0/0" if protocol version
131
+ # is IPv4.
133
132
  # @!attribute [rw] protocol_version
134
133
  # @return [::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Filter::ProtocolVersion]
135
- # Required. Internet protocol versions this policy based route applies to.
136
- # For this version, only IPV4 is supported.
134
+ # Required. Internet protocol versions this policy-based route applies to.
135
+ # For this version, only IPV4 is supported. IPV6 is supported in preview.
137
136
  class Filter
138
137
  include ::Google::Protobuf::MessageExts
139
138
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -176,18 +175,18 @@ module Google
176
175
  extend ::Google::Protobuf::MessageExts::ClassMethods
177
176
  end
178
177
 
179
- # Warning code for Policy Based Routing. Expect to add values in the
178
+ # Warning code for policy-based routing. Expect to add values in the
180
179
  # future.
181
180
  module Code
182
181
  # Default value.
183
182
  WARNING_UNSPECIFIED = 0
184
183
 
185
- # The policy based route is not active and functioning. Common causes are
186
- # the dependent network was deleted or the resource project was turned
187
- # off.
184
+ # The policy-based route is not active and functioning. Common causes are
185
+ # that the dependent network was deleted or the resource project was
186
+ # turned off.
188
187
  RESOURCE_NOT_ACTIVE = 1
189
188
 
190
- # The policy based route is being modified (e.g. created/deleted) at this
189
+ # The policy-based route is being modified (e.g. created/deleted) at this
191
190
  # time.
192
191
  RESOURCE_BEING_MODIFIED = 2
193
192
  end
@@ -208,14 +207,16 @@ module Google
208
207
  OTHER_ROUTES_UNSPECIFIED = 0
209
208
 
210
209
  # Use the routes from the default routing tables (system-generated routes,
211
- # custom routes, peering route) to determine the next hop. This will
212
- # effectively exclude matching packets being applied on other PBRs with a
213
- # lower priority.
210
+ # custom routes, peering route) to determine the next hop. This effectively
211
+ # excludes matching packets being applied on other PBRs with a lower
212
+ # priority.
214
213
  DEFAULT_ROUTING = 1
215
214
  end
216
215
  end
217
216
 
218
- # Request for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.
217
+ # Request for
218
+ # {::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoutingService::Client#list_policy_based_routes PolicyBasedRoutingService.ListPolicyBasedRoutes}
219
+ # method.
219
220
  # @!attribute [rw] parent
220
221
  # @return [::String]
221
222
  # Required. The parent resource's name.
@@ -236,10 +237,12 @@ module Google
236
237
  extend ::Google::Protobuf::MessageExts::ClassMethods
237
238
  end
238
239
 
239
- # Response for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.
240
+ # Response for
241
+ # {::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoutingService::Client#list_policy_based_routes PolicyBasedRoutingService.ListPolicyBasedRoutes}
242
+ # method.
240
243
  # @!attribute [rw] policy_based_routes
241
244
  # @return [::Array<::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute>]
242
- # Policy based routes to be returned.
245
+ # Policy-based routes to be returned.
243
246
  # @!attribute [rw] next_page_token
244
247
  # @return [::String]
245
248
  # The next pagination token in the List response. It should be used as
@@ -252,7 +255,9 @@ module Google
252
255
  extend ::Google::Protobuf::MessageExts::ClassMethods
253
256
  end
254
257
 
255
- # Request for [PolicyBasedRouting.GetPolicyBasedRoute][] method.
258
+ # Request for
259
+ # {::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoutingService::Client#get_policy_based_route PolicyBasedRoutingService.GetPolicyBasedRoute}
260
+ # method.
256
261
  # @!attribute [rw] name
257
262
  # @return [::String]
258
263
  # Required. Name of the PolicyBasedRoute resource to get.
@@ -261,28 +266,37 @@ module Google
261
266
  extend ::Google::Protobuf::MessageExts::ClassMethods
262
267
  end
263
268
 
264
- # Request for [PolicyBasedRouting.CreatePolicyBasedRoute][] method.
269
+ # Request for
270
+ # {::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoutingService::Client#create_policy_based_route PolicyBasedRoutingService.CreatePolicyBasedRoute}
271
+ # method.
265
272
  # @!attribute [rw] parent
266
273
  # @return [::String]
267
274
  # Required. The parent resource's name of the PolicyBasedRoute.
268
275
  # @!attribute [rw] policy_based_route_id
269
276
  # @return [::String]
270
- # Required. Unique id for the Policy Based Route to create.
277
+ # Required. Unique id for the policy-based route to create. Provided by the
278
+ # client when the resource is created. The name must comply with
279
+ # https://google.aip.dev/122#resource-id-segments. Specifically, the name
280
+ # must be 1-63 characters long and match the regular expression
281
+ # [a-z]([a-z0-9-]*[a-z0-9])?. The first character must be a lowercase letter,
282
+ # and all following characters (except for the last character) must be a
283
+ # dash, lowercase letter, or digit. The last character must be a lowercase
284
+ # letter or digit.
271
285
  # @!attribute [rw] policy_based_route
272
286
  # @return [::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute]
273
- # Required. Initial values for a new Policy Based Route.
287
+ # Required. Initial values for a new policy-based route.
274
288
  # @!attribute [rw] request_id
275
289
  # @return [::String]
276
290
  # Optional. An optional request ID to identify requests. Specify a unique
277
- # request ID so that if you must retry your request, the server will know to
278
- # ignore the request if it has already been completed. The server will
279
- # guarantee that for at least 60 minutes since the first request.
291
+ # request ID so that if you must retry your request, the server knows to
292
+ # ignore the request if it has already been completed. The server guarantees
293
+ # that for at least 60 minutes since the first request.
280
294
  #
281
295
  # For example, consider a situation where you make an initial request and
282
296
  # the request times out. If you make the request again with the same request
283
297
  # ID, the server can check if original operation with the same request ID
284
- # was received, and if so, will ignore the second request. This prevents
285
- # clients from accidentally creating duplicate commitments.
298
+ # was received, and if so, ignores the second request. This prevents clients
299
+ # from accidentally creating duplicate commitments.
286
300
  #
287
301
  # The request ID must be a valid UUID with the exception that zero UUID is
288
302
  # not supported (00000000-0000-0000-0000-000000000000).
@@ -291,22 +305,24 @@ module Google
291
305
  extend ::Google::Protobuf::MessageExts::ClassMethods
292
306
  end
293
307
 
294
- # Request for [PolicyBasedRouting.DeletePolicyBasedRoute][] method.
308
+ # Request for
309
+ # {::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoutingService::Client#delete_policy_based_route PolicyBasedRoutingService.DeletePolicyBasedRoute}
310
+ # method.
295
311
  # @!attribute [rw] name
296
312
  # @return [::String]
297
- # Required. Name of the PolicyBasedRoute resource to delete.
313
+ # Required. Name of the policy-based route resource to delete.
298
314
  # @!attribute [rw] request_id
299
315
  # @return [::String]
300
316
  # Optional. An optional request ID to identify requests. Specify a unique
301
- # request ID so that if you must retry your request, the server will know to
302
- # ignore the request if it has already been completed. The server will
303
- # guarantee that for at least 60 minutes after the first request.
317
+ # request ID so that if you must retry your request, the server knows to
318
+ # ignore the request if it has already been completed. The server guarantees
319
+ # that for at least 60 minutes after the first request.
304
320
  #
305
321
  # For example, consider a situation where you make an initial request and
306
322
  # the request times out. If you make the request again with the same request
307
323
  # ID, the server can check if original operation with the same request ID
308
- # was received, and if so, will ignore the second request. This prevents
309
- # clients from accidentally creating duplicate commitments.
324
+ # was received, and if so, ignores the second request. This prevents clients
325
+ # from accidentally creating duplicate commitments.
310
326
  #
311
327
  # The request ID must be a valid UUID with the exception that zero UUID is
312
328
  # not supported (00000000-0000-0000-0000-000000000000).