Class: Google::Apis::TagmanagerV2::CreateWorkspaceProposalRequest

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

Creates a workspace proposal to start a review of a workspace.

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

Returns a new instance of CreateWorkspaceProposalRequest



581
582
583
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 581

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

Instance Attribute Details

#initial_commentGoogle::Apis::TagmanagerV2::WorkspaceProposalHistoryComment

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



574
575
576
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 574

def initial_comment
  @initial_comment
end

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

List of users to review the workspace proposal. Corresponds to the JSON property reviewers



579
580
581
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 579

def reviewers
  @reviewers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



586
587
588
589
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 586

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