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



1503
1504
1505
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1503

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



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

def merge_conflict
  @merge_conflict
end

#sync_statusGoogle::Apis::TagmanagerV2::SyncStatus

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



1501
1502
1503
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1501

def sync_status
  @sync_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1508
1509
1510
1511
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1508

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