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.



2436
2437
2438
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2436

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)


2316
2317
2318
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2316

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)


2321
2322
2323
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2321

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)


2326
2327
2328
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2326

def database_type
  @database_type
end

#encryption_configGoogle::Apis::MetastoreV1alpha::EncryptionConfig

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



2331
2332
2333
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2331

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)


2336
2337
2338
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2336

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



2342
2343
2344
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2342

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


2347
2348
2349
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2347

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



2353
2354
2355
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2353

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



2358
2359
2360
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2358

def 
  @metadata_integration
end

#metadata_management_activityGoogle::Apis::MetastoreV1alpha::MetadataManagementActivity

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



2363
2364
2365
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2363

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)


2370
2371
2372
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2370

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)


2377
2378
2379
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2377

def network
  @network
end

#network_configGoogle::Apis::MetastoreV1alpha::NetworkConfig

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



2382
2383
2384
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2382

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)


2387
2388
2389
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2387

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)


2393
2394
2395
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2393

def release_channel
  @release_channel
end

#scaling_configGoogle::Apis::MetastoreV1alpha::ScalingConfig

Represents the scaling configuration of a metastore service. Corresponds to the JSON property scalingConfig



2398
2399
2400
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2398

def scaling_config
  @scaling_config
end

#scheduled_backupGoogle::Apis::MetastoreV1alpha::ScheduledBackup

This specifies the configuration of scheduled backup. Corresponds to the JSON property scheduledBackup



2403
2404
2405
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2403

def scheduled_backup
  @scheduled_backup
end

#stateString

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

Returns:

  • (String)


2408
2409
2410
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2408

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)


2414
2415
2416
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2414

def state_message
  @state_message
end

#telemetry_configGoogle::Apis::MetastoreV1alpha::TelemetryConfig

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



2419
2420
2421
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2419

def telemetry_config
  @telemetry_config
end

#tierString

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

Returns:

  • (String)


2424
2425
2426
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2424

def tier
  @tier
end

#uidString

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

Returns:

  • (String)


2429
2430
2431
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2429

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)


2434
2435
2436
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2434

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2441

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