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
1990 1991 1992 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1990 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
1973 1974 1975 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1973 def fingerprint @fingerprint end |
#new_comment ⇒ Google::Apis::TagmanagerV2::WorkspaceProposalHistoryComment
A comment from the reviewer or author.
Corresponds to the JSON property newComment
1978 1979 1980 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1978 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
1983 1984 1985 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1983 def reviewers @reviewers end |
#status ⇒ String
If present, the status of the workspace proposal is updated.
Corresponds to the JSON property status
1988 1989 1990 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1988 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1995 1996 1997 1998 1999 2000 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1995 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 |