Class: Google::Apis::TagmanagerV2::RevertTemplateResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/tagmanager_v2/classes.rb,
lib/google/apis/tagmanager_v2/representations.rb,
lib/google/apis/tagmanager_v2/representations.rb

Overview

The result of reverting a template in a workspace.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RevertTemplateResponse

Returns a new instance of RevertTemplateResponse.



2197
2198
2199
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2197

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

Instance Attribute Details

#templateGoogle::Apis::TagmanagerV2::CustomTemplate

Represents a Google Tag Manager Custom Template's contents. Corresponds to the JSON property template



2195
2196
2197
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2195

def template
  @template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2202
2203
2204
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2202

def update!(**args)
  @template = args[:template] if args.key?(:template)
end