Class: Google::Apis::MetastoreV1alpha::AlterMetadataResourceLocationRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_uriString

Required. The new location URI for the metadata resource. Corresponds to the JSON property locationUri

Returns:

  • (String)


32
33
34
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 32

def location_uri
  @location_uri
end

#resource_nameString

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

Returns:

  • (String)


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