google-apis-connectors_v2 0.14.0 → 0.16.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: 6309a893fffe2f91894fcbb740b42d5f382be925ac397b5fb6a78a3f84be8352
4
- data.tar.gz: 87c45ca109be01d99f60db398fd4f92a0f90198032457138ebeb2c13e4407167
3
+ metadata.gz: 3b88665f2505f61ca025e1ad1b4dfe4a805889cca424e088363d8a18726e8958
4
+ data.tar.gz: 595f5f0875f2347840830c11205d3c5313c5919fc2714a6bf0aa34717bf3849d
5
5
  SHA512:
6
- metadata.gz: 6a4f8135f666a913124ea0c93fa9b4ddae5ccef618471e6e60770a84f76d55e777b21691e10d1cd64a51f159872ea4ae0313aa0cd4e73f3c96b3d3b0ae7aae9c
7
- data.tar.gz: 7a91c0f0df33f7e85bf56c9cd45b546f40b5d4d4cd94058a5148a8cc2d8f284ed21d41f8706a45755ff618cad84850930737a3aa31b222dbdcc63fa51cb8d0b7
6
+ metadata.gz: e524d0229fd9ec35e5e77f4795ca16c45f222da175617653762dfad04965978c364da06f3f07c54df2078df80ba97bbe8c7dc4c188d8e8d79bc8457f6934a96c
7
+ data.tar.gz: d2d04f1ee59263c9adc1262ef3a6456e7d4278e8644b793cedf1926a292e9c9881a491032bcbf2dc66200fedeeba06f2801c398551e6a17c80e2dcc206cc07b0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v2
2
2
 
3
+ ### v0.16.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240606
6
+
7
+ ### v0.15.0 (2024-06-02)
8
+
9
+ * Regenerated from discovery document revision 20240529
10
+
3
11
  ### v0.14.0 (2024-05-19)
4
12
 
5
13
  * Regenerated using generator version 0.15.0
@@ -1169,6 +1169,68 @@ 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
+
1172
1234
  # PerSliSloEligibility is a mapping from an SLI name to eligibility.
1173
1235
  class PerSliSloEligibility
1174
1236
  include Google::Apis::Core::Hashable
@@ -1490,6 +1552,45 @@ module Google
1490
1552
  end
1491
1553
  end
1492
1554
 
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
+
1493
1594
  # Represents a time of day. The date and time zone are either not significant or
1494
1595
  # are specified elsewhere. An API may choose to allow leap seconds. Related
1495
1596
  # 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.14.0"
19
+ GEM_VERSION = "0.16.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 = "20240415"
25
+ REVISION = "20240606"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,12 @@ 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
+
199
205
  class PerSliSloEligibility
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -262,6 +268,12 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
271
+ class Status
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class TimeOfDay
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -594,6 +606,18 @@ module Google
594
606
  end
595
607
  end
596
608
 
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
+
597
621
  class PerSliSloEligibility
598
622
  # @private
599
623
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -691,6 +715,15 @@ module Google
691
715
  end
692
716
  end
693
717
 
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
+
694
727
  class TimeOfDay
695
728
  # @private
696
729
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -676,6 +676,54 @@ 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
679
727
 
680
728
  protected
681
729
 
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.14.0
4
+ version: 0.16.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-05-19 00:00:00.000000000 Z
11
+ date: 2024-06-09 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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.16.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: []