Class: Google::Apis::TagmanagerV2::CreateContainerVersionResponse

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

Create container versions response.

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) ⇒ CreateContainerVersionResponse

Returns a new instance of CreateContainerVersionResponse



542
543
544
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 542

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

Instance Attribute Details

#compiler_errorBoolean Also known as: compiler_error?

Compiler errors or not. Corresponds to the JSON property compilerError

Returns:

  • (Boolean)


523
524
525
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 523

def compiler_error
  @compiler_error
end

#container_versionGoogle::Apis::TagmanagerV2::ContainerVersion

Represents a Google Tag Manager Container Version. Corresponds to the JSON property containerVersion



529
530
531
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 529

def container_version
  @container_version
end

#new_workspace_pathString

Auto generated workspace path created as a result of version creation. This field should only be populated if the created version was not a quick preview. Corresponds to the JSON property newWorkspacePath

Returns:

  • (String)


535
536
537
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 535

def new_workspace_path
  @new_workspace_path
end

#sync_statusGoogle::Apis::TagmanagerV2::SyncStatus

The status of a workspace after synchronization. Corresponds to the JSON property syncStatus



540
541
542
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 540

def sync_status
  @sync_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



547
548
549
550
551
552
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 547

def update!(**args)
  @compiler_error = args[:compiler_error] if args.key?(:compiler_error)
  @container_version = args[:container_version] if args.key?(:container_version)
  @new_workspace_path = args[:new_workspace_path] if args.key?(:new_workspace_path)
  @sync_status = args[:sync_status] if args.key?(:sync_status)
end