Class: Google::Apis::MetastoreV1::Service

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/metastore_v1/classes.rb,
lib/google/apis/metastore_v1/representations.rb,
lib/google/apis/metastore_v1/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.



1507
1508
1509
# File 'lib/google/apis/metastore_v1/classes.rb', line 1507

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)


1402
1403
1404
# File 'lib/google/apis/metastore_v1/classes.rb', line 1402

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)


1407
1408
1409
# File 'lib/google/apis/metastore_v1/classes.rb', line 1407

def create_time
  @create_time
end

#database_typeString

Immutable. The database type that the Metastore service stores its data. Corresponds to the JSON property databaseType

Returns:

  • (String)


1412
1413
1414
# File 'lib/google/apis/metastore_v1/classes.rb', line 1412

def database_type
  @database_type
end

#encryption_configGoogle::Apis::MetastoreV1::EncryptionConfig

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



1417
1418
1419
# File 'lib/google/apis/metastore_v1/classes.rb', line 1417

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)


1422
1423
1424
# File 'lib/google/apis/metastore_v1/classes.rb', line 1422

def endpoint_uri
  @endpoint_uri
end

#hive_metastore_configGoogle::Apis::MetastoreV1::HiveMetastoreConfig

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



1428
1429
1430
# File 'lib/google/apis/metastore_v1/classes.rb', line 1428

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>)


1433
1434
1435
# File 'lib/google/apis/metastore_v1/classes.rb', line 1433

def labels
  @labels
end

#maintenance_windowGoogle::Apis::MetastoreV1::MaintenanceWindow

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



1439
1440
1441
# File 'lib/google/apis/metastore_v1/classes.rb', line 1439

def maintenance_window
  @maintenance_window
end

#metadata_management_activityGoogle::Apis::MetastoreV1::MetadataManagementActivity

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



1444
1445
1446
# File 'lib/google/apis/metastore_v1/classes.rb', line 1444

def 
  @metadata_management_activity
end

#nameString

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

Returns:

  • (String)


1451
1452
1453
# File 'lib/google/apis/metastore_v1/classes.rb', line 1451

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)


1458
1459
1460
# File 'lib/google/apis/metastore_v1/classes.rb', line 1458

def network
  @network
end

#network_configGoogle::Apis::MetastoreV1::NetworkConfig

Network configuration for the Dataproc Metastore service. Corresponds to the JSON property networkConfig



1463
1464
1465
# File 'lib/google/apis/metastore_v1/classes.rb', line 1463

def network_config
  @network_config
end

#portFixnum

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

Returns:

  • (Fixnum)


1468
1469
1470
# File 'lib/google/apis/metastore_v1/classes.rb', line 1468

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)


1474
1475
1476
# File 'lib/google/apis/metastore_v1/classes.rb', line 1474

def release_channel
  @release_channel
end

#stateString

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

Returns:

  • (String)


1479
1480
1481
# File 'lib/google/apis/metastore_v1/classes.rb', line 1479

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)


1485
1486
1487
# File 'lib/google/apis/metastore_v1/classes.rb', line 1485

def state_message
  @state_message
end

#telemetry_configGoogle::Apis::MetastoreV1::TelemetryConfig

Telemetry Configuration for the Dataproc Metastore service. Corresponds to the JSON property telemetryConfig



1490
1491
1492
# File 'lib/google/apis/metastore_v1/classes.rb', line 1490

def telemetry_config
  @telemetry_config
end

#tierString

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

Returns:

  • (String)


1495
1496
1497
# File 'lib/google/apis/metastore_v1/classes.rb', line 1495

def tier
  @tier
end

#uidString

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

Returns:

  • (String)


1500
1501
1502
# File 'lib/google/apis/metastore_v1/classes.rb', line 1500

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)


1505
1506
1507
# File 'lib/google/apis/metastore_v1/classes.rb', line 1505

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
# File 'lib/google/apis/metastore_v1/classes.rb', line 1512

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)
  @database_type = args[:database_type] if args.key?(:database_type)
  @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_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)
  @network_config = args[:network_config] if args.key?(:network_config)
  @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)
  @telemetry_config = args[:telemetry_config] if args.key?(:telemetry_config)
  @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