class Google::Apis::ComputeV1::ResourcePoliciesScopedList

Attributes

resource_policies[RW]

A list of resourcePolicies contained in this scope. Corresponds to the JSON property `resourcePolicies` @return [Array<Google::Apis::ComputeV1::ResourcePolicy>]

warning[RW]

Informational warning which replaces the list of resourcePolicies when the list is empty. Corresponds to the JSON property `warning` @return [Google::Apis::ComputeV1::ResourcePoliciesScopedList::Warning]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 28682
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 28687
def update!(**args)
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
  @warning = args[:warning] if args.key?(:warning)
end