Class: Google::Apis::DfareportingV2_1::ListPlacementStrategiesResponse

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

Overview

Placement Strategy List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListPlacementStrategiesResponse

Returns a new instance of ListPlacementStrategiesResponse



7724
7725
7726
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7724

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#placementStrategiesListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


7712
7713
7714
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7712

def kind
  @kind
end

#next_page_tokenString

Pagination token to be used for the next list operation. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


7717
7718
7719
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7717

def next_page_token
  @next_page_token
end

#placement_strategiesArray<Google::Apis::DfareportingV2_1::PlacementStrategy>

Placement strategy collection. Corresponds to the JSON property placementStrategies



7722
7723
7724
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7722

def placement_strategies
  @placement_strategies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7729
7730
7731
7732
7733
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7729

def update!(**args)
  @kind = args[:kind] unless args[:kind].nil?
  @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
  @placement_strategies = args[:placement_strategies] unless args[:placement_strategies].nil?
end