Class: Google::Apis::WorkloadmanagerV1::DatabaseDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb

Overview

Message for sap instant details

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DatabaseDetails

Returns a new instance of DatabaseDetails.



910
911
912
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 910

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#database_service_accountString

Database service account - let custoemrs bring their own SA for database Corresponds to the JSON property databaseServiceAccount

Returns:

  • (String)


868
869
870
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 868

def 
  @database_service_account
end

#disk_typeString

Required. disk_type Corresponds to the JSON property diskType

Returns:

  • (String)


873
874
875
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 873

def disk_type
  @disk_type
end

#imageString

Required. image for database server Corresponds to the JSON property image

Returns:

  • (String)


878
879
880
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 878

def image
  @image
end

#instance_idString

Optional. instance id Corresponds to the JSON property instanceId

Returns:

  • (String)


883
884
885
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 883

def instance_id
  @instance_id
end

#machine_typeString

Required. machine type Corresponds to the JSON property machineType

Returns:

  • (String)


888
889
890
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 888

def machine_type
  @machine_type
end

#primary_db_vmString

Optional. primary db vm name Corresponds to the JSON property primaryDbVm

Returns:

  • (String)


893
894
895
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 893

def primary_db_vm
  @primary_db_vm
end

#secondary_db_vmString

Optional. secondary db vm name Corresponds to the JSON property secondaryDbVm

Returns:

  • (String)


898
899
900
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 898

def secondary_db_vm
  @secondary_db_vm
end

#secret_manager_secretString

Required. secret_manager_secret Corresponds to the JSON property secretManagerSecret

Returns:

  • (String)


903
904
905
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 903

def secret_manager_secret
  @secret_manager_secret
end

#sidString

Required. The SID is a three-digit server-specific unique identification code. Corresponds to the JSON property sid

Returns:

  • (String)


908
909
910
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 908

def sid
  @sid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



915
916
917
918
919
920
921
922
923
924
925
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 915

def update!(**args)
  @database_service_account = args[:database_service_account] if args.key?(:database_service_account)
  @disk_type = args[:disk_type] if args.key?(:disk_type)
  @image = args[:image] if args.key?(:image)
  @instance_id = args[:instance_id] if args.key?(:instance_id)
  @machine_type = args[:machine_type] if args.key?(:machine_type)
  @primary_db_vm = args[:primary_db_vm] if args.key?(:primary_db_vm)
  @secondary_db_vm = args[:secondary_db_vm] if args.key?(:secondary_db_vm)
  @secret_manager_secret = args[:secret_manager_secret] if args.key?(:secret_manager_secret)
  @sid = args[:sid] if args.key?(:sid)
end