Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Nov 20, 2024
1 parent a606551 commit 6264551
Show file tree
Hide file tree
Showing 268 changed files with 511 additions and 35,692 deletions.
Binary file modified DataCatalog/metadata/V1/Bigquery.php
Binary file not shown.
Binary file modified DataCatalog/metadata/V1/Common.php
Binary file not shown.
Binary file modified DataCatalog/metadata/V1/DataSource.php
Binary file not shown.
Binary file modified DataCatalog/metadata/V1/Datacatalog.php
Binary file not shown.
6 changes: 3 additions & 3 deletions DataCatalog/metadata/V1/DataplexSpec.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified DataCatalog/metadata/V1/DumpContent.php
Binary file not shown.
6 changes: 3 additions & 3 deletions DataCatalog/metadata/V1/GcsFilesetSpec.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified DataCatalog/metadata/V1/PhysicalSchema.php
Binary file not shown.
Binary file modified DataCatalog/metadata/V1/Policytagmanager.php
Binary file not shown.
Binary file modified DataCatalog/metadata/V1/Policytagmanagerserialization.php
Binary file not shown.
Binary file modified DataCatalog/metadata/V1/Search.php
Binary file not shown.
Binary file modified DataCatalog/metadata/V1/Tags.php
Binary file not shown.
6 changes: 3 additions & 3 deletions DataCatalog/metadata/V1/Timestamps.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

95 changes: 95 additions & 0 deletions DataCatalog/src/V1/Client/DataCatalogClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,19 @@
use Google\Cloud\DataCatalog\V1\ListEntryGroupsRequest;
use Google\Cloud\DataCatalog\V1\ListTagsRequest;
use Google\Cloud\DataCatalog\V1\LookupEntryRequest;
use Google\Cloud\DataCatalog\V1\MigrationConfig;
use Google\Cloud\DataCatalog\V1\ModifyEntryContactsRequest;
use Google\Cloud\DataCatalog\V1\ModifyEntryOverviewRequest;
use Google\Cloud\DataCatalog\V1\OrganizationConfig;
use Google\Cloud\DataCatalog\V1\ReconcileTagsMetadata;
use Google\Cloud\DataCatalog\V1\ReconcileTagsRequest;
use Google\Cloud\DataCatalog\V1\ReconcileTagsResponse;
use Google\Cloud\DataCatalog\V1\RenameTagTemplateFieldEnumValueRequest;
use Google\Cloud\DataCatalog\V1\RenameTagTemplateFieldRequest;
use Google\Cloud\DataCatalog\V1\RetrieveConfigRequest;
use Google\Cloud\DataCatalog\V1\RetrieveEffectiveConfigRequest;
use Google\Cloud\DataCatalog\V1\SearchCatalogRequest;
use Google\Cloud\DataCatalog\V1\SetConfigRequest;
use Google\Cloud\DataCatalog\V1\StarEntryRequest;
use Google\Cloud\DataCatalog\V1\StarEntryResponse;
use Google\Cloud\DataCatalog\V1\Tag;
Expand Down Expand Up @@ -123,7 +128,10 @@
* @method PromiseInterface<OperationResponse> reconcileTagsAsync(ReconcileTagsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<TagTemplateField> renameTagTemplateFieldAsync(RenameTagTemplateFieldRequest $request, array $optionalArgs = [])
* @method PromiseInterface<TagTemplateField> renameTagTemplateFieldEnumValueAsync(RenameTagTemplateFieldEnumValueRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OrganizationConfig> retrieveConfigAsync(RetrieveConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<MigrationConfig> retrieveEffectiveConfigAsync(RetrieveEffectiveConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> searchCatalogAsync(SearchCatalogRequest $request, array $optionalArgs = [])
* @method PromiseInterface<MigrationConfig> setConfigAsync(SetConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Policy> setIamPolicyAsync(SetIamPolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface<StarEntryResponse> starEntryAsync(StarEntryRequest $request, array $optionalArgs = [])
* @method PromiseInterface<TestIamPermissionsResponse> testIamPermissionsAsync(TestIamPermissionsRequest $request, array $optionalArgs = [])
Expand Down Expand Up @@ -1262,6 +1270,66 @@ public function renameTagTemplateFieldEnumValue(
return $this->startApiCall('RenameTagTemplateFieldEnumValue', $request, $callOptions)->wait();
}

/**
* Retrieves the configuration related to the migration from Data Catalog to
* Dataplex for a specific organization, including all the projects under it
* which have a separate configuration set.
*
* The async variant is {@see DataCatalogClient::retrieveConfigAsync()} .
*
* @example samples/V1/DataCatalogClient/retrieve_config.php
*
* @param RetrieveConfigRequest $request A request to house fields associated with the call.
* @param array $callOptions {
* Optional.
*
* @type RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
* {@see RetrySettings} for example usage.
* }
*
* @return OrganizationConfig
*
* @throws ApiException Thrown if the API call fails.
*/
public function retrieveConfig(RetrieveConfigRequest $request, array $callOptions = []): OrganizationConfig
{
return $this->startApiCall('RetrieveConfig', $request, $callOptions)->wait();
}

/**
* Retrieves the effective configuration related to the migration from Data
* Catalog to Dataplex for a specific organization or project. If there is no
* specific configuration set for the resource, the setting is checked
* hierarchicahlly through the ancestors of the resource, starting from the
* resource itself.
*
* The async variant is {@see DataCatalogClient::retrieveEffectiveConfigAsync()} .
*
* @example samples/V1/DataCatalogClient/retrieve_effective_config.php
*
* @param RetrieveEffectiveConfigRequest $request A request to house fields associated with the call.
* @param array $callOptions {
* Optional.
*
* @type RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
* {@see RetrySettings} for example usage.
* }
*
* @return MigrationConfig
*
* @throws ApiException Thrown if the API call fails.
*/
public function retrieveEffectiveConfig(
RetrieveEffectiveConfigRequest $request,
array $callOptions = []
): MigrationConfig {
return $this->startApiCall('RetrieveEffectiveConfig', $request, $callOptions)->wait();
}

/**
* Searches Data Catalog for multiple resources like entries and tags that
* match a query.
Expand Down Expand Up @@ -1302,6 +1370,33 @@ public function searchCatalog(SearchCatalogRequest $request, array $callOptions
return $this->startApiCall('SearchCatalog', $request, $callOptions);
}

/**
* Sets the configuration related to the migration to Dataplex for an
* organization or project.
*
* The async variant is {@see DataCatalogClient::setConfigAsync()} .
*
* @example samples/V1/DataCatalogClient/set_config.php
*
* @param SetConfigRequest $request A request to house fields associated with the call.
* @param array $callOptions {
* Optional.
*
* @type RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
* {@see RetrySettings} for example usage.
* }
*
* @return MigrationConfig
*
* @throws ApiException Thrown if the API call fails.
*/
public function setConfig(SetConfigRequest $request, array $callOptions = []): MigrationConfig
{
return $this->startApiCall('SetConfig', $request, $callOptions)->wait();
}

/**
* Sets an access control policy for a resource. Replaces any existing
* policy.
Expand Down
54 changes: 52 additions & 2 deletions DataCatalog/src/V1/EntryGroup.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
34 changes: 34 additions & 0 deletions DataCatalog/src/V1/Tag.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions DataCatalog/src/V1/TagTemplate/DataplexTransferStatus.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions DataCatalog/src/V1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,26 @@
"renameTagTemplateFieldEnumValue"
]
},
"RetrieveConfig": {
"methods": [
"retrieveConfig"
]
},
"RetrieveEffectiveConfig": {
"methods": [
"retrieveEffectiveConfig"
]
},
"SearchCatalog": {
"methods": [
"searchCatalog"
]
},
"SetConfig": {
"methods": [
"setConfig"
]
},
"SetIamPolicy": {
"methods": [
"setIamPolicy"
Expand Down
15 changes: 15 additions & 0 deletions DataCatalog/src/V1/resources/data_catalog_client_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,26 @@
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
"RetrieveConfig": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
"RetrieveEffectiveConfig": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
"SearchCatalog": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
"SetConfig": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
"SetIamPolicy": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
Expand Down
Loading

0 comments on commit 6264551

Please sign in to comment.