From 69596a1b4d22958979006058e8ee162ca7fdad98 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 5 Jul 2026 11:15:22 +0000 Subject: [PATCH] feat: Automated regeneration of dataplex v1 client --- api_names_out.yaml | 64 ++++ .../google-apis-dataplex_v1/CHANGELOG.md | 4 + .../lib/google/apis/dataplex_v1/classes.rb | 238 ++++++++++++ .../google/apis/dataplex_v1/gem_version.rb | 4 +- .../apis/dataplex_v1/representations.rb | 98 +++++ .../lib/google/apis/dataplex_v1/service.rb | 343 ++++++++++++++++++ 6 files changed, 749 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index dd27b458b0a..cd698a66913 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -176385,6 +176385,13 @@ "/dataplex:v1/GoogleCloudDataplexV1ChangeRequest/updateGlossaryCategory": update_glossary_category "/dataplex:v1/GoogleCloudDataplexV1ChangeRequest/updateGlossaryTerm": update_glossary_term "/dataplex:v1/GoogleCloudDataplexV1ChangeRequest/updateTime": update_time +"/dataplex:v1/GoogleCloudDataplexV1ContactIdentity": google_cloud_dataplex_v1_contact_identity +"/dataplex:v1/GoogleCloudDataplexV1ContactIdentity/contactId": contact_id +"/dataplex:v1/GoogleCloudDataplexV1ContactIdentity/contactName": contact_name +"/dataplex:v1/GoogleCloudDataplexV1ContactIdentity/contactRole": contact_role +"/dataplex:v1/GoogleCloudDataplexV1Contacts": google_cloud_dataplex_v1_contacts +"/dataplex:v1/GoogleCloudDataplexV1Contacts/identities": identities +"/dataplex:v1/GoogleCloudDataplexV1Contacts/identities/identity": identity "/dataplex:v1/GoogleCloudDataplexV1Content": google_cloud_dataplex_v1_content "/dataplex:v1/GoogleCloudDataplexV1Content/createTime": create_time "/dataplex:v1/GoogleCloudDataplexV1Content/dataText": data_text @@ -176514,6 +176521,7 @@ "/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions/encoding": encoding "/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions/typeInferenceDisabled": type_inference_disabled "/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions": google_cloud_dataplex_v1_data_discovery_spec_storage_config_unstructured_data_options +"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions/globalEndpointEnabled": global_endpoint_enabled "/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions/semanticInferenceEnabled": semantic_inference_enabled "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult": google_cloud_dataplex_v1_data_documentation_result "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult/datasetResult": dataset_result @@ -176557,6 +176565,22 @@ "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationSpec/catalogPublishingEnabled": catalog_publishing_enabled "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationSpec/generationScopes": generation_scopes "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationSpec/generationScopes/generation_scope": generation_scope +"/dataplex:v1/GoogleCloudDataplexV1DataDomain": google_cloud_dataplex_v1_data_domain +"/dataplex:v1/GoogleCloudDataplexV1DataDomain/contacts": contacts +"/dataplex:v1/GoogleCloudDataplexV1DataDomain/createTime": create_time +"/dataplex:v1/GoogleCloudDataplexV1DataDomain/description": description +"/dataplex:v1/GoogleCloudDataplexV1DataDomain/displayName": display_name +"/dataplex:v1/GoogleCloudDataplexV1DataDomain/labels": labels +"/dataplex:v1/GoogleCloudDataplexV1DataDomain/labels/label": label +"/dataplex:v1/GoogleCloudDataplexV1DataDomain/name": name +"/dataplex:v1/GoogleCloudDataplexV1DataDomain/parentDataDomain": parent_data_domain +"/dataplex:v1/GoogleCloudDataplexV1DataDomain/uid": uid +"/dataplex:v1/GoogleCloudDataplexV1DataDomain/updateTime": update_time +"/dataplex:v1/GoogleCloudDataplexV1DataDomainBinding": google_cloud_dataplex_v1_data_domain_binding +"/dataplex:v1/GoogleCloudDataplexV1DataDomainBinding/createTime": create_time +"/dataplex:v1/GoogleCloudDataplexV1DataDomainBinding/name": name +"/dataplex:v1/GoogleCloudDataplexV1DataDomainBinding/resource": resource +"/dataplex:v1/GoogleCloudDataplexV1DataDomainBinding/uid": uid "/dataplex:v1/GoogleCloudDataplexV1DataProduct": google_cloud_dataplex_v1_data_product "/dataplex:v1/GoogleCloudDataplexV1DataProduct/accessApprovalConfig": access_approval_config "/dataplex:v1/GoogleCloudDataplexV1DataProduct/accessGroups": access_groups @@ -177326,6 +177350,14 @@ "/dataplex:v1/GoogleCloudDataplexV1ListDataAttributesResponse/nextPageToken": next_page_token "/dataplex:v1/GoogleCloudDataplexV1ListDataAttributesResponse/unreachableLocations": unreachable_locations "/dataplex:v1/GoogleCloudDataplexV1ListDataAttributesResponse/unreachableLocations/unreachable_location": unreachable_location +"/dataplex:v1/GoogleCloudDataplexV1ListDataDomainBindingsResponse": google_cloud_dataplex_v1_list_data_domain_bindings_response +"/dataplex:v1/GoogleCloudDataplexV1ListDataDomainBindingsResponse/dataDomainBindings": data_domain_bindings +"/dataplex:v1/GoogleCloudDataplexV1ListDataDomainBindingsResponse/dataDomainBindings/data_domain_binding": data_domain_binding +"/dataplex:v1/GoogleCloudDataplexV1ListDataDomainBindingsResponse/nextPageToken": next_page_token +"/dataplex:v1/GoogleCloudDataplexV1ListDataDomainsResponse": google_cloud_dataplex_v1_list_data_domains_response +"/dataplex:v1/GoogleCloudDataplexV1ListDataDomainsResponse/dataDomains": data_domains +"/dataplex:v1/GoogleCloudDataplexV1ListDataDomainsResponse/dataDomains/data_domain": data_domain +"/dataplex:v1/GoogleCloudDataplexV1ListDataDomainsResponse/nextPageToken": next_page_token "/dataplex:v1/GoogleCloudDataplexV1ListDataProductsResponse": google_cloud_dataplex_v1_list_data_products_response "/dataplex:v1/GoogleCloudDataplexV1ListDataProductsResponse/dataProducts": data_products "/dataplex:v1/GoogleCloudDataplexV1ListDataProductsResponse/dataProducts/data_product": data_product @@ -177996,9 +178028,41 @@ "/dataplex:v1/dataplex.projects.locations.dataAttributeBindings.setIamPolicy/resource": resource "/dataplex:v1/dataplex.projects.locations.dataAttributeBindings.testIamPermissions": test_project_location_data_attribute_binding_iam_permissions "/dataplex:v1/dataplex.projects.locations.dataAttributeBindings.testIamPermissions/resource": resource +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.create": create_project_location_data_domain_binding +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.create/dataDomainBindingId": data_domain_binding_id +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.create/parent": parent +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.create/validateOnly": validate_only +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.delete": delete_project_location_data_domain_binding +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.delete/name": name +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.get": get_project_location_data_domain_binding +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.get/name": name +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.list": list_project_location_data_domain_bindings +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.list/filter": filter +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.list/orderBy": order_by +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.list/pageSize": page_size +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.list/pageToken": page_token +"/dataplex:v1/dataplex.projects.locations.dataDomains.bindings.list/parent": parent +"/dataplex:v1/dataplex.projects.locations.dataDomains.create": create_project_location_data_domain +"/dataplex:v1/dataplex.projects.locations.dataDomains.create/dataDomainId": data_domain_id +"/dataplex:v1/dataplex.projects.locations.dataDomains.create/parent": parent +"/dataplex:v1/dataplex.projects.locations.dataDomains.create/validateOnly": validate_only +"/dataplex:v1/dataplex.projects.locations.dataDomains.delete": delete_project_location_data_domain +"/dataplex:v1/dataplex.projects.locations.dataDomains.delete/name": name +"/dataplex:v1/dataplex.projects.locations.dataDomains.get": get_project_location_data_domain +"/dataplex:v1/dataplex.projects.locations.dataDomains.get/name": name "/dataplex:v1/dataplex.projects.locations.dataDomains.getIamPolicy": get_project_location_data_domain_iam_policy "/dataplex:v1/dataplex.projects.locations.dataDomains.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version "/dataplex:v1/dataplex.projects.locations.dataDomains.getIamPolicy/resource": resource +"/dataplex:v1/dataplex.projects.locations.dataDomains.list": list_project_location_data_domains +"/dataplex:v1/dataplex.projects.locations.dataDomains.list/filter": filter +"/dataplex:v1/dataplex.projects.locations.dataDomains.list/orderBy": order_by +"/dataplex:v1/dataplex.projects.locations.dataDomains.list/pageSize": page_size +"/dataplex:v1/dataplex.projects.locations.dataDomains.list/pageToken": page_token +"/dataplex:v1/dataplex.projects.locations.dataDomains.list/parent": parent +"/dataplex:v1/dataplex.projects.locations.dataDomains.patch": patch_project_location_data_domain +"/dataplex:v1/dataplex.projects.locations.dataDomains.patch/name": name +"/dataplex:v1/dataplex.projects.locations.dataDomains.patch/updateMask": update_mask +"/dataplex:v1/dataplex.projects.locations.dataDomains.patch/validateOnly": validate_only "/dataplex:v1/dataplex.projects.locations.dataDomains.setIamPolicy": set_project_location_data_domain_iam_policy "/dataplex:v1/dataplex.projects.locations.dataDomains.setIamPolicy/resource": resource "/dataplex:v1/dataplex.projects.locations.dataDomains.testIamPermissions": test_project_location_data_domain_iam_permissions diff --git a/generated/google-apis-dataplex_v1/CHANGELOG.md b/generated/google-apis-dataplex_v1/CHANGELOG.md index 897d4762fdb..f821a65c78b 100644 --- a/generated/google-apis-dataplex_v1/CHANGELOG.md +++ b/generated/google-apis-dataplex_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-dataplex_v1 +### v0.92.0 (2026-07-05) + +* Regenerated from discovery document revision 20260619 + ### v0.91.0 (2026-06-14) * Regenerated from discovery document revision 20260603 diff --git a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb index 5c3ff76a262..dfe412b6e67 100644 --- a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb +++ b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb @@ -1468,6 +1468,59 @@ def update!(**args) end end + # Identity of a business contact. + class GoogleCloudDataplexV1ContactIdentity + include Google::Apis::Core::Hashable + + # Optional. Email ID or freeform ID of the Contact person. + # Corresponds to the JSON property `contactId` + # @return [String] + attr_accessor :contact_id + + # Required. Name of the contact person for the Data Domain; unvalidated freeform + # text. + # Corresponds to the JSON property `contactName` + # @return [String] + attr_accessor :contact_name + + # Required. Designation of the person i.e. Data Steward or Data Analyst. Example + # values: owner, steward, producer, admin. + # Corresponds to the JSON property `contactRole` + # @return [String] + attr_accessor :contact_role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contact_id = args[:contact_id] if args.key?(:contact_id) + @contact_name = args[:contact_name] if args.key?(:contact_name) + @contact_role = args[:contact_role] if args.key?(:contact_role) + end + end + + # Business contacts part of business context of a Data Domain. Corresponds to + # the Contacts Aspect in Dataplex Universal Catalog. + class GoogleCloudDataplexV1Contacts + include Google::Apis::Core::Hashable + + # Required. Identities of the business contacts. + # Corresponds to the JSON property `identities` + # @return [Array] + attr_accessor :identities + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @identities = args[:identities] if args.key?(:identities) + end + end + # Request message for CreateEntryLink. class GoogleCloudDataplexV1CreateEntryLinkRequest include Google::Apis::Core::Hashable @@ -2341,6 +2394,12 @@ def update!(**args) class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions include Google::Apis::Core::Hashable + # Optional. Whether to use the global model endpoint. + # Corresponds to the JSON property `globalEndpointEnabled` + # @return [Boolean] + attr_accessor :global_endpoint_enabled + alias_method :global_endpoint_enabled?, :global_endpoint_enabled + # Optional. Specifies whether deeper semantic inference over the objects' # contents using GenAI is enabled. # Corresponds to the JSON property `semanticInferenceEnabled` @@ -2354,6 +2413,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @global_endpoint_enabled = args[:global_endpoint_enabled] if args.key?(:global_endpoint_enabled) @semantic_inference_enabled = args[:semantic_inference_enabled] if args.key?(:semantic_inference_enabled) end end @@ -2625,6 +2685,134 @@ def update!(**args) end end + # A DataDomain is a logical grouping of data resources for governance, discovery, + # and management at scale. + class GoogleCloudDataplexV1DataDomain + include Google::Apis::Core::Hashable + + # Business contacts part of business context of a Data Domain. Corresponds to + # the Contacts Aspect in Dataplex Universal Catalog. + # Corresponds to the JSON property `contacts` + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1Contacts] + attr_accessor :contacts + + # Output only. The time at which the DataDomain was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Optional. User-provided description of the DataDomain. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. User-friendly display name. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Optional. User-defined labels for the DataDomain. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Identifier. The relative resource name of the DataDomain, of the form: + # projects/`project_id_or_number`/locations/`location_id`/dataDomains/` + # data_domain_id` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Optional. Immutable. The resource name of the parent DataDomain. Empty if this + # is a top-level DataDomain. Format: projects/`project_id_or_number`/locations/` + # location`/dataDomains/`parent_data_domain_id` This field is immutable after + # creation. + # Corresponds to the JSON property `parentDataDomain` + # @return [String] + attr_accessor :parent_data_domain + + # Output only. System-generated globally unique ID for the DataDomain. + # Corresponds to the JSON property `uid` + # @return [String] + attr_accessor :uid + + # Output only. The time at which the DataDomain was last updated. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contacts = args[:contacts] if args.key?(:contacts) + @create_time = args[:create_time] if args.key?(:create_time) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @parent_data_domain = args[:parent_data_domain] if args.key?(:parent_data_domain) + @uid = args[:uid] if args.key?(:uid) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # DataDomainBinding represents a rule that includes a Google Cloud resource and + # its contents into a DataDomain. + class GoogleCloudDataplexV1DataDomainBinding + include Google::Apis::Core::Hashable + + # Output only. The time at which the DataDomainBinding was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Identifier. The relative resource name of the DataDomainBinding. Format: + # projects/`project_id_or_number`/locations/`location`/dataDomains/` + # data_domain_id`/bindings/`binding_id` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Required. Immutable. The full resource name of the Google Cloud resource to be + # bound (i.e. included together with its contents) to the DataDomain.Format: IAM + # Full resource name (https://docs.cloud.google.com/iam/docs/full-resource-names) + # Examples: - GCP Project: //cloudresourcemanager.googleapis.com/projects/` + # project-id` - BigQuery Dataset: //bigquery.googleapis.com/projects/`project-id` + # /datasets/`dataset-id` - BigQuery Table: //bigquery.googleapis.com/projects/` + # project-id`/datasets/`dataset-id`/tables/`table-id` - Dataplex Data Product: // + # dataplex.googleapis.com/projects/`project-number`/locations/`location`/ + # dataProducts/`data-product-id`Authorization: the resource to be bound must + # first grant an IAM role with the resource-specific setIamPolicy permission to + # the DataDomain. Example: - resource: //bigquery.googleapis.com/projects/` + # project-id`/datasets/`dataset-id` - IAM role: with bigquery.datasets. + # setIamPolicy permission (e.g. roles/owner) - IAM member: principal://dataplex. + # googleapis.com/projects/`project-number`/name/locations/`location`/dataDomains/ + # `data-domain-id` + # Corresponds to the JSON property `resource` + # @return [String] + attr_accessor :resource + + # Output only. System-generated unique ID. + # Corresponds to the JSON property `uid` + # @return [String] + attr_accessor :uid + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @name = args[:name] if args.key?(:name) + @resource = args[:resource] if args.key?(:resource) + @uid = args[:uid] if args.key?(:uid) + end + end + # A data product is a curated collection of data assets, packaged to address # specific use cases. It's a way to manage and share data in a more organized, # product-like manner. @@ -8042,6 +8230,56 @@ def update!(**args) end end + # List DataDomainBindings response. + class GoogleCloudDataplexV1ListDataDomainBindingsResponse + include Google::Apis::Core::Hashable + + # DataDomainBindings under the given parent. + # Corresponds to the JSON property `dataDomainBindings` + # @return [Array] + attr_accessor :data_domain_bindings + + # Token to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_domain_bindings = args[:data_domain_bindings] if args.key?(:data_domain_bindings) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # List DataDomains response. + class GoogleCloudDataplexV1ListDataDomainsResponse + include Google::Apis::Core::Hashable + + # DataDomains under the given parent. + # Corresponds to the JSON property `dataDomains` + # @return [Array] + attr_accessor :data_domains + + # Token to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_domains = args[:data_domains] if args.key?(:data_domains) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response message for listing data products. class GoogleCloudDataplexV1ListDataProductsResponse include Google::Apis::Core::Hashable diff --git a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb index 95955ee5bd7..cc0521375dc 100644 --- a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb +++ b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DataplexV1 # Version of the google-apis-dataplex_v1 gem - GEM_VERSION = "0.91.0" + GEM_VERSION = "0.92.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.19.0" # Revision of the discovery document this client was generated from - REVISION = "20260603" + REVISION = "20260619" end end end diff --git a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb index 188c601c44e..f38ce03e833 100644 --- a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb +++ b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb @@ -232,6 +232,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDataplexV1ContactIdentity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDataplexV1Contacts + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDataplexV1CreateEntryLinkRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -406,6 +418,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDataplexV1DataDomain + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDataplexV1DataDomainBinding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDataplexV1DataProduct class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1192,6 +1216,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDataplexV1ListDataDomainBindingsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDataplexV1ListDataDomainsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDataplexV1ListDataProductsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2179,6 +2215,23 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDataplexV1ContactIdentity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contact_id, as: 'contactId' + property :contact_name, as: 'contactName' + property :contact_role, as: 'contactRole' + end + end + + class GoogleCloudDataplexV1Contacts + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :identities, as: 'identities', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ContactIdentity, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1ContactIdentity::Representation + + end + end + class GoogleCloudDataplexV1CreateEntryLinkRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2394,6 +2447,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions # @private class Representation < Google::Apis::Core::JsonRepresentation + property :global_endpoint_enabled, as: 'globalEndpointEnabled' property :semantic_inference_enabled, as: 'semanticInferenceEnabled' end end @@ -2485,6 +2539,32 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDataplexV1DataDomain + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contacts, as: 'contacts', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Contacts, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1Contacts::Representation + + property :create_time, as: 'createTime' + property :description, as: 'description' + property :display_name, as: 'displayName' + hash :labels, as: 'labels' + property :name, as: 'name' + property :parent_data_domain, as: 'parentDataDomain' + property :uid, as: 'uid' + property :update_time, as: 'updateTime' + end + end + + class GoogleCloudDataplexV1DataDomainBinding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :name, as: 'name' + property :resource, as: 'resource' + property :uid, as: 'uid' + end + end + class GoogleCloudDataplexV1DataProduct # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3938,6 +4018,24 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDataplexV1ListDataDomainBindingsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :data_domain_bindings, as: 'dataDomainBindings', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomainBinding, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomainBinding::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDataplexV1ListDataDomainsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :data_domains, as: 'dataDomains', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomain, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomain::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class GoogleCloudDataplexV1ListDataProductsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/service.rb b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/service.rb index 13d14d42186..a9f26b83385 100644 --- a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/service.rb +++ b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/service.rb @@ -1827,6 +1827,111 @@ def test_project_location_data_attribute_binding_iam_permissions(resource, googl execute_or_queue_command(command, &block) end + # Creates a DataDomain resource. + # @param [String] parent + # Required. The resource name of the parent location: projects/` + # project_id_or_number`/locations/`location_id` + # @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomain] google_cloud_dataplex_v1_data_domain_object + # @param [String] data_domain_id + # Required. DataDomain identifier. * Must contain only lowercase letters, + # numbers and hyphens. * Must start with a letter. * Must be between 1-63 + # characters. * Must end with a number or a letter. * Must be unique within the + # project and location. + # @param [Boolean] validate_only + # Optional. Only validate the request, but do not perform mutations. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_data_domain(parent, google_cloud_dataplex_v1_data_domain_object = nil, data_domain_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/dataDomains', options) + command.request_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomain::Representation + command.request_object = google_cloud_dataplex_v1_data_domain_object + command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DataplexV1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['dataDomainId'] = data_domain_id unless data_domain_id.nil? + command.query['validateOnly'] = validate_only unless validate_only.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a DataDomain resource (allowed only when there are no bindings). + # @param [String] name + # Required. The resource name of the DataDomain: projects/`project_id_or_number`/ + # locations/`location_id`/dataDomains/`data_domain_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_data_domain(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DataplexV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a DataDomain resource. + # @param [String] name + # Required. The resource name of the DataDomain: projects/`project_id_or_number`/ + # locations/`location_id`/dataDomains/`data_domain_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomain] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomain] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_data_domain(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomain::Representation + command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomain + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets the access control policy for a resource. Returns an empty policy if the # resource exists and does not have a policy set. # @param [String] resource @@ -1872,6 +1977,92 @@ def get_project_location_data_domain_iam_policy(resource, options_requested_poli execute_or_queue_command(command, &block) end + # Lists DataDomain resources in a project and location. + # @param [String] parent + # Required. The resource name of the parent location: projects/` + # project_id_or_number`/locations/`location_id` + # @param [String] filter + # Optional. Filter request. Supports filter by parent_data_domain. + # @param [String] order_by + # Optional. Order by fields for the result. + # @param [Fixnum] page_size + # Optional. Maximum number of DataDomains to return. The service may return + # fewer. If unspecified, at most 50 domains will be returned. The maximum value + # is 100; values above 100 will be coerced to 100. + # @param [String] page_token + # Optional. Page token received from a previous ListDataDomains call. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataDomainsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataDomainsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_data_domains(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/dataDomains', options) + command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataDomainsResponse::Representation + command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataDomainsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a DataDomain resource. + # @param [String] name + # Identifier. The relative resource name of the DataDomain, of the form: + # projects/`project_id_or_number`/locations/`location_id`/dataDomains/` + # data_domain_id` + # @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomain] google_cloud_dataplex_v1_data_domain_object + # @param [String] update_mask + # Optional. Mask of fields to update. + # @param [Boolean] validate_only + # Optional. Only validate the request, but do not perform mutations. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_data_domain(name, google_cloud_dataplex_v1_data_domain_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomain::Representation + command.request_object = google_cloud_dataplex_v1_data_domain_object + command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DataplexV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['validateOnly'] = validate_only unless validate_only.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Sets the access control policy on the specified resource. Replaces any # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED # errors. @@ -1948,6 +2139,158 @@ def test_project_location_data_domain_iam_permissions(resource, google_iam_v1_te execute_or_queue_command(command, &block) end + # Creates a DataDomainBinding resource. + # @param [String] parent + # Required. The resource name of the parent DataDomain: projects/` + # project_id_or_number`/locations/`location_id`/dataDomains/`data_domain_id` + # @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomainBinding] google_cloud_dataplex_v1_data_domain_binding_object + # @param [String] data_domain_binding_id + # Optional. DataDomainBinding identifier. * Must contain only lowercase letters, + # numbers and hyphens. * Must start with a letter. * Must be between 1-63 + # characters. * Must end with a number or a letter. * Must be unique within the + # parent DataDomain. If not provided, a system-generated UUID will be used. + # @param [Boolean] validate_only + # Optional. Only validate the request, but do not perform mutations. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_data_domain_binding(parent, google_cloud_dataplex_v1_data_domain_binding_object = nil, data_domain_binding_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/bindings', options) + command.request_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomainBinding::Representation + command.request_object = google_cloud_dataplex_v1_data_domain_binding_object + command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DataplexV1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['dataDomainBindingId'] = data_domain_binding_id unless data_domain_binding_id.nil? + command.query['validateOnly'] = validate_only unless validate_only.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a DataDomainBinding resource. + # @param [String] name + # Required. The resource name of the DataDomainBinding: projects/` + # project_id_or_number`/locations/`location_id`/dataDomains/`data_domain_id`/ + # bindings/`binding_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_data_domain_binding(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DataplexV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a DataDomainBinding resource. + # @param [String] name + # Required. The resource name of the DataDomainBinding: projects/` + # project_id_or_number`/locations/`location_id`/dataDomains/`data_domain_id`/ + # bindings/`binding_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomainBinding] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomainBinding] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_data_domain_binding(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomainBinding::Representation + command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDomainBinding + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists DataDomainBinding resources under a DataDomain. + # @param [String] parent + # Required. The resource name of the parent DataDomain: projects/` + # project_id_or_number`/locations/`location_id`/dataDomains/`data_domain_id` + # @param [String] filter + # Optional. Filter request. + # @param [String] order_by + # Optional. Order by fields for the result. + # @param [Fixnum] page_size + # Optional. Maximum number of DataDomainBindings to return. The service may + # return fewer. If unspecified, at most 50 bindings will be returned. The + # maximum value is 100; values above 100 will be coerced to 100. + # @param [String] page_token + # Optional. Page token received from a previous ListDataDomainBindings call. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataDomainBindingsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataDomainBindingsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_data_domain_bindings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/bindings', options) + command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataDomainBindingsResponse::Representation + command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataDomainBindingsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a data product. # @param [String] parent # Required. The parent resource where this data product will be created. Format: