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.
9765 9766 9767 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9765 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
9756 9757 9758 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9756 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
9762 9763 9764 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9762 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9770 9771 9772 9773 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9770 def update!(**args) @change_request = args[:change_request] if args.key?(:change_request) @validate_only = args[:validate_only] if args.key?(:validate_only) end |