google-apis-connectors_v1 0.25.0 → 0.26.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: 8ba1d63e77efcfd50e89aea71ba0bbcf493c834a5350ae3821bf7ddff744d6f9
4
- data.tar.gz: 2741cd3e3940f81d40003445c06aeb584331f50a70fac42b7db0cbbc86f72736
3
+ metadata.gz: 42584d5469fa80289c79743a19f70c6e20bde8d80f6eda33fcc8e7b1b28e01a0
4
+ data.tar.gz: 350715dfa09d351f972afdb76ba2d5c30c802b8e3cfe8ba082955970c14329a6
5
5
  SHA512:
6
- metadata.gz: a7bf8f6a7aa4f4b879418b969eab99bcb9d1aaf5aa366f7dabd48de294debea489c97846ddfd93a05c58f76c03e2207105467bb887e321935b4e244d93fadc54
7
- data.tar.gz: 9866f02e71d18a00c9988f0893f7de2b35f342fc762efac390a9a128802d6a81533d2b780a45ab54228e7a40a4f1b387befd0b4b60ed9a5a63a87cd191f929fa
6
+ metadata.gz: 865345a298ce8a2ba8bd3fed2d846e93f50466673892d53523a3080a3e89916c1ff3db8826317c45fdb813941f9246130118c509706d94828b74a7ffcdc5bf83
7
+ data.tar.gz: '0296fb7504eb8a3f5d48eff7c7ae5db1ebaa7817eae5f54c1ae92548cac289b304ca42559a758c2180a0035ab329882735557617da975fe6bfa744670c4b0d74'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.26.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230318
6
+
3
7
  ### v0.25.0 (2023-03-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20230222
@@ -2213,6 +2213,40 @@ module Google
2213
2213
  end
2214
2214
  end
2215
2215
 
2216
+ # Global Settings details.
2217
+ class Settings
2218
+ include Google::Apis::Core::Hashable
2219
+
2220
+ # Output only. Resource name of the Connection. Format: projects/`project`/
2221
+ # locations/global/settings`
2222
+ # Corresponds to the JSON property `name`
2223
+ # @return [String]
2224
+ attr_accessor :name
2225
+
2226
+ # Output only. Flag indicates if user is in PayG model
2227
+ # Corresponds to the JSON property `payg`
2228
+ # @return [Boolean]
2229
+ attr_accessor :payg
2230
+ alias_method :payg?, :payg
2231
+
2232
+ # Optional. Flag indicates whether vpc-sc is enabled.
2233
+ # Corresponds to the JSON property `vpcsc`
2234
+ # @return [Boolean]
2235
+ attr_accessor :vpcsc
2236
+ alias_method :vpcsc?, :vpcsc
2237
+
2238
+ def initialize(**args)
2239
+ update!(**args)
2240
+ end
2241
+
2242
+ # Update properties of this object
2243
+ def update!(**args)
2244
+ @name = args[:name] if args.key?(:name)
2245
+ @payg = args[:payg] if args.key?(:payg)
2246
+ @vpcsc = args[:vpcsc] if args.key?(:vpcsc)
2247
+ end
2248
+ end
2249
+
2216
2250
  # Source to extract the backend from.
2217
2251
  class Source
2218
2252
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ConnectorsV1
18
18
  # Version of the google-apis-connectors_v1 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230222"
25
+ REVISION = "20230318"
26
26
  end
27
27
  end
28
28
  end
@@ -328,6 +328,12 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
+ class Settings
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
331
337
  class Source
332
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
339
 
@@ -943,6 +949,15 @@ module Google
943
949
  end
944
950
  end
945
951
 
952
+ class Settings
953
+ # @private
954
+ class Representation < Google::Apis::Core::JsonRepresentation
955
+ property :name, as: 'name'
956
+ property :payg, as: 'payg'
957
+ property :vpcsc, as: 'vpcsc'
958
+ end
959
+ end
960
+
946
961
  class Source
947
962
  # @private
948
963
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -614,6 +614,37 @@ module Google
614
614
  execute_or_queue_command(command, &block)
615
615
  end
616
616
 
617
+ # GetGlobalSettings gets settings of a project. GlobalSettings is a singleton
618
+ # resource.
619
+ # @param [String] name
620
+ # Required. The resource name of the Settings.
621
+ # @param [String] fields
622
+ # Selector specifying which fields to include in a partial response.
623
+ # @param [String] quota_user
624
+ # Available to use for quota purposes for server-side applications. Can be any
625
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
626
+ # @param [Google::Apis::RequestOptions] options
627
+ # Request-specific options
628
+ #
629
+ # @yield [result, err] Result & error if block supplied
630
+ # @yieldparam result [Google::Apis::ConnectorsV1::Settings] parsed result object
631
+ # @yieldparam err [StandardError] error object if request failed
632
+ #
633
+ # @return [Google::Apis::ConnectorsV1::Settings]
634
+ #
635
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
636
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
637
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
638
+ def get_project_location_global_settings(name, fields: nil, quota_user: nil, options: nil, &block)
639
+ command = make_simple_command(:get, 'v1/{+name}', options)
640
+ command.response_representation = Google::Apis::ConnectorsV1::Settings::Representation
641
+ command.response_class = Google::Apis::ConnectorsV1::Settings
642
+ command.params['name'] = name unless name.nil?
643
+ command.query['fields'] = fields unless fields.nil?
644
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
645
+ execute_or_queue_command(command, &block)
646
+ end
647
+
617
648
  # Starts asynchronous cancellation on a long-running operation. The server makes
618
649
  # a best effort to cancel the operation, but success is not guaranteed. If the
619
650
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -719,13 +750,7 @@ module Google
719
750
  end
720
751
 
721
752
  # Lists operations that match the specified filter in the request. If the server
722
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
723
- # binding allows API services to override the binding to use different resource
724
- # name schemes, such as `users/*/operations`. To override the binding, API
725
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
726
- # service configuration. For backwards compatibility, the default name includes
727
- # the operations collection id, however overriding users must ensure the name
728
- # binding is the parent resource, without the operations collection id.
753
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
729
754
  # @param [String] name
730
755
  # The name of the operation's parent resource.
731
756
  # @param [String] filter
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-connectors_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.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: 2023-03-05 00:00:00.000000000 Z
11
+ date: 2023-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-connectors_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1
63
63
  post_install_message:
64
64
  rdoc_options: []