Class: Google::Apis::SqladminV1beta4::AcquireSsrsLeaseContext
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::AcquireSsrsLeaseContext
- 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
-
#duration ⇒ String
Lease duration needed for the SSRS setup.
-
#report_database ⇒ String
The report database to be used for the SSRS setup.
-
#service_login ⇒ String
The username to be used as the service login to connect to the report database for SSRS setup.
-
#setup_login ⇒ String
The username to be used as the setup login to connect to the database server for SSRS setup.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AcquireSsrsLeaseContext
constructor
A new instance of AcquireSsrsLeaseContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#duration ⇒ String
Lease duration needed for the SSRS setup.
Corresponds to the JSON property duration
70 71 72 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 70 def duration @duration end |
#report_database ⇒ String
The report database to be used for the SSRS setup.
Corresponds to the JSON property reportDatabase
75 76 77 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 75 def report_database @report_database end |
#service_login ⇒ String
The username to be used as the service login to connect to the report database
for SSRS setup.
Corresponds to the JSON property serviceLogin
81 82 83 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 81 def service_login @service_login end |
#setup_login ⇒ String
The username to be used as the setup login to connect to the database server
for SSRS setup.
Corresponds to the JSON property setupLogin
87 88 89 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 87 def setup_login @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 |