google-cloud-data_catalog-lineage-v1 0.11.0 → 0.12.1

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: afc4588c4459d1eb1f3bea5c5c0e01090e792c4a436c71cf515e1fdc1d02d433
4
- data.tar.gz: 6ba78c5dd05e098092e5bea06300a41d6252da55dc4ca92dae2370ddf1cbd14d
3
+ metadata.gz: 0cf0b55e575278f9e4d11f2bb68f23345984887946147288aad867bdf8438c59
4
+ data.tar.gz: f62304758719ce6284b704dc33e0be165e40148b5943539f21ca5c72fe81bca4
5
5
  SHA512:
6
- metadata.gz: e9405153a58487ed52b3928e0e11ae4fe384b07e8ff41c0e8e5bca7dda3cdb43373d679b21e2761c6cfc9821c8905500756a310d4cf596a8e206d61ac7c5824d
7
- data.tar.gz: 52d053615465acc430d2aa3af0ad0704938f2a458acd85bd9d1f232b8c09d4db1aa05283771aba97bd41675a207bb02e22e5e5832ee55b84b393ad63e139dd46
6
+ metadata.gz: b42857f20524c8a7c9182a1bc09bbf8e08b39cfe70cf0d6b76a094aa9cad2d5d4290ba2a65e8e799ae0bfa13bc8b9f8ff1aca6429e7cbcc57916bb58b711c9d2
7
+ data.tar.gz: 31b034f2ad87eed06bdf3914fb65b9188431a0e4fff87837387a77c959c5b8f04c6077db490b0cc028905bf38e6483edc9c3c69961e8c7d611f5616a0682971c
@@ -1891,8 +1891,6 @@ module Google
1891
1891
  # @return [::String,nil]
1892
1892
  # @!attribute [rw] credentials
1893
1893
  # Credentials to send with calls. You may provide any of the following types:
1894
- # * (`String`) The path to a service account key file in JSON format
1895
- # * (`Hash`) A service account key as a Hash
1896
1894
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1897
1895
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1898
1896
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1901,7 +1899,26 @@ module Google
1901
1899
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1902
1900
  # * (`nil`) indicating no credentials
1903
1901
  #
1904
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1902
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1903
+ # is deprecated. Providing an unvalidated credential configuration to
1904
+ # Google APIs can compromise the security of your systems and data.
1905
+ #
1906
+ # @example
1907
+ #
1908
+ # # The recommended way to provide credentials is to use the `make_creds` method
1909
+ # # on the appropriate credentials class for your environment.
1910
+ #
1911
+ # require "googleauth"
1912
+ #
1913
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1914
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1915
+ # )
1916
+ #
1917
+ # client = ::Google::Cloud::DataCatalog::Lineage::V1::Lineage::Client.new do |config|
1918
+ # config.credentials = credentials
1919
+ # end
1920
+ #
1921
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1905
1922
  # external source for authentication to Google Cloud, you must validate it before
1906
1923
  # providing it to a Google API client library. Providing an unvalidated credential
1907
1924
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -135,7 +135,7 @@ module Google
135
135
  # @param options [::Gapic::CallOptions, ::Hash]
136
136
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
137
137
  #
138
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
138
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
139
139
  # Pass arguments to `list_operations` via keyword arguments. Note that at
140
140
  # least one keyword argument is required. To specify no parameters, or to keep all
141
141
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -148,6 +148,17 @@ module Google
148
148
  # The standard list page size.
149
149
  # @param page_token [::String]
150
150
  # The standard list page token.
151
+ # @param return_partial_success [::Boolean]
152
+ # When set to `true`, operations that are reachable are returned as normal,
153
+ # and those that are unreachable are returned in the
154
+ # [ListOperationsResponse.unreachable] field.
155
+ #
156
+ # This can only be `true` when reading across collections e.g. when `parent`
157
+ # is set to `"projects/example/locations/-"`.
158
+ #
159
+ # This field is not by default supported and will result in an
160
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
161
+ # service or product specific documentation.
151
162
  #
152
163
  # @yield [response, operation] Access the result along with the RPC operation
153
164
  # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
@@ -632,8 +643,6 @@ module Google
632
643
  # @return [::String,nil]
633
644
  # @!attribute [rw] credentials
634
645
  # Credentials to send with calls. You may provide any of the following types:
635
- # * (`String`) The path to a service account key file in JSON format
636
- # * (`Hash`) A service account key as a Hash
637
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
638
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
639
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -642,7 +651,26 @@ module Google
642
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
643
652
  # * (`nil`) indicating no credentials
644
653
  #
645
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
646
674
  # external source for authentication to Google Cloud, you must validate it before
647
675
  # providing it to a Google API client library. Providing an unvalidated credential
648
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -126,7 +126,7 @@ module Google
126
126
  # @param options [::Gapic::CallOptions, ::Hash]
127
127
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
128
128
  #
129
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
129
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
130
130
  # Pass arguments to `list_operations` via keyword arguments. Note that at
131
131
  # least one keyword argument is required. To specify no parameters, or to keep all
132
132
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -139,6 +139,17 @@ module Google
139
139
  # The standard list page size.
140
140
  # @param page_token [::String]
141
141
  # The standard list page token.
142
+ # @param return_partial_success [::Boolean]
143
+ # When set to `true`, operations that are reachable are returned as normal,
144
+ # and those that are unreachable are returned in the
145
+ # [ListOperationsResponse.unreachable] field.
146
+ #
147
+ # This can only be `true` when reading across collections e.g. when `parent`
148
+ # is set to `"projects/example/locations/-"`.
149
+ #
150
+ # This field is not by default supported and will result in an
151
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
152
+ # service or product specific documentation.
142
153
  # @yield [result, operation] Access the result along with the TransportOperation object
143
154
  # @yieldparam result [::Gapic::Operation]
144
155
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -22,7 +22,7 @@ module Google
22
22
  module DataCatalog
23
23
  module Lineage
24
24
  module V1
25
- VERSION = "0.11.0"
25
+ VERSION = "0.12.1"
26
26
  end
27
27
  end
28
28
  end
@@ -83,6 +83,18 @@ module Google
83
83
  # @!attribute [rw] page_token
84
84
  # @return [::String]
85
85
  # The standard list page token.
86
+ # @!attribute [rw] return_partial_success
87
+ # @return [::Boolean]
88
+ # When set to `true`, operations that are reachable are returned as normal,
89
+ # and those that are unreachable are returned in the
90
+ # [ListOperationsResponse.unreachable] field.
91
+ #
92
+ # This can only be `true` when reading across collections e.g. when `parent`
93
+ # is set to `"projects/example/locations/-"`.
94
+ #
95
+ # This field is not by default supported and will result in an
96
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
97
+ # service or product specific documentation.
86
98
  class ListOperationsRequest
87
99
  include ::Google::Protobuf::MessageExts
88
100
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -96,6 +108,12 @@ module Google
96
108
  # @!attribute [rw] next_page_token
97
109
  # @return [::String]
98
110
  # The standard List next-page token.
111
+ # @!attribute [rw] unreachable
112
+ # @return [::Array<::String>]
113
+ # Unordered list. Unreachable resources. Populated when the request sets
114
+ # `ListOperationsRequest.return_partial_success` and reads across
115
+ # collections e.g. when attempting to list all resources across all supported
116
+ # locations.
99
117
  class ListOperationsResponse
100
118
  include ::Google::Protobuf::MessageExts
101
119
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-data_catalog-lineage-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC