Class: Google::Apis::ComputeAlpha::BackendBucketsScopedList

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



4560
4561
4562
# File 'lib/google/apis/compute_alpha/classes.rb', line 4560

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

Instance Attribute Details

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

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



4552
4553
4554
# File 'lib/google/apis/compute_alpha/classes.rb', line 4552

def backend_buckets
  @backend_buckets
end

#warningGoogle::Apis::ComputeAlpha::BackendBucketsScopedList::Warning

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



4558
4559
4560
# File 'lib/google/apis/compute_alpha/classes.rb', line 4558

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4565
4566
4567
4568
# File 'lib/google/apis/compute_alpha/classes.rb', line 4565

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