Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::RoutePolicy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
Returns
- (::String) — An optional description of route policy.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — An optional description of route policy.
Returns
- (::String) — An optional description of route policy.
#fingerprint
def fingerprint() -> ::String
Returns
- (::String) — A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
#fingerprint=
def fingerprint=(value) -> ::String
Parameter
- value (::String) — A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
Returns
- (::String) — A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
#name
def name() -> ::String
Returns
- (::String) — Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.
Returns
- (::String) — Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.
#terms
def terms() -> ::Array<::Google::Cloud::Compute::V1::RoutePolicyPolicyTerm>
Returns
- (::Array<::Google::Cloud::Compute::V1::RoutePolicyPolicyTerm>) — List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
#terms=
def terms=(value) -> ::Array<::Google::Cloud::Compute::V1::RoutePolicyPolicyTerm>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::RoutePolicyPolicyTerm>) — List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
Returns
- (::Array<::Google::Cloud::Compute::V1::RoutePolicyPolicyTerm>) — List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
#type
def type() -> ::String
Returns
- (::String) — Check the Type enum for the list of possible values.
#type=
def type=(value) -> ::String
Parameter
- value (::String) — Check the Type enum for the list of possible values.
Returns
- (::String) — Check the Type enum for the list of possible values.