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.



9493
9494
9495
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9493

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)


9486
9487
9488
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9486

def comment
  @comment
end

#etagString

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

Returns:

  • (String)


9491
9492
9493
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9491

def etag
  @etag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9498
9499
9500
9501
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9498

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