Class: Google::Apis::DoubleclicksearchV2::UpdateAvailabilityRequest

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 request to update availability.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateAvailabilityRequest

Returns a new instance of UpdateAvailabilityRequest.



935
936
937
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 935

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

Instance Attribute Details

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

The availabilities being requested. Corresponds to the JSON property availabilities



933
934
935
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 933

def availabilities
  @availabilities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



940
941
942
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 940

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