google-apis-connectors_v1 0.8.0 → 0.11.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: d2edfcfddc600f03055c6ab28fb26f5bd26f114347f1694674eb17219f6ab29e
4
- data.tar.gz: ddac965485f8740f4617194a4e0fda3ceed7591ba045fdf37efefef56655e161
3
+ metadata.gz: 73c89151e004a5dd340733cf19f12dda1b7a368afabcc10f65eff24c38ec2238
4
+ data.tar.gz: e2c2ab66fa8916c5aaa81e3b4a68e935abcab051824a4fd5265af05551240fbd
5
5
  SHA512:
6
- metadata.gz: 4df2c887eb100f5597de70adf0aab2ef0533a4c5c35173ac3d11e4273281540b74d664f2d83d595ec76d76db72af938a8cf2e2963f448de39bbf7ceabe6b4843
7
- data.tar.gz: d5b9dfcc581d4a340f766739c43ab8b4588a20cd2df7112f3dd0167a5df0e097bb46d00968619c28642e84d58a3abfa303a6e2d799a7041a74099ea3daf8ce43
6
+ metadata.gz: dccbbc1614ac985df0b8943dff2bd7909753d4a9dd9f9be6aa79a86d4401954bfd3e2e7908ea9a53a1da30feb6a6a15766941151b699e7757ff56f0517a28eb5
7
+ data.tar.gz: ade07143df0fd4fb39becfa60e80a4fa5833ef735c2f08524d9b546af62443f970e8313cfaa6f9284e7bd41251efe7f3fa878c35c9d36632c7b8c8e00ff9d0f9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.11.0 (2022-06-18)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.10.0 (2022-06-10)
8
+
9
+ * Regenerated from discovery document revision 20220603
10
+ * Regenerated using generator version 0.5.0
11
+ * Unspecified changes
12
+
13
+ ### v0.9.0 (2022-05-28)
14
+
15
+ * Regenerated from discovery document revision 20220523
16
+
3
17
  ### v0.8.0 (2022-05-14)
4
18
 
5
19
  * Regenerated from discovery document revision 20220504
@@ -120,6 +120,11 @@ module Google
120
120
  # @return [Google::Apis::ConnectorsV1::Oauth2JwtBearer]
121
121
  attr_accessor :oauth2_jwt_bearer
122
122
 
123
+ # SSH Public Key.
124
+ # Corresponds to the JSON property `sshPublicKey`
125
+ # @return [Google::Apis::ConnectorsV1::SshPublicKey]
126
+ attr_accessor :ssh_public_key
127
+
123
128
  # Parameters to support Username and Password Authentication.
124
129
  # Corresponds to the JSON property `userPassword`
125
130
  # @return [Google::Apis::ConnectorsV1::UserPassword]
@@ -135,6 +140,7 @@ module Google
135
140
  @auth_type = args[:auth_type] if args.key?(:auth_type)
136
141
  @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
137
142
  @oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
143
+ @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
138
144
  @user_password = args[:user_password] if args.key?(:user_password)
139
145
  end
140
146
  end
@@ -308,6 +314,11 @@ module Google
308
314
  # @return [String]
309
315
  attr_accessor :display_name
310
316
 
317
+ # Enum options. To be populated if `ValueType` is `ENUM`
318
+ # Corresponds to the JSON property `enumOptions`
319
+ # @return [Array<Google::Apis::ConnectorsV1::EnumOption>]
320
+ attr_accessor :enum_options
321
+
311
322
  # Key of the config variable.
312
323
  # Corresponds to the JSON property `key`
313
324
  # @return [String]
@@ -348,6 +359,7 @@ module Google
348
359
  def update!(**args)
349
360
  @description = args[:description] if args.key?(:description)
350
361
  @display_name = args[:display_name] if args.key?(:display_name)
362
+ @enum_options = args[:enum_options] if args.key?(:enum_options)
351
363
  @key = args[:key] if args.key?(:key)
352
364
  @required = args[:required] if args.key?(:required)
353
365
  @role_grant = args[:role_grant] if args.key?(:role_grant)
@@ -386,11 +398,6 @@ module Google
386
398
  # @return [String]
387
399
  attr_accessor :description
388
400
 
389
- # Output only. Outbound domains/hosts needs to be allowlisted.
390
- # Corresponds to the JSON property `egressBackends`
391
- # @return [Array<String>]
392
- attr_accessor :egress_backends
393
-
394
401
  # Output only. GCR location where the envoy image is stored. formatted like: gcr.
395
402
  # io/`bucketName`/`imageName`
396
403
  # Corresponds to the JSON property `envoyImageLocation`
@@ -462,7 +469,6 @@ module Google
462
469
  @connector_version = args[:connector_version] if args.key?(:connector_version)
463
470
  @create_time = args[:create_time] if args.key?(:create_time)
464
471
  @description = args[:description] if args.key?(:description)
465
- @egress_backends = args[:egress_backends] if args.key?(:egress_backends)
466
472
  @envoy_image_location = args[:envoy_image_location] if args.key?(:envoy_image_location)
467
473
  @image_location = args[:image_location] if args.key?(:image_location)
468
474
  @labels = args[:labels] if args.key?(:labels)
@@ -760,6 +766,31 @@ module Google
760
766
  end
761
767
  end
762
768
 
769
+ # EnumOption definition
770
+ class EnumOption
771
+ include Google::Apis::Core::Hashable
772
+
773
+ # Display name of the option.
774
+ # Corresponds to the JSON property `displayName`
775
+ # @return [String]
776
+ attr_accessor :display_name
777
+
778
+ # Id of the option.
779
+ # Corresponds to the JSON property `id`
780
+ # @return [String]
781
+ attr_accessor :id
782
+
783
+ def initialize(**args)
784
+ update!(**args)
785
+ end
786
+
787
+ # Update properties of this object
788
+ def update!(**args)
789
+ @display_name = args[:display_name] if args.key?(:display_name)
790
+ @id = args[:id] if args.key?(:id)
791
+ end
792
+ end
793
+
763
794
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
764
795
  # CEL is a C-like expression language. The syntax and semantics of CEL are
765
796
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -1811,6 +1842,11 @@ module Google
1811
1842
  # @return [String]
1812
1843
  attr_accessor :location_id
1813
1844
 
1845
+ # Output only. Resource name of the form: `projects/*/locations/*/runtimeConfig`
1846
+ # Corresponds to the JSON property `name`
1847
+ # @return [String]
1848
+ attr_accessor :name
1849
+
1814
1850
  # Output only. The endpoint of the connectors runtime ingress.
1815
1851
  # Corresponds to the JSON property `runtimeEndpoint`
1816
1852
  # @return [String]
@@ -1842,6 +1878,7 @@ module Google
1842
1878
  @control_plane_subscription = args[:control_plane_subscription] if args.key?(:control_plane_subscription)
1843
1879
  @control_plane_topic = args[:control_plane_topic] if args.key?(:control_plane_topic)
1844
1880
  @location_id = args[:location_id] if args.key?(:location_id)
1881
+ @name = args[:name] if args.key?(:name)
1845
1882
  @runtime_endpoint = args[:runtime_endpoint] if args.key?(:runtime_endpoint)
1846
1883
  @schema_gcs_bucket = args[:schema_gcs_bucket] if args.key?(:schema_gcs_bucket)
1847
1884
  @service_directory = args[:service_directory] if args.key?(:service_directory)
@@ -1972,6 +2009,43 @@ module Google
1972
2009
  end
1973
2010
  end
1974
2011
 
2012
+ #
2013
+ class SshPublicKey
2014
+ include Google::Apis::Core::Hashable
2015
+
2016
+ # Format of SSH Client cert.
2017
+ # Corresponds to the JSON property `certType`
2018
+ # @return [String]
2019
+ attr_accessor :cert_type
2020
+
2021
+ # Secret provides a reference to entries in Secret Manager.
2022
+ # Corresponds to the JSON property `password`
2023
+ # @return [Google::Apis::ConnectorsV1::Secret]
2024
+ attr_accessor :password
2025
+
2026
+ # Secret provides a reference to entries in Secret Manager.
2027
+ # Corresponds to the JSON property `sshClientCert`
2028
+ # @return [Google::Apis::ConnectorsV1::Secret]
2029
+ attr_accessor :ssh_client_cert
2030
+
2031
+ # The user account used to authenticate.
2032
+ # Corresponds to the JSON property `username`
2033
+ # @return [String]
2034
+ attr_accessor :username
2035
+
2036
+ def initialize(**args)
2037
+ update!(**args)
2038
+ end
2039
+
2040
+ # Update properties of this object
2041
+ def update!(**args)
2042
+ @cert_type = args[:cert_type] if args.key?(:cert_type)
2043
+ @password = args[:password] if args.key?(:password)
2044
+ @ssh_client_cert = args[:ssh_client_cert] if args.key?(:ssh_client_cert)
2045
+ @username = args[:username] if args.key?(:username)
2046
+ end
2047
+ end
2048
+
1975
2049
  # The `Status` type defines a logical error model that is suitable for different
1976
2050
  # programming environments, including REST APIs and RPC APIs. It is used by [
1977
2051
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -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.8.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220504"
25
+ REVISION = "20220603"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class EnumOption
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class Expr
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -298,6 +304,12 @@ module Google
298
304
  include Google::Apis::Core::JsonObjectSupport
299
305
  end
300
306
 
307
+ class SshPublicKey
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
301
313
  class Status
302
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
315
 
@@ -355,6 +367,8 @@ module Google
355
367
 
356
368
  property :oauth2_jwt_bearer, as: 'oauth2JwtBearer', class: Google::Apis::ConnectorsV1::Oauth2JwtBearer, decorator: Google::Apis::ConnectorsV1::Oauth2JwtBearer::Representation
357
369
 
370
+ property :ssh_public_key, as: 'sshPublicKey', class: Google::Apis::ConnectorsV1::SshPublicKey, decorator: Google::Apis::ConnectorsV1::SshPublicKey::Representation
371
+
358
372
  property :user_password, as: 'userPassword', class: Google::Apis::ConnectorsV1::UserPassword, decorator: Google::Apis::ConnectorsV1::UserPassword::Representation
359
373
 
360
374
  end
@@ -402,6 +416,8 @@ module Google
402
416
  class Representation < Google::Apis::Core::JsonRepresentation
403
417
  property :description, as: 'description'
404
418
  property :display_name, as: 'displayName'
419
+ collection :enum_options, as: 'enumOptions', class: Google::Apis::ConnectorsV1::EnumOption, decorator: Google::Apis::ConnectorsV1::EnumOption::Representation
420
+
405
421
  property :key, as: 'key'
406
422
  property :required, as: 'required'
407
423
  property :role_grant, as: 'roleGrant', class: Google::Apis::ConnectorsV1::RoleGrant, decorator: Google::Apis::ConnectorsV1::RoleGrant::Representation
@@ -421,7 +437,6 @@ module Google
421
437
  property :connector_version, as: 'connectorVersion'
422
438
  property :create_time, as: 'createTime'
423
439
  property :description, as: 'description'
424
- collection :egress_backends, as: 'egressBackends'
425
440
  property :envoy_image_location, as: 'envoyImageLocation'
426
441
  property :image_location, as: 'imageLocation'
427
442
  hash :labels, as: 'labels'
@@ -510,6 +525,14 @@ module Google
510
525
  end
511
526
  end
512
527
 
528
+ class EnumOption
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ property :display_name, as: 'displayName'
532
+ property :id, as: 'id'
533
+ end
534
+ end
535
+
513
536
  class Expr
514
537
  # @private
515
538
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -785,6 +808,7 @@ module Google
785
808
  property :control_plane_subscription, as: 'controlPlaneSubscription'
786
809
  property :control_plane_topic, as: 'controlPlaneTopic'
787
810
  property :location_id, as: 'locationId'
811
+ property :name, as: 'name'
788
812
  property :runtime_endpoint, as: 'runtimeEndpoint'
789
813
  property :schema_gcs_bucket, as: 'schemaGcsBucket'
790
814
  property :service_directory, as: 'serviceDirectory'
@@ -825,6 +849,18 @@ module Google
825
849
  end
826
850
  end
827
851
 
852
+ class SshPublicKey
853
+ # @private
854
+ class Representation < Google::Apis::Core::JsonRepresentation
855
+ property :cert_type, as: 'certType'
856
+ property :password, as: 'password', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
857
+
858
+ property :ssh_client_cert, as: 'sshClientCert', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
859
+
860
+ property :username, as: 'username'
861
+ end
862
+ end
863
+
828
864
  class Status
829
865
  # @private
830
866
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -386,10 +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
- # Field mask is used to specify the fields to be overwritten in the Connection
390
- # resource by the update. The fields specified in the update_mask are relative
391
- # to the resource, not the full request. A field will be overwritten if it is in
392
- # the mask. If the user does not provide a mask then all fields will be
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
393
  # overwritten.
394
394
  # @param [String] fields
395
395
  # Selector specifying which fields to include in a partial response.
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.8.0
4
+ version: 0.11.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-05-16 00:00:00.000000000 Z
11
+ date: 2022-06-20 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.4'
19
+ version: '0.6'
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.4'
29
+ version: '0.6'
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.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.11.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Connectors API V1