Class: Google::Apis::BackupdrV1::ManagementServer
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::ManagementServer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/backupdr_v1/classes.rb,
lib/google/apis/backupdr_v1/representations.rb,
lib/google/apis/backupdr_v1/representations.rb
Overview
ManagementServer describes a single BackupDR ManagementServer instance.
Instance Attribute Summary collapse
-
#ba_proxy_uri ⇒ Array<String>
Output only.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#etag ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#management_uri ⇒ Google::Apis::BackupdrV1::ManagementUri
ManagementURI for the Management Server resource.
-
#name ⇒ String
Output only.
-
#networks ⇒ Array<Google::Apis::BackupdrV1::NetworkConfig>
Optional.
-
#oauth2_client_id ⇒ String
Output only.
-
#satisfies_pzi ⇒ Boolean
(also: #satisfies_pzi?)
Output only.
-
#satisfies_pzs ⇒ Boolean
(also: #satisfies_pzs?)
Output only.
-
#state ⇒ String
Output only.
-
#type ⇒ String
Optional.
-
#update_time ⇒ String
Output only.
-
#workforce_identity_based_management_uri ⇒ Google::Apis::BackupdrV1::WorkforceIdentityBasedManagementUri
ManagementURI depending on the Workforce Identity i.e.
-
#workforce_identity_based_oauth2_client_id ⇒ Google::Apis::BackupdrV1::WorkforceIdentityBasedOAuth2ClientId
OAuth Client ID depending on the Workforce Identity i.e.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagementServer
constructor
A new instance of ManagementServer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagementServer
Returns a new instance of ManagementServer.
2813 2814 2815 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2813 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ba_proxy_uri ⇒ Array<String>
Output only. The hostname or ip address of the exposed AGM endpoints, used by
BAs to connect to BA proxy.
Corresponds to the JSON property baProxyUri
2725 2726 2727 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2725 def ba_proxy_uri @ba_proxy_uri end |
#create_time ⇒ String
Output only. The time when the instance was created.
Corresponds to the JSON property createTime
2730 2731 2732 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2730 def create_time @create_time end |
#description ⇒ String
Optional. The description of the ManagementServer instance (2048 characters or
less).
Corresponds to the JSON property description
2736 2737 2738 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2736 def description @description end |
#etag ⇒ String
Optional. Server specified ETag for the ManagementServer resource to prevent
simultaneous updates from overwiting each other.
Corresponds to the JSON property etag
2742 2743 2744 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2742 def etag @etag end |
#labels ⇒ Hash<String,String>
Optional. Resource labels to represent user provided metadata. Labels
currently defined: 1. migrate_from_go= If set to true, the MS is created in
migration ready mode.
Corresponds to the JSON property labels
2749 2750 2751 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2749 def labels @labels end |
#management_uri ⇒ Google::Apis::BackupdrV1::ManagementUri
ManagementURI for the Management Server resource.
Corresponds to the JSON property managementUri
2754 2755 2756 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2754 def management_uri @management_uri end |
#name ⇒ String
Output only. Identifier. The resource name.
Corresponds to the JSON property name
2759 2760 2761 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2759 def name @name end |
#networks ⇒ Array<Google::Apis::BackupdrV1::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
Corresponds to the JSON property networks
2766 2767 2768 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2766 def networks @networks end |
#oauth2_client_id ⇒ 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).
Corresponds to the JSON property oauth2ClientId
2774 2775 2776 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2774 def oauth2_client_id @oauth2_client_id end |
#satisfies_pzi ⇒ Boolean Also known as: satisfies_pzi?
Output only. Reserved for future use.
Corresponds to the JSON property satisfiesPzi
2779 2780 2781 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2779 def satisfies_pzi @satisfies_pzi end |
#satisfies_pzs ⇒ Boolean Also known as: satisfies_pzs?
Output only. Reserved for future use.
Corresponds to the JSON property satisfiesPzs
2785 2786 2787 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2785 def satisfies_pzs @satisfies_pzs end |
#state ⇒ String
Output only. The ManagementServer state.
Corresponds to the JSON property state
2791 2792 2793 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2791 def state @state end |
#type ⇒ String
Optional. The type of the ManagementServer resource.
Corresponds to the JSON property type
2796 2797 2798 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2796 def type @type end |
#update_time ⇒ String
Output only. The time when the instance was updated.
Corresponds to the JSON property updateTime
2801 2802 2803 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2801 def update_time @update_time end |
#workforce_identity_based_management_uri ⇒ Google::Apis::BackupdrV1::WorkforceIdentityBasedManagementUri
ManagementURI depending on the Workforce Identity i.e. either 1p or 3p.
Corresponds to the JSON property workforceIdentityBasedManagementUri
2806 2807 2808 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2806 def workforce_identity_based_management_uri @workforce_identity_based_management_uri end |
#workforce_identity_based_oauth2_client_id ⇒ Google::Apis::BackupdrV1::WorkforceIdentityBasedOAuth2ClientId
OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,
Corresponds to the JSON property workforceIdentityBasedOauth2ClientId
2811 2812 2813 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2811 def workforce_identity_based_oauth2_client_id @workforce_identity_based_oauth2_client_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2818 def update!(**args) @ba_proxy_uri = args[:ba_proxy_uri] if args.key?(:ba_proxy_uri) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @labels = args[:labels] if args.key?(:labels) @management_uri = args[:management_uri] if args.key?(:management_uri) @name = args[:name] if args.key?(:name) @networks = args[:networks] if args.key?(:networks) @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id) @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) @workforce_identity_based_management_uri = args[:workforce_identity_based_management_uri] if args.key?(:workforce_identity_based_management_uri) @workforce_identity_based_oauth2_client_id = args[:workforce_identity_based_oauth2_client_id] if args.key?(:workforce_identity_based_oauth2_client_id) end |