google-apis-sqladmin_v1 0.53.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2dff1618353323a622628e062b0447d29fb98b05ee88db0149529acdeeebd37
|
4
|
+
data.tar.gz: 8f9a516a3e2f12691599f004b6497c5a1ea06b9ab745f49da91f90f7ee795558
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 966a211ed476993995d064c821498b6800ec4d6bc422b78247fd3b42c6f60edfcb9161a09a5d5e10275a8ff6e56715242d487d80399315323e411dd6d3043b20
|
7
|
+
data.tar.gz: 849c4d9972baec9b0cdebdd8b07ace0e461fbbabed1a83dfe5e4dfbcf4c5672e19ae170561df91593f78c3a1fd913d5ffa69502b0456e3c30dcdd9568a6ca993
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1
|
2
2
|
|
3
|
+
### v0.55.0 (2024-03-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240304
|
6
|
+
|
7
|
+
### v0.54.0 (2024-02-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240211
|
10
|
+
* Regenerated using generator version 0.14.0
|
11
|
+
|
3
12
|
### v0.53.0 (2024-02-11)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240205
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/cloud-sql/) may provid
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -60,6 +60,45 @@ module Google
|
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
|
+
# Acquire SSRS lease context.
|
64
|
+
class AcquireSsrsLeaseContext
|
65
|
+
include Google::Apis::Core::Hashable
|
66
|
+
|
67
|
+
# Lease duration needed for SSRS setup.
|
68
|
+
# Corresponds to the JSON property `duration`
|
69
|
+
# @return [String]
|
70
|
+
attr_accessor :duration
|
71
|
+
|
72
|
+
# The report database to be used for SSRS setup.
|
73
|
+
# Corresponds to the JSON property `reportDatabase`
|
74
|
+
# @return [String]
|
75
|
+
attr_accessor :report_database
|
76
|
+
|
77
|
+
# The username to be used as the service login to connect to the report database
|
78
|
+
# for SSRS setup.
|
79
|
+
# Corresponds to the JSON property `serviceLogin`
|
80
|
+
# @return [String]
|
81
|
+
attr_accessor :service_login
|
82
|
+
|
83
|
+
# The username to be used as the setup login to connect to the database server
|
84
|
+
# for SSRS setup.
|
85
|
+
# Corresponds to the JSON property `setupLogin`
|
86
|
+
# @return [String]
|
87
|
+
attr_accessor :setup_login
|
88
|
+
|
89
|
+
def initialize(**args)
|
90
|
+
update!(**args)
|
91
|
+
end
|
92
|
+
|
93
|
+
# Update properties of this object
|
94
|
+
def update!(**args)
|
95
|
+
@duration = args[:duration] if args.key?(:duration)
|
96
|
+
@report_database = args[:report_database] if args.key?(:report_database)
|
97
|
+
@service_login = args[:service_login] if args.key?(:service_login)
|
98
|
+
@setup_login = args[:setup_login] if args.key?(:setup_login)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
63
102
|
# Specifies options for controlling advanced machine features.
|
64
103
|
class AdvancedMachineFeatures
|
65
104
|
include Google::Apis::Core::Hashable
|
@@ -2041,6 +2080,25 @@ module Google
|
|
2041
2080
|
end
|
2042
2081
|
end
|
2043
2082
|
|
2083
|
+
# Request to acquire a lease for SSRS.
|
2084
|
+
class InstancesAcquireSsrsLeaseRequest
|
2085
|
+
include Google::Apis::Core::Hashable
|
2086
|
+
|
2087
|
+
# Acquire SSRS lease context.
|
2088
|
+
# Corresponds to the JSON property `acquireSsrsLeaseContext`
|
2089
|
+
# @return [Google::Apis::SqladminV1::AcquireSsrsLeaseContext]
|
2090
|
+
attr_accessor :acquire_ssrs_lease_context
|
2091
|
+
|
2092
|
+
def initialize(**args)
|
2093
|
+
update!(**args)
|
2094
|
+
end
|
2095
|
+
|
2096
|
+
# Update properties of this object
|
2097
|
+
def update!(**args)
|
2098
|
+
@acquire_ssrs_lease_context = args[:acquire_ssrs_lease_context] if args.key?(:acquire_ssrs_lease_context)
|
2099
|
+
end
|
2100
|
+
end
|
2101
|
+
|
2044
2102
|
# Database instance clone request.
|
2045
2103
|
class InstancesCloneRequest
|
2046
2104
|
include Google::Apis::Core::Hashable
|
@@ -2693,6 +2751,11 @@ module Google
|
|
2693
2751
|
class Operation
|
2694
2752
|
include Google::Apis::Core::Hashable
|
2695
2753
|
|
2754
|
+
# Acquire SSRS lease context.
|
2755
|
+
# Corresponds to the JSON property `acquireSsrsLeaseContext`
|
2756
|
+
# @return [Google::Apis::SqladminV1::AcquireSsrsLeaseContext]
|
2757
|
+
attr_accessor :acquire_ssrs_lease_context
|
2758
|
+
|
2696
2759
|
# An Admin API warning message.
|
2697
2760
|
# Corresponds to the JSON property `apiWarning`
|
2698
2761
|
# @return [Google::Apis::SqladminV1::ApiWarning]
|
@@ -2791,6 +2854,7 @@ module Google
|
|
2791
2854
|
|
2792
2855
|
# Update properties of this object
|
2793
2856
|
def update!(**args)
|
2857
|
+
@acquire_ssrs_lease_context = args[:acquire_ssrs_lease_context] if args.key?(:acquire_ssrs_lease_context)
|
2794
2858
|
@api_warning = args[:api_warning] if args.key?(:api_warning)
|
2795
2859
|
@backup_context = args[:backup_context] if args.key?(:backup_context)
|
2796
2860
|
@end_time = args[:end_time] if args.key?(:end_time)
|
@@ -3338,6 +3402,12 @@ module Google
|
|
3338
3402
|
# @return [String]
|
3339
3403
|
attr_accessor :edition
|
3340
3404
|
|
3405
|
+
# Optional. Configuration to enable Cloud SQL Vertex AI Integration
|
3406
|
+
# Corresponds to the JSON property `enableGoogleMlIntegration`
|
3407
|
+
# @return [Boolean]
|
3408
|
+
attr_accessor :enable_google_ml_integration
|
3409
|
+
alias_method :enable_google_ml_integration?, :enable_google_ml_integration
|
3410
|
+
|
3341
3411
|
# Insights configuration. This specifies when Cloud SQL Insights feature is
|
3342
3412
|
# enabled and optional configuration.
|
3343
3413
|
# Corresponds to the JSON property `insightsConfig`
|
@@ -3451,6 +3521,7 @@ module Google
|
|
3451
3521
|
@deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
|
3452
3522
|
@deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
|
3453
3523
|
@edition = args[:edition] if args.key?(:edition)
|
3524
|
+
@enable_google_ml_integration = args[:enable_google_ml_integration] if args.key?(:enable_google_ml_integration)
|
3454
3525
|
@insights_config = args[:insights_config] if args.key?(:insights_config)
|
3455
3526
|
@ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
|
3456
3527
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -3525,6 +3596,25 @@ module Google
|
|
3525
3596
|
end
|
3526
3597
|
end
|
3527
3598
|
|
3599
|
+
# Response for the acquire SSRS lease request.
|
3600
|
+
class SqlInstancesAcquireSsrsLeaseResponse
|
3601
|
+
include Google::Apis::Core::Hashable
|
3602
|
+
|
3603
|
+
# The unique identifier for this operation.
|
3604
|
+
# Corresponds to the JSON property `operationId`
|
3605
|
+
# @return [String]
|
3606
|
+
attr_accessor :operation_id
|
3607
|
+
|
3608
|
+
def initialize(**args)
|
3609
|
+
update!(**args)
|
3610
|
+
end
|
3611
|
+
|
3612
|
+
# Update properties of this object
|
3613
|
+
def update!(**args)
|
3614
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
3615
|
+
end
|
3616
|
+
end
|
3617
|
+
|
3528
3618
|
# Instance get disk shrink config response.
|
3529
3619
|
class SqlInstancesGetDiskShrinkConfigResponse
|
3530
3620
|
include Google::Apis::Core::Hashable
|
@@ -3581,6 +3671,25 @@ module Google
|
|
3581
3671
|
end
|
3582
3672
|
end
|
3583
3673
|
|
3674
|
+
# Response for the release SSRS lease request.
|
3675
|
+
class SqlInstancesReleaseSsrsLeaseResponse
|
3676
|
+
include Google::Apis::Core::Hashable
|
3677
|
+
|
3678
|
+
# The unique identifier for this operation.
|
3679
|
+
# Corresponds to the JSON property `operationId`
|
3680
|
+
# @return [String]
|
3681
|
+
attr_accessor :operation_id
|
3682
|
+
|
3683
|
+
def initialize(**args)
|
3684
|
+
update!(**args)
|
3685
|
+
end
|
3686
|
+
|
3687
|
+
# Update properties of this object
|
3688
|
+
def update!(**args)
|
3689
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
3690
|
+
end
|
3691
|
+
end
|
3692
|
+
|
3584
3693
|
# Reschedule options for maintenance windows.
|
3585
3694
|
class SqlInstancesRescheduleMaintenanceRequestBody
|
3586
3695
|
include Google::Apis::Core::Hashable
|
@@ -3666,6 +3775,12 @@ module Google
|
|
3666
3775
|
# @return [String]
|
3667
3776
|
attr_accessor :sync_mode
|
3668
3777
|
|
3778
|
+
# Optional. Parallel level for initial data sync. Currently only applicable for
|
3779
|
+
# PostgreSQL.
|
3780
|
+
# Corresponds to the JSON property `syncParallelLevel`
|
3781
|
+
# @return [String]
|
3782
|
+
attr_accessor :sync_parallel_level
|
3783
|
+
|
3669
3784
|
# Flag to enable verifying connection only
|
3670
3785
|
# Corresponds to the JSON property `verifyConnectionOnly`
|
3671
3786
|
# @return [Boolean]
|
@@ -3686,6 +3801,7 @@ module Google
|
|
3686
3801
|
def update!(**args)
|
3687
3802
|
@mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
|
3688
3803
|
@sync_mode = args[:sync_mode] if args.key?(:sync_mode)
|
3804
|
+
@sync_parallel_level = args[:sync_parallel_level] if args.key?(:sync_parallel_level)
|
3689
3805
|
@verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
|
3690
3806
|
@verify_replication_only = args[:verify_replication_only] if args.key?(:verify_replication_only)
|
3691
3807
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SqladminV1
|
18
18
|
# Version of the google-apis-sqladmin_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.55.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240304"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AcquireSsrsLeaseContext
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class AdvancedMachineFeatures
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -274,6 +280,12 @@ module Google
|
|
274
280
|
include Google::Apis::Core::JsonObjectSupport
|
275
281
|
end
|
276
282
|
|
283
|
+
class InstancesAcquireSsrsLeaseRequest
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
277
289
|
class InstancesCloneRequest
|
278
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
291
|
|
@@ -484,6 +496,12 @@ module Google
|
|
484
496
|
include Google::Apis::Core::JsonObjectSupport
|
485
497
|
end
|
486
498
|
|
499
|
+
class SqlInstancesAcquireSsrsLeaseResponse
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
487
505
|
class SqlInstancesGetDiskShrinkConfigResponse
|
488
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
507
|
|
@@ -496,6 +514,12 @@ module Google
|
|
496
514
|
include Google::Apis::Core::JsonObjectSupport
|
497
515
|
end
|
498
516
|
|
517
|
+
class SqlInstancesReleaseSsrsLeaseResponse
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
499
523
|
class SqlInstancesRescheduleMaintenanceRequestBody
|
500
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
525
|
|
@@ -644,6 +668,16 @@ module Google
|
|
644
668
|
end
|
645
669
|
end
|
646
670
|
|
671
|
+
class AcquireSsrsLeaseContext
|
672
|
+
# @private
|
673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
674
|
+
property :duration, as: 'duration'
|
675
|
+
property :report_database, as: 'reportDatabase'
|
676
|
+
property :service_login, as: 'serviceLogin'
|
677
|
+
property :setup_login, as: 'setupLogin'
|
678
|
+
end
|
679
|
+
end
|
680
|
+
|
647
681
|
class AdvancedMachineFeatures
|
648
682
|
# @private
|
649
683
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1132,6 +1166,14 @@ module Google
|
|
1132
1166
|
end
|
1133
1167
|
end
|
1134
1168
|
|
1169
|
+
class InstancesAcquireSsrsLeaseRequest
|
1170
|
+
# @private
|
1171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1172
|
+
property :acquire_ssrs_lease_context, as: 'acquireSsrsLeaseContext', class: Google::Apis::SqladminV1::AcquireSsrsLeaseContext, decorator: Google::Apis::SqladminV1::AcquireSsrsLeaseContext::Representation
|
1173
|
+
|
1174
|
+
end
|
1175
|
+
end
|
1176
|
+
|
1135
1177
|
class InstancesCloneRequest
|
1136
1178
|
# @private
|
1137
1179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1323,6 +1365,8 @@ module Google
|
|
1323
1365
|
class Operation
|
1324
1366
|
# @private
|
1325
1367
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1368
|
+
property :acquire_ssrs_lease_context, as: 'acquireSsrsLeaseContext', class: Google::Apis::SqladminV1::AcquireSsrsLeaseContext, decorator: Google::Apis::SqladminV1::AcquireSsrsLeaseContext::Representation
|
1369
|
+
|
1326
1370
|
property :api_warning, as: 'apiWarning', class: Google::Apis::SqladminV1::ApiWarning, decorator: Google::Apis::SqladminV1::ApiWarning::Representation
|
1327
1371
|
|
1328
1372
|
property :backup_context, as: 'backupContext', class: Google::Apis::SqladminV1::BackupContext, decorator: Google::Apis::SqladminV1::BackupContext::Representation
|
@@ -1488,6 +1532,7 @@ module Google
|
|
1488
1532
|
collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::SqladminV1::DenyMaintenancePeriod, decorator: Google::Apis::SqladminV1::DenyMaintenancePeriod::Representation
|
1489
1533
|
|
1490
1534
|
property :edition, as: 'edition'
|
1535
|
+
property :enable_google_ml_integration, as: 'enableGoogleMlIntegration'
|
1491
1536
|
property :insights_config, as: 'insightsConfig', class: Google::Apis::SqladminV1::InsightsConfig, decorator: Google::Apis::SqladminV1::InsightsConfig::Representation
|
1492
1537
|
|
1493
1538
|
property :ip_configuration, as: 'ipConfiguration', class: Google::Apis::SqladminV1::IpConfiguration, decorator: Google::Apis::SqladminV1::IpConfiguration::Representation
|
@@ -1529,6 +1574,13 @@ module Google
|
|
1529
1574
|
end
|
1530
1575
|
end
|
1531
1576
|
|
1577
|
+
class SqlInstancesAcquireSsrsLeaseResponse
|
1578
|
+
# @private
|
1579
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1580
|
+
property :operation_id, as: 'operationId'
|
1581
|
+
end
|
1582
|
+
end
|
1583
|
+
|
1532
1584
|
class SqlInstancesGetDiskShrinkConfigResponse
|
1533
1585
|
# @private
|
1534
1586
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1546,6 +1598,13 @@ module Google
|
|
1546
1598
|
end
|
1547
1599
|
end
|
1548
1600
|
|
1601
|
+
class SqlInstancesReleaseSsrsLeaseResponse
|
1602
|
+
# @private
|
1603
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1604
|
+
property :operation_id, as: 'operationId'
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
|
1549
1608
|
class SqlInstancesRescheduleMaintenanceRequestBody
|
1550
1609
|
# @private
|
1551
1610
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1577,6 +1636,7 @@ module Google
|
|
1577
1636
|
property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::MySqlSyncConfig::Representation
|
1578
1637
|
|
1579
1638
|
property :sync_mode, as: 'syncMode'
|
1639
|
+
property :sync_parallel_level, as: 'syncParallelLevel'
|
1580
1640
|
property :verify_connection_only, as: 'verifyConnectionOnly'
|
1581
1641
|
property :verify_replication_only, as: 'verifyReplicationOnly'
|
1582
1642
|
end
|
@@ -531,6 +531,45 @@ module Google
|
|
531
531
|
execute_or_queue_command(command, &block)
|
532
532
|
end
|
533
533
|
|
534
|
+
# Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
|
535
|
+
# @param [String] project
|
536
|
+
# Required. Project ID of the project that contains the instance (Example:
|
537
|
+
# project-id).
|
538
|
+
# @param [String] instance
|
539
|
+
# Required. Cloud SQL instance ID. This doesn't include the project ID. It's
|
540
|
+
# composed of lowercase letters, numbers, and hyphens, and it must start with a
|
541
|
+
# letter. The total length must be 98 characters or less (Example: instance-id).
|
542
|
+
# @param [Google::Apis::SqladminV1::InstancesAcquireSsrsLeaseRequest] instances_acquire_ssrs_lease_request_object
|
543
|
+
# @param [String] fields
|
544
|
+
# Selector specifying which fields to include in a partial response.
|
545
|
+
# @param [String] quota_user
|
546
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
547
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
548
|
+
# @param [Google::Apis::RequestOptions] options
|
549
|
+
# Request-specific options
|
550
|
+
#
|
551
|
+
# @yield [result, err] Result & error if block supplied
|
552
|
+
# @yieldparam result [Google::Apis::SqladminV1::SqlInstancesAcquireSsrsLeaseResponse] parsed result object
|
553
|
+
# @yieldparam err [StandardError] error object if request failed
|
554
|
+
#
|
555
|
+
# @return [Google::Apis::SqladminV1::SqlInstancesAcquireSsrsLeaseResponse]
|
556
|
+
#
|
557
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
558
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
559
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
560
|
+
def acquire_instance_ssrs_lease(project, instance, instances_acquire_ssrs_lease_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
561
|
+
command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/acquireSsrsLease', options)
|
562
|
+
command.request_representation = Google::Apis::SqladminV1::InstancesAcquireSsrsLeaseRequest::Representation
|
563
|
+
command.request_object = instances_acquire_ssrs_lease_request_object
|
564
|
+
command.response_representation = Google::Apis::SqladminV1::SqlInstancesAcquireSsrsLeaseResponse::Representation
|
565
|
+
command.response_class = Google::Apis::SqladminV1::SqlInstancesAcquireSsrsLeaseResponse
|
566
|
+
command.params['project'] = project unless project.nil?
|
567
|
+
command.params['instance'] = instance unless instance.nil?
|
568
|
+
command.query['fields'] = fields unless fields.nil?
|
569
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
570
|
+
execute_or_queue_command(command, &block)
|
571
|
+
end
|
572
|
+
|
534
573
|
# Adds a new trusted Certificate Authority (CA) version for the specified
|
535
574
|
# instance. Required to prepare for a certificate rotation. If a CA version was
|
536
575
|
# previously added but never used in a certificate rotation, this operation
|
@@ -1092,6 +1131,41 @@ module Google
|
|
1092
1131
|
execute_or_queue_command(command, &block)
|
1093
1132
|
end
|
1094
1133
|
|
1134
|
+
# Release a lease for the setup of SQL Server Reporting Services (SSRS).
|
1135
|
+
# @param [String] project
|
1136
|
+
# Required. The project ID that contains the instance.
|
1137
|
+
# @param [String] instance
|
1138
|
+
# Required. The Cloud SQL instance ID. This doesn't include the project ID. The
|
1139
|
+
# instance ID contains lowercase letters, numbers, and hyphens, and it must
|
1140
|
+
# start with a letter. This ID can have a maximum length of 98 characters.
|
1141
|
+
# @param [String] fields
|
1142
|
+
# Selector specifying which fields to include in a partial response.
|
1143
|
+
# @param [String] quota_user
|
1144
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1145
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1146
|
+
# @param [Google::Apis::RequestOptions] options
|
1147
|
+
# Request-specific options
|
1148
|
+
#
|
1149
|
+
# @yield [result, err] Result & error if block supplied
|
1150
|
+
# @yieldparam result [Google::Apis::SqladminV1::SqlInstancesReleaseSsrsLeaseResponse] parsed result object
|
1151
|
+
# @yieldparam err [StandardError] error object if request failed
|
1152
|
+
#
|
1153
|
+
# @return [Google::Apis::SqladminV1::SqlInstancesReleaseSsrsLeaseResponse]
|
1154
|
+
#
|
1155
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1156
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1157
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1158
|
+
def release_instance_ssrs_lease(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
1159
|
+
command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/releaseSsrsLease', options)
|
1160
|
+
command.response_representation = Google::Apis::SqladminV1::SqlInstancesReleaseSsrsLeaseResponse::Representation
|
1161
|
+
command.response_class = Google::Apis::SqladminV1::SqlInstancesReleaseSsrsLeaseResponse
|
1162
|
+
command.params['project'] = project unless project.nil?
|
1163
|
+
command.params['instance'] = instance unless instance.nil?
|
1164
|
+
command.query['fields'] = fields unless fields.nil?
|
1165
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1166
|
+
execute_or_queue_command(command, &block)
|
1167
|
+
end
|
1168
|
+
|
1095
1169
|
# Deletes all client certificates and generates a new server SSL certificate for
|
1096
1170
|
# the instance.
|
1097
1171
|
# @param [String] project
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-sqladmin_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.14.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.55.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud SQL Admin API V1
|