google-apis-alloydb_v1alpha 0.6.0 → 0.8.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: 4e92738f049afb5236ddae3849fb669cf3cc0626a9de48bc65e3f350dd770a1d
4
- data.tar.gz: 8dfb89955ffeda1bc19abc44f3da820c91c4c2ba56caea424cdafa808c1b2e67
3
+ metadata.gz: 123b1577ded1a7561868a2b3270b0ed7d2425c81c8846bf494d1c486f2ee023c
4
+ data.tar.gz: e2d535558f990bfd29890743e5b8a78c9f585b4c2d8242f632ccfdb15a606ba4
5
5
  SHA512:
6
- metadata.gz: 3b2899b1899c247a390190f499284494a2e8b1506f22569112935b9bd8b72ae52ba574d9391419862540b5462d6f2b33d5c66cd85854d8e10a1b13d70e898907
7
- data.tar.gz: 2ef35f58ba2931fb601bfd725729d0e77a12aa4e988dfcf2181660eb3df755760302f9c748a3cd3d96b25e8096f054d77955a41f4e52b3f722c8630130dd3541
6
+ metadata.gz: 9e3c4009a04c8b6021b10580bfc654da34df9f1002e4b88bf58eda842f9d6019c700aab5ba1f5faca143790566f91674f14f36d32463c839ecc871e522fef69c
7
+ data.tar.gz: f30c909812518b50acadc59862207668f812b1120ac29c9b8fac0f2c5d1c51b05861812baf0335a9ec959c23189e91d1b43ba7c9014ea9cf8c61ed13845d3eec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
2
2
 
3
+ ### v0.8.0 (2024-03-03)
4
+
5
+ * Regenerated from discovery document revision 20240223
6
+
7
+ ### v0.7.0 (2024-02-23)
8
+
9
+ * Regenerated from discovery document revision 20240216
10
+ * Regenerated using generator version 0.14.0
11
+
3
12
  ### v0.6.0 (2024-02-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20240207
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
 
@@ -499,8 +499,8 @@ module Google
499
499
 
500
500
  # Required. The resource link for the VPC network in which cluster resources are
501
501
  # created and from which they are accessible via Private IP. The network must
502
- # belong to the same project as the cluster. It is specified in the form: "
503
- # projects/`project`/global/networks/`network_id`". This is required to create a
502
+ # belong to the same project as the cluster. It is specified in the form: `
503
+ # projects/`project`/global/networks/`network_id``. This is required to create a
504
504
  # cluster. Deprecated, use network_config.network instead.
505
505
  # Corresponds to the JSON property `network`
506
506
  # @return [String]
@@ -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
@@ -1623,8 +1629,8 @@ module Google
1623
1629
 
1624
1630
  # Optional. The resource link for the VPC network in which cluster resources are
1625
1631
  # created and from which they are accessible via Private IP. The network must
1626
- # belong to the same project as the cluster. It is specified in the form: "
1627
- # projects/`project_number`/global/networks/`network_id`". This is required to
1632
+ # belong to the same project as the cluster. It is specified in the form: `
1633
+ # projects/`project_number`/global/networks/`network_id``. This is required to
1628
1634
  # create a cluster.
1629
1635
  # Corresponds to the JSON property `network`
1630
1636
  # @return [String]
@@ -1930,7 +1936,7 @@ module Google
1930
1936
 
1931
1937
  # Output only. The service attachment created when Private Service Connect (PSC)
1932
1938
  # is enabled for the instance. The name of the resource will be in the format of
1933
- # projects//regions//serviceAttachments/
1939
+ # `projects//regions//serviceAttachments/`
1934
1940
  # Corresponds to the JSON property `serviceAttachmentLink`
1935
1941
  # @return [String]
1936
1942
  attr_accessor :service_attachment_link
@@ -1964,8 +1970,8 @@ module Google
1964
1970
  attr_accessor :consumer_endpoint_ips
1965
1971
 
1966
1972
  # The NetworkAttachment resource created in the consumer VPC to which the PSC
1967
- # interface will be linked, in the form of: "projects/$`CONSUMER_PROJECT`/
1968
- # regions/$`REGION`/networkAttachments/$`NETWORK_ATTACHMENT_NAME`".
1973
+ # interface will be linked, in the form of: `projects/$`CONSUMER_PROJECT`/
1974
+ # regions/$`REGION`/networkAttachments/$`NETWORK_ATTACHMENT_NAME``.
1969
1975
  # NetworkAttachment has to be provided when the PSC interface is created.
1970
1976
  # Corresponds to the JSON property `networkAttachment`
1971
1977
  # @return [String]
@@ -2652,9 +2658,10 @@ module Google
2652
2658
  # @return [String]
2653
2659
  attr_accessor :provider_description
2654
2660
 
2655
- # Required. The type of resource this ID is identifying. Ex alloydb.googleapis.
2656
- # com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance
2657
- # 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
2658
2665
  # Corresponds to the JSON property `resourceType`
2659
2666
  # @return [String]
2660
2667
  attr_accessor :resource_type
@@ -2715,6 +2722,11 @@ module Google
2715
2722
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData]
2716
2723
  attr_accessor :custom_metadata
2717
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
+
2718
2730
  # The state that the instance is expected to be in. For example, an instance
2719
2731
  # state can transition to UNHEALTHY due to wrong patch update, while the
2720
2732
  # expected state will remain at the HEALTHY.
@@ -2786,6 +2798,7 @@ module Google
2786
2798
  @creation_time = args[:creation_time] if args.key?(:creation_time)
2787
2799
  @current_state = args[:current_state] if args.key?(:current_state)
2788
2800
  @custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
2801
+ @entitlements = args[:entitlements] if args.key?(:entitlements)
2789
2802
  @expected_state = args[:expected_state] if args.key?(:expected_state)
2790
2803
  @id = args[:id] if args.key?(:id)
2791
2804
  @instance_type = args[:instance_type] if args.key?(:instance_type)
@@ -2803,7 +2816,7 @@ module Google
2803
2816
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
2804
2817
  include Google::Apis::Core::Hashable
2805
2818
 
2806
- # Required. Any other additional metadata
2819
+ # Optional. Any other additional metadata specific to recommendation
2807
2820
  # Corresponds to the JSON property `additionalMetadata`
2808
2821
  # @return [Hash<String,Object>]
2809
2822
  attr_accessor :additional_metadata
@@ -2818,6 +2831,31 @@ module Google
2818
2831
  # @return [String]
2819
2832
  attr_accessor :recommendation_state
2820
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
+
2821
2859
  # Required. Database resource name associated with the signal. Resource name to
2822
2860
  # follow CAIS resource_name format as noted here go/condor-common-datamodel
2823
2861
  # Corresponds to the JSON property `resourceName`
@@ -2839,11 +2877,40 @@ module Google
2839
2877
  @additional_metadata = args[:additional_metadata] if args.key?(:additional_metadata)
2840
2878
  @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
2841
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)
2842
2883
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2843
2884
  @signal_type = args[:signal_type] if args.key?(:signal_type)
2844
2885
  end
2845
2886
  end
2846
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
+
2847
2914
  # An error that occurred during a backup creation operation.
2848
2915
  class StorageDatabasecenterPartnerapiV1mainOperationError
2849
2916
  include Google::Apis::Core::Hashable
@@ -2853,6 +2920,11 @@ module Google
2853
2920
  # @return [String]
2854
2921
  attr_accessor :code
2855
2922
 
2923
+ #
2924
+ # Corresponds to the JSON property `errorType`
2925
+ # @return [String]
2926
+ attr_accessor :error_type
2927
+
2856
2928
  # Additional information about the error encountered. REQUIRED
2857
2929
  # Corresponds to the JSON property `message`
2858
2930
  # @return [String]
@@ -2865,6 +2937,7 @@ module Google
2865
2937
  # Update properties of this object
2866
2938
  def update!(**args)
2867
2939
  @code = args[:code] if args.key?(:code)
2940
+ @error_type = args[:error_type] if args.key?(:error_type)
2868
2941
  @message = args[:message] if args.key?(:message)
2869
2942
  end
2870
2943
  end
@@ -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.6.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.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240207"
25
+ REVISION = "20240223"
26
26
  end
27
27
  end
28
28
  end
@@ -394,6 +394,12 @@ module Google
394
394
  include Google::Apis::Core::JsonObjectSupport
395
395
  end
396
396
 
397
+ class StorageDatabasecenterPartnerapiV1mainEntitlement
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
397
403
  class StorageDatabasecenterPartnerapiV1mainOperationError
398
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
405
 
@@ -597,6 +603,7 @@ module Google
597
603
  property :ip_address, as: 'ipAddress'
598
604
  property :name, as: 'name'
599
605
  collection :pem_certificate_chain, as: 'pemCertificateChain'
606
+ property :psc_dns_name, as: 'pscDnsName'
600
607
  property :public_ip_address, as: 'publicIpAddress'
601
608
  end
602
609
  end
@@ -1138,6 +1145,8 @@ module Google
1138
1145
  property :current_state, as: 'currentState'
1139
1146
  property :custom_metadata, as: 'customMetadata', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData::Representation
1140
1147
 
1148
+ collection :entitlements, as: 'entitlements', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainEntitlement, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainEntitlement::Representation
1149
+
1141
1150
  property :expected_state, as: 'expectedState'
1142
1151
  property :id, as: 'id', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1143
1152
 
@@ -1160,15 +1169,27 @@ module Google
1160
1169
  hash :additional_metadata, as: 'additionalMetadata'
1161
1170
  property :last_refresh_time, as: 'lastRefreshTime'
1162
1171
  property :recommendation_state, as: 'recommendationState'
1172
+ property :recommender, as: 'recommender'
1173
+ property :recommender_id, as: 'recommenderId'
1174
+ property :recommender_subtype, as: 'recommenderSubtype'
1163
1175
  property :resource_name, as: 'resourceName'
1164
1176
  property :signal_type, as: 'signalType'
1165
1177
  end
1166
1178
  end
1167
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
+
1168
1188
  class StorageDatabasecenterPartnerapiV1mainOperationError
1169
1189
  # @private
1170
1190
  class Representation < Google::Apis::Core::JsonRepresentation
1171
1191
  property :code, as: 'code'
1192
+ property :error_type, as: 'errorType'
1172
1193
  property :message, as: 'message'
1173
1194
  end
1174
1195
  end
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.6.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-02-18 00:00:00.000000000 Z
11
+ date: 2024-03-03 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.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.8.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