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



2276
2277
2278
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2276

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



2248
2249
2250
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2248

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)


2254
2255
2256
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2254

def fingerprint
  @fingerprint
end

#historyArray<Google::Apis::TagmanagerV2::WorkspaceProposalHistory>

Records the history of comments and status changes. Corresponds to the JSON property history



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

def history
  @history
end

#pathString

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

Returns:

  • (String)


2264
2265
2266
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2264

def path
  @path
end

#reviewersArray<Google::Apis::TagmanagerV2::WorkspaceProposalUser>

Lists of reviewers for the workspace proposal. Corresponds to the JSON property reviewers



2269
2270
2271
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2269

def reviewers
  @reviewers
end

#statusString

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

Returns:

  • (String)


2274
2275
2276
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2274

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2281
2282
2283
2284
2285
2286
2287
2288
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2281

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