Service Client: Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::OmniAdminClient

Client stub representing the remote OmniAdmin gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to spanner.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin - Compiled Protocol Buffers messages for google/spanner/admin/omni/v1/spanner_omni_admin.proto

SYNOPSIS

use Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin;

my $msg = Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Location->new({
    name => $name,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Location->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/spanner/admin/omni/v1/spanner_omni_admin.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Location

Represents a physical location where the machines for one or more zones are located.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name of the location, which must be of the form `locations/<id>`.

    The ID must start with a letter, end with a letter or a digit, and contain only letters, digits, underscores, and dashes.

    Optionally, the ID may be preceded with a domain name and a colon.

    The name `locations/default` is reserved for a location that is automatically created and always exists.

    Examples: `locations/my-datacenter` `locations/cloud.google.com:us-east1`

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::LocationDistance

Represents the network distance between two locations.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name of the distance between two locations, which must be of the form `locations/<id>/distances/<other_id>`.

    Examples: `locations/my-datacenter/distances/my-other-datacenter` `locations/cloud.google.com:us-east1/distances/cloud.google.com:us-west1`

  • $msg->latency() / $msg->latency($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    The one-way network latency between the two locations. If omitted, the latency is assumed to be negligible (sub-millisecond).

    Latency in the real world is not necessarily symmetric, so if both `(src, dest)` and `(dest, src)` are provided, each value is honored for its respective direction. If only one direction is provided, the reverse direction is assumed to have the same latency.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Zone

A zone is a grouping of servers that are in the same physical [Location][google.spanner.admin.omni.v1.Location]. A database may have a replica placed in a zone; a replicated database is replicated across multiple zones.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name of the zone, which must be of the form `zones/<id>`.

    The ID must start with a letter, end with a letter or a digit, and contain only letters, digits, underscores, and dashes.

    Optionally, the ID may be preceded with a domain name and a colon.

    Examples: `zones/my-datacenter` `zones/cloud.google.com:us-east1-a`

  • $msg->location() / $msg->location($value)

    Type: String

    The resource name of the [Location][google.spanner.admin.omni.v1.Location] where the zone is physically located. If omitted, the zone is placed in `locations/default`, which is assumed to have zero network distance from other locations.

  • $msg->single_server() / $msg->single_server($value)

    Type: Bool

    Indicates whether this zone is a designated single-server zone. If `true`, the zone can only ever have one root server and no other servers. If `false`, the zone can have multiple root and non-root servers. Single-server zones are suited for development, testing, and permanently low-scale workloads because they eliminate the overhead of replicating zone metadata.

  • $msg->root_servers() / $msg->root_servers($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Server)

    The root servers in the zone. Root servers store zone metadata and manage membership of other servers in the zone; if a quorum of root servers becomes unavailable, the entire zone becomes unavailable. It is a best practice to configure an odd number of root servers, and generally no more than five. For any zone with more than three servers in total, at least three root servers are recommended.

  • $msg->replica_type() / $msg->replica_type($value)

    Type: Enum (Google::Spanner::Admin::Omni::V1::Zone::ReplicaType)

    The type of replica hosted in the zone. Defaults to [READ_WRITE][google.spanner.admin.omni.v1.Zone.ReplicaType.READ_WRITE] if unspecified.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Spanner::Admin::Omni::V1::Zone::State)

    Output only. The current lifecycle state of the zone.

Enum: Zone::ReplicaType

  • REPLICA_TYPE_UNSPECIFIED => 0

  • READ_WRITE => 1

  • WITNESS => 2

  • READ_ONLY => 3

Enum: Zone::State

  • STATE_UNSPECIFIED => 0

  • READY => 1

  • CREATING => 2

  • DELETING => 3

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Server

Represents a server within a [Zone][google.spanner.admin.omni.v1.Zone]. Servers can be root servers or non-root servers. Root servers have special responsibilities for the upkeep of a zone; every zone must have at least one root server, and ideally three. Most servers in large zones should be non-root servers.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name of the server, which must be of the form `zones/<id>/servers/<host>:<port_base>`.

    Examples: `zones/my-datacenter/servers/10.0.0.1:15000` `zones/cloud.google.com:us-east1-a/servers/10.0.0.1:15000`

  • $msg->host() / $msg->host($value)

    Type: String

    The hostname or IP address of the server.

  • $msg->port_base() / $msg->port_base($value)

    Type: Int32

    The base port number used by this server. This port serves as the public gRPC port to which Spanner clients connect. Ports in the range `[port_base + 1, port_base + 31]` must be reserved for Spanner's internal use; even if some ports in this range are unused today, they may be required by future versions of the software.

  • $msg->root() / $msg->root($value)

    Type: Bool

    Indicates whether this server is a root server. If `true`, this server is a root server and also appears in its zone's [root_servers][google.spanner.admin.omni.v1.Zone.root_servers] list.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Spanner::Admin::Omni::V1::Server::State)

    Output only. The current lifecycle state of the server.

Enum: Server::State

  • STATE_UNSPECIFIED => 0

  • READY => 1

  • CREATING => 2

  • DELETING => 3

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::GcsExternalStorage

Represents external storage backed by Cloud Storage.

Inherits from Protobuf::Message.

Accessors

  • $msg->bucket() / $msg->bucket($value)

    Type: String

    Required. The name of the Cloud Storage bucket. Example: `"spanner-test-bucket"`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::S3ExternalStorage

Represents external storage backed by Amazon S3.

Inherits from Protobuf::Message.

Accessors

  • $msg->bucket() / $msg->bucket($value)

    Type: String

    Required. The name of the Amazon S3 bucket. Example: `"spanner-test-bucket"`.

  • $msg->auth_config() / $msg->auth_config($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::S3ExternalStorage::S3AuthConfig)

    Required. The authentication configuration for accessing the S3 bucket.

  • $msg->region() / $msg->region($value)

    Type: String

    Required. The AWS region of the S3 bucket. Example: `"us-east-1"`.

  • $msg->endpoint() / $msg->endpoint($value)

    Type: String

    Optional. Custom S3 endpoint URL (for example, `"https://bucket.vpce-0123456789abcdef0-s3.us-east-1.vpce.amazonaws.com"` or `"https://s3.cn-north-1.amazonaws.com.cn"`). If unset, Spanner defaults to `"https://s3.<region>.amazonaws.com"`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::S3CompatibleExternalStorage

Represents external storage backed by any storage provider compatible with Amazon S3 APIs.

Inherits from Protobuf::Message.

Accessors

  • $msg->bucket() / $msg->bucket($value)

    Type: String

    Required. The name of the S3-compatible storage bucket. Example: `"spanner-test-bucket"`.

  • $msg->auth_config() / $msg->auth_config($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::S3CompatibleExternalStorage::S3CompatibleAuthConfig)

    Required. The authentication configuration for accessing the S3-compatible storage.

  • $msg->endpoint() / $msg->endpoint($value)

    Type: String

    Required. The endpoint URL of the S3-compatible storage. Example: `"https://my-storage-that-supports-s3-apis.com"`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ExternalStorage

Represents remote storage outside of the Spanner Omni deployment that can be used for storing and importing Spanner database backups.

Inherits from Protobuf::Message.

Accessors

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::BackupDescriptor

Represents the metadata and file paths of a completed backup stored in external storage.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name of the backup descriptor, which is of the form `externalStorages/<id>/backupDescriptors/<backup_descriptor_id>`.

    Example: `externalStorages/s3-bucket/backupDescriptors/ba361769322`

  • $msg->backup_files_path() / $msg->backup_files_path($value)

    Type: String

    Output only. The path to the backup files in external storage. Format: `/<external_storage_type>/<external_storage_id>/backup/.../<backup_timestamps>` Example: `"/s3/s3-bucket/backup/b255/10000000001/1766484012656812_1766484033909295"`

  • $msg->version_time() / $msg->version_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The snapshot time of the database captured by the backup.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The creation time of the backup.

  • $msg->database() / $msg->database($value)

    Type: String

    Output only. The external database name for which the backup was created. Format: `<database_namespace>:<database_name>`. Example: `"default:test-db"`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::CreateExternalStorageRequest

The request for [CreateExternalStorage][google.spanner.admin.omni.v1.OmniAdmin.CreateExternalStorage].

Inherits from Protobuf::Message.

Accessors

  • $msg->external_storage_id() / $msg->external_storage_id($value)

    Type: String

    Required. The ID of the external storage to create. See [ExternalStorage.name][google.spanner.admin.omni.v1.ExternalStorage.name] for formatting details.

  • $msg->external_storage() / $msg->external_storage($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ExternalStorage)

    Required. The external storage configuration to create.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::GetExternalStorageRequest

The request for [GetExternalStorage][google.spanner.admin.omni.v1.OmniAdmin.GetExternalStorage].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the external storage to retrieve. Values are of the form `externalStorages/<id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::DeleteExternalStorageRequest

The request for [DeleteExternalStorage][google.spanner.admin.omni.v1.OmniAdmin.DeleteExternalStorage].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the external storage to delete. Values are of the form `externalStorages/<id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListExternalStoragesRequest

The request for [ListExternalStorages][google.spanner.admin.omni.v1.OmniAdmin.ListExternalStorages].

Inherits from Protobuf::Message.

Accessors

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of external storages to return in the response. If `0` or less, defaults to the server's maximum allowed page size.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.omni.v1.ListExternalStoragesResponse.next_page_token] from a previous [ListExternalStoragesResponse][google.spanner.admin.omni.v1.ListExternalStoragesResponse] to fetch the next page of results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListExternalStoragesResponse

The response for [ListExternalStorages][google.spanner.admin.omni.v1.OmniAdmin.ListExternalStorages].

Inherits from Protobuf::Message.

Accessors

  • $msg->external_storages() / $msg->external_storages($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ExternalStorage)

    The list of external storages in the deployment.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` in a subsequent [ListExternalStorages][google.spanner.admin.omni.v1.OmniAdmin.ListExternalStorages] call to fetch more of the matching external storages. If empty, there are no more results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::BackupDescriptorSource

Represents a backup descriptor in external storage used as the source for importing a backup. It references the backup metadata and data files in external storage.

Inherits from Protobuf::Message.

Accessors

  • $msg->backup_descriptor() / $msg->backup_descriptor($value)

    Type: String

    Required. The resource name of the backup descriptor to import the backup from. Values are of the form `externalStorages/<id>/backupDescriptors/<backup_descriptor_id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ImportBackupRequest

The request for [ImportBackup][google.spanner.admin.omni.v1.OmniAdmin.ImportBackup].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent instance resource where the backup will be imported. Values are of the form `instances/<instance_id>` or `projects/<project_id>/instances/<instance_id>` (for example, `projects/default/instances/default`).

  • $msg->backup_id() / $msg->backup_id($value)

    Type: String

    Required. The identifier to assign to the backup after it has been imported. This forms the `<backup_id>` segment of the resource name `projects/<project_id>/instances/<instance_id>/backups/<backup_id>`.

  • $msg->backup_descriptor_source() / $msg->backup_descriptor_source($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::BackupDescriptorSource)

    The backup descriptor in external storage to import the backup from.

  • $msg->expiration_time() / $msg->expiration_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Required. The expiration time of the imported backup. Must be at least 6 hours and at most 366 days from the time the import request is received.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ImportBackupMetadata

Metadata for the [ImportBackup][google.spanner.admin.omni.v1.OmniAdmin.ImportBackup] long-running operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name of the backup being imported, of the form `projects/<project_id>/instances/<instance_id>/backups/<backup_id>`.

  • $msg->cancel_time() / $msg->cancel_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time at which cancellation of the import backup operation was requested. Populated only if the operation has been cancelled.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListBackupDescriptorsRequest

The request for [ListBackupDescriptors][google.spanner.admin.omni.v1.OmniAdmin.ListBackupDescriptors].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource name of the external storage for which to list backup descriptors. Values are of the form `externalStorages/<id>`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of backup descriptors to return in the response. If `0` or less, defaults to the server's maximum allowed page size.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.omni.v1.ListBackupDescriptorsResponse.next_page_token] from a previous [ListBackupDescriptorsResponse][google.spanner.admin.omni.v1.ListBackupDescriptorsResponse] to fetch the next page of results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListBackupDescriptorsResponse

The response for [ListBackupDescriptors][google.spanner.admin.omni.v1.OmniAdmin.ListBackupDescriptors].

Inherits from Protobuf::Message.

Accessors

  • $msg->backup_descriptors() / $msg->backup_descriptors($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::BackupDescriptor)

    The list of backup descriptors found in the specified external storage.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` in a subsequent [ListBackupDescriptors][google.spanner.admin.omni.v1.OmniAdmin.ListBackupDescriptors] call to fetch more of the matching backup descriptors. If empty, there are no more results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::CreateLocationRequest

The request for [CreateLocation][google.spanner.admin.omni.v1.OmniAdmin.CreateLocation].

Inherits from Protobuf::Message.

Accessors

  • $msg->location_id() / $msg->location_id($value)

    Type: String

    Required. The ID of the location to create. See [Location.name][google.spanner.admin.omni.v1.Location.name] for formatting details.

  • $msg->location() / $msg->location($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Location)

    Required. The location to create. The `name` field may be omitted, but if specified must be `locations/<location_id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::GetLocationRequest

The request for [GetLocation][google.spanner.admin.omni.v1.OmniAdmin.GetLocation].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the requested location. Values are of the form `locations/<id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListLocationsRequest

The request for [ListLocations][google.spanner.admin.omni.v1.OmniAdmin.ListLocations].

Inherits from Protobuf::Message.

Accessors

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of locations to return in the response. If `0` or less, defaults to the server's maximum allowed page size.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.omni.v1.ListLocationsResponse.next_page_token] from a previous [ListLocationsResponse][google.spanner.admin.omni.v1.ListLocationsResponse] to fetch the next page of results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListLocationsResponse

The response for [ListLocations][google.spanner.admin.omni.v1.OmniAdmin.ListLocations].

Inherits from Protobuf::Message.

Accessors

  • $msg->locations() / $msg->locations($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Location)

    The list of locations in the deployment.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` in a subsequent [ListLocations][google.spanner.admin.omni.v1.OmniAdmin.ListLocations] call to fetch more of the matching locations. If empty, there are no more results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::DeleteLocationRequest

The request for [DeleteLocation][google.spanner.admin.omni.v1.OmniAdmin.DeleteLocation].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the location to delete. Values are of the form `locations/<id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::CreateLocationDistanceRequest

The request for [CreateLocationDistance][google.spanner.admin.omni.v1.OmniAdmin.CreateLocationDistance].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource name of the first location in the distance, which must be of the form `locations/<id>`.

  • $msg->other_location_id() / $msg->other_location_id($value)

    Type: String

    Required. The ID of the second location in the distance, specified as a location ID rather than a full resource name.

  • $msg->location_distance() / $msg->location_distance($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::LocationDistance)

    Required. The location distance to create. The `name` field may be omitted, but if specified must be `locations/<location_id>/distances/<other_location_id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::GetLocationDistanceRequest

The request for [GetLocationDistance][google.spanner.admin.omni.v1.OmniAdmin.GetLocationDistance].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the requested location distance. Values are of the form `locations/<id>/distances/<other_id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListLocationDistancesRequest

The request for [ListLocationDistances][google.spanner.admin.omni.v1.OmniAdmin.ListLocationDistances].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource name of the location for which to list distances. Values are of the form `locations/<id>`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of location distances to return in the response. If `0` or less, defaults to the server's maximum allowed page size.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.omni.v1.ListLocationDistancesResponse.next_page_token] from a previous [ListLocationDistancesResponse][google.spanner.admin.omni.v1.ListLocationDistancesResponse] to fetch the next page of results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListLocationDistancesResponse

The response for [ListLocationDistances][google.spanner.admin.omni.v1.OmniAdmin.ListLocationDistances].

Inherits from Protobuf::Message.

Accessors

  • $msg->location_distances() / $msg->location_distances($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::LocationDistance)

    The list of location distances for the specified source location.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` in a subsequent [ListLocationDistances][google.spanner.admin.omni.v1.OmniAdmin.ListLocationDistances] call to fetch more of the matching location distances. If empty, there are no more results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::UpdateLocationDistanceRequest

The request for [UpdateLocationDistance][google.spanner.admin.omni.v1.OmniAdmin.UpdateLocationDistance].

Inherits from Protobuf::Message.

Accessors

  • $msg->location_distance() / $msg->location_distance($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::LocationDistance)

    Required. The location distance to update, which must include the resource `name`. Only the fields specified in [update_mask][google.spanner.admin.omni.v1.UpdateLocationDistanceRequest.update_mask] need to be populated.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Required. A field mask specifying which fields in [LocationDistance][google.spanner.admin.omni.v1.LocationDistance] should be updated. The field mask must always be specified to prevent future fields in [LocationDistance][google.spanner.admin.omni.v1.LocationDistance] from being accidentally cleared by clients that do not know about them.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::DeleteLocationDistanceRequest

The request for [DeleteLocationDistance][google.spanner.admin.omni.v1.OmniAdmin.DeleteLocationDistance].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the location distance to delete. Values are of the form `locations/<id>/distances/<other_id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::CreateZoneRequest

The request for [CreateZone][google.spanner.admin.omni.v1.OmniAdmin.CreateZone].

Inherits from Protobuf::Message.

Accessors

  • $msg->zone_id() / $msg->zone_id($value)

    Type: String

    Required. The ID of the zone to create. See [Zone.name][google.spanner.admin.omni.v1.Zone.name] for formatting details.

  • $msg->zone() / $msg->zone($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Zone)

    Required. The zone to create. The `name` field may be omitted, but if specified must be of the form `zones/<zone_id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::GetZoneRequest

The request for [GetZone][google.spanner.admin.omni.v1.OmniAdmin.GetZone].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the requested zone. Values are of the form `zones/<id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListZonesRequest

The request for [ListZones][google.spanner.admin.omni.v1.OmniAdmin.ListZones].

Inherits from Protobuf::Message.

Accessors

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of zones to return in the response. If `0` or less, defaults to the server's maximum allowed page size.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.omni.v1.ListZonesResponse.next_page_token] from a previous [ListZonesResponse][google.spanner.admin.omni.v1.ListZonesResponse] to fetch the next page of results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListZonesResponse

The response for [ListZones][google.spanner.admin.omni.v1.OmniAdmin.ListZones].

Inherits from Protobuf::Message.

Accessors

  • $msg->zones() / $msg->zones($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Zone)

    The list of zones in the deployment.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` in a subsequent [ListZones][google.spanner.admin.omni.v1.OmniAdmin.ListZones] call to fetch more of the matching zones. If empty, there are no more results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListZoneOperationsRequest

The request for [ListZoneOperations][google.spanner.admin.omni.v1.OmniAdmin.ListZoneOperations].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent zone of the operations to list. Values are of the form `zones/<id>`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of operations to return in the response. If `0` or less, defaults to the server's maximum allowed page size.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.omni.v1.ListZoneOperationsResponse.next_page_token] from a previous [ListZoneOperationsResponse][google.spanner.admin.omni.v1.ListZoneOperationsResponse] to fetch the next page of results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListZoneOperationsResponse

The response for [ListZoneOperations][google.spanner.admin.omni.v1.OmniAdmin.ListZoneOperations].

Inherits from Protobuf::Message.

Accessors

  • $msg->operations() / $msg->operations($value)

    Type: Message (Google::Longrunning::Operations::Operation)

    The list of matching zone long-running operations.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` in a subsequent [ListZoneOperations][google.spanner.admin.omni.v1.OmniAdmin.ListZoneOperations] call to fetch more of the matching operations. If empty, there are no more results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::DeleteZoneRequest

The request for [DeleteZone][google.spanner.admin.omni.v1.OmniAdmin.DeleteZone].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the zone to delete. Values are of the form `zones/<id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::CreateServerRequest

The request for [CreateServer][google.spanner.admin.omni.v1.OmniAdmin.CreateServer].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource name of the zone in which the new server will be created, which must be of the form `zones/<id>`.

  • $msg->server_id() / $msg->server_id($value)

    Type: String

    Required. The address of the server to create, which must be of the form `<host>:<port_base>`.

  • $msg->server() / $msg->server($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Server)

    Required. The server to create. The `name` field may be omitted, but if specified must be `zones/<zone_id>/servers/<host>:<port_base>`. The `host` and `port_base` fields may also be omitted, but if specified must match the values in [server_id][google.spanner.admin.omni.v1.CreateServerRequest.server_id]. The [root][google.spanner.admin.omni.v1.Server.root] field must be `true`; non-root servers are not created through the API, but rather automatically join the zone when started.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::GetServerRequest

The request for [GetServer][google.spanner.admin.omni.v1.OmniAdmin.GetServer].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the requested server. Values are of the form `zones/<id>/servers/<host>:<port_base>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListServersRequest

The request for [ListServers][google.spanner.admin.omni.v1.OmniAdmin.ListServers].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource name of the zone for which to list servers. Values are of the form `zones/<id>`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of servers to return in the response. If `0` or less, defaults to the server's maximum allowed page size.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.omni.v1.ListServersResponse.next_page_token] from a previous [ListServersResponse][google.spanner.admin.omni.v1.ListServersResponse] to fetch the next page of results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListServersResponse

The response for [ListServers][google.spanner.admin.omni.v1.OmniAdmin.ListServers].

Inherits from Protobuf::Message.

Accessors

  • $msg->servers() / $msg->servers($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Server)

    The list of servers in the specified zone.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` in a subsequent [ListServers][google.spanner.admin.omni.v1.OmniAdmin.ListServers] call to fetch more of the matching servers. If empty, there are no more results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListServerOperationsRequest

The request for [ListServerOperations][google.spanner.admin.omni.v1.OmniAdmin.ListServerOperations].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource name of the parent server of the operations. Values are of the form `zones/<zone>/servers/<server>`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of operations to return in the response. If `0` or less, defaults to the server's maximum allowed page size.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.omni.v1.ListServerOperationsResponse.next_page_token] from a previous [ListServerOperationsResponse][google.spanner.admin.omni.v1.ListServerOperationsResponse] to fetch the next page of results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListServerOperationsResponse

The response for [ListServerOperations][google.spanner.admin.omni.v1.OmniAdmin.ListServerOperations].

Inherits from Protobuf::Message.

Accessors

  • $msg->operations() / $msg->operations($value)

    Type: Message (Google::Longrunning::Operations::Operation)

    The list of matching server long-running operations.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` in a subsequent [ListServerOperations][google.spanner.admin.omni.v1.OmniAdmin.ListServerOperations] call to fetch more of the matching operations. If empty, there are no more results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::DeleteServerRequest

The request for [DeleteServer][google.spanner.admin.omni.v1.OmniAdmin.DeleteServer].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the server to delete. Values are of the form `zones/<id>/servers/<host>:<port_base>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::DeleteServerMetadata

Metadata for the [DeleteServer][google.spanner.admin.omni.v1.OmniAdmin.DeleteServer] long-running operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->server() / $msg->server($value)

    Type: String

    The resource name of the server being deleted. Values are of the form `zones/<id>/servers/<host>:<port_base>`.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Spanner::Admin::Omni::V1::DeleteServerMetadata::State)

    Output only. The current state of the server deletion operation.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which this operation failed or completed successfully.

Enum: DeleteServerMetadata::State

  • STATE_UNSPECIFIED => 0

  • STOP_SERVING => 10

  • COPYING_DATA => 20

  • DRAINING_ROOT_SERVER => 25

  • DONE => 30

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::CreateServerMetadata

Metadata for the [CreateServer][google.spanner.admin.omni.v1.OmniAdmin.CreateServer] long-running operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->server() / $msg->server($value)

    Type: String

    The resource name of the server being created. Values are of the form `zones/<id>/servers/<host>:<port_base>`.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Spanner::Admin::Omni::V1::CreateServerMetadata::State)

    Output only. The current state of the server creation operation.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which this operation failed or completed successfully.

Enum: CreateServerMetadata::State

  • STATE_UNSPECIFIED => 0

  • SETTING_UP => 10

  • REGISTERING => 20

  • REPLICATING_DATA => 30

  • FINALIZING => 40

  • DONE => 50

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::CreateZoneMetadata

Metadata for the [CreateZone][google.spanner.admin.omni.v1.OmniAdmin.CreateZone] long-running operation.

Inherits from Protobuf::Message.

Accessors

Enum: CreateZoneMetadata::State

  • STATE_UNSPECIFIED => 0

  • SETTING_UP => 10

  • CREATING_REPLICA => 20

  • REPLICATING_DATA => 30

  • FINALIZING => 40

  • DONE => 50

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::DeleteZoneMetadata

Metadata for the [DeleteZone][google.spanner.admin.omni.v1.OmniAdmin.DeleteZone] long-running operation.

Inherits from Protobuf::Message.

Accessors

Enum: DeleteZoneMetadata::State

  • STATE_UNSPECIFIED => 0

  • UNREPLICATING_DATA => 10

  • WAITING_FOR_ONGOING_BACKUP_OPERATIONS => 20

  • DELETING_ZONE_METADATA => 30

  • DONE => 40

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Rollout

Represents a software rollout for the deployment.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The resource name of the rollout, of the form `rollouts/<rollout_id>`.

  • $msg->target_version() / $msg->target_version($value)

    Type: String

    Immutable. The target version being deployed.

  • $msg->start_time() / $msg->start_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the overall rollout started.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the overall rollout completed.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Spanner::Admin::Omni::V1::Rollout::State)

    Output only. The consolidated lifecycle state of the rollout.

  • $msg->phases() / $msg->phases($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::RolloutPhase)

    Output only. The sequence of rollout phases executed and scheduled.

  • $msg->source_version() / $msg->source_version($value)

    Type: String

    Immutable. The version deployed before this rollout started.

Enum: Rollout::State

  • STATE_UNSPECIFIED => 0

  • PENDING => 1

  • SCHEDULED => 2

  • IN_PROGRESS => 3

  • SUCCEEDED => 4

  • FAILED => 5

  • ROLLING_BACK => 6

  • ROLLED_BACK => 7

  • ABORTED => 8

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::RolloutPhase

Represents details for a specific phase within a [Rollout][google.spanner.admin.omni.v1.Rollout].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The resource name of the rollout phase, of the form `rollouts/<rollout_id>/phases/<phase_type>/rounds/<round_num>`.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Spanner::Admin::Omni::V1::Rollout::State)

    Output only. The current lifecycle state of this phase.

  • $msg->start_time() / $msg->start_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the phase started execution.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the phase finished execution.

  • $msg->scheduled_time() / $msg->scheduled_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when this phase is scheduled to run.

  • $msg->status() / $msg->status($value)

    Type: Message (Google::Rpc::Status::Status)

    Output only. The detailed execution status of the phase.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListRolloutsRequest

The request for [ListRollouts][google.spanner.admin.omni.v1.OmniAdmin.ListRollouts].

Inherits from Protobuf::Message.

Accessors

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of rollouts to return in the response. If `0` or less, defaults to the server's maximum allowed page size.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.omni.v1.ListRolloutsResponse.next_page_token] from a previous [ListRolloutsResponse][google.spanner.admin.omni.v1.ListRolloutsResponse] to fetch the next page of results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ListRolloutsResponse

The response for [ListRollouts][google.spanner.admin.omni.v1.OmniAdmin.ListRollouts].

Inherits from Protobuf::Message.

Accessors

  • $msg->rollouts() / $msg->rollouts($value)

    Type: Message (Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Rollout)

    The list of rollout resources.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` in a subsequent [ListRollouts][google.spanner.admin.omni.v1.OmniAdmin.ListRollouts] call to fetch more of the matching rollouts. If empty, there are no more results.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::GetRolloutRequest

The request for [GetRollout][google.spanner.admin.omni.v1.OmniAdmin.GetRollout].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the rollout to retrieve, of the form `rollouts/<rollout_id>`.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::ScheduleRolloutPhaseRequest

The request for [ScheduleRolloutPhase][google.spanner.admin.omni.v1.OmniAdmin.ScheduleRolloutPhase].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the rollout phase to schedule (for example, `rollouts/123/phases/enable_features/rounds/1`).

  • $msg->scheduled_time() / $msg->scheduled_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Optional. The time at which to execute the rollout phase. Defaults to the current time if unset.

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::AbortRolloutRequest

The request for [AbortRollout][google.spanner.admin.omni.v1.OmniAdmin.AbortRollout].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the rollout to abort (for example, `rollouts/123`).

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::RollbackRolloutRequest

The request for [RollbackRollout][google.spanner.admin.omni.v1.OmniAdmin.RollbackRollout].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the rollout to roll back (for example, `rollouts/123`).

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::RotateInternalKeysRequest

The request for [RotateInternalKeys][google.spanner.admin.omni.v1.OmniAdmin.RotateInternalKeys].

Inherits from Protobuf::Message.

Accessors

Enum: RotateInternalKeysRequest::KeyType

  • KEY_TYPE_UNSPECIFIED => 0

  • KEY_TYPE_PAGE_TOKEN_ENCRYPTION => 1

  • KEY_TYPE_RESTART_TOKEN_SIGNING => 2

  • KEY_TYPE_AUTHENTICATION_TOKEN_SIGNING => 3

Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::RotateInternalKeysResponse

The response for [RotateInternalKeys][google.spanner.admin.omni.v1.OmniAdmin.RotateInternalKeys].

Inherits from Protobuf::Message.

SEE ALSO

Protobuf, Protobuf::Message, Google::Spanner::Admin::Omni::V1::SpannerOmniAdmin::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.