Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1RequestDataProductAccessRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1RequestDataProductAccessRequest
- 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
Message for requesting access to a Data Product.
Instance Attribute Summary collapse
-
#change_request ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ChangeRequest
Represents a proposed change to a metadata resource.
-
#validate_only ⇒ Boolean
(also: #validate_only?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1RequestDataProductAccessRequest
constructor
A new instance of GoogleCloudDataplexV1RequestDataProductAccessRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1RequestDataProductAccessRequest
Returns a new instance of GoogleCloudDataplexV1RequestDataProductAccessRequest.
9520 9521 9522 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9520 def initialize(**args) update!(**args) end |
Instance Attribute Details
#change_request ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ChangeRequest
Represents a proposed change to a metadata resource.
Corresponds to the JSON property changeRequest
9511 9512 9513 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9511 def change_request @change_request end |
#validate_only ⇒ Boolean Also known as: validate_only?
Optional. Validates the request without actually creating the access change
request. Defaults to false.
Corresponds to the JSON property validateOnly
9517 9518 9519 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9517 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9525 9526 9527 9528 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9525 def update!(**args) @change_request = args[:change_request] if args.key?(:change_request) @validate_only = args[:validate_only] if args.key?(:validate_only) end |