Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ApproveChangeRequestRequest

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 ApproveChangeRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1ApproveChangeRequestRequest

Returns a new instance of GoogleCloudDataplexV1ApproveChangeRequestRequest.



351
352
353
# File 'lib/google/apis/dataplex_v1/classes.rb', line 351

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

Instance Attribute Details

#commentString

Optional. The comment or reason for approving the ChangeRequest. Maximum length is 1024 characters. Corresponds to the JSON property comment

Returns:

  • (String)


344
345
346
# File 'lib/google/apis/dataplex_v1/classes.rb', line 344

def comment
  @comment
end

#etagString

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

Returns:

  • (String)


349
350
351
# File 'lib/google/apis/dataplex_v1/classes.rb', line 349

def etag
  @etag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



356
357
358
359
# File 'lib/google/apis/dataplex_v1/classes.rb', line 356

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