Class: Google::Apis::MetastoreV1::Service
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1::Service
- 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
-
#artifact_gcs_uri ⇒ String
Output only.
-
#create_time ⇒ String
Output only.
-
#database_type ⇒ String
Immutable.
-
#encryption_config ⇒ Google::Apis::MetastoreV1::EncryptionConfig
Encryption settings for the service.
-
#endpoint_uri ⇒ String
Output only.
-
#hive_metastore_config ⇒ Google::Apis::MetastoreV1::HiveMetastoreConfig
Specifies configuration information specific to running Hive metastore software as the metastore service.
-
#labels ⇒ Hash<String,String>
User-defined labels for the metastore service.
-
#maintenance_window ⇒ Google::Apis::MetastoreV1::MaintenanceWindow
Maintenance window.
-
#metadata_integration ⇒ Google::Apis::MetastoreV1::MetadataIntegration
Specifies how metastore metadata should be integrated with external services.
-
#metadata_management_activity ⇒ Google::Apis::MetastoreV1::MetadataManagementActivity
The metadata management activities of the metastore service.
-
#name ⇒ String
Immutable.
-
#network ⇒ String
Immutable.
-
#network_config ⇒ Google::Apis::MetastoreV1::NetworkConfig
Network configuration for the Dataproc Metastore service.
-
#port ⇒ Fixnum
The TCP port at which the metastore service is reached.
-
#release_channel ⇒ String
Immutable.
-
#scaling_config ⇒ Google::Apis::MetastoreV1::ScalingConfig
Represents the scaling configuration of a metastore service.
-
#scheduled_backup ⇒ Google::Apis::MetastoreV1::ScheduledBackup
This specifies the configuration of scheduled backup.
-
#state ⇒ String
Output only.
-
#state_message ⇒ String
Output only.
-
#telemetry_config ⇒ Google::Apis::MetastoreV1::TelemetryConfig
Telemetry Configuration for the Dataproc Metastore service.
-
#tier ⇒ String
The tier of the service.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Service
constructor
A new instance of Service.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Service
Returns a new instance of Service.
2006 2007 2008 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 2006 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact_gcs_uri ⇒ String
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
1886 1887 1888 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1886 def artifact_gcs_uri @artifact_gcs_uri end |
#create_time ⇒ String
Output only. The time when the metastore service was created.
Corresponds to the JSON property createTime
1891 1892 1893 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1891 def create_time @create_time end |
#database_type ⇒ String
Immutable. The database type that the Metastore service stores its data.
Corresponds to the JSON property databaseType
1896 1897 1898 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1896 def database_type @database_type end |
#encryption_config ⇒ Google::Apis::MetastoreV1::EncryptionConfig
Encryption settings for the service.
Corresponds to the JSON property encryptionConfig
1901 1902 1903 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1901 def encryption_config @encryption_config end |
#endpoint_uri ⇒ String
Output only. The URI of the endpoint used to access the metastore service.
Corresponds to the JSON property endpointUri
1906 1907 1908 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1906 def endpoint_uri @endpoint_uri end |
#hive_metastore_config ⇒ Google::Apis::MetastoreV1::HiveMetastoreConfig
Specifies configuration information specific to running Hive metastore
software as the metastore service.
Corresponds to the JSON property hiveMetastoreConfig
1912 1913 1914 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1912 def @hive_metastore_config end |
#labels ⇒ Hash<String,String>
User-defined labels for the metastore service.
Corresponds to the JSON property labels
1917 1918 1919 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1917 def labels @labels end |
#maintenance_window ⇒ Google::Apis::MetastoreV1::MaintenanceWindow
Maintenance window. This specifies when Dataproc Metastore may perform system
maintenance operation to the service.
Corresponds to the JSON property maintenanceWindow
1923 1924 1925 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1923 def maintenance_window @maintenance_window end |
#metadata_integration ⇒ Google::Apis::MetastoreV1::MetadataIntegration
Specifies how metastore metadata should be integrated with external services.
Corresponds to the JSON property metadataIntegration
1928 1929 1930 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1928 def @metadata_integration end |
#metadata_management_activity ⇒ Google::Apis::MetastoreV1::MetadataManagementActivity
The metadata management activities of the metastore service.
Corresponds to the JSON property metadataManagementActivity
1933 1934 1935 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1933 def @metadata_management_activity end |
#name ⇒ String
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
1940 1941 1942 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1940 def name @name end |
#network ⇒ String
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
1947 1948 1949 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1947 def network @network end |
#network_config ⇒ Google::Apis::MetastoreV1::NetworkConfig
Network configuration for the Dataproc Metastore service.
Corresponds to the JSON property networkConfig
1952 1953 1954 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1952 def network_config @network_config end |
#port ⇒ Fixnum
The TCP port at which the metastore service is reached. Default: 9083.
Corresponds to the JSON property port
1957 1958 1959 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1957 def port @port end |
#release_channel ⇒ String
Immutable. The release channel of the service. If unspecified, defaults to
STABLE.
Corresponds to the JSON property releaseChannel
1963 1964 1965 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1963 def release_channel @release_channel end |
#scaling_config ⇒ Google::Apis::MetastoreV1::ScalingConfig
Represents the scaling configuration of a metastore service.
Corresponds to the JSON property scalingConfig
1968 1969 1970 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1968 def scaling_config @scaling_config end |
#scheduled_backup ⇒ Google::Apis::MetastoreV1::ScheduledBackup
This specifies the configuration of scheduled backup.
Corresponds to the JSON property scheduledBackup
1973 1974 1975 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1973 def scheduled_backup @scheduled_backup end |
#state ⇒ String
Output only. The current state of the metastore service.
Corresponds to the JSON property state
1978 1979 1980 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1978 def state @state end |
#state_message ⇒ String
Output only. Additional information about the current state of the metastore
service, if available.
Corresponds to the JSON property stateMessage
1984 1985 1986 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1984 def @state_message end |
#telemetry_config ⇒ Google::Apis::MetastoreV1::TelemetryConfig
Telemetry Configuration for the Dataproc Metastore service.
Corresponds to the JSON property telemetryConfig
1989 1990 1991 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1989 def telemetry_config @telemetry_config end |
#tier ⇒ String
The tier of the service.
Corresponds to the JSON property tier
1994 1995 1996 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1994 def tier @tier end |
#uid ⇒ String
Output only. The globally unique resource identifier of the metastore service.
Corresponds to the JSON property uid
1999 2000 2001 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1999 def uid @uid end |
#update_time ⇒ String
Output only. The time when the metastore service was last updated.
Corresponds to the JSON property updateTime
2004 2005 2006 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 2004 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 2011 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 |