Skip to content

Commit

Permalink
Merge branch 'main' into monolog-3
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Dec 13, 2022
2 parents a81f106 + e31557d commit 79ee85c
Show file tree
Hide file tree
Showing 479 changed files with 17,007 additions and 1,017 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/docs.yml

This file was deleted.

22 changes: 2 additions & 20 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: shivammathur/setup-php@verbose
with:
php-version: ${{ matrix.php }}
extensions: grpc
extensions: grpc-1.49.0
- name: Install Dependencies
uses: nick-invision/retry@v2
with:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
uses: shivammathur/setup-php@verbose
with:
php-version: '8.0'
extensions: grpc
extensions: grpc-1.49.0
- name: Run Package Test Suites
run: bash .github/run-package-tests.sh

Expand Down Expand Up @@ -111,21 +111,3 @@ jobs:
run: vendor/bin/phpunit -c dev/phpunit-docfx.xml.dist
- name: Run Docs Generator (Dry Run)
run: bash .kokoro/docs/publish.sh

docs:
runs-on: ubuntu-latest
name: Generate Legacy Documentation (Dry Run)
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Install Dependencies
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: composer --no-interaction --no-ansi --no-progress update
- name: Run Docs Generator
run: php -d 'memory_limit=-1' dev/google-cloud docs
2 changes: 1 addition & 1 deletion AccessApproval/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"distribution_name": "google/cloud-access-approval",
"release_level": "ga",
"client_documentation": "http://googleapis.github.io/google-cloud-php/#/docs/cloud-access-approval/latest",
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-access-approval/latest",
"library_type": "GAPIC_AUTO"
}
2 changes: 1 addition & 1 deletion AccessApproval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Latest Stable Version](https://poser.pugx.org/google/cloud-access-approval/v/stable)](https://packagist.org/packages/google/cloud-access-approval) [![Packagist](https://img.shields.io/packagist/dm/google/cloud-access-approval.svg)](https://packagist.org/packages/google/cloud-access-approval)

* [API documentation](http://googleapis.github.io/google-cloud-php/#/docs/cloud-access-approval/latest/accessapproval/readme)
* [API documentation](https://cloud.google.com/php/docs/reference/cloud-access-approval/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any
support requests, bug reports, or development contributions should be directed to
Expand Down
2 changes: 1 addition & 1 deletion AccessContextManager/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"distribution_name": "google/access-context-manager",
"release_level": "beta",
"client_documentation": "http://googleapis.github.io/google-cloud-php/#/docs/access-context-manager/latest",
"client_documentation": "https://cloud.google.com/php/docs/reference/access-context-manager/latest",
"library_type": "GAPIC_AUTO"
}
2 changes: 1 addition & 1 deletion AccessContextManager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Latest Stable Version](https://poser.pugx.org/google/access-context-manager/v/stable)](https://packagist.org/packages/google/access-context-manager) [![Packagist](https://img.shields.io/packagist/dm/google/access-context-manager.svg)](https://packagist.org/packages/google/access-context-manager)

* [API documentation](http://googleapis.github.io/google-cloud-php/#/docs/access-context-manager/latest/accesscontextmanager/readme)
* [API documentation](https://cloud.google.com/php/docs/reference/access-context-manager/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any
support requests, bug reports, or development contributions should be directed to
Expand Down
2 changes: 1 addition & 1 deletion AiPlatform/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"distribution_name": "google/cloud-ai-platform",
"release_level": "beta",
"client_documentation": "http://googleapis.github.io/google-cloud-php/#/docs/cloud-ai-platform/latest",
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-ai-platform/latest",
"library_type": "GAPIC_AUTO"
}
2 changes: 1 addition & 1 deletion AiPlatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Latest Stable Version](https://poser.pugx.org/google/cloud-ai-platform/v/stable)](https://packagist.org/packages/google/cloud-ai-platform) [![Packagist](https://img.shields.io/packagist/dm/google/cloud-ai-platform.svg)](https://packagist.org/packages/google/cloud-ai-platform)

* [API documentation](http://googleapis.github.io/google-cloud-php/#/docs/cloud-ai-platform/latest/aiplatform/readme)
* [API documentation](https://cloud.google.com/php/docs/reference/cloud-ai-platform/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any
support requests, bug reports, or development contributions should be directed to
Expand Down
7 changes: 4 additions & 3 deletions AiPlatform/metadata/V1/ModelService.php

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

12 changes: 12 additions & 0 deletions AiPlatform/src/V1/Gapic/ModelServiceGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -1578,6 +1578,14 @@ public function updateModel($model, $updateMask, array $optionalArgs = [])
*
* This value may be up to 63 characters, and valid characters are
* `[a-z0-9_-]`. The first character cannot be a number or hyphen.
* @type string $serviceAccount
* Optional. The user-provided custom service account to use to do the model
* upload. If empty, [Vertex AI Service
* Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents)
* will be used. Users uploading the Model must have the
* `iam.serviceAccounts.actAs` permission on this service account. Also, this
* account must belong to the project specified in the `parent` field and have
* all necessary read permissions.
* @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
Expand All @@ -1603,6 +1611,10 @@ public function uploadModel($parent, $model, array $optionalArgs = [])
$request->setModelId($optionalArgs['modelId']);
}

if (isset($optionalArgs['serviceAccount'])) {
$request->setServiceAccount($optionalArgs['serviceAccount']);
}

$requestParams = new RequestParamsHeaderDescriptor(
$requestParamHeaders
);
Expand Down
58 changes: 58 additions & 0 deletions AiPlatform/src/V1/UploadModelRequest.php

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

2 changes: 1 addition & 1 deletion AnalyticsAdmin/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"distribution_name": "google/analytics-admin",
"release_level": "beta",
"client_documentation": "https://googleapis.github.io/google-cloud-php/#/docs/analytics-admin/latest",
"client_documentation": "https://cloud.google.com/php/docs/reference/analytics-admin/latest",
"library_type": "GAPIC_AUTO"
}
2 changes: 1 addition & 1 deletion AnalyticsAdmin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Latest Stable Version](https://poser.pugx.org/google/analytics-admin/v/stable)](https://packagist.org/packages/google/analytics-admin) [![Packagist](https://img.shields.io/packagist/dm/google/analytics-admin.svg)](https://packagist.org/packages/google/analytics-admin)

* [API documentation](http://googleapis.github.io/google-cloud-php/#/docs/analytics-admin/latest/analyticsadmin/readme)
* [API documentation](https://cloud.google.com/php/docs/reference/analytics-admin/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any
support requests, bug reports, or development contributions should be directed to
Expand Down
2 changes: 1 addition & 1 deletion AnalyticsData/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"distribution_name": "google/analytics-data",
"release_level": "beta",
"client_documentation": "https://googleapis.github.io/google-cloud-php/#/docs/analytics-data/latest",
"client_documentation": "https://cloud.google.com/php/docs/reference/analytics-data/latest",
"library_type": "GAPIC_AUTO"
}
2 changes: 1 addition & 1 deletion AnalyticsData/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Latest Stable Version](https://poser.pugx.org/google/analytics-data/v/stable)](https://packagist.org/packages/google/analytics-data) [![Packagist](https://img.shields.io/packagist/dm/google/analytics-data.svg)](https://packagist.org/packages/google/analytics-data)

* [API documentation](http://googleapis.github.io/google-cloud-php/#/docs/analytics-data/latest/analyticsdata/readme)
* [API documentation](https://cloud.google.com/php/docs/reference/analytics-data/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any
support requests, bug reports, or development contributions should be directed to
Expand Down
2 changes: 1 addition & 1 deletion ApiGateway/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"distribution_name": "google/cloud-api-gateway",
"release_level": "ga",
"client_documentation": "http://googleapis.github.io/google-cloud-php/#/docs/cloud-api-gateway/latest",
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-api-gateway/latest",
"library_type": "GAPIC_AUTO"
}
2 changes: 1 addition & 1 deletion ApiGateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Latest Stable Version](https://poser.pugx.org/google/cloud-api-gateway/v/stable)](https://packagist.org/packages/google/cloud-api-gateway) [![Packagist](https://img.shields.io/packagist/dm/google/cloud-api-gateway.svg)](https://packagist.org/packages/google/cloud-api-gateway)

* [API documentation](http://googleapis.github.io/google-cloud-php/#/docs/cloud-api-gateway/latest/apigateway/readme)
* [API documentation](https://cloud.google.com/php/docs/reference/cloud-api-gateway/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any
support requests, bug reports, or development contributions should be directed to
Expand Down
2 changes: 1 addition & 1 deletion ApiKeys/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"distribution_name": "google/cloud-api-keys",
"release_level": "beta",
"client_documentation": "http://googleapis.github.io/google-cloud-php/#/docs/cloud-api-keys/latest",
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-api-keys/latest",
"library_type": "GAPIC_AUTO",
"product_documentation": "https://cloud.google.com/api-keys/docs",
"issue_tracker": "https://github.com/googleapis/google-cloud-php/issues"
Expand Down
2 changes: 1 addition & 1 deletion ApiKeys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Latest Stable Version](https://poser.pugx.org/google/cloud-api-keys/v/stable)](https://packagist.org/packages/google/cloud-api-keys) [![Packagist](https://img.shields.io/packagist/dm/google/cloud-api-keys.svg)](https://packagist.org/packages/google/cloud-api-keys)

* [API documentation](http://googleapis.github.io/google-cloud-php/#/docs/cloud-api-keys/latest/apikeys/readme)
* [API documentation](https://cloud.google.com/php/docs/reference/cloud-api-keys/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any
support requests, bug reports, or development contributions should be directed to
Expand Down
2 changes: 1 addition & 1 deletion ApigeeConnect/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"distribution_name": "google/cloud-apigee-connect",
"release_level": "ga",
"client_documentation": "http://googleapis.github.io/google-cloud-php/#/docs/cloud-apigee-connect/latest",
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-apigee-connect/latest",
"library_type": "GAPIC_AUTO"
}
2 changes: 1 addition & 1 deletion ApigeeConnect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Latest Stable Version](https://poser.pugx.org/google/cloud-apigee-connect/v/stable)](https://packagist.org/packages/google/cloud-apigee-connect) [![Packagist](https://img.shields.io/packagist/dm/google/cloud-apigee-connect.svg)](https://packagist.org/packages/google/cloud-apigee-connect)

* [API documentation](http://googleapis.github.io/google-cloud-php/#/docs/cloud-apigee-connect/latest/apigeeconnect/readme)
* [API documentation](https://cloud.google.com/php/docs/reference/cloud-apigee-connect/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any
support requests, bug reports, or development contributions should be directed to
Expand Down
2 changes: 1 addition & 1 deletion ApigeeRegistry/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"distribution_name": "google/cloud-apigee-registry",
"release_level": "beta",
"client_documentation": "http://googleapis.github.io/google-cloud-php/#/docs/cloud-apigee-registry/latest",
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-apigee-registry/latest",
"library_type": "GAPIC_AUTO"
}
2 changes: 1 addition & 1 deletion ApigeeRegistry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Latest Stable Version](https://poser.pugx.org/google/cloud-apigee-registry/v/stable)](https://packagist.org/packages/google/cloud-apigee-registry) [![Packagist](https://img.shields.io/packagist/dm/google/cloud-apigee-registry.svg)](https://packagist.org/packages/google/cloud-apigee-registry)

* [API documentation](http://googleapis.github.io/google-cloud-php/#/docs/cloud-apigee-registry/latest/apigeeregistry/readme)
* [API documentation](https://cloud.google.com/php/docs/reference/cloud-apigee-registry/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any
support requests, bug reports, or development contributions should be directed to
Expand Down
2 changes: 1 addition & 1 deletion AppEngineAdmin/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"distribution_name": "google/cloud-appengine-admin",
"release_level": "ga",
"client_documentation": "http://googleapis.github.io/google-cloud-php/#/docs/cloud-appengine-admin/latest",
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-appengine-admin/latest",
"library_type": "GAPIC_AUTO"
}
2 changes: 1 addition & 1 deletion AppEngineAdmin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Latest Stable Version](https://poser.pugx.org/google/cloud-appengine-admin/v/stable)](https://packagist.org/packages/google/cloud-appengine-admin) [![Packagist](https://img.shields.io/packagist/dm/google/cloud-appengine-admin.svg)](https://packagist.org/packages/google/cloud-appengine-admin)

* [API documentation](http://googleapis.github.io/google-cloud-php/#/docs/cloud-appengine-admin/latest/appengineadmin/readme)
* [API documentation](https://cloud.google.com/php/docs/reference/cloud-appengine-admin/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any
support requests, bug reports, or development contributions should be directed to
Expand Down
Loading

0 comments on commit 79ee85c

Please sign in to comment.