Class: Google::Apis::DfareportingV2_1::ListCreativeFieldsResponse

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

Creative Field List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListCreativeFieldsResponse

Returns a new instance of ListCreativeFieldsResponse.


3538
3539
3540
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3538

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

Instance Attribute Details

#creative_fieldsArray<Google::Apis::DfareportingV2_1::CreativeField>

Creative field collection. Corresponds to the JSON property creativeFields


3525
3526
3527
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3525

def creative_fields
  @creative_fields
end

#kindString

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

Returns:

  • (String)

3531
3532
3533
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3531

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)

3536
3537
3538
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3536

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3543
3544
3545
3546
3547
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3543

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