google-apis-metastore_v1 0.16.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c7caeb35f2dc1366b14c7057bfaa26e7228240dfd9c84d23016bd2385983788
4
- data.tar.gz: 9ea7275a7451079e1d0d38c83b4d1889c149ff2a22d68d3b10051813dc420127
3
+ metadata.gz: 1532b4bc1f23e3fac995b1720778cc75decc9fb45ba70b33636d226cec9c868a
4
+ data.tar.gz: d52a16411ed44b72aedc3b8ec71c8af57b237f3313ea43bbce01a26cfc039eb7
5
5
  SHA512:
6
- metadata.gz: d4f198a6c87dc49ed4459fb6a9bdcb2413a30c2cd22f0e2ca4c96f974d4571b2f89ef2b8d5d6b9213fd9e668013972e5045a336add71172c0a1df3aa75e9a935
7
- data.tar.gz: f0fc1ce55fa2deca4c6e0ef327a784199ef6fb65ad322b888be85e63579aa3aebff4489b3bd56e5c7344cb7f4325762c53ae217a68e6369186dc9a4adeeee645
6
+ metadata.gz: 24946c453937d9d8a72734a2b6313395d3675452f6deff501307d93d9eb6d48061a55d59b50fe68f9ef40910523e595edbe0e3173d9ac08f813814d3f1182b1c
7
+ data.tar.gz: ae6a7438c4b13d68cfa57dca96ed7a7226e680c464f5ec5fe1d9c01c731cd6cdcb7c4d834dba82e1a5cc034d45c5301309c02e9b985eea8e4e824a9ea521cb95
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-metastore_v1
2
2
 
3
+ ### v0.18.0 (2023-12-24)
4
+
5
+ * Regenerated from discovery document revision 20231214
6
+
7
+ ### v0.17.0 (2023-12-10)
8
+
9
+ * Regenerated from discovery document revision 20231205
10
+
3
11
  ### v0.16.0 (2023-11-12)
4
12
 
5
13
  * 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
@@ -292,21 +332,43 @@ module Google
292
332
  # For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:`
293
333
  # emailid`: An email address that represents a Google group. For example, admins@
294
334
  # example.com. domain:`domain`: The G Suite domain (primary) that represents all
295
- # the users of that domain. For example, google.com or example.com. deleted:user:
296
- # `emailid`?uid=`uniqueid`: An email address (plus unique identifier)
297
- # representing a user that has been recently deleted. For example, alice@example.
298
- # com?uid=123456789012345678901. If the user is recovered, this value reverts to
299
- # user:`emailid` and the recovered user retains the role in the binding. deleted:
300
- # serviceAccount:`emailid`?uid=`uniqueid`: An email address (plus unique
301
- # identifier) representing a service account that has been recently deleted. For
302
- # example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901.
303
- # If the service account is undeleted, this value reverts to serviceAccount:`
304
- # emailid` and the undeleted service account retains the role in the binding.
305
- # deleted:group:`emailid`?uid=`uniqueid`: An email address (plus unique
306
- # identifier) representing a Google group that has been recently deleted. For
307
- # example, admins@example.com?uid=123456789012345678901. If the group is
335
+ # the users of that domain. For example, google.com or example.com. principal://
336
+ # iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
337
+ # subject_attribute_value`: A single identity in a workforce identity pool.
338
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
339
+ # group/`group_id`: All workforce identities in a group. principalSet://iam.
340
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
341
+ # attribute_name`/`attribute_value`: All workforce identities with a specific
342
+ # attribute value. principalSet://iam.googleapis.com/locations/global/
343
+ # workforcePools/`pool_id`/*: All identities in a workforce identity pool.
344
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
345
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value`: A single
346
+ # identity in a workload identity pool. principalSet://iam.googleapis.com/
347
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
348
+ # group/`group_id`: A workload identity pool group. principalSet://iam.
349
+ # googleapis.com/projects/`project_number`/locations/global/
350
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value`:
351
+ # All identities in a workload identity pool with a certain attribute.
352
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
353
+ # workloadIdentityPools/`pool_id`/*: All identities in a workload identity pool.
354
+ # deleted:user:`emailid`?uid=`uniqueid`: An email address (plus unique
355
+ # identifier) representing a user that has been recently deleted. For example,
356
+ # alice@example.com?uid=123456789012345678901. If the user is recovered, this
357
+ # value reverts to user:`emailid` and the recovered user retains the role in the
358
+ # binding. deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email address (
359
+ # plus unique identifier) representing a service account that has been recently
360
+ # deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
361
+ # 123456789012345678901. If the service account is undeleted, this value reverts
362
+ # to serviceAccount:`emailid` and the undeleted service account retains the role
363
+ # in the binding. deleted:group:`emailid`?uid=`uniqueid`: An email address (plus
364
+ # unique identifier) representing a Google group that has been recently deleted.
365
+ # For example, admins@example.com?uid=123456789012345678901. If the group is
308
366
  # recovered, this value reverts to group:`emailid` and the recovered group
309
- # retains the role in the binding.
367
+ # retains the role in the binding. deleted:principal://iam.googleapis.com/
368
+ # locations/global/workforcePools/`pool_id`/subject/`subject_attribute_value`:
369
+ # Deleted single identity in a workforce identity pool. For example, deleted:
370
+ # principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/
371
+ # subject/my-subject-attribute-value.
310
372
  # Corresponds to the JSON property `members`
311
373
  # @return [Array<String>]
312
374
  attr_accessor :members
@@ -1569,12 +1631,6 @@ module Google
1569
1631
  # @return [String]
1570
1632
  attr_accessor :backup
1571
1633
 
1572
- # Optional. A Cloud Storage URI specifying where the backup artifacts are stored,
1573
- # in the format gs:///.
1574
- # Corresponds to the JSON property `backupLocation`
1575
- # @return [String]
1576
- attr_accessor :backup_location
1577
-
1578
1634
  # Output only. The restore details containing the revision of the service to be
1579
1635
  # restored to, in format of JSON.
1580
1636
  # Corresponds to the JSON property `details`
@@ -1608,7 +1664,6 @@ module Google
1608
1664
  # Update properties of this object
1609
1665
  def update!(**args)
1610
1666
  @backup = args[:backup] if args.key?(:backup)
1611
- @backup_location = args[:backup_location] if args.key?(:backup_location)
1612
1667
  @details = args[:details] if args.key?(:details)
1613
1668
  @end_time = args[:end_time] if args.key?(:end_time)
1614
1669
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1
18
18
  # Version of the google-apis-metastore_v1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.18.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 = "20231214"
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
 
@@ -354,6 +360,15 @@ module Google
354
360
  end
355
361
  end
356
362
 
363
+ class AlterTablePropertiesRequest
364
+ # @private
365
+ class Representation < Google::Apis::Core::JsonRepresentation
366
+ hash :properties, as: 'properties'
367
+ property :table_name, as: 'tableName'
368
+ property :update_mask, as: 'updateMask'
369
+ end
370
+ end
371
+
357
372
  class AuditConfig
358
373
  # @private
359
374
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -747,7 +762,6 @@ module Google
747
762
  # @private
748
763
  class Representation < Google::Apis::Core::JsonRepresentation
749
764
  property :backup, as: 'backup'
750
- property :backup_location, as: 'backupLocation'
751
765
  property :details, as: 'details'
752
766
  property :end_time, as: 'endTime'
753
767
  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::MetastoreV1::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::MetastoreV1::Operation] parsed result object
672
+ # @yieldparam err [StandardError] error object if request failed
673
+ #
674
+ # @return [Google::Apis::MetastoreV1::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, 'v1/{+service}:alterTableProperties', options)
681
+ command.request_representation = Google::Apis::MetastoreV1::AlterTablePropertiesRequest::Representation
682
+ command.request_object = alter_table_properties_request_object
683
+ command.response_representation = Google::Apis::MetastoreV1::Operation::Representation
684
+ command.response_class = Google::Apis::MetastoreV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.18.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-24 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1
63
63
  post_install_message:
64
64
  rdoc_options: []