google-cloud-notebooks-v1 1.3.0 → 1.3.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 +4 -4
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/client.rb +20 -3
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/operations.rb +20 -3
- data/lib/google/cloud/notebooks/v1/notebook_service/client.rb +20 -3
- data/lib/google/cloud/notebooks/v1/notebook_service/operations.rb +20 -3
- data/lib/google/cloud/notebooks/v1/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 831c1cbbf0fd61a4b1ccf695805ca69b31bc1830eb9e5e9f97cbcd395964034c
|
|
4
|
+
data.tar.gz: fc07bf9288f26875b88338ce4096e37f456e4bc0eff326458a7a50fa98b1cc34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af531f3afcea24651882bb3451f8565363cd138043b62ce15ddf7f1781285419cf43406d12f91cf7112cbe11b0e12af9a895865c00b39fb628a6d6360e01229c
|
|
7
|
+
data.tar.gz: 5328d090b35abd438ceb5942d8049564ab8dfea1b9e857d0a3b4307316604fe0d58d68e825b0beb99d57214f8832da9f208d63ec2701c333a9e221441f76ef02
|
|
@@ -1575,8 +1575,6 @@ module Google
|
|
|
1575
1575
|
# @return [::String,nil]
|
|
1576
1576
|
# @!attribute [rw] credentials
|
|
1577
1577
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1578
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1579
|
-
# * (`Hash`) A service account key as a Hash
|
|
1580
1578
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1581
1579
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1582
1580
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1585,7 +1583,26 @@ module Google
|
|
|
1585
1583
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1586
1584
|
# * (`nil`) indicating no credentials
|
|
1587
1585
|
#
|
|
1588
|
-
# Warning:
|
|
1586
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1587
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1588
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1589
|
+
#
|
|
1590
|
+
# @example
|
|
1591
|
+
#
|
|
1592
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1593
|
+
# # on the appropriate credentials class for your environment.
|
|
1594
|
+
#
|
|
1595
|
+
# require "googleauth"
|
|
1596
|
+
#
|
|
1597
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1598
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1599
|
+
# )
|
|
1600
|
+
#
|
|
1601
|
+
# client = ::Google::Cloud::Notebooks::V1::ManagedNotebookService::Client.new do |config|
|
|
1602
|
+
# config.credentials = credentials
|
|
1603
|
+
# end
|
|
1604
|
+
#
|
|
1605
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1589
1606
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1590
1607
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1591
1608
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -3589,8 +3589,6 @@ module Google
|
|
|
3589
3589
|
# @return [::String,nil]
|
|
3590
3590
|
# @!attribute [rw] credentials
|
|
3591
3591
|
# Credentials to send with calls. You may provide any of the following types:
|
|
3592
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
3593
|
-
# * (`Hash`) A service account key as a Hash
|
|
3594
3592
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
3595
3593
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
3596
3594
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -3599,7 +3597,26 @@ module Google
|
|
|
3599
3597
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
3600
3598
|
# * (`nil`) indicating no credentials
|
|
3601
3599
|
#
|
|
3602
|
-
# Warning:
|
|
3600
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
3601
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
3602
|
+
# Google APIs can compromise the security of your systems and data.
|
|
3603
|
+
#
|
|
3604
|
+
# @example
|
|
3605
|
+
#
|
|
3606
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
3607
|
+
# # on the appropriate credentials class for your environment.
|
|
3608
|
+
#
|
|
3609
|
+
# require "googleauth"
|
|
3610
|
+
#
|
|
3611
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
3612
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
3613
|
+
# )
|
|
3614
|
+
#
|
|
3615
|
+
# client = ::Google::Cloud::Notebooks::V1::NotebookService::Client.new do |config|
|
|
3616
|
+
# config.credentials = credentials
|
|
3617
|
+
# end
|
|
3618
|
+
#
|
|
3619
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
3603
3620
|
# external source for authentication to Google Cloud, you must validate it before
|
|
3604
3621
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
3605
3622
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|