Class: Google::Apis::TagmanagerV2::WorkspaceProposalHistoryStatusChange
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::WorkspaceProposalHistoryStatusChange
- 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
-
#new_status ⇒ String
The new proposal status after that status change.
-
#old_status ⇒ String
The old proposal status before the status change.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkspaceProposalHistoryStatusChange
constructor
A new instance of WorkspaceProposalHistoryStatusChange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_status ⇒ String
The new proposal status after that status change.
Corresponds to the JSON property newStatus
2416 2417 2418 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2416 def new_status @new_status end |
#old_status ⇒ String
The old proposal status before the status change.
Corresponds to the JSON property oldStatus
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 |