Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1RequestDataProductAccessRequest

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

Message for requesting access to a Data Product.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_requestGoogle::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_onlyBoolean 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

Returns:

  • (Boolean)


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