Workload Manager V1 API - Class Google::Cloud::WorkloadManager::V1::GceInstanceFilter (v0.2.0)

Reference documentation and code samples for the Workload Manager V1 API class Google::Cloud::WorkloadManager::V1::GceInstanceFilter.

A filter for matching Compute Engine instances.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#service_accounts

def service_accounts() -> ::Array<::String>
Returns
  • (::Array<::String>) — If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation.

#service_accounts=

def service_accounts=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation.
Returns
  • (::Array<::String>) — If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation.