Class: Google::Apis::MetastoreV1alpha::AlterMetadataResourceLocationRequest
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::AlterMetadataResourceLocationRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/representations.rb
Overview
Request message for DataprocMetastore.AlterMetadataResourceLocation.
Instance Attribute Summary collapse
-
#location_uri ⇒ String
Required.
-
#resource_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AlterMetadataResourceLocationRequest
constructor
A new instance of AlterMetadataResourceLocationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AlterMetadataResourceLocationRequest
Returns a new instance of AlterMetadataResourceLocationRequest.
41 42 43 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 41 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location_uri ⇒ String
Required. The new location URI for the metadata resource.
Corresponds to the JSON property locationUri
32 33 34 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 32 def location_uri @location_uri end |
#resource_name ⇒ String
Required. The relative metadata resource name in the following format.
databases/database_id
or databases/database_id
/tables/table_id
or
databases/database_id
/tables/table_id
/partitions/partition_id
Corresponds to the JSON property resourceName
39 40 41 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 39 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46 47 48 49 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 46 def update!(**args) @location_uri = args[:location_uri] if args.key?(:location_uri) @resource_name = args[:resource_name] if args.key?(:resource_name) end |