Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ApproveChangeRequestRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1ApproveChangeRequestRequest
- 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
-
#comment ⇒ String
Optional.
-
#etag ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1ApproveChangeRequestRequest
constructor
A new instance of GoogleCloudDataplexV1ApproveChangeRequestRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#comment ⇒ String
Optional. The comment or reason for approving the ChangeRequest. Maximum
length is 1024 characters.
Corresponds to the JSON property comment
344 345 346 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 344 def comment @comment end |
#etag ⇒ String
Optional. The etag of the ChangeRequest.
Corresponds to the JSON property etag
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 |