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.



4880
4881
4882
# File 'lib/google/apis/compute_alpha/classes.rb', line 4880

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



4872
4873
4874
# File 'lib/google/apis/compute_alpha/classes.rb', line 4872

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



4878
4879
4880
# File 'lib/google/apis/compute_alpha/classes.rb', line 4878

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4885
4886
4887
4888
# File 'lib/google/apis/compute_alpha/classes.rb', line 4885

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