Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription
- 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
Recommendation Subscription resource
Instance Attribute Summary collapse
-
#create_date_time ⇒ String
Output only.
-
#modify_date_time ⇒ String
Output only.
-
#resource_name ⇒ String
Immutable.
-
#status ⇒ String
Required.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationSubscription
constructor
A new instance of GoogleAdsSearchads360V23ResourcesRecommendationSubscription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationSubscription
Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationSubscription.
33207 33208 33209 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 33207 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_date_time ⇒ String
Output only. Time in seconds when the subscription was first created. The
datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
Corresponds to the JSON property createDateTime
33182 33183 33184 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 33182 def create_date_time @create_date_time end |
#modify_date_time ⇒ String
Output only. Contains the time in microseconds, when the Recommendation
Subscription was last updated. The datetime is in the customer's time zone and
in "yyyy-MM-dd HH:mm:ss.ssssss" format.
Corresponds to the JSON property modifyDateTime
33189 33190 33191 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 33189 def modify_date_time @modify_date_time end |
#resource_name ⇒ String
Immutable. The resource name of the recommendation subscription. customers/
customer_id/recommendationSubscriptions/recommendation_type`
Corresponds to the JSON propertyresourceName`
33195 33196 33197 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 33195 def resource_name @resource_name end |
#status ⇒ String
Required. Status of the subscription, either enabled or paused.
Corresponds to the JSON property status
33200 33201 33202 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 33200 def status @status end |
#type ⇒ String
Required. Immutable. The type of recommendation subscribed to.
Corresponds to the JSON property type
33205 33206 33207 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 33205 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33212 33213 33214 33215 33216 33217 33218 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 33212 def update!(**args) @create_date_time = args[:create_date_time] if args.key?(:create_date_time) @modify_date_time = args[:modify_date_time] if args.key?(:modify_date_time) @resource_name = args[:resource_name] if args.key?(:resource_name) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) end |