google-apis-metastore_v1alpha 0.52.0 → 0.53.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: fe6e9f64ceed67a626af69cfbed56da2ba226d9d88674cb7325943c5d0eafec5
4
- data.tar.gz: c148e3cfa8487806171e343fb8387e368e85f85ea54736ff0b64bb923c76f302
3
+ metadata.gz: ef6da428c7d727020bd4882652b410b55b978f872feec962d99f6898fd97f489
4
+ data.tar.gz: 26382180e894e638710f265e5c078623fc3013c7a0484df8c3d23948f79bc322
5
5
  SHA512:
6
- metadata.gz: 1ce1a736fb591dbd77a55fd3ec0c321e50e40387c98797c45c86f05f57ceb90322b32d3b068a13e881a63ab19372037bd410fa35a2b97bf5d8fef60019f6dce8
7
- data.tar.gz: 6ad490c77c54b84770c95b27760f8c21cceb63dd42aac691e24a4d331900a95c500d3e5edd81445f7c65b1366fbe06422571ed54680be026475fddc93cacdfef
6
+ metadata.gz: bed5d2048c792d68ca3d7ed46d8d23084c6a2db41d976824fa6797971d17b27d016c8a6faa2c80c39bca94e861d403ca45c2129ba9786bc1e4330d4ff5893ba1
7
+ data.tar.gz: d38a26ffb876f45b52d67f56e9f162d3c1f3726412967644a1e79ba42a5a1532d2ff3f18ee989221cba27c5aff96bef1f962ce0099ac26598a1a70696ed3fb7d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-metastore_v1alpha
2
2
 
3
+ ### v0.53.0 (2023-12-10)
4
+
5
+ * Regenerated from discovery document revision 20231205
6
+
3
7
  ### v0.52.0 (2023-11-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20231102
@@ -62,6 +62,46 @@ module Google
62
62
  end
63
63
  end
64
64
 
65
+ # Request message for DataprocMetastore.AlterTableProperties.
66
+ class AlterTablePropertiesRequest
67
+ include Google::Apis::Core::Hashable
68
+
69
+ # A map that describes the desired values to mutate. If update_mask is empty,
70
+ # the properties will not update. Otherwise, the properties only alters the
71
+ # value whose associated paths exist in the update mask
72
+ # Corresponds to the JSON property `properties`
73
+ # @return [Hash<String,String>]
74
+ attr_accessor :properties
75
+
76
+ # Required. The name of the table containing the properties you're altering in
77
+ # the following format.databases/`database_id`/tables/`table_id`
78
+ # Corresponds to the JSON property `tableName`
79
+ # @return [String]
80
+ attr_accessor :table_name
81
+
82
+ # A field mask that specifies the metadata table properties that are overwritten
83
+ # by the update. Fields specified in the update_mask are relative to the
84
+ # resource (not to the full request). A field is overwritten if it is in the
85
+ # mask.For example, given the target properties: properties ` a: 1 b: 2 ` And an
86
+ # update properties: properties ` a: 2 b: 3 c: 4 ` then if the field mask is:
87
+ # paths: "properties.b", "properties.c"then the result will be: properties ` a:
88
+ # 1 b: 3 c: 4 `
89
+ # Corresponds to the JSON property `updateMask`
90
+ # @return [String]
91
+ attr_accessor :update_mask
92
+
93
+ def initialize(**args)
94
+ update!(**args)
95
+ end
96
+
97
+ # Update properties of this object
98
+ def update!(**args)
99
+ @properties = args[:properties] if args.key?(:properties)
100
+ @table_name = args[:table_name] if args.key?(:table_name)
101
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
102
+ end
103
+ end
104
+
65
105
  # Specifies the audit configuration for a service. The configuration determines
66
106
  # which permission types are logged, and what identities, if any, are exempted
67
107
  # from logging. An AuditConfig must have one or more AuditLogConfigs.If there
@@ -1667,12 +1707,6 @@ module Google
1667
1707
  # @return [String]
1668
1708
  attr_accessor :backup
1669
1709
 
1670
- # Optional. A Cloud Storage URI specifying where the backup artifacts are stored,
1671
- # in the format gs:///.
1672
- # Corresponds to the JSON property `backupLocation`
1673
- # @return [String]
1674
- attr_accessor :backup_location
1675
-
1676
1710
  # Output only. The restore details containing the revision of the service to be
1677
1711
  # restored to, in format of JSON.
1678
1712
  # Corresponds to the JSON property `details`
@@ -1706,7 +1740,6 @@ module Google
1706
1740
  # Update properties of this object
1707
1741
  def update!(**args)
1708
1742
  @backup = args[:backup] if args.key?(:backup)
1709
- @backup_location = args[:backup_location] if args.key?(:backup_location)
1710
1743
  @details = args[:details] if args.key?(:details)
1711
1744
  @end_time = args[:end_time] if args.key?(:end_time)
1712
1745
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1alpha
18
18
  # Version of the google-apis-metastore_v1alpha gem
19
- GEM_VERSION = "0.52.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231102"
25
+ REVISION = "20231205"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class AlterTablePropertiesRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class AuditConfig
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -378,6 +384,15 @@ module Google
378
384
  end
379
385
  end
380
386
 
387
+ class AlterTablePropertiesRequest
388
+ # @private
389
+ class Representation < Google::Apis::Core::JsonRepresentation
390
+ hash :properties, as: 'properties'
391
+ property :table_name, as: 'tableName'
392
+ property :update_mask, as: 'updateMask'
393
+ end
394
+ end
395
+
381
396
  class AuditConfig
382
397
  # @private
383
398
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -803,7 +818,6 @@ module Google
803
818
  # @private
804
819
  class Representation < Google::Apis::Core::JsonRepresentation
805
820
  property :backup, as: 'backup'
806
- property :backup_location, as: 'backupLocation'
807
821
  property :details, as: 'details'
808
822
  property :end_time, as: 'endTime'
809
823
  property :start_time, as: 'startTime'
@@ -653,6 +653,41 @@ module Google
653
653
  execute_or_queue_command(command, &block)
654
654
  end
655
655
 
656
+ # Alter metadata table properties.
657
+ # @param [String] service
658
+ # Required. The relative resource name of the Dataproc Metastore service that's
659
+ # being used to mutate metadata table properties, in the following format:
660
+ # projects/`project_id`/locations/`location_id`/services/`service_id`.
661
+ # @param [Google::Apis::MetastoreV1alpha::AlterTablePropertiesRequest] alter_table_properties_request_object
662
+ # @param [String] fields
663
+ # Selector specifying which fields to include in a partial response.
664
+ # @param [String] quota_user
665
+ # Available to use for quota purposes for server-side applications. Can be any
666
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
667
+ # @param [Google::Apis::RequestOptions] options
668
+ # Request-specific options
669
+ #
670
+ # @yield [result, err] Result & error if block supplied
671
+ # @yieldparam result [Google::Apis::MetastoreV1alpha::Operation] parsed result object
672
+ # @yieldparam err [StandardError] error object if request failed
673
+ #
674
+ # @return [Google::Apis::MetastoreV1alpha::Operation]
675
+ #
676
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
677
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
678
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
679
+ def alter_service_table_properties(service, alter_table_properties_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
680
+ command = make_simple_command(:post, 'v1alpha/{+service}:alterTableProperties', options)
681
+ command.request_representation = Google::Apis::MetastoreV1alpha::AlterTablePropertiesRequest::Representation
682
+ command.request_object = alter_table_properties_request_object
683
+ command.response_representation = Google::Apis::MetastoreV1alpha::Operation::Representation
684
+ command.response_class = Google::Apis::MetastoreV1alpha::Operation
685
+ command.params['service'] = service unless service.nil?
686
+ command.query['fields'] = fields unless fields.nil?
687
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
688
+ execute_or_queue_command(command, &block)
689
+ end
690
+
656
691
  # Creates a metastore service in a project and location.
657
692
  # @param [String] parent
658
693
  # Required. The relative resource name of the location in which to create a
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.53.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: 2023-11-12 00:00:00.000000000 Z
11
+ date: 2023-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.53.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []