Class: Google::Apis::TagmanagerV2::SyncStatus

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

The status of a workspace after synchronization.

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

Returns a new instance of SyncStatus.



1808
1809
1810
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1808

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

Instance Attribute Details

#merge_conflictBoolean Also known as: merge_conflict?

Synchornization operation detected a merge conflict. Corresponds to the JSON property mergeConflict

Returns:

  • (Boolean)


1799
1800
1801
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1799

def merge_conflict
  @merge_conflict
end

#sync_errorBoolean Also known as: sync_error?

An error occurred during the synchronization operation. Corresponds to the JSON property syncError

Returns:

  • (Boolean)


1805
1806
1807
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1805

def sync_error
  @sync_error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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