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

Merged
merged 4 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
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +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\BeyondCorp\ClientConnectorServices\V1\ClientConnectorServicesServiceClient}
* for the stable implementation
*
* @experimental
*
* @method PromiseInterface createClientConnectorServiceAsync(CreateClientConnectorServiceRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteClientConnectorServiceAsync(DeleteClientConnectorServiceRequest $request, array $optionalArgs = [])
* @method PromiseInterface getClientConnectorServiceAsync(GetClientConnectorServiceRequest $request, array $optionalArgs = [])
Expand All @@ -98,9 +92,16 @@ final class ClientConnectorServicesServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService';

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,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\BeyondCorp\ClientConnectorServices\V1\Client\ClientConnectorServicesServiceClient}
* to use the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\BeyondCorp\ClientConnectorServices\V1\Client\ClientConnectorServicesServiceClient}.
*/
class ClientConnectorServicesServiceGapicClient
{
Expand All @@ -124,9 +122,16 @@ class ClientConnectorServicesServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService';

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,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\BeyondCorp\ClientGateways\V1\ClientGatewaysServiceClient} for the
* stable implementation
*
* @experimental
*
* @method PromiseInterface createClientGatewayAsync(CreateClientGatewayRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteClientGatewayAsync(DeleteClientGatewayRequest $request, array $optionalArgs = [])
* @method PromiseInterface getClientGatewayAsync(GetClientGatewayRequest $request, array $optionalArgs = [])
Expand All @@ -96,9 +90,16 @@ final class ClientGatewaysServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService';

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,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\BeyondCorp\ClientGateways\V1\Client\ClientGatewaysServiceClient}
* to use the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\BeyondCorp\ClientGateways\V1\Client\ClientGatewaysServiceClient}.
*/
class ClientGatewaysServiceGapicClient
{
Expand All @@ -123,9 +121,16 @@ class ClientGatewaysServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService';

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,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\BigQuery\AnalyticsHub\V1\AnalyticsHubServiceClient} for the stable
* implementation
*
* @experimental
*
* @method PromiseInterface createDataExchangeAsync(CreateDataExchangeRequest $request, array $optionalArgs = [])
* @method PromiseInterface createListingAsync(CreateListingRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteDataExchangeAsync(DeleteDataExchangeRequest $request, array $optionalArgs = [])
Expand Down Expand Up @@ -120,9 +114,16 @@ final class AnalyticsHubServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.bigquery.analyticshub.v1.AnalyticsHubService';

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,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\BigQuery\AnalyticsHub\V1\Client\AnalyticsHubServiceClient} to use
* the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\BigQuery\AnalyticsHub\V1\Client\AnalyticsHubServiceClient}.
*/
class AnalyticsHubServiceGapicClient
{
Expand All @@ -114,9 +112,16 @@ class AnalyticsHubServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.bigquery.analyticshub.v1.AnalyticsHubService';

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

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

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

Expand Down
15 changes: 8 additions & 7 deletions BigQueryConnection/src/V1/Client/ConnectionServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,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\BigQuery\Connection\V1\ConnectionServiceClient} for the stable
* implementation
*
* @experimental
*
* @method PromiseInterface createConnectionAsync(CreateConnectionRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteConnectionAsync(DeleteConnectionRequest $request, array $optionalArgs = [])
* @method PromiseInterface getConnectionAsync(GetConnectionRequest $request, array $optionalArgs = [])
Expand All @@ -80,9 +74,16 @@ final class ConnectionServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.bigquery.connection.v1.ConnectionService';

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,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\BigQuery\Connection\V1\Client\ConnectionServiceClient} to use the
* new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\BigQuery\Connection\V1\Client\ConnectionServiceClient}.
*/
class ConnectionServiceGapicClient
{
Expand All @@ -82,9 +80,16 @@ class ConnectionServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.bigquery.connection.v1.ConnectionService';

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,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.
*
* @experimental
*
* @method PromiseInterface createDataExchangeAsync(CreateDataExchangeRequest $request, array $optionalArgs = [])
Expand Down Expand Up @@ -106,9 +104,16 @@ final class AnalyticsHubServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService';

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@
* 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\BigQuery\DataExchange\V1beta1\Client\AnalyticsHubServiceClient} to
* use the new surface.
*
* @experimental
*
* @deprecated Please use the new service client {@see \Google\Cloud\BigQuery\DataExchange\V1beta1\Client\AnalyticsHubServiceClient}.
*/
class AnalyticsHubServiceGapicClient
{
Expand All @@ -109,9 +107,16 @@ class AnalyticsHubServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService';

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

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

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

Expand Down
15 changes: 8 additions & 7 deletions BigQueryDataPolicies/src/V1/Client/DataPolicyServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +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\BigQuery\DataPolicies\V1\DataPolicyServiceClient} for the stable
* implementation
*
* @experimental
*
* @method PromiseInterface createDataPolicyAsync(CreateDataPolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteDataPolicyAsync(DeleteDataPolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface getDataPolicyAsync(GetDataPolicyRequest $request, array $optionalArgs = [])
Expand All @@ -82,9 +76,16 @@ final class DataPolicyServiceClient
/** The name of the service. */
private const SERVICE_NAME = 'google.cloud.bigquery.datapolicies.v1.DataPolicyService';

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,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\BigQuery\DataPolicies\V1\Client\DataPolicyServiceClient} to use
* the new surface.
* @deprecated Please use the new service client {@see \Google\Cloud\BigQuery\DataPolicies\V1\Client\DataPolicyServiceClient}.
*/
class DataPolicyServiceGapicClient
{
Expand All @@ -83,9 +81,16 @@ class DataPolicyServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.bigquery.datapolicies.v1.DataPolicyService';

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
* contained within formatted names that are returned by the API.
*
* @experimental
*
* @deprecated This class will be removed in the next major version update.
*/
class DataPolicyServiceGapicClient
{
Expand All @@ -82,9 +84,16 @@ class DataPolicyServiceGapicClient
/** The name of the service. */
const SERVICE_NAME = 'google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService';

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

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

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

Expand Down
Loading