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.



4232
4233
4234
# File 'lib/google/apis/compute_v1/classes.rb', line 4232

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



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

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



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

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4237
4238
4239
4240
# File 'lib/google/apis/compute_v1/classes.rb', line 4237

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