Class: Google::Apis::DoubleclicksearchV2::UpdateAvailabilityRequest
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclicksearchV2::UpdateAvailabilityRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclicksearch_v2/classes.rb,
lib/google/apis/doubleclicksearch_v2/representations.rb,
lib/google/apis/doubleclicksearch_v2/representations.rb
Overview
The request to update availability.
Instance Attribute Summary collapse
-
#availabilities ⇒ Array<Google::Apis::DoubleclicksearchV2::Availability>
The availabilities being requested.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateAvailabilityRequest
constructor
A new instance of UpdateAvailabilityRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateAvailabilityRequest
Returns a new instance of UpdateAvailabilityRequest.
970 971 972 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 970 def initialize(**args) update!(**args) end |
Instance Attribute Details
#availabilities ⇒ Array<Google::Apis::DoubleclicksearchV2::Availability>
The availabilities being requested.
Corresponds to the JSON property availabilities
968 969 970 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 968 def availabilities @availabilities end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
975 976 977 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 975 def update!(**args) @availabilities = args[:availabilities] if args.key?(:availabilities) end |