google-apis-looker_v1 0.13.0 → 0.14.0

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: a70b109902f2d72b775dd004591313b8db19902aed024c52242aaae4594c0098
4
- data.tar.gz: e441cb99787b73e7ab56564a364d5a8f5bbbf57b98204bcf69ad9bc53916ab2a
3
+ metadata.gz: 54e4e8a556639fcfd0565e5492e681cdab9c08302d5ca607d7e9738b4d349c33
4
+ data.tar.gz: e05d098e6ecfa286b8effac73eb5667357ee95883da7ba1023db45bede9e8b27
5
5
  SHA512:
6
- metadata.gz: 7156f328ff3c87edc293e02d50825b88db4b86caf610fe4f5e8dc41fb279641b63987c5a83d1c44db607bc09000722d98a5bb25bc85bcfa1f7ea834d5f501d45
7
- data.tar.gz: d2143e9a6353d66304c3e31bfe729a1edbff823bf73af56a40da9006915710d7ab6844ce883021fb5915ddc83896b7f43655c40748457246092154457e81e1fc
6
+ metadata.gz: d7161c82c361897925ba97f72ac97a6343414c4976fb2cb87770622ec6cb2bcbaa6eff6f00498b7a359ff872ce116984968523de740a1aa232cc8980df601f20
7
+ data.tar.gz: 355a9add421857c10b89f6985d35b8d8ab36befb00fd9c7e99f8deb767d28c42bb1407f7a325536e9de4354c8fc78271cbdb18e2005a36c2fd41ccd312528150
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-looker_v1
2
2
 
3
+ ### v0.14.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250305
6
+
3
7
  ### v0.13.0 (2025-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20250205
@@ -576,84 +576,6 @@ module Google
576
576
  end
577
577
  end
578
578
 
579
- # The details of a backup resource.
580
- class InstanceBackup
581
- include Google::Apis::Core::Hashable
582
-
583
- # Output only. The time when the backup was started.
584
- # Corresponds to the JSON property `createTime`
585
- # @return [String]
586
- attr_accessor :create_time
587
-
588
- # Encryption configuration (i.e. CMEK).
589
- # Corresponds to the JSON property `encryptionConfig`
590
- # @return [Google::Apis::LookerV1::EncryptionConfig]
591
- attr_accessor :encryption_config
592
-
593
- # Output only. The time when the backup will be deleted.
594
- # Corresponds to the JSON property `expireTime`
595
- # @return [String]
596
- attr_accessor :expire_time
597
-
598
- # Immutable. The relative resource name of the backup, in the following form: `
599
- # projects/`project_number`/locations/`location_id`/instances/`instance_id`/
600
- # backups/`backup``
601
- # Corresponds to the JSON property `name`
602
- # @return [String]
603
- attr_accessor :name
604
-
605
- # Output only. The current state of the backup.
606
- # Corresponds to the JSON property `state`
607
- # @return [String]
608
- attr_accessor :state
609
-
610
- def initialize(**args)
611
- update!(**args)
612
- end
613
-
614
- # Update properties of this object
615
- def update!(**args)
616
- @create_time = args[:create_time] if args.key?(:create_time)
617
- @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
618
- @expire_time = args[:expire_time] if args.key?(:expire_time)
619
- @name = args[:name] if args.key?(:name)
620
- @state = args[:state] if args.key?(:state)
621
- end
622
- end
623
-
624
- # Response from listing Looker instance backups.
625
- class ListInstanceBackupsResponse
626
- include Google::Apis::Core::Hashable
627
-
628
- # The list of instances matching the request filters, up to the requested `
629
- # page_size`.
630
- # Corresponds to the JSON property `instanceBackups`
631
- # @return [Array<Google::Apis::LookerV1::InstanceBackup>]
632
- attr_accessor :instance_backups
633
-
634
- # If provided, a page token that can look up the next `page_size` results. If
635
- # empty, the results list is exhausted.
636
- # Corresponds to the JSON property `nextPageToken`
637
- # @return [String]
638
- attr_accessor :next_page_token
639
-
640
- # Locations that could not be reached.
641
- # Corresponds to the JSON property `unreachable`
642
- # @return [Array<String>]
643
- attr_accessor :unreachable
644
-
645
- def initialize(**args)
646
- update!(**args)
647
- end
648
-
649
- # Update properties of this object
650
- def update!(**args)
651
- @instance_backups = args[:instance_backups] if args.key?(:instance_backups)
652
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
653
- @unreachable = args[:unreachable] if args.key?(:unreachable)
654
- end
655
- end
656
-
657
579
  # Response from ListInstances.
658
580
  class ListInstancesResponse
659
581
  include Google::Apis::Core::Hashable
@@ -1028,26 +950,6 @@ module Google
1028
950
  end
1029
951
  end
1030
952
 
1031
- # Request options for restoring an instance
1032
- class RestoreInstanceRequest
1033
- include Google::Apis::Core::Hashable
1034
-
1035
- # Required. Backup being used to restore the instance Format: projects/`project`/
1036
- # locations/`location`/instances/`instance`/backups/`backup`
1037
- # Corresponds to the JSON property `backup`
1038
- # @return [String]
1039
- attr_accessor :backup
1040
-
1041
- def initialize(**args)
1042
- update!(**args)
1043
- end
1044
-
1045
- # Update properties of this object
1046
- def update!(**args)
1047
- @backup = args[:backup] if args.key?(:backup)
1048
- end
1049
- end
1050
-
1051
953
  # Service attachment configuration.
1052
954
  class ServiceAttachment
1053
955
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module LookerV1
18
18
  # Version of the google-apis-looker_v1 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250205"
25
+ REVISION = "20250305"
26
26
  end
27
27
  end
28
28
  end
@@ -100,18 +100,6 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class InstanceBackup
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
107
- end
108
-
109
- class ListInstanceBackupsResponse
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
103
  class ListInstancesResponse
116
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
105
 
@@ -178,12 +166,6 @@ module Google
178
166
  include Google::Apis::Core::JsonObjectSupport
179
167
  end
180
168
 
181
- class RestoreInstanceRequest
182
- class Representation < Google::Apis::Core::JsonRepresentation; end
183
-
184
- include Google::Apis::Core::JsonObjectSupport
185
- end
186
-
187
169
  class ServiceAttachment
188
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
171
 
@@ -356,28 +338,6 @@ module Google
356
338
  end
357
339
  end
358
340
 
359
- class InstanceBackup
360
- # @private
361
- class Representation < Google::Apis::Core::JsonRepresentation
362
- property :create_time, as: 'createTime'
363
- property :encryption_config, as: 'encryptionConfig', class: Google::Apis::LookerV1::EncryptionConfig, decorator: Google::Apis::LookerV1::EncryptionConfig::Representation
364
-
365
- property :expire_time, as: 'expireTime'
366
- property :name, as: 'name'
367
- property :state, as: 'state'
368
- end
369
- end
370
-
371
- class ListInstanceBackupsResponse
372
- # @private
373
- class Representation < Google::Apis::Core::JsonRepresentation
374
- collection :instance_backups, as: 'instanceBackups', class: Google::Apis::LookerV1::InstanceBackup, decorator: Google::Apis::LookerV1::InstanceBackup::Representation
375
-
376
- property :next_page_token, as: 'nextPageToken'
377
- collection :unreachable, as: 'unreachable'
378
- end
379
- end
380
-
381
341
  class ListInstancesResponse
382
342
  # @private
383
343
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -483,13 +443,6 @@ module Google
483
443
  end
484
444
  end
485
445
 
486
- class RestoreInstanceRequest
487
- # @private
488
- class Representation < Google::Apis::Core::JsonRepresentation
489
- property :backup, as: 'backup'
490
- end
491
- end
492
-
493
446
  class ServiceAttachment
494
447
  # @private
495
448
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -406,175 +406,6 @@ module Google
406
406
  execute_or_queue_command(command, &block)
407
407
  end
408
408
 
409
- # Restore Looker instance.
410
- # @param [String] name
411
- # Required. Instance being restored Format: projects/`project`/locations/`
412
- # location`/instances/`instance`
413
- # @param [Google::Apis::LookerV1::RestoreInstanceRequest] restore_instance_request_object
414
- # @param [String] fields
415
- # Selector specifying which fields to include in a partial response.
416
- # @param [String] quota_user
417
- # Available to use for quota purposes for server-side applications. Can be any
418
- # arbitrary string assigned to a user, but should not exceed 40 characters.
419
- # @param [Google::Apis::RequestOptions] options
420
- # Request-specific options
421
- #
422
- # @yield [result, err] Result & error if block supplied
423
- # @yieldparam result [Google::Apis::LookerV1::Operation] parsed result object
424
- # @yieldparam err [StandardError] error object if request failed
425
- #
426
- # @return [Google::Apis::LookerV1::Operation]
427
- #
428
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
429
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
430
- # @raise [Google::Apis::AuthorizationError] Authorization is required
431
- def restore_instance(name, restore_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
432
- command = make_simple_command(:post, 'v1/{+name}:restore', options)
433
- command.request_representation = Google::Apis::LookerV1::RestoreInstanceRequest::Representation
434
- command.request_object = restore_instance_request_object
435
- command.response_representation = Google::Apis::LookerV1::Operation::Representation
436
- command.response_class = Google::Apis::LookerV1::Operation
437
- command.params['name'] = name unless name.nil?
438
- command.query['fields'] = fields unless fields.nil?
439
- command.query['quotaUser'] = quota_user unless quota_user.nil?
440
- execute_or_queue_command(command, &block)
441
- end
442
-
443
- # Backup Looker instance.
444
- # @param [String] parent
445
- # Required. Format: projects/`project`/locations/`location`/instances/`instance`
446
- # @param [Google::Apis::LookerV1::InstanceBackup] instance_backup_object
447
- # @param [String] fields
448
- # Selector specifying which fields to include in a partial response.
449
- # @param [String] quota_user
450
- # Available to use for quota purposes for server-side applications. Can be any
451
- # arbitrary string assigned to a user, but should not exceed 40 characters.
452
- # @param [Google::Apis::RequestOptions] options
453
- # Request-specific options
454
- #
455
- # @yield [result, err] Result & error if block supplied
456
- # @yieldparam result [Google::Apis::LookerV1::Operation] parsed result object
457
- # @yieldparam err [StandardError] error object if request failed
458
- #
459
- # @return [Google::Apis::LookerV1::Operation]
460
- #
461
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
462
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
463
- # @raise [Google::Apis::AuthorizationError] Authorization is required
464
- def create_project_location_instance_backup(parent, instance_backup_object = nil, fields: nil, quota_user: nil, options: nil, &block)
465
- command = make_simple_command(:post, 'v1/{+parent}/backups', options)
466
- command.request_representation = Google::Apis::LookerV1::InstanceBackup::Representation
467
- command.request_object = instance_backup_object
468
- command.response_representation = Google::Apis::LookerV1::Operation::Representation
469
- command.response_class = Google::Apis::LookerV1::Operation
470
- command.params['parent'] = parent unless parent.nil?
471
- command.query['fields'] = fields unless fields.nil?
472
- command.query['quotaUser'] = quota_user unless quota_user.nil?
473
- execute_or_queue_command(command, &block)
474
- end
475
-
476
- # Delete backup.
477
- # @param [String] name
478
- # Required. Format: projects/`project`/locations/`location`/instances/`instance`/
479
- # backups/`backup`
480
- # @param [String] fields
481
- # Selector specifying which fields to include in a partial response.
482
- # @param [String] quota_user
483
- # Available to use for quota purposes for server-side applications. Can be any
484
- # arbitrary string assigned to a user, but should not exceed 40 characters.
485
- # @param [Google::Apis::RequestOptions] options
486
- # Request-specific options
487
- #
488
- # @yield [result, err] Result & error if block supplied
489
- # @yieldparam result [Google::Apis::LookerV1::Operation] parsed result object
490
- # @yieldparam err [StandardError] error object if request failed
491
- #
492
- # @return [Google::Apis::LookerV1::Operation]
493
- #
494
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
495
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
496
- # @raise [Google::Apis::AuthorizationError] Authorization is required
497
- def delete_project_location_instance_backup(name, fields: nil, quota_user: nil, options: nil, &block)
498
- command = make_simple_command(:delete, 'v1/{+name}', options)
499
- command.response_representation = Google::Apis::LookerV1::Operation::Representation
500
- command.response_class = Google::Apis::LookerV1::Operation
501
- command.params['name'] = name unless name.nil?
502
- command.query['fields'] = fields unless fields.nil?
503
- command.query['quotaUser'] = quota_user unless quota_user.nil?
504
- execute_or_queue_command(command, &block)
505
- end
506
-
507
- #
508
- # @param [String] name
509
- # Required. Format: `projects/`project`/locations/`location`/instances/`instance`
510
- # /backups/`backup``.
511
- # @param [String] fields
512
- # Selector specifying which fields to include in a partial response.
513
- # @param [String] quota_user
514
- # Available to use for quota purposes for server-side applications. Can be any
515
- # arbitrary string assigned to a user, but should not exceed 40 characters.
516
- # @param [Google::Apis::RequestOptions] options
517
- # Request-specific options
518
- #
519
- # @yield [result, err] Result & error if block supplied
520
- # @yieldparam result [Google::Apis::LookerV1::InstanceBackup] parsed result object
521
- # @yieldparam err [StandardError] error object if request failed
522
- #
523
- # @return [Google::Apis::LookerV1::InstanceBackup]
524
- #
525
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
526
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
527
- # @raise [Google::Apis::AuthorizationError] Authorization is required
528
- def get_project_location_instance_backup(name, fields: nil, quota_user: nil, options: nil, &block)
529
- command = make_simple_command(:get, 'v1/{+name}', options)
530
- command.response_representation = Google::Apis::LookerV1::InstanceBackup::Representation
531
- command.response_class = Google::Apis::LookerV1::InstanceBackup
532
- command.params['name'] = name unless name.nil?
533
- command.query['fields'] = fields unless fields.nil?
534
- command.query['quotaUser'] = quota_user unless quota_user.nil?
535
- execute_or_queue_command(command, &block)
536
- end
537
-
538
- # List backups of Looker instance.
539
- # @param [String] parent
540
- # Required. Format: projects/`project`/locations/`location`/instances/`instance`.
541
- # @param [String] order_by
542
- # Sort results. Default order is "create_time desc". Other supported fields are "
543
- # state" and "expire_time". https://google.aip.dev/132#ordering
544
- # @param [Fixnum] page_size
545
- # The maximum number of instances to return.
546
- # @param [String] page_token
547
- # A page token received from a previous ListInstances request.
548
- # @param [String] fields
549
- # Selector specifying which fields to include in a partial response.
550
- # @param [String] quota_user
551
- # Available to use for quota purposes for server-side applications. Can be any
552
- # arbitrary string assigned to a user, but should not exceed 40 characters.
553
- # @param [Google::Apis::RequestOptions] options
554
- # Request-specific options
555
- #
556
- # @yield [result, err] Result & error if block supplied
557
- # @yieldparam result [Google::Apis::LookerV1::ListInstanceBackupsResponse] parsed result object
558
- # @yieldparam err [StandardError] error object if request failed
559
- #
560
- # @return [Google::Apis::LookerV1::ListInstanceBackupsResponse]
561
- #
562
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
563
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
564
- # @raise [Google::Apis::AuthorizationError] Authorization is required
565
- def list_project_location_instance_backups(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
566
- command = make_simple_command(:get, 'v1/{+parent}/backups', options)
567
- command.response_representation = Google::Apis::LookerV1::ListInstanceBackupsResponse::Representation
568
- command.response_class = Google::Apis::LookerV1::ListInstanceBackupsResponse
569
- command.params['parent'] = parent unless parent.nil?
570
- command.query['orderBy'] = order_by unless order_by.nil?
571
- command.query['pageSize'] = page_size unless page_size.nil?
572
- command.query['pageToken'] = page_token unless page_token.nil?
573
- command.query['fields'] = fields unless fields.nil?
574
- command.query['quotaUser'] = quota_user unless quota_user.nil?
575
- execute_or_queue_command(command, &block)
576
- end
577
-
578
409
  # Starts asynchronous cancellation on a long-running operation. The server makes
579
410
  # a best effort to cancel the operation, but success is not guaranteed. If the
580
411
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-looker_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-looker_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-looker_v1/v0.13.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-looker_v1/v0.14.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-looker_v1
62
62
  rdoc_options: []
63
63
  require_paths: