google-apis-alloydb_v1 0.6.0 → 0.7.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: 6793a30057a3281b1dc8bb2cee515500d63d95567269e3fcf45f7271c9aaf4d4
|
4
|
+
data.tar.gz: 4a6c933fe80b6ee72bb7fcf2dce2f89d506eb10aa520dde648e3428893f26607
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5639fa66938b9a6fe7edb32bf4996523d1afae1b687e9e64339169080ad929216dae8e97bb0cc24fae56e3597031806543a356a158fb88e46f10d512645daf97
|
7
|
+
data.tar.gz: 2df270642742100bcdf879c3bc9a12ed5204e3bf7197add8c0816ba0a1dc5d35e01cf5f3b46ec26c47f6b7a123f7a4b152b806e71e4731c81dc0f6caa95c8f3c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-alloydb_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240103
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
3
8
|
### v0.6.0 (2023-12-10)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20231128
|
@@ -2178,6 +2178,72 @@ module Google
|
|
2178
2178
|
end
|
2179
2179
|
end
|
2180
2180
|
|
2181
|
+
# Any custom metadata associated with the resource. i.e. A spanner instance can
|
2182
|
+
# have multiple databases with its own unique metadata. Information for these
|
2183
|
+
# individual databases can be captured in custom metadata data
|
2184
|
+
class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
|
2185
|
+
include Google::Apis::Core::Hashable
|
2186
|
+
|
2187
|
+
#
|
2188
|
+
# Corresponds to the JSON property `databaseMetadata`
|
2189
|
+
# @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata>]
|
2190
|
+
attr_accessor :database_metadata
|
2191
|
+
|
2192
|
+
def initialize(**args)
|
2193
|
+
update!(**args)
|
2194
|
+
end
|
2195
|
+
|
2196
|
+
# Update properties of this object
|
2197
|
+
def update!(**args)
|
2198
|
+
@database_metadata = args[:database_metadata] if args.key?(:database_metadata)
|
2199
|
+
end
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
# Metadata for individual databases created in an instance. i.e. spanner
|
2203
|
+
# instance can have multiple databases with unique configuration settings.
|
2204
|
+
class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
|
2205
|
+
include Google::Apis::Core::Hashable
|
2206
|
+
|
2207
|
+
# Configuration for automatic backups
|
2208
|
+
# Corresponds to the JSON property `backupConfiguration`
|
2209
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
|
2210
|
+
attr_accessor :backup_configuration
|
2211
|
+
|
2212
|
+
# A backup run.
|
2213
|
+
# Corresponds to the JSON property `backupRun`
|
2214
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun]
|
2215
|
+
attr_accessor :backup_run
|
2216
|
+
|
2217
|
+
# Product specification for Condor resources.
|
2218
|
+
# Corresponds to the JSON property `product`
|
2219
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct]
|
2220
|
+
attr_accessor :product
|
2221
|
+
|
2222
|
+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
2223
|
+
# Corresponds to the JSON property `resourceId`
|
2224
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
2225
|
+
attr_accessor :resource_id
|
2226
|
+
|
2227
|
+
# Required. Database name. Resource name to follow CAIS resource_name format as
|
2228
|
+
# noted here go/condor-common-datamodel
|
2229
|
+
# Corresponds to the JSON property `resourceName`
|
2230
|
+
# @return [String]
|
2231
|
+
attr_accessor :resource_name
|
2232
|
+
|
2233
|
+
def initialize(**args)
|
2234
|
+
update!(**args)
|
2235
|
+
end
|
2236
|
+
|
2237
|
+
# Update properties of this object
|
2238
|
+
def update!(**args)
|
2239
|
+
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
2240
|
+
@backup_run = args[:backup_run] if args.key?(:backup_run)
|
2241
|
+
@product = args[:product] if args.key?(:product)
|
2242
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
2243
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2244
|
+
end
|
2245
|
+
end
|
2246
|
+
|
2181
2247
|
# DatabaseResourceFeed is the top level proto to be used to ingest different
|
2182
2248
|
# database resource level events into Condor platform.
|
2183
2249
|
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
|
@@ -2397,9 +2463,11 @@ module Google
|
|
2397
2463
|
# @return [String]
|
2398
2464
|
attr_accessor :current_state
|
2399
2465
|
|
2400
|
-
# Any custom metadata associated with the resource
|
2466
|
+
# Any custom metadata associated with the resource. i.e. A spanner instance can
|
2467
|
+
# have multiple databases with its own unique metadata. Information for these
|
2468
|
+
# individual databases can be captured in custom metadata data
|
2401
2469
|
# Corresponds to the JSON property `customMetadata`
|
2402
|
-
# @return [
|
2470
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData]
|
2403
2471
|
attr_accessor :custom_metadata
|
2404
2472
|
|
2405
2473
|
# The state that the instance is expected to be in. For example, an instance
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AlloydbV1
|
18
18
|
# Version of the google-apis-alloydb_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240103"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -322,6 +322,18 @@ module Google
|
|
322
322
|
include Google::Apis::Core::JsonObjectSupport
|
323
323
|
end
|
324
324
|
|
325
|
+
class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
325
337
|
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
|
326
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
339
|
|
@@ -942,6 +954,29 @@ module Google
|
|
942
954
|
end
|
943
955
|
end
|
944
956
|
|
957
|
+
class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
|
958
|
+
# @private
|
959
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
960
|
+
collection :database_metadata, as: 'databaseMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata::Representation
|
961
|
+
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
965
|
+
class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
|
966
|
+
# @private
|
967
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
968
|
+
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
|
969
|
+
|
970
|
+
property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
|
971
|
+
|
972
|
+
property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
|
973
|
+
|
974
|
+
property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
975
|
+
|
976
|
+
property :resource_name, as: 'resourceName'
|
977
|
+
end
|
978
|
+
end
|
979
|
+
|
945
980
|
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
|
946
981
|
# @private
|
947
982
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -997,7 +1032,8 @@ module Google
|
|
997
1032
|
|
998
1033
|
property :creation_time, as: 'creationTime'
|
999
1034
|
property :current_state, as: 'currentState'
|
1000
|
-
|
1035
|
+
property :custom_metadata, as: 'customMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData::Representation
|
1036
|
+
|
1001
1037
|
property :expected_state, as: 'expectedState'
|
1002
1038
|
property :id, as: 'id', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
1003
1039
|
|
@@ -42,6 +42,8 @@ module Google
|
|
42
42
|
#
|
43
43
|
# @see https://cloud.google.com/alloydb/
|
44
44
|
class CloudAlloyDBAdminService < Google::Apis::Core::BaseService
|
45
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://alloydb.$UNIVERSE_DOMAIN$/"
|
46
|
+
|
45
47
|
# @return [String]
|
46
48
|
# API key. Your API key identifies your project and provides you with API access,
|
47
49
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -53,7 +55,7 @@ module Google
|
|
53
55
|
attr_accessor :quota_user
|
54
56
|
|
55
57
|
def initialize
|
56
|
-
super(
|
58
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
57
59
|
client_name: 'google-apis-alloydb_v1',
|
58
60
|
client_version: Google::Apis::AlloydbV1::GEM_VERSION)
|
59
61
|
@batch_path = 'batch'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-alloydb_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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:
|
11
|
+
date: 2024-01-23 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.12.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.12.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-alloydb_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.7.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for AlloyDB API V1
|