Class: Google::Apis::TagmanagerV2::WorkspaceProposal

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#authorsArray<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
  @authors
end

#fingerprintString

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

Returns:

  • (String)


2261
2262
2263
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2261

def fingerprint
  @fingerprint
end

#historyArray<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

#pathString

GTM workspace proposal's relative path. Corresponds to the JSON property path

Returns:

  • (String)


2271
2272
2273
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2271

def path
  @path
end

#reviewersArray<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

#statusString

The status of the workspace proposal as it goes through review. Corresponds to the JSON property status

Returns:

  • (String)


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