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.



1672
1673
1674
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1672

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)


1568
1569
1570
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1568

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)


1573
1574
1575
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1573

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)


1578
1579
1580
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1578

def database_type
  @database_type
end

#encryption_configGoogle::Apis::MetastoreV1alpha::EncryptionConfig

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



1583
1584
1585
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1583

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)


1588
1589
1590
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1588

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



1594
1595
1596
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1594

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


1599
1600
1601
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1599

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



1605
1606
1607
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1605

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



1610
1611
1612
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1610

def 
  @metadata_integration
end

#metadata_management_activityGoogle::Apis::MetastoreV1alpha::MetadataManagementActivity

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



1615
1616
1617
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1615

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)


1621
1622
1623
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1621

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)


1628
1629
1630
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1628

def network
  @network
end

#network_configGoogle::Apis::MetastoreV1alpha::NetworkConfig

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



1633
1634
1635
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1633

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)


1638
1639
1640
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1638

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)


1644
1645
1646
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1644

def release_channel
  @release_channel
end

#stateString

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

Returns:

  • (String)


1649
1650
1651
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1649

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)


1655
1656
1657
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1655

def state_message
  @state_message
end

#tierString

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

Returns:

  • (String)


1660
1661
1662
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1660

def tier
  @tier
end

#uidString

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

Returns:

  • (String)


1665
1666
1667
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1665

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)


1670
1671
1672
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1670

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1677

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