Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ListBgpRoutesRoutersRequest.
A request message for Routers.ListBgpRoutes. See the method description for details.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#address_family
def address_family() -> ::String Returns
- (::String) — (Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.
#address_family=
def address_family=(value) -> ::String Parameter
- value (::String) — (Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.
Returns
- (::String) — (Required) limit results to this address family (either IPv4 or IPv6) Check the AddressFamily enum for the list of possible values.
#destination_prefix
def destination_prefix() -> ::String Returns
- (::String) — Limit results to destinations that are subnets of this CIDR range
#destination_prefix=
def destination_prefix=(value) -> ::String Parameter
- value (::String) — Limit results to destinations that are subnets of this CIDR range
Returns
- (::String) — Limit results to destinations that are subnets of this CIDR range
#filter
def filter() -> ::String Returns
- (::String) — A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either
=,!=,>,<,<=,>=or:. For example, if you are filtering Compute Engine instances, you can exclude instances namedexample-instanceby specifyingname != example-instance. The:*comparison can be used to test whether a key has been defined. For example, to find all objects withownerlabel use:labels.owner:*You can also filter nested fields. For example, you could specifyscheduling.automaticRestart = falseto include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example:(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")By default, each expression is anANDexpression. However, you can includeANDandORexpressions explicitly. For example:(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)If you want to use a regular expression, use theeq(equal) orne(not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples:fieldname eq unquoted literalfieldname eq 'single quoted literal'fieldname eq "double quoted literal"(fieldname1 eq literal) (fieldname2 ne "literal")The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would usename ne .*instance. You cannot combine constraints on multiple fields using regular expressions.
#filter=
def filter=(value) -> ::String Parameter
- value (::String) — A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either
=,!=,>,<,<=,>=or:. For example, if you are filtering Compute Engine instances, you can exclude instances namedexample-instanceby specifyingname != example-instance. The:*comparison can be used to test whether a key has been defined. For example, to find all objects withownerlabel use:labels.owner:*You can also filter nested fields. For example, you could specifyscheduling.automaticRestart = falseto include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example:(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")By default, each expression is anANDexpression. However, you can includeANDandORexpressions explicitly. For example:(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)If you want to use a regular expression, use theeq(equal) orne(not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples:fieldname eq unquoted literalfieldname eq 'single quoted literal'fieldname eq "double quoted literal"(fieldname1 eq literal) (fieldname2 ne "literal")The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would usename ne .*instance. You cannot combine constraints on multiple fields using regular expressions.
Returns
- (::String) — A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either
=,!=,>,<,<=,>=or:. For example, if you are filtering Compute Engine instances, you can exclude instances namedexample-instanceby specifyingname != example-instance. The:*comparison can be used to test whether a key has been defined. For example, to find all objects withownerlabel use:labels.owner:*You can also filter nested fields. For example, you could specifyscheduling.automaticRestart = falseto include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example:(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")By default, each expression is anANDexpression. However, you can includeANDandORexpressions explicitly. For example:(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)If you want to use a regular expression, use theeq(equal) orne(not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples:fieldname eq unquoted literalfieldname eq 'single quoted literal'fieldname eq "double quoted literal"(fieldname1 eq literal) (fieldname2 ne "literal")The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would usename ne .*instance. You cannot combine constraints on multiple fields using regular expressions.
#max_results
def max_results() -> ::Integer Returns
- (::Integer) — The maximum number of results per page that should be returned. If the number of available results is larger than
maxResults, Compute Engine returns anextPageTokenthat can be used to get the next page of results in subsequent list requests. Acceptable values are0to500, inclusive. (Default:500)
#max_results=
def max_results=(value) -> ::Integer Parameter
- value (::Integer) — The maximum number of results per page that should be returned. If the number of available results is larger than
maxResults, Compute Engine returns anextPageTokenthat can be used to get the next page of results in subsequent list requests. Acceptable values are0to500, inclusive. (Default:500)
Returns
- (::Integer) — The maximum number of results per page that should be returned. If the number of available results is larger than
maxResults, Compute Engine returns anextPageTokenthat can be used to get the next page of results in subsequent list requests. Acceptable values are0to500, inclusive. (Default:500)
#order_by
def order_by() -> ::String Returns
- (::String) — Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using
orderBy="creationTimestamp desc". This sorts results based on thecreationTimestampfield in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting bynameorcreationTimestamp descis supported.
#order_by=
def order_by=(value) -> ::String Parameter
- value (::String) — Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using
orderBy="creationTimestamp desc". This sorts results based on thecreationTimestampfield in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting bynameorcreationTimestamp descis supported.
Returns
- (::String) — Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using
orderBy="creationTimestamp desc". This sorts results based on thecreationTimestampfield in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting bynameorcreationTimestamp descis supported.
#page_token
def page_token() -> ::String Returns
- (::String) — Specifies a page token to use. Set
pageTokento thenextPageTokenreturned by a previous list request to get the next page of results.
#page_token=
def page_token=(value) -> ::String Parameter
- value (::String) — Specifies a page token to use. Set
pageTokento thenextPageTokenreturned by a previous list request to get the next page of results.
Returns
- (::String) — Specifies a page token to use. Set
pageTokento thenextPageTokenreturned by a previous list request to get the next page of results.
#peer
def peer() -> ::String Returns
- (::String) — (Required) limit results to the BGP peer with the given name. Name should conform to RFC1035.
#peer=
def peer=(value) -> ::String Parameter
- value (::String) — (Required) limit results to the BGP peer with the given name. Name should conform to RFC1035.
Returns
- (::String) — (Required) limit results to the BGP peer with the given name. Name should conform to RFC1035.
#policy_applied
def policy_applied() -> ::Boolean Returns
- (::Boolean) — When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes.
#policy_applied=
def policy_applied=(value) -> ::Boolean Parameter
- value (::Boolean) — When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes.
Returns
- (::Boolean) — When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes.
#project
def project() -> ::String Returns
- (::String) — Project ID for this request.
#project=
def project=(value) -> ::String Parameter
- value (::String) — Project ID for this request.
Returns
- (::String) — Project ID for this request.
#region
def region() -> ::String Returns
- (::String) — Name of the region for this request.
#region=
def region=(value) -> ::String Parameter
- value (::String) — Name of the region for this request.
Returns
- (::String) — Name of the region for this request.
#return_partial_success
def return_partial_success() -> ::Boolean Returns
- (::Boolean) — Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
#return_partial_success=
def return_partial_success=(value) -> ::Boolean Parameter
- value (::Boolean) — Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
Returns
- (::Boolean) — Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
#route_type
def route_type() -> ::String Returns
- (::String) — (Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.
#route_type=
def route_type=(value) -> ::String Parameter
- value (::String) — (Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.
Returns
- (::String) — (Required) limit results to this type of route (either LEARNED or ADVERTISED) Check the RouteType enum for the list of possible values.
#router
def router() -> ::String Returns
- (::String) — Name or id of the resource for this request. Name should conform to RFC1035.
#router=
def router=(value) -> ::String Parameter
- value (::String) — Name or id of the resource for this request. Name should conform to RFC1035.
Returns
- (::String) — Name or id of the resource for this request. Name should conform to RFC1035.