Class: Google::Apis::TagmanagerV2::WorkspaceProposal
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::WorkspaceProposal
- 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 workspace proposal represents an ongoing review of workspace changes in an effort to gain approval for container version creation.
Instance Attribute Summary collapse
-
#authors ⇒ Array<Google::Apis::TagmanagerV2::WorkspaceProposalUser>
List of authors for the workspace proposal.
-
#fingerprint ⇒ String
The fingerprint of the GTM workspace proposal as computed at storage time.
-
#history ⇒ Array<Google::Apis::TagmanagerV2::WorkspaceProposalHistory>
Records the history of comments and status changes.
-
#path ⇒ String
GTM workspace proposal's relative path.
-
#reviewers ⇒ Array<Google::Apis::TagmanagerV2::WorkspaceProposalUser>
Lists of reviewers for the workspace proposal.
-
#status ⇒ String
The status of the workspace proposal as it goes through review.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkspaceProposal
constructor
A new instance of WorkspaceProposal.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WorkspaceProposal
Returns a new instance of WorkspaceProposal
2258 2259 2260 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2258 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authors ⇒ Array<Google::Apis::TagmanagerV2::WorkspaceProposalUser>
List of authors for the workspace proposal.
Corresponds to the JSON property authors
2230 2231 2232 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2230 def @authors end |
#fingerprint ⇒ String
The fingerprint of the GTM workspace proposal as computed at storage time.
This value is recomputed whenever the proposal is modified.
Corresponds to the JSON property fingerprint
2236 2237 2238 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2236 def fingerprint @fingerprint end |
#history ⇒ Array<Google::Apis::TagmanagerV2::WorkspaceProposalHistory>
Records the history of comments and status changes.
Corresponds to the JSON property history
2241 2242 2243 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2241 def history @history end |
#path ⇒ String
GTM workspace proposal's relative path.
Corresponds to the JSON property path
2246 2247 2248 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2246 def path @path end |
#reviewers ⇒ Array<Google::Apis::TagmanagerV2::WorkspaceProposalUser>
Lists of reviewers for the workspace proposal.
Corresponds to the JSON property reviewers
2251 2252 2253 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2251 def reviewers @reviewers end |
#status ⇒ String
The status of the workspace proposal as it goes through review.
Corresponds to the JSON property status
2256 2257 2258 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2256 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2263 2264 2265 2266 2267 2268 2269 2270 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2263 def update!(**args) @authors = args[:authors] if args.key?(:authors) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @history = args[:history] if args.key?(:history) @path = args[:path] if args.key?(:path) @reviewers = args[:reviewers] if args.key?(:reviewers) @status = args[:status] if args.key?(:status) end |