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



2258
2259
2260
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2258

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



2230
2231
2232
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2230

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)


2236
2237
2238
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2236

def fingerprint
  @fingerprint
end

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

#pathString

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

Returns:

  • (String)


2246
2247
2248
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2246

def path
  @path
end

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

#statusString

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

Returns:

  • (String)


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