# Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::ManagementServer (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::ManagementServer.

ManagementServer describes a single BackupDR ManagementServer instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ba_proxy_uri

    def ba_proxy_uri() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the instance was created.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Optional. The description of the ManagementServer instance (2048 characters or less).

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The description of the ManagementServer instance (2048 characters or less).
**Returns**

- (::String) --- Optional. The description of the ManagementServer instance (2048 characters or less).

### #etag

    def etag() -> ::String

**Returns**

- (::String) --- Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.
**Returns**

- (::String) --- Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Resource labels to represent user provided metadata.
  Labels currently defined:

  1. migrate_from_go=

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) ---

  Optional. Resource labels to represent user provided metadata.
  Labels currently defined:
  1. migrate_from_go=
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Resource labels to represent user provided metadata.
  Labels currently defined:

  1. migrate_from_go=

### #management_uri

    def management_uri() -> ::Google::Cloud::BackupDR::V1::ManagementURI

**Returns**

- ([::Google::Cloud::BackupDR::V1::ManagementURI](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-ManagementURI)) --- Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. Identifier. The resource name.

### #networks

    def networks() -> ::Array<::Google::Cloud::BackupDR::V1::NetworkConfig>

**Returns**

- (::Array\<[::Google::Cloud::BackupDR::V1::NetworkConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-NetworkConfig)\>) --- Optional. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported. This field is optional if MS is created without PSA

### #networks=

    def networks=(value) -> ::Array<::Google::Cloud::BackupDR::V1::NetworkConfig>

**Parameter**

- **value** (::Array\<[::Google::Cloud::BackupDR::V1::NetworkConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-NetworkConfig)\>) --- Optional. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported. This field is optional if MS is created without PSA
**Returns**

- (::Array\<[::Google::Cloud::BackupDR::V1::NetworkConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-NetworkConfig)\>) --- Optional. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported. This field is optional if MS is created without PSA

### #oauth2_client_id

    def oauth2_client_id() -> ::String

**Returns**

- (::String) --- Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the 'aud' field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).

### #satisfies_pzi

    def satisfies_pzi() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Reserved for future use.

### #satisfies_pzs

    def satisfies_pzs() -> ::Google::Protobuf::BoolValue

**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Protobuf-BoolValue)) --- Output only. Reserved for future use.

### #state

    def state() -> ::Google::Cloud::BackupDR::V1::ManagementServer::InstanceState

**Returns**

- ([::Google::Cloud::BackupDR::V1::ManagementServer::InstanceState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-ManagementServer-InstanceState)) --- Output only. The ManagementServer state.

### #type

    def type() -> ::Google::Cloud::BackupDR::V1::ManagementServer::InstanceType

**Returns**

- ([::Google::Cloud::BackupDR::V1::ManagementServer::InstanceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-ManagementServer-InstanceType)) --- Optional. The type of the ManagementServer resource.

### #type=

    def type=(value) -> ::Google::Cloud::BackupDR::V1::ManagementServer::InstanceType

**Parameter**

- **value** ([::Google::Cloud::BackupDR::V1::ManagementServer::InstanceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-ManagementServer-InstanceType)) --- Optional. The type of the ManagementServer resource.
**Returns**

- ([::Google::Cloud::BackupDR::V1::ManagementServer::InstanceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-ManagementServer-InstanceType)) --- Optional. The type of the ManagementServer resource.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the instance was updated.

### #workforce_identity_based_management_uri

    def workforce_identity_based_management_uri() -> ::Google::Cloud::BackupDR::V1::WorkforceIdentityBasedManagementURI

**Returns**

- ([::Google::Cloud::BackupDR::V1::WorkforceIdentityBasedManagementURI](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-WorkforceIdentityBasedManagementURI)) --- Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI.

### #workforce_identity_based_oauth2_client_id

    def workforce_identity_based_oauth2_client_id() -> ::Google::Cloud::BackupDR::V1::WorkforceIdentityBasedOAuth2ClientID

**Returns**

- ([::Google::Cloud::BackupDR::V1::WorkforceIdentityBasedOAuth2ClientID](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-WorkforceIdentityBasedOAuth2ClientID)) --- Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.