Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1RejectChangeRequestRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

Request message for RejectChangeRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1RejectChangeRequestRequest

Returns a new instance of GoogleCloudDataplexV1RejectChangeRequestRequest.



9738
9739
9740
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9738

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

Instance Attribute Details

#commentString

Optional. The reason for rejecting the ChangeRequest. Corresponds to the JSON property comment

Returns:

  • (String)


9731
9732
9733
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9731

def comment
  @comment
end

#etagString

Optional. The etag of the ChangeRequest. Corresponds to the JSON property etag

Returns:

  • (String)


9736
9737
9738
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9736

def etag
  @etag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9743
9744
9745
9746
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9743

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