google-apis-connectors_v2 0.16.0 → 0.18.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: 3b88665f2505f61ca025e1ad1b4dfe4a805889cca424e088363d8a18726e8958
4
- data.tar.gz: 595f5f0875f2347840830c11205d3c5313c5919fc2714a6bf0aa34717bf3849d
3
+ metadata.gz: '07368663e1e2436cd3025008dbf00b7eaca0206593e91d822d889e08537d7129'
4
+ data.tar.gz: b69f40c5dacd3750fdf1b82d8313e6ccf3a2ef22ccea65480b3ec88c5da80b31
5
5
  SHA512:
6
- metadata.gz: e524d0229fd9ec35e5e77f4795ca16c45f222da175617653762dfad04965978c364da06f3f07c54df2078df80ba97bbe8c7dc4c188d8e8d79bc8457f6934a96c
7
- data.tar.gz: d2d04f1ee59263c9adc1262ef3a6456e7d4278e8644b793cedf1926a292e9c9881a491032bcbf2dc66200fedeeba06f2801c398551e6a17c80e2dcc206cc07b0
6
+ metadata.gz: f942b60dca1ab6a014d3a8749f837263d9e322491309e863ed6417f20c0df3f3da9f37a2c45939d440964b134a30567501cc7245d84c96c781f3d8b929e9c7a3
7
+ data.tar.gz: 5ee59bee735bc34583f124c468015df0e1e932dc91eb33f178a77ac0d97d639f7910376eef8bafeecfad0055d708b239001aa610c27107ac59fae3d1f1f0af75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v2
2
2
 
3
+ ### v0.18.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240708
6
+
7
+ ### v0.17.0 (2024-06-16)
8
+
9
+ * Regenerated from discovery document revision 20240612
10
+
3
11
  ### v0.16.0 (2024-06-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20240606
@@ -1169,68 +1169,6 @@ module Google
1169
1169
  end
1170
1170
  end
1171
1171
 
1172
- # This resource represents a long-running operation that is the result of a
1173
- # network API call.
1174
- class Operation
1175
- include Google::Apis::Core::Hashable
1176
-
1177
- # If the value is `false`, it means the operation is still in progress. If `true`
1178
- # , the operation is completed, and either `error` or `response` is available.
1179
- # Corresponds to the JSON property `done`
1180
- # @return [Boolean]
1181
- attr_accessor :done
1182
- alias_method :done?, :done
1183
-
1184
- # The `Status` type defines a logical error model that is suitable for different
1185
- # programming environments, including REST APIs and RPC APIs. It is used by [
1186
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1187
- # data: error code, error message, and error details. You can find out more
1188
- # about this error model and how to work with it in the [API Design Guide](https:
1189
- # //cloud.google.com/apis/design/errors).
1190
- # Corresponds to the JSON property `error`
1191
- # @return [Google::Apis::ConnectorsV2::Status]
1192
- attr_accessor :error
1193
-
1194
- # Service-specific metadata associated with the operation. It typically contains
1195
- # progress information and common metadata such as create time. Some services
1196
- # might not provide such metadata. Any method that returns a long-running
1197
- # operation should document the metadata type, if any.
1198
- # Corresponds to the JSON property `metadata`
1199
- # @return [Hash<String,Object>]
1200
- attr_accessor :metadata
1201
-
1202
- # The server-assigned name, which is only unique within the same service that
1203
- # originally returns it. If you use the default HTTP mapping, the `name` should
1204
- # be a resource name ending with `operations/`unique_id``.
1205
- # Corresponds to the JSON property `name`
1206
- # @return [String]
1207
- attr_accessor :name
1208
-
1209
- # The normal, successful response of the operation. If the original method
1210
- # returns no data on success, such as `Delete`, the response is `google.protobuf.
1211
- # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1212
- # response should be the resource. For other methods, the response should have
1213
- # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1214
- # if the original method name is `TakeSnapshot()`, the inferred response type is
1215
- # `TakeSnapshotResponse`.
1216
- # Corresponds to the JSON property `response`
1217
- # @return [Hash<String,Object>]
1218
- attr_accessor :response
1219
-
1220
- def initialize(**args)
1221
- update!(**args)
1222
- end
1223
-
1224
- # Update properties of this object
1225
- def update!(**args)
1226
- @done = args[:done] if args.key?(:done)
1227
- @error = args[:error] if args.key?(:error)
1228
- @metadata = args[:metadata] if args.key?(:metadata)
1229
- @name = args[:name] if args.key?(:name)
1230
- @response = args[:response] if args.key?(:response)
1231
- end
1232
- end
1233
-
1234
1172
  # PerSliSloEligibility is a mapping from an SLI name to eligibility.
1235
1173
  class PerSliSloEligibility
1236
1174
  include Google::Apis::Core::Hashable
@@ -1425,6 +1363,12 @@ module Google
1425
1363
  # @return [String]
1426
1364
  attr_accessor :data_type
1427
1365
 
1366
+ # The following field specifies the default value of the Parameter provided by
1367
+ # the external system if a value is not provided.
1368
+ # Corresponds to the JSON property `defaultValue`
1369
+ # @return [Object]
1370
+ attr_accessor :default_value
1371
+
1428
1372
  # A brief description of the metadata field.
1429
1373
  # Corresponds to the JSON property `description`
1430
1374
  # @return [String]
@@ -1440,6 +1384,12 @@ module Google
1440
1384
  # @return [String]
1441
1385
  attr_accessor :name
1442
1386
 
1387
+ # Specifies whether a null value is allowed.
1388
+ # Corresponds to the JSON property `nullable`
1389
+ # @return [Boolean]
1390
+ attr_accessor :nullable
1391
+ alias_method :nullable?, :nullable
1392
+
1443
1393
  def initialize(**args)
1444
1394
  update!(**args)
1445
1395
  end
@@ -1447,9 +1397,11 @@ module Google
1447
1397
  # Update properties of this object
1448
1398
  def update!(**args)
1449
1399
  @data_type = args[:data_type] if args.key?(:data_type)
1400
+ @default_value = args[:default_value] if args.key?(:default_value)
1450
1401
  @description = args[:description] if args.key?(:description)
1451
1402
  @json_schema = args[:json_schema] if args.key?(:json_schema)
1452
1403
  @name = args[:name] if args.key?(:name)
1404
+ @nullable = args[:nullable] if args.key?(:nullable)
1453
1405
  end
1454
1406
  end
1455
1407
 
@@ -1552,45 +1504,6 @@ module Google
1552
1504
  end
1553
1505
  end
1554
1506
 
1555
- # The `Status` type defines a logical error model that is suitable for different
1556
- # programming environments, including REST APIs and RPC APIs. It is used by [
1557
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1558
- # data: error code, error message, and error details. You can find out more
1559
- # about this error model and how to work with it in the [API Design Guide](https:
1560
- # //cloud.google.com/apis/design/errors).
1561
- class Status
1562
- include Google::Apis::Core::Hashable
1563
-
1564
- # The status code, which should be an enum value of google.rpc.Code.
1565
- # Corresponds to the JSON property `code`
1566
- # @return [Fixnum]
1567
- attr_accessor :code
1568
-
1569
- # A list of messages that carry the error details. There is a common set of
1570
- # message types for APIs to use.
1571
- # Corresponds to the JSON property `details`
1572
- # @return [Array<Hash<String,Object>>]
1573
- attr_accessor :details
1574
-
1575
- # A developer-facing error message, which should be in English. Any user-facing
1576
- # error message should be localized and sent in the google.rpc.Status.details
1577
- # field, or localized by the client.
1578
- # Corresponds to the JSON property `message`
1579
- # @return [String]
1580
- attr_accessor :message
1581
-
1582
- def initialize(**args)
1583
- update!(**args)
1584
- end
1585
-
1586
- # Update properties of this object
1587
- def update!(**args)
1588
- @code = args[:code] if args.key?(:code)
1589
- @details = args[:details] if args.key?(:details)
1590
- @message = args[:message] if args.key?(:message)
1591
- end
1592
- end
1593
-
1594
1507
  # Represents a time of day. The date and time zone are either not significant or
1595
1508
  # are specified elsewhere. An API may choose to allow leap seconds. Related
1596
1509
  # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ConnectorsV2
18
18
  # Version of the google-apis-connectors_v2 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240606"
25
+ REVISION = "20240708"
26
26
  end
27
27
  end
28
28
  end
@@ -196,12 +196,6 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
- class Operation
200
- class Representation < Google::Apis::Core::JsonRepresentation; end
201
-
202
- include Google::Apis::Core::JsonObjectSupport
203
- end
204
-
205
199
  class PerSliSloEligibility
206
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
201
 
@@ -268,12 +262,6 @@ module Google
268
262
  include Google::Apis::Core::JsonObjectSupport
269
263
  end
270
264
 
271
- class Status
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
265
  class TimeOfDay
278
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
267
 
@@ -606,18 +594,6 @@ module Google
606
594
  end
607
595
  end
608
596
 
609
- class Operation
610
- # @private
611
- class Representation < Google::Apis::Core::JsonRepresentation
612
- property :done, as: 'done'
613
- property :error, as: 'error', class: Google::Apis::ConnectorsV2::Status, decorator: Google::Apis::ConnectorsV2::Status::Representation
614
-
615
- hash :metadata, as: 'metadata'
616
- property :name, as: 'name'
617
- hash :response, as: 'response'
618
- end
619
- end
620
-
621
597
  class PerSliSloEligibility
622
598
  # @private
623
599
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -679,10 +655,12 @@ module Google
679
655
  # @private
680
656
  class Representation < Google::Apis::Core::JsonRepresentation
681
657
  property :data_type, as: 'dataType'
658
+ property :default_value, as: 'defaultValue'
682
659
  property :description, as: 'description'
683
660
  property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
684
661
 
685
662
  property :name, as: 'name'
663
+ property :nullable, as: 'nullable'
686
664
  end
687
665
  end
688
666
 
@@ -715,15 +693,6 @@ module Google
715
693
  end
716
694
  end
717
695
 
718
- class Status
719
- # @private
720
- class Representation < Google::Apis::Core::JsonRepresentation
721
- property :code, as: 'code'
722
- collection :details, as: 'details'
723
- property :message, as: 'message'
724
- end
725
- end
726
-
727
696
  class TimeOfDay
728
697
  # @private
729
698
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -676,54 +676,6 @@ module Google
676
676
  command.query['quotaUser'] = quota_user unless quota_user.nil?
677
677
  execute_or_queue_command(command, &block)
678
678
  end
679
-
680
- # Lists entity rows with ACLs of a particular entity type contained in the
681
- # request. Note: 1. Currently, only max of one 'sort_by' column is supported. 2.
682
- # If no 'sort_by' column is provided, the primary key of the table is used. If
683
- # zero or more than one primary key is available, we default to the unpaginated
684
- # list entities logic which only returns the first page. 3. The values of the '
685
- # sort_by' columns must uniquely identify an entity row, otherwise undefined
686
- # behaviors may be observed during pagination. 4. Since transactions are not
687
- # supported, any updates, inserts or deletes during pagination can lead to stale
688
- # data being returned or other unexpected behaviors.
689
- # @param [String] parent
690
- # Required. Resource name of the Entity Type. Format: projects/`project`/
691
- # locations/`location`/connections/`connection`/entityTypes/`type`
692
- # @param [String] conditions
693
- # Conditions to be used when listing entities. From a proto standpoint, There
694
- # are no restrictions on what can be passed using this field. The connector
695
- # documentation should have information about what format of filters/conditions
696
- # are supported.
697
- # @param [String] gsutil_uri
698
- # Format: gs://object_path
699
- # @param [String] fields
700
- # Selector specifying which fields to include in a partial response.
701
- # @param [String] quota_user
702
- # Available to use for quota purposes for server-side applications. Can be any
703
- # arbitrary string assigned to a user, but should not exceed 40 characters.
704
- # @param [Google::Apis::RequestOptions] options
705
- # Request-specific options
706
- #
707
- # @yield [result, err] Result & error if block supplied
708
- # @yieldparam result [Google::Apis::ConnectorsV2::Operation] parsed result object
709
- # @yieldparam err [StandardError] error object if request failed
710
- #
711
- # @return [Google::Apis::ConnectorsV2::Operation]
712
- #
713
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
714
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
715
- # @raise [Google::Apis::AuthorizationError] Authorization is required
716
- def list_project_location_connection_entity_type_entitieswithacls(parent, conditions: nil, gsutil_uri: nil, fields: nil, quota_user: nil, options: nil, &block)
717
- command = make_simple_command(:get, 'v2/{+parent}/entitieswithacls', options)
718
- command.response_representation = Google::Apis::ConnectorsV2::Operation::Representation
719
- command.response_class = Google::Apis::ConnectorsV2::Operation
720
- command.params['parent'] = parent unless parent.nil?
721
- command.query['conditions'] = conditions unless conditions.nil?
722
- command.query['gsutilUri'] = gsutil_uri unless gsutil_uri.nil?
723
- command.query['fields'] = fields unless fields.nil?
724
- command.query['quotaUser'] = quota_user unless quota_user.nil?
725
- execute_or_queue_command(command, &block)
726
- end
727
679
 
728
680
  protected
729
681
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-connectors_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.18.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-06-09 00:00:00.000000000 Z
11
+ date: 2024-07-25 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2
63
63
  post_install_message:
64
64
  rdoc_options: []