Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCreditDetails
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCreditDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
Represents the credit details of a lead.
Instance Attribute Summary collapse
-
#credit_state ⇒ String
Output only.
-
#credit_state_last_update_date_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCreditDetails
constructor
A new instance of GoogleAdsSearchads360V23ResourcesCreditDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCreditDetails
Returns a new instance of GoogleAdsSearchads360V23ResourcesCreditDetails.
27011 27012 27013 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27011 def initialize(**args) update!(**args) end |
Instance Attribute Details
#credit_state ⇒ String
Output only. Credit state of the lead.
Corresponds to the JSON property creditState
27002 27003 27004 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27002 def credit_state @credit_state end |
#credit_state_last_update_date_time ⇒ String
Output only. The date time when the credit state of the lead was last updated.
The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
Corresponds to the JSON property creditStateLastUpdateDateTime
27009 27010 27011 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27009 def credit_state_last_update_date_time @credit_state_last_update_date_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27016 27017 27018 27019 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27016 def update!(**args) @credit_state = args[:credit_state] if args.key?(:credit_state) @credit_state_last_update_date_time = args[:credit_state_last_update_date_time] if args.key?(:credit_state_last_update_date_time) end |