Class: Google::Apis::TagmanagerV2::GalleryReference
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::GalleryReference
- 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
Represents the link between a custom template and an entry on the Community Template Gallery site.
Instance Attribute Summary collapse
-
#host ⇒ String
The name of the host for the community gallery template.
-
#is_modified ⇒ Boolean
(also: #is_modified?)
If a user has manually edited the community gallery template.
-
#owner ⇒ String
The name of the owner for the community gallery template.
-
#repository ⇒ String
The name of the repository for the community gallery template.
-
#signature ⇒ String
The signature of the community gallery template as computed at import time.
-
#version ⇒ String
The version of the community gallery template.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GalleryReference
constructor
A new instance of GalleryReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GalleryReference
Returns a new instance of GalleryReference.
1088 1089 1090 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1088 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host ⇒ String
The name of the host for the community gallery template.
Corresponds to the JSON property host
1059 1060 1061 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1059 def host @host end |
#is_modified ⇒ Boolean Also known as: is_modified?
If a user has manually edited the community gallery template.
Corresponds to the JSON property isModified
1064 1065 1066 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1064 def is_modified @is_modified end |
#owner ⇒ String
The name of the owner for the community gallery template.
Corresponds to the JSON property owner
1070 1071 1072 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1070 def owner @owner end |
#repository ⇒ String
The name of the repository for the community gallery template.
Corresponds to the JSON property repository
1075 1076 1077 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1075 def repository @repository end |
#signature ⇒ String
The signature of the community gallery template as computed at import time.
This value is recomputed whenever the template is updated from the gallery.
Corresponds to the JSON property signature
1081 1082 1083 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1081 def signature @signature end |
#version ⇒ String
The version of the community gallery template.
Corresponds to the JSON property version
1086 1087 1088 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1086 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1093 1094 1095 1096 1097 1098 1099 1100 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1093 def update!(**args) @host = args[:host] if args.key?(:host) @is_modified = args[:is_modified] if args.key?(:is_modified) @owner = args[:owner] if args.key?(:owner) @repository = args[:repository] if args.key?(:repository) @signature = args[:signature] if args.key?(:signature) @version = args[:version] if args.key?(:version) end |