Class: Google::Apis::MetastoreV1alpha::Service

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

A managed metastore service that serves metadata queries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Service

Returns a new instance of Service.



1322
1323
1324
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1322

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#artifact_gcs_uriString

Output only. A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. Corresponds to the JSON property artifactGcsUri

Returns:

  • (String)


1228
1229
1230
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1228

def artifact_gcs_uri
  @artifact_gcs_uri
end

#create_timeString

Output only. The time when the metastore service was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1233
1234
1235
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1233

def create_time
  @create_time
end

#encryption_configGoogle::Apis::MetastoreV1alpha::EncryptionConfig

Encryption settings for the service. Corresponds to the JSON property encryptionConfig



1238
1239
1240
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1238

def encryption_config
  @encryption_config
end

#endpoint_uriString

Output only. The URI of the endpoint used to access the metastore service. Corresponds to the JSON property endpointUri

Returns:

  • (String)


1243
1244
1245
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1243

def endpoint_uri
  @endpoint_uri
end

#hive_metastore_configGoogle::Apis::MetastoreV1alpha::HiveMetastoreConfig

Specifies configuration information specific to running Hive metastore software as the metastore service. Corresponds to the JSON property hiveMetastoreConfig



1249
1250
1251
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1249

def hive_metastore_config
  @hive_metastore_config
end

#labelsHash<String,String>

User-defined labels for the metastore service. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1254
1255
1256
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1254

def labels
  @labels
end

#maintenance_windowGoogle::Apis::MetastoreV1alpha::MaintenanceWindow

Maintenance window. This specifies when Dataproc Metastore may perform system maintenance operation to the service. Corresponds to the JSON property maintenanceWindow



1260
1261
1262
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1260

def maintenance_window
  @maintenance_window
end

#metadata_integrationGoogle::Apis::MetastoreV1alpha::MetadataIntegration

Specifies how metastore metadata should be integrated with external services. Corresponds to the JSON property metadataIntegration



1265
1266
1267
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1265

def 
  @metadata_integration
end

#metadata_management_activityGoogle::Apis::MetastoreV1alpha::MetadataManagementActivity

The metadata management activities of the metastore service. Corresponds to the JSON property metadataManagementActivity



1270
1271
1272
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1270

def 
  @metadata_management_activity
end

#nameString

Immutable. The relative resource name of the metastore service, of the form: projects/project_number/locations/location_id/services/service_id. Corresponds to the JSON property name

Returns:

  • (String)


1276
1277
1278
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1276

def name
  @name
end

#networkString

Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:projects/ project_number/global/networks/network_id. Corresponds to the JSON property network

Returns:

  • (String)


1283
1284
1285
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1283

def network
  @network
end

#portFixnum

The TCP port at which the metastore service is reached. Default: 9083. Corresponds to the JSON property port

Returns:

  • (Fixnum)


1288
1289
1290
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1288

def port
  @port
end

#release_channelString

Immutable. The release channel of the service. If unspecified, defaults to STABLE. Corresponds to the JSON property releaseChannel

Returns:

  • (String)


1294
1295
1296
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1294

def release_channel
  @release_channel
end

#stateString

Output only. The current state of the metastore service. Corresponds to the JSON property state

Returns:

  • (String)


1299
1300
1301
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1299

def state
  @state
end

#state_messageString

Output only. Additional information about the current state of the metastore service, if available. Corresponds to the JSON property stateMessage

Returns:

  • (String)


1305
1306
1307
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1305

def state_message
  @state_message
end

#tierString

The tier of the service. Corresponds to the JSON property tier

Returns:

  • (String)


1310
1311
1312
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1310

def tier
  @tier
end

#uidString

Output only. The globally unique resource identifier of the metastore service. Corresponds to the JSON property uid

Returns:

  • (String)


1315
1316
1317
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1315

def uid
  @uid
end

#update_timeString

Output only. The time when the metastore service was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


1320
1321
1322
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1320

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1327

def update!(**args)
  @artifact_gcs_uri = args[:artifact_gcs_uri] if args.key?(:artifact_gcs_uri)
  @create_time = args[:create_time] if args.key?(:create_time)
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
  @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
  @hive_metastore_config = args[:hive_metastore_config] if args.key?(:hive_metastore_config)
  @labels = args[:labels] if args.key?(:labels)
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
  @metadata_integration = args[:metadata_integration] if args.key?(:metadata_integration)
  @metadata_management_activity = args[:metadata_management_activity] if args.key?(:metadata_management_activity)
  @name = args[:name] if args.key?(:name)
  @network = args[:network] if args.key?(:network)
  @port = args[:port] if args.key?(:port)
  @release_channel = args[:release_channel] if args.key?(:release_channel)
  @state = args[:state] if args.key?(:state)
  @state_message = args[:state_message] if args.key?(:state_message)
  @tier = args[:tier] if args.key?(:tier)
  @uid = args[:uid] if args.key?(:uid)
  @update_time = args[:update_time] if args.key?(:update_time)
end