google-apis-alloydb_v1 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/alloydb_v1/classes.rb +115 -3
- data/lib/google/apis/alloydb_v1/gem_version.rb +3 -3
- data/lib/google/apis/alloydb_v1/representations.rb +38 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a14a80bb3061242cb2a1df76971920be4ed3f5114e349b3f84114984e775409
|
4
|
+
data.tar.gz: 6beaf7bf4e692df6ce55e20d6709419cb764714b47f6b895eef7a0fcf05b6c9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91bdde1be43c384ca423dec80140100a980d512a2b71589393f3c06707f2e15997e44fca8f8ab015032e83348df771c7965a67070e54fec590dcf7c5ddc0912b
|
7
|
+
data.tar.gz: 47efc72e957a62a7199003346e38e02e5e950ff1f4c78ec7528267845dc2c0ce464ae8929087d5ed5bb00d926444a519c72b188adf389b156d8974cea4bd6225
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-alloydb_v1
|
2
2
|
|
3
|
+
### v0.8.0 (2024-02-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240216
|
6
|
+
* Regenerated using generator version 0.14.0
|
7
|
+
|
3
8
|
### v0.7.0 (2024-01-23)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240103
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/alloydb/) may provide guida
|
|
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
|
|
@@ -2259,6 +2259,11 @@ module Google
|
|
2259
2259
|
# @return [String]
|
2260
2260
|
attr_accessor :feed_type
|
2261
2261
|
|
2262
|
+
# Common model for database resource recommendation signal data.
|
2263
|
+
# Corresponds to the JSON property `recommendationSignalData`
|
2264
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData]
|
2265
|
+
attr_accessor :recommendation_signal_data
|
2266
|
+
|
2262
2267
|
# Common model for database resource health signal data.
|
2263
2268
|
# Corresponds to the JSON property `resourceHealthSignalData`
|
2264
2269
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData]
|
@@ -2282,6 +2287,7 @@ module Google
|
|
2282
2287
|
def update!(**args)
|
2283
2288
|
@feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
|
2284
2289
|
@feed_type = args[:feed_type] if args.key?(:feed_type)
|
2290
|
+
@recommendation_signal_data = args[:recommendation_signal_data] if args.key?(:recommendation_signal_data)
|
2285
2291
|
@resource_health_signal_data = args[:resource_health_signal_data] if args.key?(:resource_health_signal_data)
|
2286
2292
|
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
2287
2293
|
@resource_metadata = args[:resource_metadata] if args.key?(:resource_metadata)
|
@@ -2407,9 +2413,10 @@ module Google
|
|
2407
2413
|
# @return [String]
|
2408
2414
|
attr_accessor :provider_description
|
2409
2415
|
|
2410
|
-
# Required. The type of resource this ID is identifying. Ex
|
2411
|
-
#
|
2412
|
-
#
|
2416
|
+
# Required. The type of resource this ID is identifying. Ex redis.googleapis.com/
|
2417
|
+
# Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster,
|
2418
|
+
# alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED
|
2419
|
+
# Please refer go/condor-common-datamodel
|
2413
2420
|
# Corresponds to the JSON property `resourceType`
|
2414
2421
|
# @return [String]
|
2415
2422
|
attr_accessor :resource_type
|
@@ -2470,6 +2477,11 @@ module Google
|
|
2470
2477
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData]
|
2471
2478
|
attr_accessor :custom_metadata
|
2472
2479
|
|
2480
|
+
# Entitlements associated with the resource
|
2481
|
+
# Corresponds to the JSON property `entitlements`
|
2482
|
+
# @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainEntitlement>]
|
2483
|
+
attr_accessor :entitlements
|
2484
|
+
|
2473
2485
|
# The state that the instance is expected to be in. For example, an instance
|
2474
2486
|
# state can transition to UNHEALTHY due to wrong patch update, while the
|
2475
2487
|
# expected state will remain at the HEALTHY.
|
@@ -2541,6 +2553,7 @@ module Google
|
|
2541
2553
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
2542
2554
|
@current_state = args[:current_state] if args.key?(:current_state)
|
2543
2555
|
@custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
|
2556
|
+
@entitlements = args[:entitlements] if args.key?(:entitlements)
|
2544
2557
|
@expected_state = args[:expected_state] if args.key?(:expected_state)
|
2545
2558
|
@id = args[:id] if args.key?(:id)
|
2546
2559
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
@@ -2554,6 +2567,105 @@ module Google
|
|
2554
2567
|
end
|
2555
2568
|
end
|
2556
2569
|
|
2570
|
+
# Common model for database resource recommendation signal data.
|
2571
|
+
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
|
2572
|
+
include Google::Apis::Core::Hashable
|
2573
|
+
|
2574
|
+
# Required. Any other additional metadata specific to recommendation
|
2575
|
+
# Corresponds to the JSON property `additionalMetadata`
|
2576
|
+
# @return [Hash<String,Object>]
|
2577
|
+
attr_accessor :additional_metadata
|
2578
|
+
|
2579
|
+
# Required. last time recommendationw as refreshed
|
2580
|
+
# Corresponds to the JSON property `lastRefreshTime`
|
2581
|
+
# @return [String]
|
2582
|
+
attr_accessor :last_refresh_time
|
2583
|
+
|
2584
|
+
# Required. Recommendation state
|
2585
|
+
# Corresponds to the JSON property `recommendationState`
|
2586
|
+
# @return [String]
|
2587
|
+
attr_accessor :recommendation_state
|
2588
|
+
|
2589
|
+
# Required. Name of recommendation. Examples: organizations/1234/locations/us-
|
2590
|
+
# central1/recommenders/google.cloudsql.instance.PerformanceRecommender/
|
2591
|
+
# recommendations/9876
|
2592
|
+
# Corresponds to the JSON property `recommender`
|
2593
|
+
# @return [String]
|
2594
|
+
attr_accessor :recommender
|
2595
|
+
|
2596
|
+
# Required. ID of recommender. Examples: "google.cloudsql.instance.
|
2597
|
+
# PerformanceRecommender"
|
2598
|
+
# Corresponds to the JSON property `recommenderId`
|
2599
|
+
# @return [String]
|
2600
|
+
attr_accessor :recommender_id
|
2601
|
+
|
2602
|
+
# Required. Contains an identifier for a subtype of recommendations produced for
|
2603
|
+
# the same recommender. Subtype is a function of content and impact, meaning a
|
2604
|
+
# new subtype might be added when significant changes to `content` or `
|
2605
|
+
# primary_impact.category` are introduced. See the Recommenders section to see a
|
2606
|
+
# list of subtypes for a given Recommender. Examples: For recommender = "google.
|
2607
|
+
# cloudsql.instance.PerformanceRecommender", recommender_subtype can be "
|
2608
|
+
# MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE"/"
|
2609
|
+
# POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE"
|
2610
|
+
# Corresponds to the JSON property `recommenderSubtype`
|
2611
|
+
# @return [String]
|
2612
|
+
attr_accessor :recommender_subtype
|
2613
|
+
|
2614
|
+
# Required. Database resource name associated with the signal. Resource name to
|
2615
|
+
# follow CAIS resource_name format as noted here go/condor-common-datamodel
|
2616
|
+
# Corresponds to the JSON property `resourceName`
|
2617
|
+
# @return [String]
|
2618
|
+
attr_accessor :resource_name
|
2619
|
+
|
2620
|
+
# Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`, `
|
2621
|
+
# SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.
|
2622
|
+
# Corresponds to the JSON property `signalType`
|
2623
|
+
# @return [String]
|
2624
|
+
attr_accessor :signal_type
|
2625
|
+
|
2626
|
+
def initialize(**args)
|
2627
|
+
update!(**args)
|
2628
|
+
end
|
2629
|
+
|
2630
|
+
# Update properties of this object
|
2631
|
+
def update!(**args)
|
2632
|
+
@additional_metadata = args[:additional_metadata] if args.key?(:additional_metadata)
|
2633
|
+
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
|
2634
|
+
@recommendation_state = args[:recommendation_state] if args.key?(:recommendation_state)
|
2635
|
+
@recommender = args[:recommender] if args.key?(:recommender)
|
2636
|
+
@recommender_id = args[:recommender_id] if args.key?(:recommender_id)
|
2637
|
+
@recommender_subtype = args[:recommender_subtype] if args.key?(:recommender_subtype)
|
2638
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2639
|
+
@signal_type = args[:signal_type] if args.key?(:signal_type)
|
2640
|
+
end
|
2641
|
+
end
|
2642
|
+
|
2643
|
+
# Proto representing the access that a user has to a specific feature/service.
|
2644
|
+
# NextId: 3.
|
2645
|
+
class StorageDatabasecenterPartnerapiV1mainEntitlement
|
2646
|
+
include Google::Apis::Core::Hashable
|
2647
|
+
|
2648
|
+
# The current state of user's accessibility to a feature/benefit.
|
2649
|
+
# Corresponds to the JSON property `entitlementState`
|
2650
|
+
# @return [String]
|
2651
|
+
attr_accessor :entitlement_state
|
2652
|
+
|
2653
|
+
# An enum that represents the type of this entitlement.
|
2654
|
+
# Corresponds to the JSON property `type`
|
2655
|
+
# @return [String]
|
2656
|
+
attr_accessor :type
|
2657
|
+
|
2658
|
+
def initialize(**args)
|
2659
|
+
update!(**args)
|
2660
|
+
end
|
2661
|
+
|
2662
|
+
# Update properties of this object
|
2663
|
+
def update!(**args)
|
2664
|
+
@entitlement_state = args[:entitlement_state] if args.key?(:entitlement_state)
|
2665
|
+
@type = args[:type] if args.key?(:type)
|
2666
|
+
end
|
2667
|
+
end
|
2668
|
+
|
2557
2669
|
# An error that occurred during a backup creation operation.
|
2558
2670
|
class StorageDatabasecenterPartnerapiV1mainOperationError
|
2559
2671
|
include Google::Apis::Core::Hashable
|
@@ -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.8.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 = "20240216"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -358,6 +358,18 @@ module Google
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
359
359
|
end
|
360
360
|
|
361
|
+
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
367
|
+
class StorageDatabasecenterPartnerapiV1mainEntitlement
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
361
373
|
class StorageDatabasecenterPartnerapiV1mainOperationError
|
362
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
375
|
|
@@ -982,6 +994,8 @@ module Google
|
|
982
994
|
class Representation < Google::Apis::Core::JsonRepresentation
|
983
995
|
property :feed_timestamp, as: 'feedTimestamp'
|
984
996
|
property :feed_type, as: 'feedType'
|
997
|
+
property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData::Representation
|
998
|
+
|
985
999
|
property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData::Representation
|
986
1000
|
|
987
1001
|
property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
@@ -1034,6 +1048,8 @@ module Google
|
|
1034
1048
|
property :current_state, as: 'currentState'
|
1035
1049
|
property :custom_metadata, as: 'customMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData::Representation
|
1036
1050
|
|
1051
|
+
collection :entitlements, as: 'entitlements', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainEntitlement, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainEntitlement::Representation
|
1052
|
+
|
1037
1053
|
property :expected_state, as: 'expectedState'
|
1038
1054
|
property :id, as: 'id', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
1039
1055
|
|
@@ -1050,6 +1066,28 @@ module Google
|
|
1050
1066
|
end
|
1051
1067
|
end
|
1052
1068
|
|
1069
|
+
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
|
1070
|
+
# @private
|
1071
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1072
|
+
hash :additional_metadata, as: 'additionalMetadata'
|
1073
|
+
property :last_refresh_time, as: 'lastRefreshTime'
|
1074
|
+
property :recommendation_state, as: 'recommendationState'
|
1075
|
+
property :recommender, as: 'recommender'
|
1076
|
+
property :recommender_id, as: 'recommenderId'
|
1077
|
+
property :recommender_subtype, as: 'recommenderSubtype'
|
1078
|
+
property :resource_name, as: 'resourceName'
|
1079
|
+
property :signal_type, as: 'signalType'
|
1080
|
+
end
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
class StorageDatabasecenterPartnerapiV1mainEntitlement
|
1084
|
+
# @private
|
1085
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1086
|
+
property :entitlement_state, as: 'entitlementState'
|
1087
|
+
property :type, as: 'type'
|
1088
|
+
end
|
1089
|
+
end
|
1090
|
+
|
1053
1091
|
class StorageDatabasecenterPartnerapiV1mainOperationError
|
1054
1092
|
# @private
|
1055
1093
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.8.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-02-25 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-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.8.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: []
|
@@ -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 AlloyDB API V1
|