Class: Google::Apis::DoubleclicksearchV2::UpdateAvailabilityResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/doubleclicksearch_v2/classes.rb,
generated/google/apis/doubleclicksearch_v2/representations.rb,
generated/google/apis/doubleclicksearch_v2/representations.rb

Overview

The response to a update availability request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UpdateAvailabilityResponse

Returns a new instance of UpdateAvailabilityResponse.


954
955
956
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 954

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

Instance Attribute Details

#availabilitiesArray<Google::Apis::DoubleclicksearchV2::Availability>

The availabilities being returned. Corresponds to the JSON property availabilities


952
953
954
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 952

def availabilities
  @availabilities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


959
960
961
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 959

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