google-apis-datacatalog_v1 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/datacatalog_v1/classes.rb +81 -57
- data/lib/google/apis/datacatalog_v1/gem_version.rb +2 -2
- data/lib/google/apis/datacatalog_v1/representations.rb +3 -0
- data/lib/google/apis/datacatalog_v1/service.rb +6 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fa57d3b7fc481283be0254db0cbf6acc0a9dd2e32955ad352183225d879b24d
|
4
|
+
data.tar.gz: 4d288c119f5be43f4e71fc75d36c1c86a9191621bf44eddbc8a29b1df24adfcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cfa6fb09dfac07da880e6dd1f3cc61feb5401f9546eddf131527cbb1c94ec0581aed85617de755d70c649e79e27c0f861431dd9a2161de7e5441380cb5322aa
|
7
|
+
data.tar.gz: ebeb3fc52115208f52b3fae82423d99ba4ff0695b4609e4c17881f7685ec698dab7ab7b13610c44c364f1e7d0417719e468cc7f38df9d3f2f84dde32e1fd4a61
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Datacatalog service in particular.)
|
67
67
|
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DatacatalogV1
|
24
24
|
|
25
|
-
# Associates `members
|
25
|
+
# Associates `members`, or principals, with a `role`.
|
26
26
|
class Binding
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
@@ -45,7 +45,7 @@ module Google
|
|
45
45
|
# @return [Google::Apis::DatacatalogV1::Expr]
|
46
46
|
attr_accessor :condition
|
47
47
|
|
48
|
-
# Specifies the
|
48
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
49
49
|
# members` can have the following values: * `allUsers`: A special identifier
|
50
50
|
# that represents anyone who is on the internet; with or without a Google
|
51
51
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -75,8 +75,8 @@ module Google
|
|
75
75
|
# @return [Array<String>]
|
76
76
|
attr_accessor :members
|
77
77
|
|
78
|
-
# Role that is assigned to `members
|
79
|
-
#
|
78
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
79
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
80
80
|
# Corresponds to the JSON property `role`
|
81
81
|
# @return [String]
|
82
82
|
attr_accessor :role
|
@@ -255,6 +255,11 @@ module Google
|
|
255
255
|
# @return [String]
|
256
256
|
attr_accessor :dataset
|
257
257
|
|
258
|
+
# Output only. BigQuery resource name of the latest shard.
|
259
|
+
# Corresponds to the JSON property `latestShardResource`
|
260
|
+
# @return [String]
|
261
|
+
attr_accessor :latest_shard_resource
|
262
|
+
|
258
263
|
# Output only. Total number of shards.
|
259
264
|
# Corresponds to the JSON property `shardCount`
|
260
265
|
# @return [Fixnum]
|
@@ -274,6 +279,7 @@ module Google
|
|
274
279
|
# Update properties of this object
|
275
280
|
def update!(**args)
|
276
281
|
@dataset = args[:dataset] if args.key?(:dataset)
|
282
|
+
@latest_shard_resource = args[:latest_shard_resource] if args.key?(:latest_shard_resource)
|
277
283
|
@shard_count = args[:shard_count] if args.key?(:shard_count)
|
278
284
|
@table_prefix = args[:table_prefix] if args.key?(:table_prefix)
|
279
285
|
end
|
@@ -1455,6 +1461,17 @@ module Google
|
|
1455
1461
|
class GoogleCloudDatacatalogV1SearchCatalogResult
|
1456
1462
|
include Google::Apis::Core::Hashable
|
1457
1463
|
|
1464
|
+
# Entry description that can consist of several sentences or paragraphs that
|
1465
|
+
# describe entry contents.
|
1466
|
+
# Corresponds to the JSON property `description`
|
1467
|
+
# @return [String]
|
1468
|
+
attr_accessor :description
|
1469
|
+
|
1470
|
+
# The display name of the result.
|
1471
|
+
# Corresponds to the JSON property `displayName`
|
1472
|
+
# @return [String]
|
1473
|
+
attr_accessor :display_name
|
1474
|
+
|
1458
1475
|
# Fully qualified name (FQN) of the resource. FQNs take two forms: * For non-
|
1459
1476
|
# regionalized resources: ``SYSTEM`:`PROJECT`.`
|
1460
1477
|
# PATH_TO_RESOURCE_SEPARATED_WITH_DOTS`` * For regionalized resources: ``SYSTEM`:
|
@@ -1515,6 +1532,8 @@ module Google
|
|
1515
1532
|
|
1516
1533
|
# Update properties of this object
|
1517
1534
|
def update!(**args)
|
1535
|
+
@description = args[:description] if args.key?(:description)
|
1536
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1518
1537
|
@fully_qualified_name = args[:fully_qualified_name] if args.key?(:fully_qualified_name)
|
1519
1538
|
@integrated_system = args[:integrated_system] if args.key?(:integrated_system)
|
1520
1539
|
@linked_resource = args[:linked_resource] if args.key?(:linked_resource)
|
@@ -2087,37 +2106,42 @@ module Google
|
|
2087
2106
|
|
2088
2107
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2089
2108
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2090
|
-
# A `binding` binds one or more `members
|
2091
|
-
# user accounts, service accounts, Google groups, and domains (
|
2092
|
-
# A `role` is a named list of permissions; each `role` can be
|
2093
|
-
# role or a user-created custom role. For some types of Google
|
2094
|
-
# a `binding` can also specify a `condition`, which is a
|
2095
|
-
# allows access to a resource only if the expression
|
2096
|
-
# condition can add constraints based on attributes of
|
2097
|
-
# or both. To learn which resources support
|
2098
|
-
# see the [IAM documentation](https://cloud.
|
2099
|
-
# resource-policies). **JSON example:** ` "
|
2100
|
-
# resourcemanager.organizationAdmin", "members": [
|
2101
|
-
# group:admins@example.com", "domain:google.com", "
|
2102
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
2103
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
2104
|
-
# title": "expirable access", "description": "Does not grant
|
2105
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2106
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2107
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
2108
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2109
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
2110
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
2111
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
2112
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2113
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
2114
|
-
# google.com/iam/docs/).
|
2109
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
2110
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
2111
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
2112
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
2113
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
2114
|
+
# logical expression that allows access to a resource only if the expression
|
2115
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
2116
|
+
# the request, the resource, or both. To learn which resources support
|
2117
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2118
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2119
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
2120
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
2121
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
2122
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
2123
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
2124
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2125
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2126
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
2127
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2128
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
2129
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
2130
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
2131
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2132
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
2133
|
+
# cloud.google.com/iam/docs/).
|
2115
2134
|
class Policy
|
2116
2135
|
include Google::Apis::Core::Hashable
|
2117
2136
|
|
2118
|
-
# Associates a list of `members
|
2119
|
-
# condition` that determines how and when the `bindings` are applied.
|
2120
|
-
# the `bindings` must contain at least one
|
2137
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
2138
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
2139
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
2140
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
2141
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
2142
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
2143
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
2144
|
+
# principals to the `bindings` in the `Policy`.
|
2121
2145
|
# Corresponds to the JSON property `bindings`
|
2122
2146
|
# @return [Array<Google::Apis::DatacatalogV1::Binding>]
|
2123
2147
|
attr_accessor :bindings
|
@@ -2175,31 +2199,31 @@ module Google
|
|
2175
2199
|
|
2176
2200
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2177
2201
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2178
|
-
# A `binding` binds one or more `members
|
2179
|
-
# user accounts, service accounts, Google groups, and domains (
|
2180
|
-
# A `role` is a named list of permissions; each `role` can be
|
2181
|
-
# role or a user-created custom role. For some types of Google
|
2182
|
-
# a `binding` can also specify a `condition`, which is a
|
2183
|
-
# allows access to a resource only if the expression
|
2184
|
-
# condition can add constraints based on attributes of
|
2185
|
-
# or both. To learn which resources support
|
2186
|
-
# see the [IAM documentation](https://cloud.
|
2187
|
-
# resource-policies). **JSON example:** ` "
|
2188
|
-
# resourcemanager.organizationAdmin", "members": [
|
2189
|
-
# group:admins@example.com", "domain:google.com", "
|
2190
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
2191
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
2192
|
-
# title": "expirable access", "description": "Does not grant
|
2193
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2194
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2195
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
2196
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2197
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
2198
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
2199
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
2200
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2201
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
2202
|
-
# google.com/iam/docs/).
|
2202
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
2203
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
2204
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
2205
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
2206
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
2207
|
+
# logical expression that allows access to a resource only if the expression
|
2208
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
2209
|
+
# the request, the resource, or both. To learn which resources support
|
2210
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2211
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2212
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
2213
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
2214
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
2215
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
2216
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
2217
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2218
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2219
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
2220
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2221
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
2222
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
2223
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
2224
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2225
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
2226
|
+
# cloud.google.com/iam/docs/).
|
2203
2227
|
# Corresponds to the JSON property `policy`
|
2204
2228
|
# @return [Google::Apis::DatacatalogV1::Policy]
|
2205
2229
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DatacatalogV1
|
18
18
|
# Version of the google-apis-datacatalog_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211014"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -431,6 +431,7 @@ module Google
|
|
431
431
|
# @private
|
432
432
|
class Representation < Google::Apis::Core::JsonRepresentation
|
433
433
|
property :dataset, as: 'dataset'
|
434
|
+
property :latest_shard_resource, as: 'latestShardResource'
|
434
435
|
property :shard_count, :numeric_string => true, as: 'shardCount'
|
435
436
|
property :table_prefix, as: 'tablePrefix'
|
436
437
|
end
|
@@ -774,6 +775,8 @@ module Google
|
|
774
775
|
class GoogleCloudDatacatalogV1SearchCatalogResult
|
775
776
|
# @private
|
776
777
|
class Representation < Google::Apis::Core::JsonRepresentation
|
778
|
+
property :description, as: 'description'
|
779
|
+
property :display_name, as: 'displayName'
|
777
780
|
property :fully_qualified_name, as: 'fullyQualifiedName'
|
778
781
|
property :integrated_system, as: 'integratedSystem'
|
779
782
|
property :linked_resource, as: 'linkedResource'
|
@@ -1225,9 +1225,12 @@ module Google
|
|
1225
1225
|
# @param [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate] google_cloud_datacatalog_v1_tag_template_object
|
1226
1226
|
# @param [String] update_mask
|
1227
1227
|
# Names of fields whose values to overwrite on a tag template. Currently, only `
|
1228
|
-
# display_name` can be overwritten. If this parameter
|
1229
|
-
# modifiable fields are overwritten. If such fields are
|
1230
|
-
# in the request body, their values are emptied.
|
1228
|
+
# display_name` and `is_publicly_readable` can be overwritten. If this parameter
|
1229
|
+
# is absent or empty, all modifiable fields are overwritten. If such fields are
|
1230
|
+
# non-required and omitted in the request body, their values are emptied. Note:
|
1231
|
+
# Updating the ``is_publicly_readable`` field may require up to 12 hours to take
|
1232
|
+
# effect in search results. Additionally, it also requires the ``tagTemplates.
|
1233
|
+
# getIamPolicy`` and ``tagTemplates.setIamPolicy`` permissions.
|
1231
1234
|
# @param [String] fields
|
1232
1235
|
# Selector specifying which fields to include in a partial response.
|
1233
1236
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-datacatalog_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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-10-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datacatalog_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1/v0.9.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datacatalog_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|