Skip to content

Commit d0cbba3

Browse files
feat: Automated regeneration of notebooks v2 client (googleapis#21056)
Auto-created at 2024-12-15 10:21:17 +0000 using the toys pull request generator.
1 parent 60fe889 commit d0cbba3

File tree

6 files changed

+18
-4
lines changed

6 files changed

+18
-4
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275104,6 +275104,7 @@
275104275104
"/notebooks:v2/Instance/createTime": create_time
275105275105
"/notebooks:v2/Instance/creator": creator
275106275106
"/notebooks:v2/Instance/disableProxyAccess": disable_proxy_access
275107+
"/notebooks:v2/Instance/enableThirdPartyIdentity": enable_third_party_identity
275107275108
"/notebooks:v2/Instance/gceSetup": gce_setup
275108275109
"/notebooks:v2/Instance/healthInfo": health_info
275109275110
"/notebooks:v2/Instance/healthInfo/health_info": health_info

generated/google-apis-notebooks_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-notebooks_v2
22

3+
### v0.20.0 (2024-12-15)
4+
5+
* Regenerated from discovery document revision 20241204
6+
37
### v0.19.0 (2024-11-17)
48

59
* Regenerated from discovery document revision 20241106

generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/classes.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,13 @@ class Instance
768768
attr_accessor :disable_proxy_access
769769
alias_method :disable_proxy_access?, :disable_proxy_access
770770

771+
# Optional. Flag that specifies that a notebook can be accessed with third party
772+
# identity provider.
773+
# Corresponds to the JSON property `enableThirdPartyIdentity`
774+
# @return [Boolean]
775+
attr_accessor :enable_third_party_identity
776+
alias_method :enable_third_party_identity?, :enable_third_party_identity
777+
771778
# The definition of how to configure a VM instance outside of Resources and
772779
# Identity.
773780
# Corresponds to the JSON property `gceSetup`
@@ -859,6 +866,7 @@ def update!(**args)
859866
@create_time = args[:create_time] if args.key?(:create_time)
860867
@creator = args[:creator] if args.key?(:creator)
861868
@disable_proxy_access = args[:disable_proxy_access] if args.key?(:disable_proxy_access)
869+
@enable_third_party_identity = args[:enable_third_party_identity] if args.key?(:enable_third_party_identity)
862870
@gce_setup = args[:gce_setup] if args.key?(:gce_setup)
863871
@health_info = args[:health_info] if args.key?(:health_info)
864872
@health_state = args[:health_state] if args.key?(:health_state)

generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module NotebooksV2
1818
# Version of the google-apis-notebooks_v2 gem
19-
GEM_VERSION = "0.19.0"
19+
GEM_VERSION = "0.20.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241106"
25+
REVISION = "20241204"
2626
end
2727
end
2828
end

generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
483483
property :create_time, as: 'createTime'
484484
property :creator, as: 'creator'
485485
property :disable_proxy_access, as: 'disableProxyAccess'
486+
property :enable_third_party_identity, as: 'enableThirdPartyIdentity'
486487
property :gce_setup, as: 'gceSetup', class: Google::Apis::NotebooksV2::GceSetup, decorator: Google::Apis::NotebooksV2::GceSetup::Representation
487488

488489
hash :health_info, as: 'healthInfo'

generated/google-apis-notebooks_v2/lib/google/apis/notebooks_v2/service.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,8 @@ def upgrade_project_location_instance_system(name, upgrade_instance_system_reque
846846
# Clients can use Operations.GetOperation or other methods to check whether the
847847
# cancellation succeeded or whether the operation completed despite cancellation.
848848
# On successful cancellation, the operation is not deleted; instead, it becomes
849-
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
850-
# corresponding to `Code.CANCELLED`.
849+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
850+
# , corresponding to `Code.CANCELLED`.
851851
# @param [String] name
852852
# The name of the operation resource to be cancelled.
853853
# @param [Google::Apis::NotebooksV2::CancelOperationRequest] cancel_operation_request_object

0 commit comments

Comments
 (0)