Class: Google::Apis::TagmanagerV2::SyncWorkspaceResponse

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

A response after synchronizing the workspace to the latest container version.

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

Returns a new instance of SyncWorkspaceResponse



1491
1492
1493
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1491

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

Instance Attribute Details

#merge_conflictArray<Google::Apis::TagmanagerV2::MergeConflict>

The merge conflict after sync. If this field is not empty, the sync is still treated as successful. But a version cannot be created until all conflicts are resolved. Corresponds to the JSON property mergeConflict



1484
1485
1486
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1484

def merge_conflict
  @merge_conflict
end

#sync_statusGoogle::Apis::TagmanagerV2::SyncStatus

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



1489
1490
1491
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1489

def sync_status
  @sync_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1496
1497
1498
1499
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1496

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