You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/network_management/lib/google_api/network_management/v1/model/route_info.ex
+28-13Lines changed: 28 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -21,25 +21,30 @@ defmodule GoogleApi.NetworkManagement.V1.Model.RouteInfo do
21
21
22
22
## Attributes
23
23
24
-
* `advertisedRouteNextHopUri` (*type:* `String.t`, *default:* `nil`) - For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.
25
-
* `advertisedRouteSourceRouterUri` (*type:* `String.t`, *default:* `nil`) - For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
24
+
* `advertisedRouteNextHopUri` (*type:* `String.t`, *default:* `nil`) - For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.
25
+
* `advertisedRouteSourceRouterUri` (*type:* `String.t`, *default:* `nil`) - For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
26
26
* `destIpRange` (*type:* `String.t`, *default:* `nil`) - Destination IP range of the route.
27
-
* `destPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Destination port ranges of the route. Policy based routes only.
27
+
* `destPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Destination port ranges of the route. POLICY_BASED routes only.
28
28
* `displayName` (*type:* `String.t`, *default:* `nil`) - Name of a route.
29
29
* `instanceTags` (*type:* `list(String.t)`, *default:* `nil`) - Instance tags of the route.
30
-
* `nccHubUri` (*type:* `String.t`, *default:* `nil`) - URI of a NCC Hub. NCC_HUB routes only.
31
-
* `nccSpokeUri` (*type:* `String.t`, *default:* `nil`) - URI of a NCC Spoke. NCC_HUB routes only.
32
-
* `networkUri` (*type:* `String.t`, *default:* `nil`) - URI of a Compute Engine network. NETWORK routes only.
33
-
* `nextHop` (*type:* `String.t`, *default:* `nil`) - Next hop of the route.
30
+
* `nccHubRouteUri` (*type:* `String.t`, *default:* `nil`) - For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.
31
+
* `nccHubUri` (*type:* `String.t`, *default:* `nil`) - URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
32
+
* `nccSpokeUri` (*type:* `String.t`, *default:* `nil`) - URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
33
+
* `networkUri` (*type:* `String.t`, *default:* `nil`) - URI of a VPC network where route is located.
34
+
* `nextHop` (*type:* `String.t`, *default:* `nil`) - String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.
35
+
* `nextHopNetworkUri` (*type:* `String.t`, *default:* `nil`) - URI of a VPC network where the next hop resource is located.
34
36
* `nextHopType` (*type:* `String.t`, *default:* `nil`) - Type of next hop.
37
+
* `nextHopUri` (*type:* `String.t`, *default:* `nil`) - URI of the next hop resource.
38
+
* `originatingRouteDisplayName` (*type:* `String.t`, *default:* `nil`) - For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
39
+
* `originatingRouteUri` (*type:* `String.t`, *default:* `nil`) - For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
35
40
* `priority` (*type:* `integer()`, *default:* `nil`) - Priority of the route.
36
-
* `protocols` (*type:* `list(String.t)`, *default:* `nil`) - Protocols of the route. Policy based routes only.
37
-
* `region` (*type:* `String.t`, *default:* `nil`) - Region of the route (if applicable).
38
-
* `routeScope` (*type:* `String.t`, *default:* `nil`) - Indicates where route is applicable.
41
+
* `protocols` (*type:* `list(String.t)`, *default:* `nil`) - Protocols of the route. POLICY_BASED routes only.
42
+
* `region` (*type:* `String.t`, *default:* `nil`) - Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to.
43
+
* `routeScope` (*type:* `String.t`, *default:* `nil`) - Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
39
44
* `routeType` (*type:* `String.t`, *default:* `nil`) - Type of route.
40
-
* `srcIpRange` (*type:* `String.t`, *default:* `nil`) - Source IP address range of the route. Policy based routes only.
41
-
* `srcPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Source port ranges of the route. Policy based routes only.
42
-
* `uri` (*type:* `String.t`, *default:* `nil`) - URI of a route (if applicable).
45
+
* `srcIpRange` (*type:* `String.t`, *default:* `nil`) - Source IP address range of the route. POLICY_BASED routes only.
46
+
* `srcPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Source port ranges of the route. POLICY_BASED routes only.
47
+
* `uri` (*type:* `String.t`, *default:* `nil`) - URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
43
48
"""
44
49
45
50
useGoogleApi.Gax.ModelBase
@@ -51,11 +56,16 @@ defmodule GoogleApi.NetworkManagement.V1.Model.RouteInfo do
51
56
:destPortRanges=>list(String.t())|nil,
52
57
:displayName=>String.t()|nil,
53
58
:instanceTags=>list(String.t())|nil,
59
+
:nccHubRouteUri=>String.t()|nil,
54
60
:nccHubUri=>String.t()|nil,
55
61
:nccSpokeUri=>String.t()|nil,
56
62
:networkUri=>String.t()|nil,
57
63
:nextHop=>String.t()|nil,
64
+
:nextHopNetworkUri=>String.t()|nil,
58
65
:nextHopType=>String.t()|nil,
66
+
:nextHopUri=>String.t()|nil,
67
+
:originatingRouteDisplayName=>String.t()|nil,
68
+
:originatingRouteUri=>String.t()|nil,
59
69
:priority=>integer()|nil,
60
70
:protocols=>list(String.t())|nil,
61
71
:region=>String.t()|nil,
@@ -72,11 +82,16 @@ defmodule GoogleApi.NetworkManagement.V1.Model.RouteInfo do
* `aggregationInterval` (*type:* `String.t`, *default:* `nil`) - Optional. The aggregation interval for the logs. Default value is INTERVAL_5_SEC.
25
+
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the config was created.
26
+
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. The user-supplied description of the VPC Flow Logs configuration. Maximum of 512 characters.
27
+
* `filterExpr` (*type:* `String.t`, *default:* `nil`) - Optional. Export filter used to define which VPC Flow Logs should be logged.
28
+
* `flowSampling` (*type:* `number()`, *default:* `nil`) - Optional. The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs where 1.0 means all collected logs are reported. Setting the sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field instead. Default value is 1.0.
29
+
* `interconnectAttachment` (*type:* `String.t`, *default:* `nil`) - Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}
* `metadata` (*type:* `String.t`, *default:* `nil`) - Optional. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.
32
+
* `metadataFields` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Custom metadata fields to include in the reported VPC flow logs. Can only be specified if "metadata" was set to CUSTOM_METADATA.
33
+
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Unique name of the configuration using the form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`
34
+
* `state` (*type:* `String.t`, *default:* `nil`) - Optional. The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled.
35
+
* `targetResourceState` (*type:* `String.t`, *default:* `nil`) - Output only. A diagnostic bit - describes the state of the configured target resource for diagnostic purposes.
36
+
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the config was updated.
37
+
* `vpnTunnel` (*type:* `String.t`, *default:* `nil`) - Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}
0 commit comments