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 #6887

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
15 changes: 8 additions & 7 deletions IamCredentials/src/V1/Client/IAMCredentialsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,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\Iam\Credentials\V1\IAMCredentialsClient} for the stable
* implementation
*
* @experimental
*
* @method PromiseInterface generateAccessTokenAsync(GenerateAccessTokenRequest $request, array $optionalArgs = [])
* @method PromiseInterface generateIdTokenAsync(GenerateIdTokenRequest $request, array $optionalArgs = [])
* @method PromiseInterface signBlobAsync(SignBlobRequest $request, array $optionalArgs = [])
Expand All @@ -80,9 +74,16 @@ final class IAMCredentialsClient
/** The name of the service. */
private const SERVICE_NAME = 'google.iam.credentials.v1.IAMCredentials';

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

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

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

Expand Down
13 changes: 9 additions & 4 deletions IamCredentials/src/V1/Gapic/IAMCredentialsGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,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\Iam\Credentials\V1\Client\IAMCredentialsClient} to use the new
* surface.
* @deprecated Please use the new service client {@see \Google\Cloud\Iam\Credentials\V1\Client\IAMCredentialsClient}.
*/
class IAMCredentialsGapicClient
{
Expand All @@ -84,9 +82,16 @@ class IAMCredentialsGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.iam.credentials.v1.IAMCredentials';

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

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

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

Expand Down
15 changes: 8 additions & 7 deletions Iap/src/V1/Client/IdentityAwareProxyAdminServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,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\Iap\V1\IdentityAwareProxyAdminServiceClient} for the stable
* implementation
*
* @experimental
*
* @method PromiseInterface createTunnelDestGroupAsync(CreateTunnelDestGroupRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteTunnelDestGroupAsync(DeleteTunnelDestGroupRequest $request, array $optionalArgs = [])
* @method PromiseInterface getIamPolicyAsync(GetIamPolicyRequest $request, array $optionalArgs = [])
Expand All @@ -85,9 +79,16 @@ final class IdentityAwareProxyAdminServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.iap.v1.IdentityAwareProxyAdminService';

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

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

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

Expand Down
15 changes: 8 additions & 7 deletions Iap/src/V1/Client/IdentityAwareProxyOAuthServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,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\Iap\V1\IdentityAwareProxyOAuthServiceClient} for the stable
* implementation
*
* @experimental
*
* @method PromiseInterface createBrandAsync(CreateBrandRequest $request, array $optionalArgs = [])
* @method PromiseInterface createIdentityAwareProxyClientAsync(CreateIdentityAwareProxyClientRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteIdentityAwareProxyClientAsync(DeleteIdentityAwareProxyClientRequest $request, array $optionalArgs = [])
Expand All @@ -75,9 +69,16 @@ final class IdentityAwareProxyOAuthServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.iap.v1.IdentityAwareProxyOAuthService';

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

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

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

Expand Down
13 changes: 9 additions & 4 deletions Iap/src/V1/Gapic/IdentityAwareProxyAdminServiceGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,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\Iap\V1\Client\IdentityAwareProxyAdminServiceClient} to use the new
* surface.
* @deprecated Please use the new service client {@see \Google\Cloud\Iap\V1\Client\IdentityAwareProxyAdminServiceClient}.
*/
class IdentityAwareProxyAdminServiceGapicClient
{
Expand All @@ -86,9 +84,16 @@ class IdentityAwareProxyAdminServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.iap.v1.IdentityAwareProxyAdminService';

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

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

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

Expand Down
13 changes: 9 additions & 4 deletions Iap/src/V1/Gapic/IdentityAwareProxyOAuthServiceGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@
* }
* ```
*
* This service has a new (beta) implementation. See {@see
* \Google\Cloud\Iap\V1\Client\IdentityAwareProxyOAuthServiceClient} to use the new
* surface.
* @deprecated Please use the new service client {@see \Google\Cloud\Iap\V1\Client\IdentityAwareProxyOAuthServiceClient}.
*/
class IdentityAwareProxyOAuthServiceGapicClient
{
Expand All @@ -76,9 +74,16 @@ class IdentityAwareProxyOAuthServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.iap.v1.IdentityAwareProxyOAuthService';

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

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

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

Expand Down
14 changes: 8 additions & 6 deletions Ids/src/V1/Client/IDSClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,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\Ids\V1\IDSClient} for the stable implementation
*
* @experimental
*
* @method PromiseInterface createEndpointAsync(CreateEndpointRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteEndpointAsync(DeleteEndpointRequest $request, array $optionalArgs = [])
* @method PromiseInterface getEndpointAsync(GetEndpointRequest $request, array $optionalArgs = [])
Expand All @@ -72,9 +67,16 @@ final class IDSClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.ids.v1.IDS';

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

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

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

Expand Down
12 changes: 9 additions & 3 deletions Ids/src/V1/Gapic/IDSGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,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\Ids\V1\Client\IDSClient} to use the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\Ids\V1\Client\IDSClient}.
*/
class IDSGapicClient
{
Expand All @@ -101,9 +100,16 @@ class IDSGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.ids.v1.IDS';

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

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

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

Expand Down
14 changes: 8 additions & 6 deletions Iot/src/V1/Client/DeviceManagerClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,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\Iot\V1\DeviceManagerClient} for the stable implementation
*
* @experimental
*
* @method PromiseInterface bindDeviceToGatewayAsync(BindDeviceToGatewayRequest $request, array $optionalArgs = [])
* @method PromiseInterface createDeviceAsync(CreateDeviceRequest $request, array $optionalArgs = [])
* @method PromiseInterface createDeviceRegistryAsync(CreateDeviceRegistryRequest $request, array $optionalArgs = [])
Expand Down Expand Up @@ -108,9 +103,16 @@ final class DeviceManagerClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.iot.v1.DeviceManager';

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

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

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

Expand Down
12 changes: 9 additions & 3 deletions Iot/src/V1/Gapic/DeviceManagerGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,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\Iot\V1\Client\DeviceManagerClient} to use the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\Iot\V1\Client\DeviceManagerClient}.
*/
class DeviceManagerGapicClient
{
Expand All @@ -102,9 +101,16 @@ class DeviceManagerGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.iot.v1.DeviceManager';

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

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

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

Expand Down
14 changes: 8 additions & 6 deletions Kms/src/V1/Client/EkmServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +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\Kms\V1\EkmServiceClient} for the stable implementation
*
* @experimental
*
* @method PromiseInterface createEkmConnectionAsync(CreateEkmConnectionRequest $request, array $optionalArgs = [])
* @method PromiseInterface getEkmConfigAsync(GetEkmConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface getEkmConnectionAsync(GetEkmConnectionRequest $request, array $optionalArgs = [])
Expand All @@ -94,9 +89,16 @@ final class EkmServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.kms.v1.EkmService';

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

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

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

Expand Down
14 changes: 8 additions & 6 deletions Kms/src/V1/Client/KeyManagementServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,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\Kms\V1\KeyManagementServiceClient} for the stable implementation
*
* @experimental
*
* @method PromiseInterface asymmetricDecryptAsync(AsymmetricDecryptRequest $request, array $optionalArgs = [])
* @method PromiseInterface asymmetricSignAsync(AsymmetricSignRequest $request, array $optionalArgs = [])
* @method PromiseInterface createCryptoKeyAsync(CreateCryptoKeyRequest $request, array $optionalArgs = [])
Expand Down Expand Up @@ -154,9 +149,16 @@ final class KeyManagementServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.kms.v1.KeyManagementService';

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

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

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

Expand Down
12 changes: 9 additions & 3 deletions Kms/src/V1/Gapic/EkmServiceGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,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\Kms\V1\Client\EkmServiceClient} to use the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\Kms\V1\Client\EkmServiceClient}.
*/
class EkmServiceGapicClient
{
Expand All @@ -94,9 +93,16 @@ class EkmServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.kms.v1.EkmService';

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

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

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

Expand Down
Loading