Class: Google::Apis::TagmanagerV2::WorkspaceProposalHistoryStatusChange

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 change in the proposal's status.

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

Returns a new instance of WorkspaceProposalHistoryStatusChange



2423
2424
2425
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2423

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

Instance Attribute Details

#new_statusString

The new proposal status after that status change. Corresponds to the JSON property newStatus

Returns:

  • (String)


2416
2417
2418
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2416

def new_status
  @new_status
end

#old_statusString

The old proposal status before the status change. Corresponds to the JSON property oldStatus

Returns:

  • (String)


2421
2422
2423
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2421

def old_status
  @old_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2428
2429
2430
2431
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2428

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