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

Constructor Details

#initialize(**args) ⇒ SyncWorkspaceResponse

Returns a new instance of SyncWorkspaceResponse.



1820
1821
1822
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1820

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



1813
1814
1815
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1813

def merge_conflict
  @merge_conflict
end

#sync_statusGoogle::Apis::TagmanagerV2::SyncStatus

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



1818
1819
1820
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1818

def sync_status
  @sync_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1825
1826
1827
1828
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1825

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