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.



9520
9521
9522
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9520

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



9511
9512
9513
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9511

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)


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