Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::NamedSet.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
Returns
- (::String) — An optional description of named set.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — An optional description of named set.
Returns
- (::String) — An optional description of named set.
#elements
def elements() -> ::Array<::Google::Cloud::Compute::V1::Expr>
Returns
- (::Array<::Google::Cloud::Compute::V1::Expr>) — CEL expressions that are comparable to constructs of this set's type (see Policy Language).
#elements=
def elements=(value) -> ::Array<::Google::Cloud::Compute::V1::Expr>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::Expr>) — CEL expressions that are comparable to constructs of this set's type (see Policy Language).
Returns
- (::Array<::Google::Cloud::Compute::V1::Expr>) — CEL expressions that are comparable to constructs of this set's type (see Policy Language).
#fingerprint
def fingerprint() -> ::String
Returns
-
(::String) — A fingerprint for the Named Set being applied to this Router, which is
essentially a hash of the Named Set used for optimistic locking.
The fingerprint is initially generated by Compute Engine and changes
after every request to modify or update the Named Set. You must always
provide an up-to-date fingerprint hash in order to update or change
labels.
To see the latest fingerprint, make a getNamedSet() request to retrieve a Named Set.
#fingerprint=
def fingerprint=(value) -> ::String
Parameter
-
value (::String) — A fingerprint for the Named Set being applied to this Router, which is
essentially a hash of the Named Set used for optimistic locking.
The fingerprint is initially generated by Compute Engine and changes
after every request to modify or update the Named Set. You must always
provide an up-to-date fingerprint hash in order to update or change
labels.
To see the latest fingerprint, make a getNamedSet() request to retrieve a Named Set.
Returns
-
(::String) — A fingerprint for the Named Set being applied to this Router, which is
essentially a hash of the Named Set used for optimistic locking.
The fingerprint is initially generated by Compute Engine and changes
after every request to modify or update the Named Set. You must always
provide an up-to-date fingerprint hash in order to update or change
labels.
To see the latest fingerprint, make a getNamedSet() request to retrieve a Named Set.
#name
def name() -> ::String
Returns
- (::String) — This set's name, which must be a resource ID segment and unique within all named sets owned by the Router. Name should conform to RFC1035.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — This set's name, which must be a resource ID segment and unique within all named sets owned by the Router. Name should conform to RFC1035.
Returns
- (::String) — This set's name, which must be a resource ID segment and unique within all named sets owned by the Router. Name should conform to RFC1035.
#type
def type() -> ::String
Returns
- (::String) — This named set's type Check the Type enum for the list of possible values.
#type=
def type=(value) -> ::String
Parameter
- value (::String) — This named set's type Check the Type enum for the list of possible values.
Returns
- (::String) — This named set's type Check the Type enum for the list of possible values.