Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::RoutePolicy (v2.18.0)

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

#terms=

def terms=(value) -> ::Array<::Google::Cloud::Compute::V1::RoutePolicyPolicyTerm>
Parameter
Returns

#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.