Class: Google::Apis::TagmanagerV2::UpdateWorkspaceProposalRequest
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::UpdateWorkspaceProposalRequest
- 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
Updates a workspace proposal with patch-like semantics.
Instance Attribute Summary collapse
-
#fingerprint ⇒ String
When provided, this fingerprint must match the fingerprint of the proposal in storage.
-
#new_comment ⇒ Google::Apis::TagmanagerV2::WorkspaceProposalHistoryComment
A comment from the reviewer or author.
-
#reviewers ⇒ Array<Google::Apis::TagmanagerV2::WorkspaceProposalUser>
If present, the list of reviewers of the workspace proposal is updated.
-
#status ⇒ String
If present, the status of the workspace proposal is updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateWorkspaceProposalRequest
constructor
A new instance of UpdateWorkspaceProposalRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateWorkspaceProposalRequest
Returns a new instance of UpdateWorkspaceProposalRequest
2015 2016 2017 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2015 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fingerprint ⇒ String
When provided, this fingerprint must match the fingerprint of the proposal in
storage.
Corresponds to the JSON property fingerprint
1998 1999 2000 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1998 def fingerprint @fingerprint end |
#new_comment ⇒ Google::Apis::TagmanagerV2::WorkspaceProposalHistoryComment
A comment from the reviewer or author.
Corresponds to the JSON property newComment
2003 2004 2005 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2003 def new_comment @new_comment end |
#reviewers ⇒ Array<Google::Apis::TagmanagerV2::WorkspaceProposalUser>
If present, the list of reviewers of the workspace proposal is updated.
Corresponds to the JSON property reviewers
2008 2009 2010 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2008 def reviewers @reviewers end |
#status ⇒ String
If present, the status of the workspace proposal is updated.
Corresponds to the JSON property status
2013 2014 2015 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2013 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2020 2021 2022 2023 2024 2025 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2020 def update!(**args) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @new_comment = args[:new_comment] if args.key?(:new_comment) @reviewers = args[:reviewers] if args.key?(:reviewers) @status = args[:status] if args.key?(:status) end |