Google Cloud Dataproc Metastore V1alpha Client - Class Service (0.4.1)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha Client class Service.

A managed metastore service that serves metadata queries.

Generated from protobuf message google.cloud.metastore.v1alpha.Service

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ hive_metastore_config Google\Cloud\Metastore\V1alpha\HiveMetastoreConfig

Configuration information specific to running Hive metastore software as the metastore service.

↳ name string

Immutable. The relative resource name of the metastore service, in the following format: projects/{project_number}/locations/{location_id}/services/{service_id}.

↳ create_time Google\Protobuf\Timestamp

Output only. The time when the metastore service was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The time when the metastore service was last updated.

↳ labels array|Google\Protobuf\Internal\MapField

User-defined labels for the metastore service.

↳ 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}.

↳ endpoint_uri string

Output only. The URI of the endpoint used to access the metastore service.

↳ port int

The TCP port at which the metastore service is reached. Default: 9083.

↳ state int

Output only. The current state of the metastore service.

↳ state_message string

Output only. Additional information about the current state of the metastore service, if available.

↳ artifact_gcs_uri string

Output only. A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored.

↳ tier int

The tier of the service.

↳ metadata_integration Google\Cloud\Metastore\V1alpha\MetadataIntegration

The setting that defines how metastore metadata should be integrated with external services and systems.

↳ maintenance_window Google\Cloud\Metastore\V1alpha\MaintenanceWindow

The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for services with the SPANNER database type.

↳ uid string

Output only. The globally unique resource identifier of the metastore service.

↳ metadata_management_activity Google\Cloud\Metastore\V1alpha\MetadataManagementActivity

Output only. The metadata management activities of the metastore service.

↳ release_channel int

Immutable. The release channel of the service. If unspecified, defaults to STABLE.

↳ encryption_config Google\Cloud\Metastore\V1alpha\EncryptionConfig

Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.

↳ network_config Google\Cloud\Metastore\V1alpha\NetworkConfig

The configuration specifying the network settings for the Dataproc Metastore service.

↳ database_type int

Immutable. The database type that the Metastore service stores its data.

↳ telemetry_config Google\Cloud\Metastore\V1alpha\TelemetryConfig

The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.

getHiveMetastoreConfig

Configuration information specific to running Hive metastore software as the metastore service.

Generated from protobuf field .google.cloud.metastore.v1alpha.HiveMetastoreConfig hive_metastore_config = 5;

Returns
TypeDescription
Google\Cloud\Metastore\V1alpha\HiveMetastoreConfig|null

hasHiveMetastoreConfig

setHiveMetastoreConfig

Configuration information specific to running Hive metastore software as the metastore service.

Generated from protobuf field .google.cloud.metastore.v1alpha.HiveMetastoreConfig hive_metastore_config = 5;

Parameter
NameDescription
var Google\Cloud\Metastore\V1alpha\HiveMetastoreConfig
Returns
TypeDescription
$this

getName

Immutable. The relative resource name of the metastore service, in the following format: projects/{project_number}/locations/{location_id}/services/{service_id}.

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
string

setName

Immutable. The relative resource name of the metastore service, in the following format: projects/{project_number}/locations/{location_id}/services/{service_id}.

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time when the metastore service was created.

Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the metastore service was created.

Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The time when the metastore service was last updated.

Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time when the metastore service was last updated.

Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLabels

User-defined labels for the metastore service.

Generated from protobuf field map<string, string> labels = 4;

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

User-defined labels for the metastore service.

Generated from protobuf field map<string, string> labels = 4;

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getNetwork

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}.

Generated from protobuf field string network = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setNetwork

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}.

Generated from protobuf field string network = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEndpointUri

Output only. The URI of the endpoint used to access the metastore service.

Generated from protobuf field string endpoint_uri = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setEndpointUri

Output only. The URI of the endpoint used to access the metastore service.

Generated from protobuf field string endpoint_uri = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPort

The TCP port at which the metastore service is reached. Default: 9083.

Generated from protobuf field int32 port = 9;

Returns
TypeDescription
int

setPort

The TCP port at which the metastore service is reached. Default: 9083.

Generated from protobuf field int32 port = 9;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getState

Output only. The current state of the metastore service.

Generated from protobuf field .google.cloud.metastore.v1alpha.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

setState

Output only. The current state of the metastore service.

Generated from protobuf field .google.cloud.metastore.v1alpha.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStateMessage

Output only. Additional information about the current state of the metastore service, if available.

Generated from protobuf field string state_message = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setStateMessage

Output only. Additional information about the current state of the metastore service, if available.

Generated from protobuf field string state_message = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getArtifactGcsUri

Output only. A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored.

Generated from protobuf field string artifact_gcs_uri = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setArtifactGcsUri

Output only. A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored.

Generated from protobuf field string artifact_gcs_uri = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTier

The tier of the service.

Generated from protobuf field .google.cloud.metastore.v1alpha.Service.Tier tier = 13;

Returns
TypeDescription
int

setTier

The tier of the service.

Generated from protobuf field .google.cloud.metastore.v1alpha.Service.Tier tier = 13;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMetadataIntegration

The setting that defines how metastore metadata should be integrated with external services and systems.

Generated from protobuf field .google.cloud.metastore.v1alpha.MetadataIntegration metadata_integration = 14;

Returns
TypeDescription
Google\Cloud\Metastore\V1alpha\MetadataIntegration|null

hasMetadataIntegration

clearMetadataIntegration

setMetadataIntegration

The setting that defines how metastore metadata should be integrated with external services and systems.

Generated from protobuf field .google.cloud.metastore.v1alpha.MetadataIntegration metadata_integration = 14;

Parameter
NameDescription
var Google\Cloud\Metastore\V1alpha\MetadataIntegration
Returns
TypeDescription
$this

getMaintenanceWindow

The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time.

Maintenance window is not needed for services with the SPANNER database type.

Generated from protobuf field .google.cloud.metastore.v1alpha.MaintenanceWindow maintenance_window = 15;

Returns
TypeDescription
Google\Cloud\Metastore\V1alpha\MaintenanceWindow|null

hasMaintenanceWindow

clearMaintenanceWindow

setMaintenanceWindow

The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time.

Maintenance window is not needed for services with the SPANNER database type.

Generated from protobuf field .google.cloud.metastore.v1alpha.MaintenanceWindow maintenance_window = 15;

Parameter
NameDescription
var Google\Cloud\Metastore\V1alpha\MaintenanceWindow
Returns
TypeDescription
$this

getUid

Output only. The globally unique resource identifier of the metastore service.

Generated from protobuf field string uid = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setUid

Output only. The globally unique resource identifier of the metastore service.

Generated from protobuf field string uid = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetadataManagementActivity

Output only. The metadata management activities of the metastore service.

Generated from protobuf field .google.cloud.metastore.v1alpha.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Cloud\Metastore\V1alpha\MetadataManagementActivity|null

hasMetadataManagementActivity

clearMetadataManagementActivity

setMetadataManagementActivity

Output only. The metadata management activities of the metastore service.

Generated from protobuf field .google.cloud.metastore.v1alpha.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var Google\Cloud\Metastore\V1alpha\MetadataManagementActivity
Returns
TypeDescription
$this

getReleaseChannel

Immutable. The release channel of the service.

If unspecified, defaults to STABLE.

Generated from protobuf field .google.cloud.metastore.v1alpha.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

setReleaseChannel

Immutable. The release channel of the service.

If unspecified, defaults to STABLE.

Generated from protobuf field .google.cloud.metastore.v1alpha.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getEncryptionConfig

Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.

Generated from protobuf field .google.cloud.metastore.v1alpha.EncryptionConfig encryption_config = 20 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Google\Cloud\Metastore\V1alpha\EncryptionConfig|null

hasEncryptionConfig

clearEncryptionConfig

setEncryptionConfig

Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.

Generated from protobuf field .google.cloud.metastore.v1alpha.EncryptionConfig encryption_config = 20 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
var Google\Cloud\Metastore\V1alpha\EncryptionConfig
Returns
TypeDescription
$this

getNetworkConfig

The configuration specifying the network settings for the Dataproc Metastore service.

Generated from protobuf field .google.cloud.metastore.v1alpha.NetworkConfig network_config = 21;

Returns
TypeDescription
Google\Cloud\Metastore\V1alpha\NetworkConfig|null

hasNetworkConfig

clearNetworkConfig

setNetworkConfig

The configuration specifying the network settings for the Dataproc Metastore service.

Generated from protobuf field .google.cloud.metastore.v1alpha.NetworkConfig network_config = 21;

Parameter
NameDescription
var Google\Cloud\Metastore\V1alpha\NetworkConfig
Returns
TypeDescription
$this

getDatabaseType

Immutable. The database type that the Metastore service stores its data.

Generated from protobuf field .google.cloud.metastore.v1alpha.Service.DatabaseType database_type = 22 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

setDatabaseType

Immutable. The database type that the Metastore service stores its data.

Generated from protobuf field .google.cloud.metastore.v1alpha.Service.DatabaseType database_type = 22 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getTelemetryConfig

The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.

Generated from protobuf field .google.cloud.metastore.v1alpha.TelemetryConfig telemetry_config = 23;

Returns
TypeDescription
Google\Cloud\Metastore\V1alpha\TelemetryConfig|null

hasTelemetryConfig

clearTelemetryConfig

setTelemetryConfig

The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.

Generated from protobuf field .google.cloud.metastore.v1alpha.TelemetryConfig telemetry_config = 23;

Parameter
NameDescription
var Google\Cloud\Metastore\V1alpha\TelemetryConfig
Returns
TypeDescription
$this

getMetastoreConfig

Returns
TypeDescription
string