Class: Google::Apis::TagmanagerV2::UpdateWorkspaceProposalRequest

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

Updates a workspace proposal with patch-like semantics.

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) ⇒ UpdateWorkspaceProposalRequest

Returns a new instance of UpdateWorkspaceProposalRequest



2015
2016
2017
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2015

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#fingerprintString

When provided, this fingerprint must match the fingerprint of the proposal in storage. Corresponds to the JSON property fingerprint

Returns:

  • (String)


1998
1999
2000
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1998

def fingerprint
  @fingerprint
end

#new_commentGoogle::Apis::TagmanagerV2::WorkspaceProposalHistoryComment

A comment from the reviewer or author. Corresponds to the JSON property newComment



2003
2004
2005
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2003

def new_comment
  @new_comment
end

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

If present, the list of reviewers of the workspace proposal is updated. Corresponds to the JSON property reviewers



2008
2009
2010
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2008

def reviewers
  @reviewers
end

#statusString

If present, the status of the workspace proposal is updated. Corresponds to the JSON property status

Returns:

  • (String)


2013
2014
2015
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2013

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2020
2021
2022
2023
2024
2025
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2020

def update!(**args)
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
  @new_comment = args[:new_comment] if args.key?(:new_comment)
  @reviewers = args[:reviewers] if args.key?(:reviewers)
  @status = args[:status] if args.key?(:status)
end