Class: Google::Apis::MetastoreV1beta::Service

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/metastore_v1beta/classes.rb,
generated/google/apis/metastore_v1beta/representations.rb,
generated/google/apis/metastore_v1beta/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.



993
994
995
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 993

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)


909
910
911
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 909

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)


914
915
916
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 914

def create_time
  @create_time
end

#endpoint_uriString

Output only. The URI of the endpoint used to access the metastore service. Corresponds to the JSON property endpointUri

Returns:

  • (String)


919
920
921
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 919

def endpoint_uri
  @endpoint_uri
end

#hive_metastore_configGoogle::Apis::MetastoreV1beta::HiveMetastoreConfig

Specifies configuration information specific to running Hive metastore software as the metastore service. Corresponds to the JSON property hiveMetastoreConfig



925
926
927
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 925

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


930
931
932
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 930

def labels
  @labels
end

#maintenance_windowGoogle::Apis::MetastoreV1beta::MaintenanceWindow

Maintenance window. This specifies when Dataproc Metastore may perform system maintenance operation to the service. Corresponds to the JSON property maintenanceWindow



936
937
938
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 936

def maintenance_window
  @maintenance_window
end

#metadata_integrationGoogle::Apis::MetastoreV1beta::MetadataIntegration

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



941
942
943
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 941

def 
  @metadata_integration
end

#metadata_management_activityGoogle::Apis::MetastoreV1beta::MetadataManagementActivity

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



946
947
948
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 946

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)


952
953
954
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 952

def name
  @name
end

#networkString

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

Returns:

  • (String)


960
961
962
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 960

def network
  @network
end

#portFixnum

The TCP port at which the metastore service is reached. Default: 9083. Corresponds to the JSON property port

Returns:

  • (Fixnum)


965
966
967
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 965

def port
  @port
end

#stateString

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

Returns:

  • (String)


970
971
972
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 970

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)


976
977
978
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 976

def state_message
  @state_message
end

#tierString

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

Returns:

  • (String)


981
982
983
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 981

def tier
  @tier
end

#uidString

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

Returns:

  • (String)


986
987
988
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 986

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)


991
992
993
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 991

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 998

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