Class AccountsResource.ContainersResource.WorkspacesResource.TemplatesResource.ImportFromGalleryRequest
Imports a GTM Custom Template from Gallery.
Inheritance
AccountsResource.ContainersResource.WorkspacesResource.TemplatesResource.ImportFromGalleryRequest
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class AccountsResource.ContainersResource.WorkspacesResource.TemplatesResource.ImportFromGalleryRequest : TagManagerBaseServiceRequest<CustomTemplate>, IClientServiceRequest<CustomTemplate>, IClientServiceRequest
Constructors
ImportFromGalleryRequest(IClientService, string)
Constructs a new ImportFromGallery request.
Declaration
public ImportFromGalleryRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
AcknowledgePermissions
Must be set to true to allow Gallery template to be imported into the workspace. If this bit is false, the import operation will fail.
Declaration
[RequestParameter("acknowledgePermissions", RequestParameterType.Query)]
public virtual bool? AcknowledgePermissions { get; set; }
Property Value
Type | Description |
---|---|
bool? |
GalleryOwner
Owner of the Gallery template to import
Declaration
[RequestParameter("galleryOwner", RequestParameterType.Query)]
public virtual string GalleryOwner { get; set; }
Property Value
Type | Description |
---|---|
string |
GalleryRepository
Repository of the Gallery template to import
Declaration
[RequestParameter("galleryRepository", RequestParameterType.Query)]
public virtual string GalleryRepository { get; set; }
Property Value
Type | Description |
---|---|
string |
GallerySha
SHA version of the Gallery template to import. Defaulted to the latest SHA version if not provided.
Declaration
[RequestParameter("gallerySha", RequestParameterType.Query)]
public virtual string GallerySha { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
GTM Workspace's API relative path.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes ImportFromGallery parameter list.
Declaration
protected override void InitParameters()