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