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.



9803
9804
9805
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9803

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



9794
9795
9796
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9794

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)


9800
9801
9802
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9800

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9808
9809
9810
9811
# File 'lib/google/apis/dataplex_v1/classes.rb', line 9808

def update!(**args)
  @change_request = args[:change_request] if args.key?(:change_request)
  @validate_only = args[:validate_only] if args.key?(:validate_only)
end