Class: Google::Apis::MetastoreV1alpha::Service
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::Service
- 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
-
#artifact_gcs_uri ⇒ String
Output only.
-
#create_time ⇒ String
Output only.
-
#endpoint_uri ⇒ String
Output only.
-
#hive_metastore_config ⇒ Google::Apis::MetastoreV1alpha::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::MetastoreV1alpha::MaintenanceWindow
Maintenance window.
-
#metadata_integration ⇒ Google::Apis::MetastoreV1alpha::MetadataIntegration
Specifies how metastore metadata should be integrated with external services.
-
#metadata_management_activity ⇒ Google::Apis::MetastoreV1alpha::MetadataManagementActivity
The metadata management activities of the metastore service.
-
#name ⇒ String
Immutable.
-
#network ⇒ String
Immutable.
-
#port ⇒ Fixnum
The TCP port at which the metastore service is reached.
-
#state ⇒ String
Output only.
-
#state_message ⇒ String
Output only.
-
#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.
1052 1053 1054 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1052 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
968 969 970 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 968 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
973 974 975 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 973 def create_time @create_time end |
#endpoint_uri ⇒ String
Output only. The URI of the endpoint used to access the metastore service.
Corresponds to the JSON property endpointUri
978 979 980 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 978 def endpoint_uri @endpoint_uri end |
#hive_metastore_config ⇒ Google::Apis::MetastoreV1alpha::HiveMetastoreConfig
Specifies configuration information specific to running Hive metastore
software as the metastore service.
Corresponds to the JSON property hiveMetastoreConfig
984 985 986 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 984 def @hive_metastore_config end |
#labels ⇒ Hash<String,String>
User-defined labels for the metastore service.
Corresponds to the JSON property labels
989 990 991 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 989 def labels @labels end |
#maintenance_window ⇒ Google::Apis::MetastoreV1alpha::MaintenanceWindow
Maintenance window. This specifies when Dataproc Metastore may perform system
maintenance operation to the service.
Corresponds to the JSON property maintenanceWindow
995 996 997 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 995 def maintenance_window @maintenance_window end |
#metadata_integration ⇒ Google::Apis::MetastoreV1alpha::MetadataIntegration
Specifies how metastore metadata should be integrated with external services.
Corresponds to the JSON property metadataIntegration
1000 1001 1002 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1000 def @metadata_integration end |
#metadata_management_activity ⇒ Google::Apis::MetastoreV1alpha::MetadataManagementActivity
The metadata management activities of the metastore service.
Corresponds to the JSON property metadataManagementActivity
1005 1006 1007 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1005 def @metadata_management_activity end |
#name ⇒ String
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
1011 1012 1013 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1011 def name @name end |
#network ⇒ String
Immutable. The relative resource name of the VPC network on which the instance
can be accessed. The network must belong to the same project as the metastore
instance. It is specified in the following form:"projects/project_number/
global/networks/network_id".
Corresponds to the JSON property network
1019 1020 1021 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1019 def network @network end |
#port ⇒ Fixnum
The TCP port at which the metastore service is reached. Default: 9083.
Corresponds to the JSON property port
1024 1025 1026 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1024 def port @port end |
#state ⇒ String
Output only. The current state of the metastore service.
Corresponds to the JSON property state
1029 1030 1031 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1029 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
1035 1036 1037 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1035 def @state_message end |
#tier ⇒ String
The tier of the service.
Corresponds to the JSON property tier
1040 1041 1042 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1040 def tier @tier end |
#uid ⇒ String
Output only. The globally unique resource identifier of the metastore service.
Corresponds to the JSON property uid
1045 1046 1047 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1045 def uid @uid end |
#update_time ⇒ String
Output only. The time when the metastore service was last updated.
Corresponds to the JSON property updateTime
1050 1051 1052 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1050 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1057 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) @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) @port = args[:port] if args.key?(:port) @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 |