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.



1887
1888
1889
# File 'lib/google/apis/metastore_v1/classes.rb', line 1887

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)


1772
1773
1774
# File 'lib/google/apis/metastore_v1/classes.rb', line 1772

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)


1777
1778
1779
# File 'lib/google/apis/metastore_v1/classes.rb', line 1777

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)


1782
1783
1784
# File 'lib/google/apis/metastore_v1/classes.rb', line 1782

def database_type
  @database_type
end

#encryption_configGoogle::Apis::MetastoreV1::EncryptionConfig

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



1787
1788
1789
# File 'lib/google/apis/metastore_v1/classes.rb', line 1787

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)


1792
1793
1794
# File 'lib/google/apis/metastore_v1/classes.rb', line 1792

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



1798
1799
1800
# File 'lib/google/apis/metastore_v1/classes.rb', line 1798

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


1803
1804
1805
# File 'lib/google/apis/metastore_v1/classes.rb', line 1803

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



1809
1810
1811
# File 'lib/google/apis/metastore_v1/classes.rb', line 1809

def maintenance_window
  @maintenance_window
end

#metadata_integrationGoogle::Apis::MetastoreV1::MetadataIntegration

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



1814
1815
1816
# File 'lib/google/apis/metastore_v1/classes.rb', line 1814

def 
  @metadata_integration
end

#metadata_management_activityGoogle::Apis::MetastoreV1::MetadataManagementActivity

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



1819
1820
1821
# File 'lib/google/apis/metastore_v1/classes.rb', line 1819

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)


1826
1827
1828
# File 'lib/google/apis/metastore_v1/classes.rb', line 1826

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)


1833
1834
1835
# File 'lib/google/apis/metastore_v1/classes.rb', line 1833

def network
  @network
end

#network_configGoogle::Apis::MetastoreV1::NetworkConfig

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



1838
1839
1840
# File 'lib/google/apis/metastore_v1/classes.rb', line 1838

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)


1843
1844
1845
# File 'lib/google/apis/metastore_v1/classes.rb', line 1843

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)


1849
1850
1851
# File 'lib/google/apis/metastore_v1/classes.rb', line 1849

def release_channel
  @release_channel
end

#scaling_configGoogle::Apis::MetastoreV1::ScalingConfig

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



1854
1855
1856
# File 'lib/google/apis/metastore_v1/classes.rb', line 1854

def scaling_config
  @scaling_config
end

#stateString

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

Returns:

  • (String)


1859
1860
1861
# File 'lib/google/apis/metastore_v1/classes.rb', line 1859

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)


1865
1866
1867
# File 'lib/google/apis/metastore_v1/classes.rb', line 1865

def state_message
  @state_message
end

#telemetry_configGoogle::Apis::MetastoreV1::TelemetryConfig

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



1870
1871
1872
# File 'lib/google/apis/metastore_v1/classes.rb', line 1870

def telemetry_config
  @telemetry_config
end

#tierString

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

Returns:

  • (String)


1875
1876
1877
# File 'lib/google/apis/metastore_v1/classes.rb', line 1875

def tier
  @tier
end

#uidString

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

Returns:

  • (String)


1880
1881
1882
# File 'lib/google/apis/metastore_v1/classes.rb', line 1880

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)


1885
1886
1887
# File 'lib/google/apis/metastore_v1/classes.rb', line 1885

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
# File 'lib/google/apis/metastore_v1/classes.rb', line 1892

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