google-apis-alloydb_v1alpha 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8460bd104146bee9796c8ac10c8db561241decc2e8461e443208cd3943e38f7
4
- data.tar.gz: 9d4367647475f84087e1ec403e074dd1ba88dd9ae165a678fed024d8007291bd
3
+ metadata.gz: b7c840b0a439c01d487b0d9a98365a3e8852d6c754580f5a98b57587eaaa3d7c
4
+ data.tar.gz: d868214ff84b04cae2b083771ce5ae5fc9ba7209c444bc7f538c5105840024cc
5
5
  SHA512:
6
- metadata.gz: 7239dcc64d865051cf7fa2818faa95e07baf85f658f782468dea8dbc5f2db87e1950b1ac8fd671ec60c5940bbf3309d88e77bd9e5550068eeb2c90884567b98c
7
- data.tar.gz: 3e66a3259ffb71da7b8548f57e681f4e1dbe47bb4a64734738e9c51dc66557dba694aff8ef09ca14aeb41984e76eb20e4c8f3d5db60555ad950a3ee3d0f4760b
6
+ metadata.gz: 9cb754cb8a714952e855e92e02baced6ff7a71245121843dfd1440631409baf0ffd088f62e801b250eaee47790cff74215863627c5e1e2fd32c697516dcecd6c
7
+ data.tar.gz: 529b33dfd6e0f86e91cb5a029f08546650e113b77b3c41bcb3e3f9cb7649ed07a12b55425b2a0c53cb280e955c952c482e218061b6eecb97fd5991ee7e1448d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
2
2
 
3
+ ### v0.7.0 (2024-02-23)
4
+
5
+ * Regenerated from discovery document revision 20240216
6
+ * Regenerated using generator version 0.14.0
7
+
8
+ ### v0.6.0 (2024-02-18)
9
+
10
+ * Regenerated from discovery document revision 20240207
11
+ * Regenerated using generator version 0.13.1
12
+
3
13
  ### v0.5.0 (2024-01-23)
4
14
 
5
15
  * 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.5+.
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. Currently, this means Ruby 2.5 and later. 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.
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
 
@@ -639,6 +639,11 @@ module Google
639
639
  # @return [Array<String>]
640
640
  attr_accessor :pem_certificate_chain
641
641
 
642
+ # Output only. The DNS name to use with PSC for the Instance.
643
+ # Corresponds to the JSON property `pscDnsName`
644
+ # @return [String]
645
+ attr_accessor :psc_dns_name
646
+
642
647
  # Output only. The public IP addresses for the Instance. This is available ONLY
643
648
  # when enable_public_ip is set. This is the connection endpoint for an end-user
644
649
  # application.
@@ -656,6 +661,7 @@ module Google
656
661
  @ip_address = args[:ip_address] if args.key?(:ip_address)
657
662
  @name = args[:name] if args.key?(:name)
658
663
  @pem_certificate_chain = args[:pem_certificate_chain] if args.key?(:pem_certificate_chain)
664
+ @psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name)
659
665
  @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
660
666
  end
661
667
  end
@@ -2498,6 +2504,11 @@ module Google
2498
2504
  # @return [String]
2499
2505
  attr_accessor :feed_type
2500
2506
 
2507
+ # Common model for database resource recommendation signal data.
2508
+ # Corresponds to the JSON property `recommendationSignalData`
2509
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData]
2510
+ attr_accessor :recommendation_signal_data
2511
+
2501
2512
  # Common model for database resource health signal data.
2502
2513
  # Corresponds to the JSON property `resourceHealthSignalData`
2503
2514
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData]
@@ -2521,6 +2532,7 @@ module Google
2521
2532
  def update!(**args)
2522
2533
  @feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
2523
2534
  @feed_type = args[:feed_type] if args.key?(:feed_type)
2535
+ @recommendation_signal_data = args[:recommendation_signal_data] if args.key?(:recommendation_signal_data)
2524
2536
  @resource_health_signal_data = args[:resource_health_signal_data] if args.key?(:resource_health_signal_data)
2525
2537
  @resource_id = args[:resource_id] if args.key?(:resource_id)
2526
2538
  @resource_metadata = args[:resource_metadata] if args.key?(:resource_metadata)
@@ -2646,9 +2658,10 @@ module Google
2646
2658
  # @return [String]
2647
2659
  attr_accessor :provider_description
2648
2660
 
2649
- # Required. The type of resource this ID is identifying. Ex alloydb.googleapis.
2650
- # com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance
2651
- # REQUIRED Please refer go/condor-common-datamodel
2661
+ # Required. The type of resource this ID is identifying. Ex redis.googleapis.com/
2662
+ # Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster,
2663
+ # alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED
2664
+ # Please refer go/condor-common-datamodel
2652
2665
  # Corresponds to the JSON property `resourceType`
2653
2666
  # @return [String]
2654
2667
  attr_accessor :resource_type
@@ -2709,6 +2722,11 @@ module Google
2709
2722
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData]
2710
2723
  attr_accessor :custom_metadata
2711
2724
 
2725
+ # Entitlements associated with the resource
2726
+ # Corresponds to the JSON property `entitlements`
2727
+ # @return [Array<Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainEntitlement>]
2728
+ attr_accessor :entitlements
2729
+
2712
2730
  # The state that the instance is expected to be in. For example, an instance
2713
2731
  # state can transition to UNHEALTHY due to wrong patch update, while the
2714
2732
  # expected state will remain at the HEALTHY.
@@ -2780,6 +2798,7 @@ module Google
2780
2798
  @creation_time = args[:creation_time] if args.key?(:creation_time)
2781
2799
  @current_state = args[:current_state] if args.key?(:current_state)
2782
2800
  @custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
2801
+ @entitlements = args[:entitlements] if args.key?(:entitlements)
2783
2802
  @expected_state = args[:expected_state] if args.key?(:expected_state)
2784
2803
  @id = args[:id] if args.key?(:id)
2785
2804
  @instance_type = args[:instance_type] if args.key?(:instance_type)
@@ -2793,6 +2812,105 @@ module Google
2793
2812
  end
2794
2813
  end
2795
2814
 
2815
+ # Common model for database resource recommendation signal data.
2816
+ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
2817
+ include Google::Apis::Core::Hashable
2818
+
2819
+ # Required. Any other additional metadata specific to recommendation
2820
+ # Corresponds to the JSON property `additionalMetadata`
2821
+ # @return [Hash<String,Object>]
2822
+ attr_accessor :additional_metadata
2823
+
2824
+ # Required. last time recommendationw as refreshed
2825
+ # Corresponds to the JSON property `lastRefreshTime`
2826
+ # @return [String]
2827
+ attr_accessor :last_refresh_time
2828
+
2829
+ # Required. Recommendation state
2830
+ # Corresponds to the JSON property `recommendationState`
2831
+ # @return [String]
2832
+ attr_accessor :recommendation_state
2833
+
2834
+ # Required. Name of recommendation. Examples: organizations/1234/locations/us-
2835
+ # central1/recommenders/google.cloudsql.instance.PerformanceRecommender/
2836
+ # recommendations/9876
2837
+ # Corresponds to the JSON property `recommender`
2838
+ # @return [String]
2839
+ attr_accessor :recommender
2840
+
2841
+ # Required. ID of recommender. Examples: "google.cloudsql.instance.
2842
+ # PerformanceRecommender"
2843
+ # Corresponds to the JSON property `recommenderId`
2844
+ # @return [String]
2845
+ attr_accessor :recommender_id
2846
+
2847
+ # Required. Contains an identifier for a subtype of recommendations produced for
2848
+ # the same recommender. Subtype is a function of content and impact, meaning a
2849
+ # new subtype might be added when significant changes to `content` or `
2850
+ # primary_impact.category` are introduced. See the Recommenders section to see a
2851
+ # list of subtypes for a given Recommender. Examples: For recommender = "google.
2852
+ # cloudsql.instance.PerformanceRecommender", recommender_subtype can be "
2853
+ # MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE"/"
2854
+ # POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE"
2855
+ # Corresponds to the JSON property `recommenderSubtype`
2856
+ # @return [String]
2857
+ attr_accessor :recommender_subtype
2858
+
2859
+ # Required. Database resource name associated with the signal. Resource name to
2860
+ # follow CAIS resource_name format as noted here go/condor-common-datamodel
2861
+ # Corresponds to the JSON property `resourceName`
2862
+ # @return [String]
2863
+ attr_accessor :resource_name
2864
+
2865
+ # Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`, `
2866
+ # SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.
2867
+ # Corresponds to the JSON property `signalType`
2868
+ # @return [String]
2869
+ attr_accessor :signal_type
2870
+
2871
+ def initialize(**args)
2872
+ update!(**args)
2873
+ end
2874
+
2875
+ # Update properties of this object
2876
+ def update!(**args)
2877
+ @additional_metadata = args[:additional_metadata] if args.key?(:additional_metadata)
2878
+ @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
2879
+ @recommendation_state = args[:recommendation_state] if args.key?(:recommendation_state)
2880
+ @recommender = args[:recommender] if args.key?(:recommender)
2881
+ @recommender_id = args[:recommender_id] if args.key?(:recommender_id)
2882
+ @recommender_subtype = args[:recommender_subtype] if args.key?(:recommender_subtype)
2883
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2884
+ @signal_type = args[:signal_type] if args.key?(:signal_type)
2885
+ end
2886
+ end
2887
+
2888
+ # Proto representing the access that a user has to a specific feature/service.
2889
+ # NextId: 3.
2890
+ class StorageDatabasecenterPartnerapiV1mainEntitlement
2891
+ include Google::Apis::Core::Hashable
2892
+
2893
+ # The current state of user's accessibility to a feature/benefit.
2894
+ # Corresponds to the JSON property `entitlementState`
2895
+ # @return [String]
2896
+ attr_accessor :entitlement_state
2897
+
2898
+ # An enum that represents the type of this entitlement.
2899
+ # Corresponds to the JSON property `type`
2900
+ # @return [String]
2901
+ attr_accessor :type
2902
+
2903
+ def initialize(**args)
2904
+ update!(**args)
2905
+ end
2906
+
2907
+ # Update properties of this object
2908
+ def update!(**args)
2909
+ @entitlement_state = args[:entitlement_state] if args.key?(:entitlement_state)
2910
+ @type = args[:type] if args.key?(:type)
2911
+ end
2912
+ end
2913
+
2796
2914
  # An error that occurred during a backup creation operation.
2797
2915
  class StorageDatabasecenterPartnerapiV1mainOperationError
2798
2916
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1alpha
18
18
  # Version of the google-apis-alloydb_v1alpha gem
19
- GEM_VERSION = "0.5.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.13.0"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240103"
25
+ REVISION = "20240216"
26
26
  end
27
27
  end
28
28
  end
@@ -388,6 +388,18 @@ module Google
388
388
  include Google::Apis::Core::JsonObjectSupport
389
389
  end
390
390
 
391
+ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class StorageDatabasecenterPartnerapiV1mainEntitlement
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
391
403
  class StorageDatabasecenterPartnerapiV1mainOperationError
392
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
405
 
@@ -591,6 +603,7 @@ module Google
591
603
  property :ip_address, as: 'ipAddress'
592
604
  property :name, as: 'name'
593
605
  collection :pem_certificate_chain, as: 'pemCertificateChain'
606
+ property :psc_dns_name, as: 'pscDnsName'
594
607
  property :public_ip_address, as: 'publicIpAddress'
595
608
  end
596
609
  end
@@ -1078,6 +1091,8 @@ module Google
1078
1091
  class Representation < Google::Apis::Core::JsonRepresentation
1079
1092
  property :feed_timestamp, as: 'feedTimestamp'
1080
1093
  property :feed_type, as: 'feedType'
1094
+ property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData::Representation
1095
+
1081
1096
  property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData::Representation
1082
1097
 
1083
1098
  property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
@@ -1130,6 +1145,8 @@ module Google
1130
1145
  property :current_state, as: 'currentState'
1131
1146
  property :custom_metadata, as: 'customMetadata', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData::Representation
1132
1147
 
1148
+ collection :entitlements, as: 'entitlements', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainEntitlement, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainEntitlement::Representation
1149
+
1133
1150
  property :expected_state, as: 'expectedState'
1134
1151
  property :id, as: 'id', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1135
1152
 
@@ -1146,6 +1163,28 @@ module Google
1146
1163
  end
1147
1164
  end
1148
1165
 
1166
+ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
1167
+ # @private
1168
+ class Representation < Google::Apis::Core::JsonRepresentation
1169
+ hash :additional_metadata, as: 'additionalMetadata'
1170
+ property :last_refresh_time, as: 'lastRefreshTime'
1171
+ property :recommendation_state, as: 'recommendationState'
1172
+ property :recommender, as: 'recommender'
1173
+ property :recommender_id, as: 'recommenderId'
1174
+ property :recommender_subtype, as: 'recommenderSubtype'
1175
+ property :resource_name, as: 'resourceName'
1176
+ property :signal_type, as: 'signalType'
1177
+ end
1178
+ end
1179
+
1180
+ class StorageDatabasecenterPartnerapiV1mainEntitlement
1181
+ # @private
1182
+ class Representation < Google::Apis::Core::JsonRepresentation
1183
+ property :entitlement_state, as: 'entitlementState'
1184
+ property :type, as: 'type'
1185
+ end
1186
+ end
1187
+
1149
1188
  class StorageDatabasecenterPartnerapiV1mainOperationError
1150
1189
  # @private
1151
1190
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.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: 2024-01-23 00:00:00.000000000 Z
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.12.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.12.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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
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.5'
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.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for AlloyDB API V1alpha