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

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

Overview

The result of reverting a template in a workspace.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RevertTemplateResponse

Returns a new instance of RevertTemplateResponse.



1696
1697
1698
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1696

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



1694
1695
1696
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1694

def template
  @template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1701
1702
1703
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1701

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