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.



4224
4225
4226
# File 'lib/google/apis/compute_v1/classes.rb', line 4224

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



4216
4217
4218
# File 'lib/google/apis/compute_v1/classes.rb', line 4216

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



4222
4223
4224
# File 'lib/google/apis/compute_v1/classes.rb', line 4222

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4229
4230
4231
4232
# File 'lib/google/apis/compute_v1/classes.rb', line 4229

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