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.



2051
2052
2053
# File 'lib/google/apis/metastore_v1/classes.rb', line 2051

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)


1924
1925
1926
# File 'lib/google/apis/metastore_v1/classes.rb', line 1924

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)


1929
1930
1931
# File 'lib/google/apis/metastore_v1/classes.rb', line 1929

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)


1934
1935
1936
# File 'lib/google/apis/metastore_v1/classes.rb', line 1934

def database_type
  @database_type
end

#deletion_protectionBoolean Also known as: deletion_protection?

Optional. Indicates if the dataproc metastore should be protected against accidental deletions. Corresponds to the JSON property deletionProtection

Returns:

  • (Boolean)


1940
1941
1942
# File 'lib/google/apis/metastore_v1/classes.rb', line 1940

def deletion_protection
  @deletion_protection
end

#encryption_configGoogle::Apis::MetastoreV1::EncryptionConfig

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



1946
1947
1948
# File 'lib/google/apis/metastore_v1/classes.rb', line 1946

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)


1951
1952
1953
# File 'lib/google/apis/metastore_v1/classes.rb', line 1951

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



1957
1958
1959
# File 'lib/google/apis/metastore_v1/classes.rb', line 1957

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


1962
1963
1964
# File 'lib/google/apis/metastore_v1/classes.rb', line 1962

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



1968
1969
1970
# File 'lib/google/apis/metastore_v1/classes.rb', line 1968

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



1973
1974
1975
# File 'lib/google/apis/metastore_v1/classes.rb', line 1973

def 
  @metadata_integration
end

#metadata_management_activityGoogle::Apis::MetastoreV1::MetadataManagementActivity

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



1978
1979
1980
# File 'lib/google/apis/metastore_v1/classes.rb', line 1978

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)


1985
1986
1987
# File 'lib/google/apis/metastore_v1/classes.rb', line 1985

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)


1992
1993
1994
# File 'lib/google/apis/metastore_v1/classes.rb', line 1992

def network
  @network
end

#network_configGoogle::Apis::MetastoreV1::NetworkConfig

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



1997
1998
1999
# File 'lib/google/apis/metastore_v1/classes.rb', line 1997

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)


2002
2003
2004
# File 'lib/google/apis/metastore_v1/classes.rb', line 2002

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)


2008
2009
2010
# File 'lib/google/apis/metastore_v1/classes.rb', line 2008

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



2013
2014
2015
# File 'lib/google/apis/metastore_v1/classes.rb', line 2013

def scaling_config
  @scaling_config
end

#scheduled_backupGoogle::Apis::MetastoreV1::ScheduledBackup

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



2018
2019
2020
# File 'lib/google/apis/metastore_v1/classes.rb', line 2018

def scheduled_backup
  @scheduled_backup
end

#stateString

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

Returns:

  • (String)


2023
2024
2025
# File 'lib/google/apis/metastore_v1/classes.rb', line 2023

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)


2029
2030
2031
# File 'lib/google/apis/metastore_v1/classes.rb', line 2029

def state_message
  @state_message
end

#telemetry_configGoogle::Apis::MetastoreV1::TelemetryConfig

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



2034
2035
2036
# File 'lib/google/apis/metastore_v1/classes.rb', line 2034

def telemetry_config
  @telemetry_config
end

#tierString

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

Returns:

  • (String)


2039
2040
2041
# File 'lib/google/apis/metastore_v1/classes.rb', line 2039

def tier
  @tier
end

#uidString

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

Returns:

  • (String)


2044
2045
2046
# File 'lib/google/apis/metastore_v1/classes.rb', line 2044

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)


2049
2050
2051
# File 'lib/google/apis/metastore_v1/classes.rb', line 2049

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
# File 'lib/google/apis/metastore_v1/classes.rb', line 2056

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