google-cloud-data_catalog-v1 0.9.1 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -6
  3. data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +394 -5
  4. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +8 -2
  5. data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
  6. data/lib/google/cloud/data_catalog/v1.rb +2 -0
  7. data/lib/google/cloud/datacatalog/v1/bigquery_pb.rb +2 -1
  8. data/lib/google/cloud/datacatalog/v1/common_pb.rb +8 -1
  9. data/lib/google/cloud/datacatalog/v1/data_source_pb.rb +11 -1
  10. data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +56 -2
  11. data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +20 -0
  12. data/lib/google/cloud/datacatalog/v1/dataplex_spec_pb.rb +45 -0
  13. data/lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb +2 -1
  14. data/lib/google/cloud/datacatalog/v1/physical_schema_pb.rb +50 -0
  15. data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +2 -1
  16. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +3 -3
  17. data/lib/google/cloud/datacatalog/v1/schema_pb.rb +2 -1
  18. data/lib/google/cloud/datacatalog/v1/search_pb.rb +2 -1
  19. data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +2 -1
  20. data/lib/google/cloud/datacatalog/v1/tags_pb.rb +2 -1
  21. data/lib/google/cloud/datacatalog/v1/timestamps_pb.rb +2 -1
  22. data/lib/google/cloud/datacatalog/v1/usage_pb.rb +2 -1
  23. data/proto_docs/google/cloud/datacatalog/v1/common.rb +15 -0
  24. data/proto_docs/google/cloud/datacatalog/v1/data_source.rb +37 -0
  25. data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +151 -12
  26. data/proto_docs/google/cloud/datacatalog/v1/dataplex_spec.rb +99 -0
  27. data/proto_docs/google/cloud/datacatalog/v1/physical_schema.rb +96 -0
  28. data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +2 -0
  29. data/proto_docs/google/cloud/datacatalog/v1/tags.rb +5 -26
  30. data/proto_docs/google/iam/v1/iam_policy.rb +8 -1
  31. data/proto_docs/google/iam/v1/options.rb +14 -4
  32. data/proto_docs/google/iam/v1/policy.rb +208 -38
  33. metadata +20 -22
@@ -69,6 +69,7 @@ module Google
69
69
  #
70
70
  # * `relevance` that can only be descending
71
71
  # * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
72
+ # * `default` that can only be descending
72
73
  #
73
74
  # If this parameter is omitted, it defaults to the descending `relevance`.
74
75
  class SearchCatalogRequest
@@ -108,17 +109,15 @@ module Google
108
109
  # `SearchCatalogResponse.unreachable` field. To get additional information
109
110
  # on the error, repeat the search request and set the location name as the
110
111
  # value of this parameter.
111
- # @!attribute [rw] include_public_tag_templates
112
+ # @!attribute [rw] starred_only
112
113
  # @return [::Boolean]
113
- # Optional. If `true`, include [public tag
114
- # templates][google.cloud.datacatalog.v1.TagTemplate.is_publicly_readable]
115
- # in the search results. By default, they are included only if you have
116
- # explicit permissions on them to view them. For example, if you are the
117
- # owner.
114
+ # Optional. If `true`, search only among starred entries.
118
115
  #
119
- # Other scope fields, for example, `include_org_ids`,
120
- # still restrict the returned public tag templates and at least one of
121
- # them is required.
116
+ # By default, all results are returned, starred or not.
117
+ # @!attribute [rw] include_public_tag_templates
118
+ # @return [::Boolean]
119
+ # Optional. This field is deprecated. The search mechanism for public and private tag
120
+ # templates is the same.
122
121
  class Scope
123
122
  include ::Google::Protobuf::MessageExts
124
123
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -503,6 +502,10 @@ module Google
503
502
  # @return [::Google::Cloud::DataCatalog::V1::RoutineSpec]
504
503
  # Specification that applies to a user-defined function or procedure. Valid
505
504
  # only for entries with the `ROUTINE` type.
505
+ # @!attribute [rw] fileset_spec
506
+ # @return [::Google::Cloud::DataCatalog::V1::FilesetSpec]
507
+ # Specification that applies to a fileset resource. Valid only
508
+ # for entries with the `FILESET` type.
506
509
  # @!attribute [rw] display_name
507
510
  # @return [::String]
508
511
  # Display name of an entry.
@@ -521,6 +524,9 @@ module Google
521
524
  # (CR), and page breaks (FF).
522
525
  # The maximum size is 2000 bytes when encoded in UTF-8.
523
526
  # Default value is an empty string.
527
+ # @!attribute [rw] business_context
528
+ # @return [::Google::Cloud::DataCatalog::V1::BusinessContext]
529
+ # Business Context of the entry. Not supported for BigQuery datasets
524
530
  # @!attribute [rw] schema
525
531
  # @return [::Google::Cloud::DataCatalog::V1::Schema]
526
532
  # Schema of the entry. An entry might not have any schema attached to it.
@@ -545,6 +551,9 @@ module Google
545
551
  # @!attribute [r] data_source
546
552
  # @return [::Google::Cloud::DataCatalog::V1::DataSource]
547
553
  # Output only. Physical location of the entry.
554
+ # @!attribute [r] personal_details
555
+ # @return [::Google::Cloud::DataCatalog::V1::PersonalDetails]
556
+ # Output only. Additional information related to the entry. Private to the current user.
548
557
  class Entry
549
558
  include ::Google::Protobuf::MessageExts
550
559
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -564,6 +573,10 @@ module Google
564
573
  # @!attribute [rw] type
565
574
  # @return [::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::TableType]
566
575
  # Type of this table.
576
+ # @!attribute [rw] dataplex_table
577
+ # @return [::Google::Cloud::DataCatalog::V1::DataplexTableSpec]
578
+ # Fields specific to a Dataplex table and present only in the Dataplex table
579
+ # entries.
567
580
  class DatabaseTableSpec
568
581
  include ::Google::Protobuf::MessageExts
569
582
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -581,6 +594,17 @@ module Google
581
594
  end
582
595
  end
583
596
 
597
+ # Specification that applies to a fileset. Valid only for entries with the
598
+ # 'FILESET' type.
599
+ # @!attribute [rw] dataplex_fileset
600
+ # @return [::Google::Cloud::DataCatalog::V1::DataplexFilesetSpec]
601
+ # Fields specific to a Dataplex fileset and present only in the Dataplex
602
+ # fileset entries.
603
+ class FilesetSpec
604
+ include ::Google::Protobuf::MessageExts
605
+ extend ::Google::Protobuf::MessageExts::ClassMethods
606
+ end
607
+
584
608
  # Specification that applies to a data source connection. Valid only for
585
609
  # entries with the `DATA_SOURCE_CONNECTION` type.
586
610
  # @!attribute [rw] bigquery_connection_spec
@@ -665,6 +689,55 @@ module Google
665
689
  end
666
690
  end
667
691
 
692
+ # Business Context of the entry.
693
+ # @!attribute [rw] entry_overview
694
+ # @return [::Google::Cloud::DataCatalog::V1::EntryOverview]
695
+ # Entry overview fields for rich text descriptions of entries.
696
+ # @!attribute [rw] contacts
697
+ # @return [::Google::Cloud::DataCatalog::V1::Contacts]
698
+ # Contact people for the entry.
699
+ class BusinessContext
700
+ include ::Google::Protobuf::MessageExts
701
+ extend ::Google::Protobuf::MessageExts::ClassMethods
702
+ end
703
+
704
+ # Entry overview fields for rich text descriptions of entries.
705
+ # @!attribute [rw] overview
706
+ # @return [::String]
707
+ # Entry overview with support for rich text.
708
+ #
709
+ # The overview must only contain Unicode characters, and should be
710
+ # formatted using HTML.
711
+ # The maximum length is 10 MiB as this value holds HTML descriptions
712
+ # including encoded images. The maximum length of the text without images
713
+ # is 100 KiB.
714
+ class EntryOverview
715
+ include ::Google::Protobuf::MessageExts
716
+ extend ::Google::Protobuf::MessageExts::ClassMethods
717
+ end
718
+
719
+ # Contact people for the entry.
720
+ # @!attribute [rw] people
721
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::Contacts::Person>]
722
+ # The list of contact people for the entry.
723
+ class Contacts
724
+ include ::Google::Protobuf::MessageExts
725
+ extend ::Google::Protobuf::MessageExts::ClassMethods
726
+
727
+ # A contact person for the entry.
728
+ # @!attribute [rw] designation
729
+ # @return [::String]
730
+ # Designation of the person, for example, Data Steward.
731
+ # @!attribute [rw] email
732
+ # @return [::String]
733
+ # Email of the person in the format of `john.doe@xyz`,
734
+ # `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
735
+ class Person
736
+ include ::Google::Protobuf::MessageExts
737
+ extend ::Google::Protobuf::MessageExts::ClassMethods
738
+ end
739
+ end
740
+
668
741
  # Entry group metadata.
669
742
  #
670
743
  # An `EntryGroup` resource represents a logical grouping of zero or more
@@ -738,9 +811,7 @@ module Google
738
811
  # request body, their values are emptied.
739
812
  #
740
813
  # Note: Updating the `is_publicly_readable` field may require up to 12
741
- # hours to take effect in search results. Additionally, it also requires
742
- # the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
743
- # permissions.
814
+ # hours to take effect in search results.
744
815
  class UpdateTagTemplateRequest
745
816
  include ::Google::Protobuf::MessageExts
746
817
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -980,6 +1051,68 @@ module Google
980
1051
  extend ::Google::Protobuf::MessageExts::ClassMethods
981
1052
  end
982
1053
 
1054
+ # Request message for
1055
+ # {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#star_entry StarEntry}.
1056
+ # @!attribute [rw] name
1057
+ # @return [::String]
1058
+ # Required. The name of the entry to mark as starred.
1059
+ class StarEntryRequest
1060
+ include ::Google::Protobuf::MessageExts
1061
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1062
+ end
1063
+
1064
+ # Response message for
1065
+ # {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#star_entry StarEntry}.
1066
+ # Empty for now
1067
+ class StarEntryResponse
1068
+ include ::Google::Protobuf::MessageExts
1069
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1070
+ end
1071
+
1072
+ # Request message for
1073
+ # {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#unstar_entry UnstarEntry}.
1074
+ # @!attribute [rw] name
1075
+ # @return [::String]
1076
+ # Required. The name of the entry to mark as **not** starred.
1077
+ class UnstarEntryRequest
1078
+ include ::Google::Protobuf::MessageExts
1079
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1080
+ end
1081
+
1082
+ # Response message for
1083
+ # {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#unstar_entry UnstarEntry}.
1084
+ # Empty for now
1085
+ class UnstarEntryResponse
1086
+ include ::Google::Protobuf::MessageExts
1087
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1088
+ end
1089
+
1090
+ # Request message for
1091
+ # {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#modify_entry_overview ModifyEntryOverview}.
1092
+ # @!attribute [rw] name
1093
+ # @return [::String]
1094
+ # Required. The full resource name of the entry.
1095
+ # @!attribute [rw] entry_overview
1096
+ # @return [::Google::Cloud::DataCatalog::V1::EntryOverview]
1097
+ # Required. The new value for the Entry Overview.
1098
+ class ModifyEntryOverviewRequest
1099
+ include ::Google::Protobuf::MessageExts
1100
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1101
+ end
1102
+
1103
+ # Request message for
1104
+ # {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#modify_entry_contacts ModifyEntryContacts}.
1105
+ # @!attribute [rw] name
1106
+ # @return [::String]
1107
+ # Required. The full resource name of the entry.
1108
+ # @!attribute [rw] contacts
1109
+ # @return [::Google::Cloud::DataCatalog::V1::Contacts]
1110
+ # Required. The new value for the Contacts.
1111
+ class ModifyEntryContactsRequest
1112
+ include ::Google::Protobuf::MessageExts
1113
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1114
+ end
1115
+
983
1116
  # The enum field that lists all the types of entry resources in Data
984
1117
  # Catalog. For example, a BigQuery table entry has the `TABLE` type.
985
1118
  module EntryType
@@ -1016,6 +1149,12 @@ module Google
1016
1149
  # Output only. Routine, for example, a BigQuery routine.
1017
1150
  ROUTINE = 9
1018
1151
 
1152
+ # A Dataplex lake.
1153
+ LAKE = 10
1154
+
1155
+ # A Dataplex zone.
1156
+ ZONE = 11
1157
+
1019
1158
  # A service, for example, a Dataproc Metastore service.
1020
1159
  SERVICE = 14
1021
1160
  end
@@ -0,0 +1,99 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module DataCatalog
23
+ module V1
24
+ # Common Dataplex fields.
25
+ # @!attribute [rw] asset
26
+ # @return [::String]
27
+ # Fully qualified resource name of an asset in Dataplex, to which the
28
+ # underlying data source (Cloud Storage bucket or BigQuery dataset) of the
29
+ # entity is attached.
30
+ # @!attribute [rw] data_format
31
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema]
32
+ # Format of the data.
33
+ # @!attribute [rw] compression_format
34
+ # @return [::String]
35
+ # Compression format of the data, e.g., zip, gzip etc.
36
+ # @!attribute [rw] project_id
37
+ # @return [::String]
38
+ # Project ID of the underlying Cloud Storage or BigQuery data. Note that
39
+ # this may not be the same project as the correspondingly Dataplex lake /
40
+ # zone / asset.
41
+ class DataplexSpec
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+
46
+ # Entry specyfication for a Dataplex fileset.
47
+ # @!attribute [rw] dataplex_spec
48
+ # @return [::Google::Cloud::DataCatalog::V1::DataplexSpec]
49
+ # Common Dataplex fields.
50
+ class DataplexFilesetSpec
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
+ end
54
+
55
+ # Entry specification for a Dataplex table.
56
+ # @!attribute [rw] external_tables
57
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::DataplexExternalTable>]
58
+ # List of external tables registered by Dataplex in other systems based on
59
+ # the same underlying data.
60
+ #
61
+ # External tables allow to query this data in those systems.
62
+ # @!attribute [rw] dataplex_spec
63
+ # @return [::Google::Cloud::DataCatalog::V1::DataplexSpec]
64
+ # Common Dataplex fields.
65
+ # @!attribute [rw] user_managed
66
+ # @return [::Boolean]
67
+ # Indicates if the table schema is managed by the user or not.
68
+ class DataplexTableSpec
69
+ include ::Google::Protobuf::MessageExts
70
+ extend ::Google::Protobuf::MessageExts::ClassMethods
71
+ end
72
+
73
+ # External table registered by Dataplex.
74
+ # Dataplex publishes data discovered from an asset into multiple other systems
75
+ # (BigQuery, DPMS) in form of tables. We call them "external tables". External
76
+ # tables are also synced into the Data Catalog.
77
+ # This message contains pointers to
78
+ # those external tables (fully qualified name, resource name et cetera) within
79
+ # the Data Catalog.
80
+ # @!attribute [rw] system
81
+ # @return [::Google::Cloud::DataCatalog::V1::IntegratedSystem]
82
+ # Service in which the external table is registered.
83
+ # @!attribute [rw] fully_qualified_name
84
+ # @return [::String]
85
+ # Fully qualified name (FQN) of the external table.
86
+ # @!attribute [rw] google_cloud_resource
87
+ # @return [::String]
88
+ # Google Cloud resource name of the external table.
89
+ # @!attribute [rw] data_catalog_entry
90
+ # @return [::String]
91
+ # Name of the Data Catalog entry representing the external table.
92
+ class DataplexExternalTable
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+ end
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,96 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module DataCatalog
23
+ module V1
24
+ # Native schema used by a resource represented as an entry. Used by query
25
+ # engines for deserializing and parsing source data.
26
+ # @!attribute [rw] avro
27
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::AvroSchema]
28
+ # Schema in Avro JSON format.
29
+ # @!attribute [rw] thrift
30
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::ThriftSchema]
31
+ # Schema in Thrift format.
32
+ # @!attribute [rw] protobuf
33
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::ProtobufSchema]
34
+ # Schema in protocol buffer format.
35
+ # @!attribute [rw] parquet
36
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::ParquetSchema]
37
+ # Marks a Parquet-encoded data source.
38
+ # @!attribute [rw] orc
39
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::OrcSchema]
40
+ # Marks an ORC-encoded data source.
41
+ # @!attribute [rw] csv
42
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::CsvSchema]
43
+ # Marks a CSV-encoded data source.
44
+ class PhysicalSchema
45
+ include ::Google::Protobuf::MessageExts
46
+ extend ::Google::Protobuf::MessageExts::ClassMethods
47
+
48
+ # Schema in Avro JSON format.
49
+ # @!attribute [rw] text
50
+ # @return [::String]
51
+ # JSON source of the Avro schema.
52
+ class AvroSchema
53
+ include ::Google::Protobuf::MessageExts
54
+ extend ::Google::Protobuf::MessageExts::ClassMethods
55
+ end
56
+
57
+ # Schema in Thrift format.
58
+ # @!attribute [rw] text
59
+ # @return [::String]
60
+ # Thrift IDL source of the schema.
61
+ class ThriftSchema
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+ end
65
+
66
+ # Schema in protocol buffer format.
67
+ # @!attribute [rw] text
68
+ # @return [::String]
69
+ # Protocol buffer source of the schema.
70
+ class ProtobufSchema
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+
75
+ # Marks a Parquet-encoded data source.
76
+ class ParquetSchema
77
+ include ::Google::Protobuf::MessageExts
78
+ extend ::Google::Protobuf::MessageExts::ClassMethods
79
+ end
80
+
81
+ # Marks an ORC-encoded data source.
82
+ class OrcSchema
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
87
+ # Marks a CSV-encoded data source.
88
+ class CsvSchema
89
+ include ::Google::Protobuf::MessageExts
90
+ extend ::Google::Protobuf::MessageExts::ClassMethods
91
+ end
92
+ end
93
+ end
94
+ end
95
+ end
96
+ end
@@ -57,6 +57,8 @@ module Google
57
57
  # The name can't start or end with spaces, must contain only Unicode letters,
58
58
  # numbers, underscores, dashes, and spaces, and be at most 200 bytes long
59
59
  # when encoded in UTF-8.
60
+ #
61
+ # The taxonomy display name must be unique within an organization.
60
62
  # @!attribute [rw] description
61
63
  # @return [::String]
62
64
  # Optional. Description of this taxonomy. If not set, defaults to empty.
@@ -149,33 +149,12 @@ module Google
149
149
  # The maximum length is 200 characters.
150
150
  # @!attribute [rw] is_publicly_readable
151
151
  # @return [::Boolean]
152
- # Indicates whether this is a public tag template.
152
+ # Indicates whether tags created with this template are public. Public tags
153
+ # do not require tag template access to appear in
154
+ # [ListTags][google.cloud.datacatalog.v1.ListTags] API response.
153
155
  #
154
- # Every user has view access to a *public* tag template by default.
155
- # This means that:
156
- #
157
- # * Every user can use this tag template to tag an entry.
158
- # * If an entry is tagged using the tag template, the tag is always
159
- # shown in the response to ``ListTags`` called on the entry.
160
- # * To get the template using the GetTagTemplate method, you
161
- # need view access either on the project or the organization the tag
162
- # template resides in but no other permission is needed.
163
- # * Operations on the tag template other than viewing (for example,
164
- # editing IAM policies) follow standard IAM structures.
165
- #
166
- # Tags created with a public tag template are referred to as public tags.
167
- #
168
- # You can search for a public tag by value with a
169
- # simple search query instead of using a ``tag:`` predicate.
170
- #
171
- # Public tag templates may not appear in search results depending on scope,
172
- # see:
173
- # {::Google::Cloud::DataCatalog::V1::SearchCatalogRequest::Scope#include_public_tag_templates include_public_tag_templates}
174
- #
175
- # Note: If an [IAM domain
176
- # restriction](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains)
177
- # is configured in the tag template's location, the public access will not be
178
- # enabled but the simple search for tag values will still work.
156
+ # Additionally, you can search for a public tag by value with a
157
+ # simple search query in addition to using a ``tag:`` predicate.
179
158
  # @!attribute [rw] fields
180
159
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DataCatalog::V1::TagTemplateField}]
181
160
  # Required. Map of tag template field IDs to the settings for the field.
@@ -31,6 +31,13 @@ module Google
31
31
  # the policy is limited to a few 10s of KB. An empty policy is a
32
32
  # valid policy but certain Cloud Platform services (such as Projects)
33
33
  # might reject them.
34
+ # @!attribute [rw] update_mask
35
+ # @return [::Google::Protobuf::FieldMask]
36
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
37
+ # the fields in the mask will be modified. If no mask is provided, the
38
+ # following default mask is used:
39
+ #
40
+ # `paths: "bindings, etag"`
34
41
  class SetIamPolicyRequest
35
42
  include ::Google::Protobuf::MessageExts
36
43
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -44,7 +51,7 @@ module Google
44
51
  # @!attribute [rw] options
45
52
  # @return [::Google::Iam::V1::GetPolicyOptions]
46
53
  # OPTIONAL: A `GetPolicyOptions` object for specifying options to
47
- # `GetIamPolicy`. This field is only used by Cloud IAM.
54
+ # `GetIamPolicy`.
48
55
  class GetIamPolicyRequest
49
56
  include ::Google::Protobuf::MessageExts
50
57
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -23,14 +23,24 @@ module Google
23
23
  # Encapsulates settings provided to GetIamPolicy.
24
24
  # @!attribute [rw] requested_policy_version
25
25
  # @return [::Integer]
26
- # Optional. The policy format version to be returned.
26
+ # Optional. The maximum policy version that will be used to format the
27
+ # policy.
27
28
  #
28
29
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
29
30
  # rejected.
30
31
  #
31
- # Requests for policies with any conditional bindings must specify version 3.
32
- # Policies without any conditional bindings may specify any valid value or
33
- # leave the field unset.
32
+ # Requests for policies with any conditional role bindings must specify
33
+ # version 3. Policies with no conditional role bindings may specify any valid
34
+ # value or leave the field unset.
35
+ #
36
+ # The policy in the response might use the policy version that you specified,
37
+ # or it might use a lower policy version. For example, if you specify version
38
+ # 3, but the policy has no conditional role bindings, the response uses
39
+ # version 1.
40
+ #
41
+ # To learn which resources support conditions in their IAM policies, see the
42
+ # [IAM
43
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
34
44
  class GetPolicyOptions
35
45
  include ::Google::Protobuf::MessageExts
36
46
  extend ::Google::Protobuf::MessageExts::ClassMethods