Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [Many APIs] update to generator v1.10.0 #6888

Merged
merged 2 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions Optimization/src/V1/Client/FleetRoutingClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
* This class is currently experimental and may be subject to changes. See {@see
* \Google\Cloud\Optimization\V1\FleetRoutingClient} for the stable implementation
*
* @experimental
*
* @method PromiseInterface batchOptimizeToursAsync(BatchOptimizeToursRequest $request, array $optionalArgs = [])
* @method PromiseInterface optimizeToursAsync(OptimizeToursRequest $request, array $optionalArgs = [])
*/
Expand All @@ -77,9 +72,16 @@ final class FleetRoutingClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.optimization.v1.FleetRouting';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
private const SERVICE_ADDRESS = 'cloudoptimization.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'cloudoptimization.UNIVERSE_DOMAIN';

/** The default port of the service. */
private const DEFAULT_SERVICE_PORT = 443;

Expand Down
12 changes: 9 additions & 3 deletions Optimization/src/V1/Gapic/FleetRoutingGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@
* }
* ```
*
* This service has a new (beta) implementation. See {@see
* \Google\Cloud\Optimization\V1\Client\FleetRoutingClient} to use the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\Optimization\V1\Client\FleetRoutingClient}.
*/
class FleetRoutingGapicClient
{
Expand All @@ -112,9 +111,16 @@ class FleetRoutingGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.optimization.v1.FleetRouting';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
const SERVICE_ADDRESS = 'cloudoptimization.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'cloudoptimization.UNIVERSE_DOMAIN';

/** The default port of the service. */
const DEFAULT_SERVICE_PORT = 443;

Expand Down
15 changes: 8 additions & 7 deletions OrchestrationAirflow/src/V1/Client/EnvironmentsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* This class is currently experimental and may be subject to changes. See {@see
* \Google\Cloud\Orchestration\Airflow\Service\V1\EnvironmentsClient} for the
* stable implementation
*
* @experimental
*
* @method PromiseInterface createEnvironmentAsync(CreateEnvironmentRequest $request, array $optionalArgs = [])
* @method PromiseInterface databaseFailoverAsync(DatabaseFailoverRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteEnvironmentAsync(DeleteEnvironmentRequest $request, array $optionalArgs = [])
Expand All @@ -93,9 +87,16 @@ final class EnvironmentsClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.orchestration.airflow.service.v1.Environments';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
private const SERVICE_ADDRESS = 'composer.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'composer.UNIVERSE_DOMAIN';

/** The default port of the service. */
private const DEFAULT_SERVICE_PORT = 443;

Expand Down
15 changes: 8 additions & 7 deletions OrchestrationAirflow/src/V1/Client/ImageVersionsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
* This class is currently experimental and may be subject to changes. See {@see
* \Google\Cloud\Orchestration\Airflow\Service\V1\ImageVersionsClient} for the
* stable implementation
*
* @experimental
*
* @method PromiseInterface listImageVersionsAsync(ListImageVersionsRequest $request, array $optionalArgs = [])
*/
final class ImageVersionsClient
Expand All @@ -56,9 +50,16 @@ final class ImageVersionsClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.orchestration.airflow.service.v1.ImageVersions';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
private const SERVICE_ADDRESS = 'composer.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'composer.UNIVERSE_DOMAIN';

/** The default port of the service. */
private const DEFAULT_SERVICE_PORT = 443;

Expand Down
13 changes: 9 additions & 4 deletions OrchestrationAirflow/src/V1/Gapic/EnvironmentsGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* This service has a new (beta) implementation. See {@see
* \Google\Cloud\Orchestration\Airflow\Service\V1\Client\EnvironmentsClient} to use
* the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\Orchestration\Airflow\Service\V1\Client\EnvironmentsClient}.
*/
class EnvironmentsGapicClient
{
Expand All @@ -112,9 +110,16 @@ class EnvironmentsGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.orchestration.airflow.service.v1.Environments';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
const SERVICE_ADDRESS = 'composer.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'composer.UNIVERSE_DOMAIN';

/** The default port of the service. */
const DEFAULT_SERVICE_PORT = 443;

Expand Down
13 changes: 9 additions & 4 deletions OrchestrationAirflow/src/V1/Gapic/ImageVersionsGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@
* }
* ```
*
* This service has a new (beta) implementation. See {@see
* \Google\Cloud\Orchestration\Airflow\Service\V1\Client\ImageVersionsClient} to
* use the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\Orchestration\Airflow\Service\V1\Client\ImageVersionsClient}.
*/
class ImageVersionsGapicClient
{
Expand All @@ -73,9 +71,16 @@ class ImageVersionsGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.orchestration.airflow.service.v1.ImageVersions';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
const SERVICE_ADDRESS = 'composer.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'composer.UNIVERSE_DOMAIN';

/** The default port of the service. */
const DEFAULT_SERVICE_PORT = 443;

Expand Down
14 changes: 8 additions & 6 deletions OrgPolicy/src/V2/Client/OrgPolicyClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* This class is currently experimental and may be subject to changes. See {@see
* \Google\Cloud\OrgPolicy\V2\OrgPolicyClient} for the stable implementation
*
* @experimental
*
* @method PromiseInterface createPolicyAsync(CreatePolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface deletePolicyAsync(DeletePolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface getEffectivePolicyAsync(GetEffectivePolicyRequest $request, array $optionalArgs = [])
Expand All @@ -94,9 +89,16 @@ final class OrgPolicyClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.orgpolicy.v2.OrgPolicy';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
private const SERVICE_ADDRESS = 'orgpolicy.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'orgpolicy.UNIVERSE_DOMAIN';

/** The default port of the service. */
private const DEFAULT_SERVICE_PORT = 443;

Expand Down
12 changes: 9 additions & 3 deletions OrgPolicy/src/V2/Gapic/OrgPolicyGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* This service has a new (beta) implementation. See {@see
* \Google\Cloud\OrgPolicy\V2\Client\OrgPolicyClient} to use the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\OrgPolicy\V2\Client\OrgPolicyClient}.
*/
class OrgPolicyGapicClient
{
Expand All @@ -97,9 +96,16 @@ class OrgPolicyGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.orgpolicy.v2.OrgPolicy';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
const SERVICE_ADDRESS = 'orgpolicy.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'orgpolicy.UNIVERSE_DOMAIN';

/** The default port of the service. */
const DEFAULT_SERVICE_PORT = 443;

Expand Down
14 changes: 8 additions & 6 deletions OsConfig/src/V1/Client/OsConfigServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* This class is currently experimental and may be subject to changes. See {@see
* \Google\Cloud\OsConfig\V1\OsConfigServiceClient} for the stable implementation
*
* @experimental
*
* @method PromiseInterface cancelPatchJobAsync(CancelPatchJobRequest $request, array $optionalArgs = [])
* @method PromiseInterface createPatchDeploymentAsync(CreatePatchDeploymentRequest $request, array $optionalArgs = [])
* @method PromiseInterface deletePatchDeploymentAsync(DeletePatchDeploymentRequest $request, array $optionalArgs = [])
Expand All @@ -89,9 +84,16 @@ class OsConfigServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.osconfig.v1.OsConfigService';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
private const SERVICE_ADDRESS = 'osconfig.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'osconfig.UNIVERSE_DOMAIN';

/** The default port of the service. */
private const DEFAULT_SERVICE_PORT = 443;

Expand Down
15 changes: 8 additions & 7 deletions OsConfig/src/V1/Client/OsConfigZonalServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,6 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* This class is currently experimental and may be subject to changes. See {@see
* \Google\Cloud\OsConfig\V1\OsConfigZonalServiceClient} for the stable
* implementation
*
* @experimental
*
* @method PromiseInterface createOSPolicyAssignmentAsync(CreateOSPolicyAssignmentRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteOSPolicyAssignmentAsync(DeleteOSPolicyAssignmentRequest $request, array $optionalArgs = [])
* @method PromiseInterface getInventoryAsync(GetInventoryRequest $request, array $optionalArgs = [])
Expand All @@ -95,9 +89,16 @@ class OsConfigZonalServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.osconfig.v1.OsConfigZonalService';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
private const SERVICE_ADDRESS = 'osconfig.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'osconfig.UNIVERSE_DOMAIN';

/** The default port of the service. */
private const DEFAULT_SERVICE_PORT = 443;

Expand Down
12 changes: 9 additions & 3 deletions OsConfig/src/V1/Gapic/OsConfigServiceGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* This service has a new (beta) implementation. See {@see
* \Google\Cloud\OsConfig\V1\Client\OsConfigServiceClient} to use the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\OsConfig\V1\Client\OsConfigServiceClient}.
*/
class OsConfigServiceGapicClient
{
Expand All @@ -91,9 +90,16 @@ class OsConfigServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.osconfig.v1.OsConfigService';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
const SERVICE_ADDRESS = 'osconfig.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'osconfig.UNIVERSE_DOMAIN';

/** The default port of the service. */
const DEFAULT_SERVICE_PORT = 443;

Expand Down
13 changes: 9 additions & 4 deletions OsConfig/src/V1/Gapic/OsConfigZonalServiceGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* This service has a new (beta) implementation. See {@see
* \Google\Cloud\OsConfig\V1\Client\OsConfigZonalServiceClient} to use the new
* surface.
* @deprecated Please use the new service client {@see \Google\Cloud\OsConfig\V1\Client\OsConfigZonalServiceClient}.
*/
class OsConfigZonalServiceGapicClient
{
Expand All @@ -121,9 +119,16 @@ class OsConfigZonalServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.osconfig.v1.OsConfigZonalService';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
const SERVICE_ADDRESS = 'osconfig.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'osconfig.UNIVERSE_DOMAIN';

/** The default port of the service. */
const DEFAULT_SERVICE_PORT = 443;

Expand Down
Binary file modified OsLogin/metadata/V1Beta/Oslogin.php
Binary file not shown.
14 changes: 8 additions & 6 deletions OsLogin/src/V1/Client/OsLoginServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* This class is currently experimental and may be subject to changes. See {@see
* \Google\Cloud\OsLogin\V1\OsLoginServiceClient} for the stable implementation
*
* @experimental
*
* @method PromiseInterface createSshPublicKeyAsync(CreateSshPublicKeyRequest $request, array $optionalArgs = [])
* @method PromiseInterface deletePosixAccountAsync(DeletePosixAccountRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteSshPublicKeyAsync(DeleteSshPublicKeyRequest $request, array $optionalArgs = [])
Expand All @@ -79,9 +74,16 @@ class OsLoginServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.oslogin.v1.OsLoginService';

/** The default address of the service. */
/**
* The default address of the service.
*
* @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
*/
private const SERVICE_ADDRESS = 'oslogin.googleapis.com';

/** The address template of the service. */
private const SERVICE_ADDRESS_TEMPLATE = 'oslogin.UNIVERSE_DOMAIN';

/** The default port of the service. */
private const DEFAULT_SERVICE_PORT = 443;

Expand Down
Loading