google-apis-connectors_v1 0.19.0 → 0.21.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: 4004d745cc59740e164ebda26b3a3ee640048e25c1461da822dda3c5e0fe5c09
4
- data.tar.gz: 7a2f658152efb1ee8689413627d07bd9a8a17571dad5bb1c9a74d1b85b1301a6
3
+ metadata.gz: 4483b9804c9d434fc1c84f6cc1e676ab0faeeee379de13be71b094daf156509f
4
+ data.tar.gz: c1c796baa13aa8cbe814b4fa9ceca8448943ff5eb305b856c5c94175ea72a333
5
5
  SHA512:
6
- metadata.gz: 6c4d5abc01a6b93559d4d082817386014af852d1abcb6212c2b292eb8b97248bcc2285d196e5e36c8d8dfdf714d77f88ee3c0ef07b4a85469f5bd16f8de77a0f
7
- data.tar.gz: c3bb189add9a81cb8898f2b4c194b9248125dbc9b129e96d686a537437461086fc95c77108c7b6c88416fa6f5d55bdbbbef3b46b3a556d2719f8573ecdd9584f
6
+ metadata.gz: 71eb5b4955749956ca7f0f371d09aeb7430584e9ba9a9d4313bd43d012b4040c196d67582663dcee5ef1e52a36d30d4b97f58bd017356037453fa256e0cd2537
7
+ data.tar.gz: 1f254bb5ee1e61332662de32bff3fecb4f03c74ab2442b2804d4bf95eac416be0811557d46678601a6ae0525f8e042e96ffb1475b6234a0136a38132f3d79451
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.21.0 (2022-12-15)
4
+
5
+ * Regenerated from discovery document revision 20221201
6
+
7
+ ### v0.20.0 (2022-10-28)
8
+
9
+ * Regenerated from discovery document revision 20221018
10
+ * Regenerated using generator version 0.11.0
11
+
3
12
  ### v0.19.0 (2022-09-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20220912
@@ -555,7 +555,9 @@ module Google
555
555
  end
556
556
  end
557
557
 
558
- # Metadata of connection schema.
558
+ # ConnectionSchemaMetadata is the singleton resource of each connection. It
559
+ # includes the entity and action names of runtime resources exposed by a
560
+ # connection backend.
559
561
  class ConnectionSchemaMetadata
560
562
  include Google::Apis::Core::Hashable
561
563
 
@@ -569,6 +571,28 @@ module Google
569
571
  # @return [Array<String>]
570
572
  attr_accessor :entities
571
573
 
574
+ # Output only. Resource name. Format: projects/`project`/locations/`location`/
575
+ # connections/`connection`/connectionSchemaMetadata
576
+ # Corresponds to the JSON property `name`
577
+ # @return [String]
578
+ attr_accessor :name
579
+
580
+ # Output only. Timestamp when the connection runtime schema refresh was
581
+ # triggered.
582
+ # Corresponds to the JSON property `refreshTime`
583
+ # @return [String]
584
+ attr_accessor :refresh_time
585
+
586
+ # Output only. The current state of runtime schema.
587
+ # Corresponds to the JSON property `state`
588
+ # @return [String]
589
+ attr_accessor :state
590
+
591
+ # Output only. Timestamp when the connection runtime schema was updated.
592
+ # Corresponds to the JSON property `updateTime`
593
+ # @return [String]
594
+ attr_accessor :update_time
595
+
572
596
  def initialize(**args)
573
597
  update!(**args)
574
598
  end
@@ -577,6 +601,10 @@ module Google
577
601
  def update!(**args)
578
602
  @actions = args[:actions] if args.key?(:actions)
579
603
  @entities = args[:entities] if args.key?(:entities)
604
+ @name = args[:name] if args.key?(:name)
605
+ @refresh_time = args[:refresh_time] if args.key?(:refresh_time)
606
+ @state = args[:state] if args.key?(:state)
607
+ @update_time = args[:update_time] if args.key?(:update_time)
580
608
  end
581
609
  end
582
610
 
@@ -1833,6 +1861,19 @@ module Google
1833
1861
  end
1834
1862
  end
1835
1863
 
1864
+ # Request message for ConnectorsService.RefreshConnectionSchemaMetadata.
1865
+ class RefreshConnectionSchemaMetadataRequest
1866
+ include Google::Apis::Core::Hashable
1867
+
1868
+ def initialize(**args)
1869
+ update!(**args)
1870
+ end
1871
+
1872
+ # Update properties of this object
1873
+ def update!(**args)
1874
+ end
1875
+ end
1876
+
1836
1877
  # Resource definition
1837
1878
  class Resource
1838
1879
  include Google::Apis::Core::Hashable
@@ -2175,11 +2216,6 @@ module Google
2175
2216
  # @return [String]
2176
2217
  attr_accessor :cert_type
2177
2218
 
2178
- # Secret provides a reference to entries in Secret Manager.
2179
- # Corresponds to the JSON property `password`
2180
- # @return [Google::Apis::ConnectorsV1::Secret]
2181
- attr_accessor :password
2182
-
2183
2219
  # Secret provides a reference to entries in Secret Manager.
2184
2220
  # Corresponds to the JSON property `sshClientCert`
2185
2221
  # @return [Google::Apis::ConnectorsV1::Secret]
@@ -2202,7 +2238,6 @@ module Google
2202
2238
  # Update properties of this object
2203
2239
  def update!(**args)
2204
2240
  @cert_type = args[:cert_type] if args.key?(:cert_type)
2205
- @password = args[:password] if args.key?(:password)
2206
2241
  @ssh_client_cert = args[:ssh_client_cert] if args.key?(:ssh_client_cert)
2207
2242
  @ssh_client_cert_pass = args[:ssh_client_cert_pass] if args.key?(:ssh_client_cert_pass)
2208
2243
  @username = args[:username] if args.key?(:username)
@@ -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.19.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220912"
25
+ REVISION = "20221201"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class RefreshConnectionSchemaMetadataRequest
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class Resource
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -498,6 +504,10 @@ module Google
498
504
  class Representation < Google::Apis::Core::JsonRepresentation
499
505
  collection :actions, as: 'actions'
500
506
  collection :entities, as: 'entities'
507
+ property :name, as: 'name'
508
+ property :refresh_time, as: 'refreshTime'
509
+ property :state, as: 'state'
510
+ property :update_time, as: 'updateTime'
501
511
  end
502
512
  end
503
513
 
@@ -828,6 +838,12 @@ module Google
828
838
  end
829
839
  end
830
840
 
841
+ class RefreshConnectionSchemaMetadataRequest
842
+ # @private
843
+ class Representation < Google::Apis::Core::JsonRepresentation
844
+ end
845
+ end
846
+
831
847
  class Resource
832
848
  # @private
833
849
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -920,8 +936,6 @@ module Google
920
936
  # @private
921
937
  class Representation < Google::Apis::Core::JsonRepresentation
922
938
  property :cert_type, as: 'certType'
923
- property :password, as: 'password', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
924
-
925
939
  property :ssh_client_cert, as: 'sshClientCert', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
926
940
 
927
941
  property :ssh_client_cert_pass, as: 'sshClientCertPass', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
@@ -386,11 +386,10 @@ module Google
386
386
  # locations/`location`/connections/`connection`
387
387
  # @param [Google::Apis::ConnectorsV1::Connection] connection_object
388
388
  # @param [String] update_mask
389
- # Required. Field mask is used to specify the fields to be overwritten in the
390
- # Connection resource by the update. The fields specified in the update_mask are
391
- # relative to the resource, not the full request. A field will be overwritten if
392
- # it is in the mask. If the user does not provide a mask then all fields will be
393
- # overwritten.
389
+ # Required. You can modify only the fields listed below. To lock/unlock a
390
+ # connection: * `lock_config` To suspend/resume a connection: * `suspended` To
391
+ # update the connection details: * `description` * `labels` * `connector_version`
392
+ # * `config_variables` * `auth_config` * `destination_configs` * `node_config`
394
393
  # @param [String] fields
395
394
  # Selector specifying which fields to include in a partial response.
396
395
  # @param [String] quota_user
@@ -497,6 +496,40 @@ module Google
497
496
  execute_or_queue_command(command, &block)
498
497
  end
499
498
 
499
+ # Refresh runtime schema of a connection.
500
+ # @param [String] name
501
+ # Required. Resource name. Format: projects/`project`/locations/`location`/
502
+ # connections/`connection`/connectionSchemaMetadata
503
+ # @param [Google::Apis::ConnectorsV1::RefreshConnectionSchemaMetadataRequest] refresh_connection_schema_metadata_request_object
504
+ # @param [String] fields
505
+ # Selector specifying which fields to include in a partial response.
506
+ # @param [String] quota_user
507
+ # Available to use for quota purposes for server-side applications. Can be any
508
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
509
+ # @param [Google::Apis::RequestOptions] options
510
+ # Request-specific options
511
+ #
512
+ # @yield [result, err] Result & error if block supplied
513
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
514
+ # @yieldparam err [StandardError] error object if request failed
515
+ #
516
+ # @return [Google::Apis::ConnectorsV1::Operation]
517
+ #
518
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
519
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
520
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
521
+ def refresh_connection_schema_metadatum_connection_schema_metadata(name, refresh_connection_schema_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
522
+ command = make_simple_command(:post, 'v1/{+name}:refresh', options)
523
+ command.request_representation = Google::Apis::ConnectorsV1::RefreshConnectionSchemaMetadataRequest::Representation
524
+ command.request_object = refresh_connection_schema_metadata_request_object
525
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
526
+ command.response_class = Google::Apis::ConnectorsV1::Operation
527
+ command.params['name'] = name unless name.nil?
528
+ command.query['fields'] = fields unless fields.nil?
529
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
530
+ execute_or_queue_command(command, &block)
531
+ end
532
+
500
533
  # List schema of a runtime actions filtered by action name.
501
534
  # @param [String] parent
502
535
  # Required. Parent resource of RuntimeActionSchema Format: projects/`project`/
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.19.0
4
+ version: 0.21.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: 2022-10-03 00:00:00.000000000 Z
11
+ date: 2023-01-04 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.9.0
19
+ version: 0.9.1
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.9.0
29
+ version: 0.9.1
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-connectors_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.21.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: []