Class: Google::Apis::ComputeBeta::BackendBucketsScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



4320
4321
4322
# File 'lib/google/apis/compute_beta/classes.rb', line 4320

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

Instance Attribute Details

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

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



4312
4313
4314
# File 'lib/google/apis/compute_beta/classes.rb', line 4312

def backend_buckets
  @backend_buckets
end

#warningGoogle::Apis::ComputeBeta::BackendBucketsScopedList::Warning

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



4318
4319
4320
# File 'lib/google/apis/compute_beta/classes.rb', line 4318

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4325
4326
4327
4328
# File 'lib/google/apis/compute_beta/classes.rb', line 4325

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