Class: Google::Apis::SqladminV1beta4::AcquireSsrsLeaseContext

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

Overview

Acquire SSRS lease context.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AcquireSsrsLeaseContext

Returns a new instance of AcquireSsrsLeaseContext.



89
90
91
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 89

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

Instance Attribute Details

#durationString

Lease duration needed for the SSRS setup. Corresponds to the JSON property duration

Returns:

  • (String)


70
71
72
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 70

def duration
  @duration
end

#report_databaseString

The report database to be used for the SSRS setup. Corresponds to the JSON property reportDatabase

Returns:

  • (String)


75
76
77
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 75

def report_database
  @report_database
end

#service_loginString

The username to be used as the service login to connect to the report database for SSRS setup. Corresponds to the JSON property serviceLogin

Returns:

  • (String)


81
82
83
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 81

def 
  @service_login
end

#setup_loginString

The username to be used as the setup login to connect to the database server for SSRS setup. Corresponds to the JSON property setupLogin

Returns:

  • (String)


87
88
89
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 87

def 
  @setup_login
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



94
95
96
97
98
99
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 94

def update!(**args)
  @duration = args[:duration] if args.key?(:duration)
  @report_database = args[:report_database] if args.key?(:report_database)
  @service_login = args[:service_login] if args.key?(:service_login)
  @setup_login = args[:setup_login] if args.key?(:setup_login)
end