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



1605
1606
1607
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1605

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



1598
1599
1600
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1598

def merge_conflict
  @merge_conflict
end

#sync_statusGoogle::Apis::TagmanagerV2::SyncStatus

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



1603
1604
1605
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1603

def sync_status
  @sync_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1610
1611
1612
1613
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1610

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