google-apis-notebooks_v1 0.5.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -83,11 +83,15 @@ module Google
83
83
  # @param [String] name
84
84
  # The resource that owns the locations collection, if applicable.
85
85
  # @param [String] filter
86
- # The standard list filter.
86
+ # A filter to narrow down results to a preferred subset. The filtering language
87
+ # accepts strings like "displayName=tokyo", and is documented in more detail in [
88
+ # AIP-160](https://google.aip.dev/160).
87
89
  # @param [Fixnum] page_size
88
- # The standard list page size.
90
+ # The maximum number of results to return. If not set, the service selects a
91
+ # default.
89
92
  # @param [String] page_token
90
- # The standard list page token.
93
+ # A page token received from the `next_page_token` field in the response. Send
94
+ # that page token to receive the subsequent page.
91
95
  # @param [String] fields
92
96
  # Selector specifying which fields to include in a partial response.
93
97
  # @param [String] quota_user
@@ -358,7 +362,8 @@ module Google
358
362
  # @param [String] parent
359
363
  # Required. Format: `parent=projects/`project_id`/locations/`location``
360
364
  # @param [String] filter
361
- # Filter applied to resulting executions.
365
+ # Filter applied to resulting executions. Currently only supports filtering
366
+ # executions by a specified schedule_id. Format: "schedule_id="
362
367
  # @param [String] order_by
363
368
  # Sort by field.
364
369
  # @param [Fixnum] page_size
@@ -741,6 +746,40 @@ module Google
741
746
  execute_or_queue_command(command, &block)
742
747
  end
743
748
 
749
+ # Rollbacks a notebook instance to the previous version.
750
+ # @param [String] name
751
+ # Required. Format: `projects/`project_id`/locations/`location`/instances/`
752
+ # instance_id``
753
+ # @param [Google::Apis::NotebooksV1::RollbackInstanceRequest] rollback_instance_request_object
754
+ # @param [String] fields
755
+ # Selector specifying which fields to include in a partial response.
756
+ # @param [String] quota_user
757
+ # Available to use for quota purposes for server-side applications. Can be any
758
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
759
+ # @param [Google::Apis::RequestOptions] options
760
+ # Request-specific options
761
+ #
762
+ # @yield [result, err] Result & error if block supplied
763
+ # @yieldparam result [Google::Apis::NotebooksV1::Operation] parsed result object
764
+ # @yieldparam err [StandardError] error object if request failed
765
+ #
766
+ # @return [Google::Apis::NotebooksV1::Operation]
767
+ #
768
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
769
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
770
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
771
+ def rollback_instance(name, rollback_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
772
+ command = make_simple_command(:post, 'v1/{+name}:rollback', options)
773
+ command.request_representation = Google::Apis::NotebooksV1::RollbackInstanceRequest::Representation
774
+ command.request_object = rollback_instance_request_object
775
+ command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
776
+ command.response_class = Google::Apis::NotebooksV1::Operation
777
+ command.params['name'] = name unless name.nil?
778
+ command.query['fields'] = fields unless fields.nil?
779
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
780
+ execute_or_queue_command(command, &block)
781
+ end
782
+
744
783
  # Updates the guest accelerators of a single Instance.
745
784
  # @param [String] name
746
785
  # Required. Format: `projects/`project_id`/locations/`location`/instances/`
@@ -985,6 +1024,74 @@ module Google
985
1024
  execute_or_queue_command(command, &block)
986
1025
  end
987
1026
 
1027
+ # Update Notebook Instance configurations.
1028
+ # @param [String] name
1029
+ # Required. Format: `projects/`project_id`/locations/`location`/instances/`
1030
+ # instance_id``
1031
+ # @param [Google::Apis::NotebooksV1::UpdateInstanceConfigRequest] update_instance_config_request_object
1032
+ # @param [String] fields
1033
+ # Selector specifying which fields to include in a partial response.
1034
+ # @param [String] quota_user
1035
+ # Available to use for quota purposes for server-side applications. Can be any
1036
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1037
+ # @param [Google::Apis::RequestOptions] options
1038
+ # Request-specific options
1039
+ #
1040
+ # @yield [result, err] Result & error if block supplied
1041
+ # @yieldparam result [Google::Apis::NotebooksV1::Operation] parsed result object
1042
+ # @yieldparam err [StandardError] error object if request failed
1043
+ #
1044
+ # @return [Google::Apis::NotebooksV1::Operation]
1045
+ #
1046
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1047
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1048
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1049
+ def update_project_location_instance_config(name, update_instance_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1050
+ command = make_simple_command(:patch, 'v1/{+name}:updateConfig', options)
1051
+ command.request_representation = Google::Apis::NotebooksV1::UpdateInstanceConfigRequest::Representation
1052
+ command.request_object = update_instance_config_request_object
1053
+ command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
1054
+ command.response_class = Google::Apis::NotebooksV1::Operation
1055
+ command.params['name'] = name unless name.nil?
1056
+ command.query['fields'] = fields unless fields.nil?
1057
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1058
+ execute_or_queue_command(command, &block)
1059
+ end
1060
+
1061
+ # Updates the Shielded instance configuration of a single Instance.
1062
+ # @param [String] name
1063
+ # Required. Format: `projects/`project_id`/locations/`location`/instances/`
1064
+ # instance_id``
1065
+ # @param [Google::Apis::NotebooksV1::UpdateShieldedInstanceConfigRequest] update_shielded_instance_config_request_object
1066
+ # @param [String] fields
1067
+ # Selector specifying which fields to include in a partial response.
1068
+ # @param [String] quota_user
1069
+ # Available to use for quota purposes for server-side applications. Can be any
1070
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1071
+ # @param [Google::Apis::RequestOptions] options
1072
+ # Request-specific options
1073
+ #
1074
+ # @yield [result, err] Result & error if block supplied
1075
+ # @yieldparam result [Google::Apis::NotebooksV1::Operation] parsed result object
1076
+ # @yieldparam err [StandardError] error object if request failed
1077
+ #
1078
+ # @return [Google::Apis::NotebooksV1::Operation]
1079
+ #
1080
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1081
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1082
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1083
+ def update_shielded_instance_config(name, update_shielded_instance_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1084
+ command = make_simple_command(:patch, 'v1/{+name}:updateShieldedInstanceConfig', options)
1085
+ command.request_representation = Google::Apis::NotebooksV1::UpdateShieldedInstanceConfigRequest::Representation
1086
+ command.request_object = update_shielded_instance_config_request_object
1087
+ command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
1088
+ command.response_class = Google::Apis::NotebooksV1::Operation
1089
+ command.params['name'] = name unless name.nil?
1090
+ command.query['fields'] = fields unless fields.nil?
1091
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1092
+ execute_or_queue_command(command, &block)
1093
+ end
1094
+
988
1095
  # Upgrades a notebook instance to the latest version.
989
1096
  # @param [String] name
990
1097
  # Required. Format: `projects/`project_id`/locations/`location`/instances/`
@@ -1204,6 +1311,284 @@ module Google
1204
1311
  execute_or_queue_command(command, &block)
1205
1312
  end
1206
1313
 
1314
+ # Creates a new Runtime in a given project and location.
1315
+ # @param [String] parent
1316
+ # Required. Format: `parent=projects/`project_id`/locations/`location``
1317
+ # @param [Google::Apis::NotebooksV1::Runtime] runtime_object
1318
+ # @param [String] runtime_id
1319
+ # Required. User-defined unique ID of this Runtime.
1320
+ # @param [String] fields
1321
+ # Selector specifying which fields to include in a partial response.
1322
+ # @param [String] quota_user
1323
+ # Available to use for quota purposes for server-side applications. Can be any
1324
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1325
+ # @param [Google::Apis::RequestOptions] options
1326
+ # Request-specific options
1327
+ #
1328
+ # @yield [result, err] Result & error if block supplied
1329
+ # @yieldparam result [Google::Apis::NotebooksV1::Operation] parsed result object
1330
+ # @yieldparam err [StandardError] error object if request failed
1331
+ #
1332
+ # @return [Google::Apis::NotebooksV1::Operation]
1333
+ #
1334
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1335
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1336
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1337
+ def create_project_location_runtime(parent, runtime_object = nil, runtime_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1338
+ command = make_simple_command(:post, 'v1/{+parent}/runtimes', options)
1339
+ command.request_representation = Google::Apis::NotebooksV1::Runtime::Representation
1340
+ command.request_object = runtime_object
1341
+ command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
1342
+ command.response_class = Google::Apis::NotebooksV1::Operation
1343
+ command.params['parent'] = parent unless parent.nil?
1344
+ command.query['runtimeId'] = runtime_id unless runtime_id.nil?
1345
+ command.query['fields'] = fields unless fields.nil?
1346
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1347
+ execute_or_queue_command(command, &block)
1348
+ end
1349
+
1350
+ # Deletes a single Runtime.
1351
+ # @param [String] name
1352
+ # Required. Format: `projects/`project_id`/locations/`location`/runtimes/`
1353
+ # runtime_id``
1354
+ # @param [String] fields
1355
+ # Selector specifying which fields to include in a partial response.
1356
+ # @param [String] quota_user
1357
+ # Available to use for quota purposes for server-side applications. Can be any
1358
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1359
+ # @param [Google::Apis::RequestOptions] options
1360
+ # Request-specific options
1361
+ #
1362
+ # @yield [result, err] Result & error if block supplied
1363
+ # @yieldparam result [Google::Apis::NotebooksV1::Operation] parsed result object
1364
+ # @yieldparam err [StandardError] error object if request failed
1365
+ #
1366
+ # @return [Google::Apis::NotebooksV1::Operation]
1367
+ #
1368
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1369
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1370
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1371
+ def delete_project_location_runtime(name, fields: nil, quota_user: nil, options: nil, &block)
1372
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1373
+ command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
1374
+ command.response_class = Google::Apis::NotebooksV1::Operation
1375
+ command.params['name'] = name unless name.nil?
1376
+ command.query['fields'] = fields unless fields.nil?
1377
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1378
+ execute_or_queue_command(command, &block)
1379
+ end
1380
+
1381
+ # Gets details of a single Runtime. The location must be a regional endpoint
1382
+ # rather than zonal.
1383
+ # @param [String] name
1384
+ # Required. Format: `projects/`project_id`/locations/`location`/runtimes/`
1385
+ # runtime_id``
1386
+ # @param [String] fields
1387
+ # Selector specifying which fields to include in a partial response.
1388
+ # @param [String] quota_user
1389
+ # Available to use for quota purposes for server-side applications. Can be any
1390
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1391
+ # @param [Google::Apis::RequestOptions] options
1392
+ # Request-specific options
1393
+ #
1394
+ # @yield [result, err] Result & error if block supplied
1395
+ # @yieldparam result [Google::Apis::NotebooksV1::Runtime] parsed result object
1396
+ # @yieldparam err [StandardError] error object if request failed
1397
+ #
1398
+ # @return [Google::Apis::NotebooksV1::Runtime]
1399
+ #
1400
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1401
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1402
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1403
+ def get_project_location_runtime(name, fields: nil, quota_user: nil, options: nil, &block)
1404
+ command = make_simple_command(:get, 'v1/{+name}', options)
1405
+ command.response_representation = Google::Apis::NotebooksV1::Runtime::Representation
1406
+ command.response_class = Google::Apis::NotebooksV1::Runtime
1407
+ command.params['name'] = name unless name.nil?
1408
+ command.query['fields'] = fields unless fields.nil?
1409
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1410
+ execute_or_queue_command(command, &block)
1411
+ end
1412
+
1413
+ # Lists Runtimes in a given project and location.
1414
+ # @param [String] parent
1415
+ # Required. Format: `parent=projects/`project_id`/locations/`location``
1416
+ # @param [Fixnum] page_size
1417
+ # Maximum return size of the list call.
1418
+ # @param [String] page_token
1419
+ # A previous returned page token that can be used to continue listing from the
1420
+ # last result.
1421
+ # @param [String] fields
1422
+ # Selector specifying which fields to include in a partial response.
1423
+ # @param [String] quota_user
1424
+ # Available to use for quota purposes for server-side applications. Can be any
1425
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1426
+ # @param [Google::Apis::RequestOptions] options
1427
+ # Request-specific options
1428
+ #
1429
+ # @yield [result, err] Result & error if block supplied
1430
+ # @yieldparam result [Google::Apis::NotebooksV1::ListRuntimesResponse] parsed result object
1431
+ # @yieldparam err [StandardError] error object if request failed
1432
+ #
1433
+ # @return [Google::Apis::NotebooksV1::ListRuntimesResponse]
1434
+ #
1435
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1436
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1437
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1438
+ def list_project_location_runtimes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1439
+ command = make_simple_command(:get, 'v1/{+parent}/runtimes', options)
1440
+ command.response_representation = Google::Apis::NotebooksV1::ListRuntimesResponse::Representation
1441
+ command.response_class = Google::Apis::NotebooksV1::ListRuntimesResponse
1442
+ command.params['parent'] = parent unless parent.nil?
1443
+ command.query['pageSize'] = page_size unless page_size.nil?
1444
+ command.query['pageToken'] = page_token unless page_token.nil?
1445
+ command.query['fields'] = fields unless fields.nil?
1446
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1447
+ execute_or_queue_command(command, &block)
1448
+ end
1449
+
1450
+ # Resets a Managed Notebook Runtime.
1451
+ # @param [String] name
1452
+ # Required. Format: `projects/`project_id`/locations/`location`/runtimes/`
1453
+ # runtime_id``
1454
+ # @param [Google::Apis::NotebooksV1::ResetRuntimeRequest] reset_runtime_request_object
1455
+ # @param [String] fields
1456
+ # Selector specifying which fields to include in a partial response.
1457
+ # @param [String] quota_user
1458
+ # Available to use for quota purposes for server-side applications. Can be any
1459
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1460
+ # @param [Google::Apis::RequestOptions] options
1461
+ # Request-specific options
1462
+ #
1463
+ # @yield [result, err] Result & error if block supplied
1464
+ # @yieldparam result [Google::Apis::NotebooksV1::Operation] parsed result object
1465
+ # @yieldparam err [StandardError] error object if request failed
1466
+ #
1467
+ # @return [Google::Apis::NotebooksV1::Operation]
1468
+ #
1469
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1470
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1471
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1472
+ def reset_runtime(name, reset_runtime_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1473
+ command = make_simple_command(:post, 'v1/{+name}:reset', options)
1474
+ command.request_representation = Google::Apis::NotebooksV1::ResetRuntimeRequest::Representation
1475
+ command.request_object = reset_runtime_request_object
1476
+ command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
1477
+ command.response_class = Google::Apis::NotebooksV1::Operation
1478
+ command.params['name'] = name unless name.nil?
1479
+ command.query['fields'] = fields unless fields.nil?
1480
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1481
+ execute_or_queue_command(command, &block)
1482
+ end
1483
+
1484
+ # Starts a Managed Notebook Runtime. Perform "Start" on GPU instances; "Resume"
1485
+ # on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-
1486
+ # start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-
1487
+ # instance
1488
+ # @param [String] name
1489
+ # Required. Format: `projects/`project_id`/locations/`location`/runtimes/`
1490
+ # runtime_id``
1491
+ # @param [Google::Apis::NotebooksV1::StartRuntimeRequest] start_runtime_request_object
1492
+ # @param [String] fields
1493
+ # Selector specifying which fields to include in a partial response.
1494
+ # @param [String] quota_user
1495
+ # Available to use for quota purposes for server-side applications. Can be any
1496
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1497
+ # @param [Google::Apis::RequestOptions] options
1498
+ # Request-specific options
1499
+ #
1500
+ # @yield [result, err] Result & error if block supplied
1501
+ # @yieldparam result [Google::Apis::NotebooksV1::Operation] parsed result object
1502
+ # @yieldparam err [StandardError] error object if request failed
1503
+ #
1504
+ # @return [Google::Apis::NotebooksV1::Operation]
1505
+ #
1506
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1507
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1508
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1509
+ def start_runtime(name, start_runtime_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1510
+ command = make_simple_command(:post, 'v1/{+name}:start', options)
1511
+ command.request_representation = Google::Apis::NotebooksV1::StartRuntimeRequest::Representation
1512
+ command.request_object = start_runtime_request_object
1513
+ command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
1514
+ command.response_class = Google::Apis::NotebooksV1::Operation
1515
+ command.params['name'] = name unless name.nil?
1516
+ command.query['fields'] = fields unless fields.nil?
1517
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1518
+ execute_or_queue_command(command, &block)
1519
+ end
1520
+
1521
+ # Stops a Managed Notebook Runtime. Perform "Stop" on GPU instances; "Suspend"
1522
+ # on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-
1523
+ # start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-
1524
+ # instance
1525
+ # @param [String] name
1526
+ # Required. Format: `projects/`project_id`/locations/`location`/runtimes/`
1527
+ # runtime_id``
1528
+ # @param [Google::Apis::NotebooksV1::StopRuntimeRequest] stop_runtime_request_object
1529
+ # @param [String] fields
1530
+ # Selector specifying which fields to include in a partial response.
1531
+ # @param [String] quota_user
1532
+ # Available to use for quota purposes for server-side applications. Can be any
1533
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1534
+ # @param [Google::Apis::RequestOptions] options
1535
+ # Request-specific options
1536
+ #
1537
+ # @yield [result, err] Result & error if block supplied
1538
+ # @yieldparam result [Google::Apis::NotebooksV1::Operation] parsed result object
1539
+ # @yieldparam err [StandardError] error object if request failed
1540
+ #
1541
+ # @return [Google::Apis::NotebooksV1::Operation]
1542
+ #
1543
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1544
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1545
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1546
+ def stop_runtime(name, stop_runtime_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1547
+ command = make_simple_command(:post, 'v1/{+name}:stop', options)
1548
+ command.request_representation = Google::Apis::NotebooksV1::StopRuntimeRequest::Representation
1549
+ command.request_object = stop_runtime_request_object
1550
+ command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
1551
+ command.response_class = Google::Apis::NotebooksV1::Operation
1552
+ command.params['name'] = name unless name.nil?
1553
+ command.query['fields'] = fields unless fields.nil?
1554
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1555
+ execute_or_queue_command(command, &block)
1556
+ end
1557
+
1558
+ # Switch a Managed Notebook Runtime.
1559
+ # @param [String] name
1560
+ # Required. Format: `projects/`project_id`/locations/`location`/runtimes/`
1561
+ # runtime_id``
1562
+ # @param [Google::Apis::NotebooksV1::SwitchRuntimeRequest] switch_runtime_request_object
1563
+ # @param [String] fields
1564
+ # Selector specifying which fields to include in a partial response.
1565
+ # @param [String] quota_user
1566
+ # Available to use for quota purposes for server-side applications. Can be any
1567
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1568
+ # @param [Google::Apis::RequestOptions] options
1569
+ # Request-specific options
1570
+ #
1571
+ # @yield [result, err] Result & error if block supplied
1572
+ # @yieldparam result [Google::Apis::NotebooksV1::Operation] parsed result object
1573
+ # @yieldparam err [StandardError] error object if request failed
1574
+ #
1575
+ # @return [Google::Apis::NotebooksV1::Operation]
1576
+ #
1577
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1578
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1579
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1580
+ def switch_runtime(name, switch_runtime_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1581
+ command = make_simple_command(:post, 'v1/{+name}:switch', options)
1582
+ command.request_representation = Google::Apis::NotebooksV1::SwitchRuntimeRequest::Representation
1583
+ command.request_object = switch_runtime_request_object
1584
+ command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
1585
+ command.response_class = Google::Apis::NotebooksV1::Operation
1586
+ command.params['name'] = name unless name.nil?
1587
+ command.query['fields'] = fields unless fields.nil?
1588
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1589
+ execute_or_queue_command(command, &block)
1590
+ end
1591
+
1207
1592
  # Creates a new Scheduled Notebook in a given project and location.
1208
1593
  # @param [String] parent
1209
1594
  # Required. Format: `parent=projects/`project_id`/locations/`location``
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-notebooks_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.10.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: 2021-03-15 00:00:00.000000000 Z
11
+ date: 2021-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-notebooks_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.5.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.10.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-notebooks_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Notebooks API V1