Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ResourcePoliciesScopedList.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#resource_policies
def resource_policies() -> ::Array<::Google::Cloud::Compute::V1::ResourcePolicy>
Returns
- (::Array<::Google::Cloud::Compute::V1::ResourcePolicy>) — A list of resourcePolicies contained in this scope.
#resource_policies=
def resource_policies=(value) -> ::Array<::Google::Cloud::Compute::V1::ResourcePolicy>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::ResourcePolicy>) — A list of resourcePolicies contained in this scope.
Returns
- (::Array<::Google::Cloud::Compute::V1::ResourcePolicy>) — A list of resourcePolicies contained in this scope.
#warning
def warning() -> ::Google::Cloud::Compute::V1::Warning
Returns
- (::Google::Cloud::Compute::V1::Warning) — Informational warning which replaces the list of resourcePolicies when the list is empty.
#warning=
def warning=(value) -> ::Google::Cloud::Compute::V1::Warning
Parameter
- value (::Google::Cloud::Compute::V1::Warning) — Informational warning which replaces the list of resourcePolicies when the list is empty.
Returns
- (::Google::Cloud::Compute::V1::Warning) — Informational warning which replaces the list of resourcePolicies when the list is empty.