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
2283 2284 2285 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2283 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
2255 2256 2257 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2255 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
2261 2262 2263 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2261 def fingerprint @fingerprint end |
#history ⇒ Array<Google::Apis::TagmanagerV2::WorkspaceProposalHistory>
Records the history of comments and status changes.
Corresponds to the JSON property history
2266 2267 2268 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2266 def history @history end |
#path ⇒ String
GTM workspace proposal's relative path.
Corresponds to the JSON property path
2271 2272 2273 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2271 def path @path end |
#reviewers ⇒ Array<Google::Apis::TagmanagerV2::WorkspaceProposalUser>
Lists of reviewers for the workspace proposal.
Corresponds to the JSON property reviewers
2276 2277 2278 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2276 def reviewers @reviewers end |
#status ⇒ String
The status of the workspace proposal as it goes through review.
Corresponds to the JSON property status
2281 2282 2283 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2281 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2288 2289 2290 2291 2292 2293 2294 2295 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2288 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 |