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



1990
1991
1992
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1990

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)


1973
1974
1975
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1973

def fingerprint
  @fingerprint
end

#new_commentGoogle::Apis::TagmanagerV2::WorkspaceProposalHistoryComment

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



1978
1979
1980
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1978

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



1983
1984
1985
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1983

def reviewers
  @reviewers
end

#statusString

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

Returns:

  • (String)


1988
1989
1990
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1988

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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