Class: Google::Apis::ComputeV1::BackendBucketsScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackendBucketsScopedList

Returns a new instance of BackendBucketsScopedList.



4267
4268
4269
# File 'lib/google/apis/compute_v1/classes.rb', line 4267

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#backend_bucketsArray<Google::Apis::ComputeV1::BackendBucket>

A list of BackendBuckets contained in this scope. Corresponds to the JSON property backendBuckets



4259
4260
4261
# File 'lib/google/apis/compute_v1/classes.rb', line 4259

def backend_buckets
  @backend_buckets
end

#warningGoogle::Apis::ComputeV1::BackendBucketsScopedList::Warning

Informational warning which replaces the list of backend services when the list is empty. Corresponds to the JSON property warning



4265
4266
4267
# File 'lib/google/apis/compute_v1/classes.rb', line 4265

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4272
4273
4274
4275
# File 'lib/google/apis/compute_v1/classes.rb', line 4272

def update!(**args)
  @backend_buckets = args[:backend_buckets] if args.key?(:backend_buckets)
  @warning = args[:warning] if args.key?(:warning)
end