From e116e92e2f59dc4c0750e6694115ff1a195d6dae Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Wed, 22 Feb 2023 15:03:23 -0300 Subject: [PATCH] Last visit setCompose update and Docker --- Dockerfile | 35 +--- Dockerfile.live | 82 ++++++++ composer.json | 3 +- composer.lock | 2 +- deploy/{ => apache}/crontab | 0 deploy/{ => apache}/docker-entrypoint | 33 +-- deploy/{ => apache}/wait-for-db.php | 62 +++--- deploy/nginx/crontab | 3 + deploy/nginx/docker-entrypoint-live | 78 ++++++++ docker-compose.yml | 88 ++++++-- env.example | 4 +- objects/functions.php | 10 +- plugin/Scheduler/Scheduler.php | 4 +- plugin/Scheduler/getManagerVideosEdit.js | 2 +- plugin/Scheduler/run.php | 4 +- vendor/composer/installed.json | 14 +- vendor/composer/installed.php | 10 +- vendor/google/apiclient-services/README.md | 4 + .../Resource/Enterprises.php | 4 +- .../RenameInstanceRequest.php | 27 +-- .../Resource/ProjectsLocationsInstances.php | 11 +- .../google/apiclient-services/src/Batch.php | 34 ---- .../Batch/Resource/ProjectsLocationsJobs.php | 78 +------- .../src/Bigquery/Dataset.php | 18 ++ .../apiclient-services/src/Bigquery/Table.php | 18 ++ .../src/Bigquery/TableFieldSchema.php | 18 ++ .../NameConstraints.php | 189 ++++++++++++++++++ .../Resource/ProjectsLocationsCaPools.php | 6 +- ...LocationsCaPoolsCertificateAuthorities.php | 6 +- ...eAuthoritiesCertificateRevocationLists.php | 2 +- .../ProjectsLocationsCaPoolsCertificates.php | 2 +- .../ProjectsLocationsCertificateTemplates.php | 6 +- .../X509Parameters.php | 17 ++ .../src/ChromeManagement.php | 60 ++++++ ...ementV1CountPrintJobsByPrinterResponse.php | 80 ++++++++ ...nagementV1CountPrintJobsByUserResponse.php | 80 ++++++++ .../GoogleChromeManagementV1PrinterReport.php | 134 +++++++++++++ ...oogleChromeManagementV1UserPrintReport.php | 116 +++++++++++ .../Resource/CustomersReports.php | 65 ++++++ ...nelAutosettingsProtoPolicyApiLifecycle.php | 21 +- .../src/CloudAsset/Resource/Feeds.php | 2 +- .../src/CloudAsset/Resource/SavedQueries.php | 4 +- .../apiclient-services/src/CloudDataplex.php | 8 + ...ogleCloudDataplexV1AssetResourceStatus.php | 18 ++ .../Resource/ProjectsLocationsDataScans.php | 4 + .../src/CloudDeploy/Release.php | 17 ++ .../src/CloudDeploy/ReleaseCondition.php | 60 ++++++ .../src/CloudDeploy/ReleaseReadyCondition.php | 44 ++++ .../SkaffoldSupportedCondition.php | 98 +++++++++ .../src/CloudDeploy/SkaffoldVersion.php | 36 ++++ .../src/CloudHealthcare/SchemaConfig.php | 17 ++ .../src/CloudHealthcare/TimePartitioning.php | 62 ++++++ .../src/CloudRedis/Instance.php | 36 ++++ .../AppsDynamiteSharedSpaceInfo.php | 17 ++ .../CloudSearch/AppsDynamiteStorageAction.php | 18 ++ .../src/CloudSearch/MessageDeleted.php | 19 +- .../src/CloudSearch/UserMentionMetadata.php | 18 ++ .../src/CloudSearch/WonderCardDelete.php | 61 ++++++ .../src/CloudSearch/WonderMessageMapping.php | 45 +++++ .../ProjectsLocationsWorkstationClusters.php | 22 +- .../google/apiclient-services/src/Compute.php | 169 +++++++++++++++- .../src/Compute/InstanceTemplate.php | 18 ++ .../InstanceTemplateAggregatedList.php | 132 ++++++++++++ .../InstanceTemplateAggregatedListWarning.php | 80 ++++++++ ...tanceTemplateAggregatedListWarningData.php | 62 ++++++ .../Compute/InstanceTemplatesScopedList.php | 61 ++++++ .../InstanceTemplatesScopedListWarning.php | 80 ++++++++ ...InstanceTemplatesScopedListWarningData.php | 62 ++++++ .../src/Compute/InstancesSetNameRequest.php | 62 ++++++ .../src/Compute/Resource/Images.php | 6 +- .../Compute/Resource/InstanceTemplates.php | 73 +++++++ .../src/Compute/Resource/Instances.php | 28 +++ .../Resource/RegionInstanceTemplates.php | 175 ++++++++++++++++ .../src/Drive/DriveCapabilities.php | 18 ++ .../src/Drive/DriveRestrictions.php | 18 ++ .../src/Drive/TeamDriveCapabilities.php | 18 ++ .../src/Drive/TeamDriveRestrictions.php | 18 ++ .../Resource/Accounts.php | 6 +- .../Resource/Properties.php | 2 +- .../apiclient-services/src/HangoutsChat.php | 3 + .../src/HangoutsChat/Space.php | 18 ++ .../google/apiclient-services/src/Logging.php | 140 +++++++++++++ .../src/Logging/BucketMetadata.php | 114 +++++++++++ .../src/Logging/CreateBucketRequest.php | 79 ++++++++ .../src/Logging/LogBucket.php | 18 ++ .../BillingAccountsLocationsBuckets.php | 58 +++++- .../Resource/FoldersLocationsBuckets.php | 58 +++++- .../src/Logging/Resource/LocationsBuckets.php | 58 +++++- .../OrganizationsLocationsBuckets.php | 58 +++++- .../Resource/ProjectsLocationsBuckets.php | 58 +++++- .../src/Logging/UpdateBucketRequest.php | 79 ++++++++ .../src/Monitoring/HttpCheck.php | 18 ++ ...LocationsNetworkconnectivityGlobalHubs.php | 3 +- .../Resource/ProjectsLocationsSpokes.php | 3 +- .../VulnerabilityOccurrence.php | 17 ++ ...llerSubscriptionV1SubscriptionLineItem.php | 17 ++ .../src/SASPortalTesting.php | 4 + .../SASPortalTesting/Resource/Customers.php | 17 ++ .../Resource/Provisioning.php | 51 +++++ .../SasPortalProvisionDeploymentRequest.php | 25 +++ .../SasPortalProvisionDeploymentResponse.php | 44 ++++ .../Resource/EncodedFullHashes.php | 6 +- .../Safebrowsing/Resource/EncodedUpdates.php | 6 +- .../src/Safebrowsing/Resource/FullHashes.php | 12 +- .../src/Safebrowsing/Resource/ThreatHits.php | 12 +- .../Resource/ThreatListUpdates.php | 12 +- .../src/Safebrowsing/Resource/ThreatLists.php | 6 +- .../Safebrowsing/Resource/ThreatMatches.php | 12 +- .../ServiceConsumerManagement/BackendRule.php | 17 ++ .../src/ServiceControl/CheckResponse.php | 17 -- .../src/ServiceNetworking/BackendRule.php | 17 ++ .../src/ServiceUsage/BackendRule.php | 17 ++ .../Resource/ProjectsLocationsGroups.php | 6 +- .../Resource/ProjectsLocationsSources.php | 6 +- ...tsLocationsSourcesDatacenterConnectors.php | 4 +- .../ProjectsLocationsSourcesMigratingVms.php | 4 +- ...sLocationsSourcesMigratingVmsCloneJobs.php | 2 +- ...ocationsSourcesMigratingVmsCutoverJobs.php | 2 +- ...ectsLocationsSourcesUtilizationReports.php | 4 +- .../ProjectsLocationsTargetProjects.php | 6 +- 120 files changed, 3852 insertions(+), 380 deletions(-) create mode 100644 Dockerfile.live rename deploy/{ => apache}/crontab (100%) rename deploy/{ => apache}/docker-entrypoint (73%) rename deploy/{ => apache}/wait-for-db.php (95%) create mode 100644 deploy/nginx/crontab create mode 100644 deploy/nginx/docker-entrypoint-live create mode 100644 vendor/google/apiclient-services/src/CertificateAuthorityService/NameConstraints.php create mode 100644 vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1CountPrintJobsByPrinterResponse.php create mode 100644 vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1CountPrintJobsByUserResponse.php create mode 100644 vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1PrinterReport.php create mode 100644 vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1UserPrintReport.php create mode 100644 vendor/google/apiclient-services/src/CloudDeploy/ReleaseCondition.php create mode 100644 vendor/google/apiclient-services/src/CloudDeploy/ReleaseReadyCondition.php create mode 100644 vendor/google/apiclient-services/src/CloudDeploy/SkaffoldSupportedCondition.php create mode 100644 vendor/google/apiclient-services/src/CloudHealthcare/TimePartitioning.php create mode 100644 vendor/google/apiclient-services/src/CloudSearch/WonderCardDelete.php create mode 100644 vendor/google/apiclient-services/src/CloudSearch/WonderMessageMapping.php create mode 100644 vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedList.php create mode 100644 vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedListWarning.php create mode 100644 vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedListWarningData.php create mode 100644 vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedList.php create mode 100644 vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedListWarning.php create mode 100644 vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedListWarningData.php create mode 100644 vendor/google/apiclient-services/src/Compute/InstancesSetNameRequest.php create mode 100644 vendor/google/apiclient-services/src/Compute/Resource/RegionInstanceTemplates.php create mode 100644 vendor/google/apiclient-services/src/Logging/BucketMetadata.php create mode 100644 vendor/google/apiclient-services/src/Logging/CreateBucketRequest.php create mode 100644 vendor/google/apiclient-services/src/Logging/UpdateBucketRequest.php create mode 100644 vendor/google/apiclient-services/src/SASPortalTesting/Resource/Provisioning.php create mode 100644 vendor/google/apiclient-services/src/SASPortalTesting/SasPortalProvisionDeploymentRequest.php create mode 100644 vendor/google/apiclient-services/src/SASPortalTesting/SasPortalProvisionDeploymentResponse.php diff --git a/Dockerfile b/Dockerfile index b08045f36a..7e3e534331 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,15 +13,15 @@ ARG DEBIAN_FRONTEND=noninteractive ARG SOCKET_PORT ARG HTTP_PORT ARG HTTPS_PORT -ARG NGINX_RTMP_PORT -ARG NGINX_HTTP_PORT -ARG NGINX_HTTPS_PORT ARG DB_MYSQL_HOST ARG DB_MYSQL_PORT ARG DB_MYSQL_NAME ARG DB_MYSQL_USER ARG DB_MYSQL_PASSWORD ARG SERVER_NAME +ARG ENABLE_PHPMYADMIN +ARG PHPMYADMIN_PORT +ARG PHPMYADMIN_ENCODER_PORT ARG CREATE_TLS_CERTIFICATE ARG TLS_CERTIFICATE_FILE ARG TLS_CERTIFICATE_KEY @@ -48,28 +48,11 @@ RUN apt-get update -y && apt-get upgrade -y \ && a2enmod headers COPY deploy/apache/avideo.conf /etc/apache2/sites-enabled/000-default.conf -COPY deploy/docker-entrypoint /usr/local/bin/docker-entrypoint -COPY deploy/wait-for-db.php /usr/local/bin/wait-for-db.php +COPY deploy/apache/docker-entrypoint /usr/local/bin/docker-entrypoint +COPY deploy/apache/wait-for-db.php /usr/local/bin/wait-for-db.php +#COPY deploy/apache/phpmyadmin.conf /etc/apache2/conf-available/phpmyadmin.conf -# Install nginx -RUN apt-get install build-essential libssl-dev libpcre3 libpcre3-dev wget -y \ - && apt-get install --reinstall zlib1g zlib1g-dev -y \ - && mkdir /var/www/tmp && chmod -R 777 /var/www/tmp \ - && mkdir /HLS && mkdir /HLS/live && chmod -R 777 /HLS - -RUN mkdir ~/build \ - && cd ~/build \ - && git clone https://github.com/arut/nginx-rtmp-module.git \ - && git clone https://github.com/nginx/nginx.git \ - && cd nginx \ - && ./auto/configure --with-http_ssl_module --with-http_stub_status_module --add-module=../nginx-rtmp-module --with-cc-opt="-Wimplicit-fallthrough=0" \ - && make \ - && make install\ - && cd /usr/local/nginx/html && wget https://youphp.tube/docs/stat.xsl - -COPY deploy/nginx/nginx.conf /usr/local/nginx/conf/nginx.conf - -COPY deploy/crontab /etc/cron.d/crontab +COPY deploy/apache/crontab /etc/cron.d/crontab RUN dos2unix /etc/cron.d/crontab RUN chmod 0644 /etc/cron.d/crontab RUN chmod +x /etc/cron.d/crontab @@ -100,8 +83,8 @@ WORKDIR /var/www/html/AVideo/ EXPOSE $SOCKET_PORT EXPOSE $HTTP_PORT EXPOSE $HTTPS_PORT -EXPOSE $NGINX_RTMP_PORT -EXPOSE $NGINX_HTTPS_PORT +EXPOSE $PHPMYADMIN_PORT +EXPOSE $PHPMYADMIN_ENCODER_PORT ENTRYPOINT ["/usr/local/bin/docker-entrypoint"] CMD ["apache2-foreground"] diff --git a/Dockerfile.live b/Dockerfile.live new file mode 100644 index 0000000000..a778152e63 --- /dev/null +++ b/Dockerfile.live @@ -0,0 +1,82 @@ +FROM ubuntu:latest + +ARG DEBIAN_FRONTEND=noninteractive + +ARG NGINX_RTMP_PORT +ARG NGINX_HTTP_PORT +ARG NGINX_HTTPS_PORT +ARG SERVER_NAME +ARG CREATE_TLS_CERTIFICATE +ARG TLS_CERTIFICATE_FILE +ARG TLS_CERTIFICATE_KEY + +RUN apt-get update -y && apt-get upgrade -y +RUN apt-get install -y --no-install-recommends \ + dos2unix \ + bash-completion \ + lsof \ + rsyslog \ + cron \ + rsync \ + ca-certificates \ + apt-transport-https \ + software-properties-common \ + curl \ + build-essential \ + libssl-dev \ + php-fpm \ + php-cli \ + php-curl \ + libpcre3 \ + libpcre3-dev \ + git \ + python3-certbot-nginx \ + ffmpeg \ + zlib1g-dev \ + wget + RUN mkdir ~/build && \ + cd ~/build && \ + git clone https://github.com/arut/nginx-rtmp-module.git && \ + git clone https://github.com/nginx/nginx.git && \ + cd nginx && \ + ./auto/configure --with-http_ssl_module --with-http_stub_status_module --add-module=../nginx-rtmp-module --with-cc-opt="-Wimplicit-fallthrough=0" && \ + make && \ + make install + RUN cd /usr/local/nginx/html && \ + wget https://youphp.tube/docs/stat.xsl --no-check-certificate && \ + mv /usr/local/nginx/conf/nginx.conf /usr/local/nginx/conf/nginx.conf.old && \ + cd /usr/local/nginx/conf/ && \ + wget https://raw.githubusercontent.com/WWBN/AVideo/master/plugin/Live/install/nginx.conf --no-check-certificate && \ + mkdir /HLS && \ + mkdir /HLS/live && \ + mkdir /HLS/low && \ + mkdir /var/www/tmp/ && \ + chmod 777 /var/www/tmp + +COPY deploy/nginx/docker-entrypoint-live /usr/local/bin/docker-entrypoint-live +COPY deploy/nginx/nginx.conf /usr/local/nginx/conf/nginx.conf + +COPY deploy/nginx/crontab /etc/cron.d/crontab +RUN dos2unix /etc/cron.d/crontab +RUN chmod 0644 /etc/cron.d/crontab +RUN chmod +x /etc/cron.d/crontab +RUN service cron start +RUN crontab /etc/cron.d/crontab + +RUN dos2unix /usr/local/bin/docker-entrypoint-live && \ + chmod 755 /usr/local/bin/docker-entrypoint-live && \ + chmod +x /usr/local/bin/docker-entrypoint-live + +VOLUME /var/www/tmp +RUN mkdir -p /var/www/tmp && \ + chmod 777 /var/www/tmp + +EXPOSE $NGINX_RTMP_PORT +EXPOSE $NGINX_HTTP_PORT +EXPOSE $NGINX_HTTPS_PORT + +ENTRYPOINT ["/usr/local/bin/docker-entrypoint-live"] + +CMD ["/usr/local/nginx/sbin/nginx", "-g", "daemon off;"] + +#CMD ["bash"] \ No newline at end of file diff --git a/composer.json b/composer.json index 1357cd63a1..75a11033fc 100644 --- a/composer.json +++ b/composer.json @@ -45,6 +45,7 @@ "symfony/translation": "^5.3", "amphp/amp": "^2.6", "scssphp/scssphp": "^1.11", - "vimeo/vimeo-api": "^3.0" + "vimeo/vimeo-api": "^3.0", + "phpseclib/phpseclib": "^3.0" } } diff --git a/composer.lock b/composer.lock index 76747e6e3e..572e806173 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d187492ec3ae5da5d4905596c18f60a0", + "content-hash": "61c7502eaba3f259718a32d5b7f018cf", "packages": [ { "name": "abraham/twitteroauth", diff --git a/deploy/crontab b/deploy/apache/crontab similarity index 100% rename from deploy/crontab rename to deploy/apache/crontab diff --git a/deploy/docker-entrypoint b/deploy/apache/docker-entrypoint similarity index 73% rename from deploy/docker-entrypoint rename to deploy/apache/docker-entrypoint index ad14cd3740..c59e5d34ef 100644 --- a/deploy/docker-entrypoint +++ b/deploy/apache/docker-entrypoint @@ -2,7 +2,6 @@ echo "Starting AVideo Platform..." CONFIG_FILE=/etc/apache2/sites-enabled/000-default.conf -CONFIG_NGINX_FILE=/usr/local/nginx/conf/nginx.conf if [ "_${CREATE_TLS_CERTIFICATE}_" == "_yes_" ]; then echo "Generate Certificate..." @@ -45,19 +44,11 @@ fi sed -i 's#SERVER_NAME#'${SERVER_NAME}'#' ${CONFIG_FILE} sed -i 's#CONTACT_EMAIL#'${CONTACT_EMAIL}'#' ${CONFIG_FILE} -sed -i 's#server_name localhost _#server_name localhost _ '${SERVER_NAME}'#' ${CONFIG_NGINX_FILE} echo "Configure Apache..." sed -i 's#TLS_CERTIFICATE_FILE#'${TLS_CERTIFICATE_FILE}'#' ${CONFIG_FILE} sed -i 's#TLS_CERTIFICATE_KEY#'${TLS_CERTIFICATE_KEY}'#' ${CONFIG_FILE} -echo "Configure Nginx..." -sed -i 's#ssl_certificate /etc/apache2/ssl/localhost.crt#ssl_certificate '${TLS_CERTIFICATE_FILE}'#' ${CONFIG_NGINX_FILE} -sed -i 's#ssl_certificate_key /etc/apache2/ssl/localhost.key#ssl_certificate_key '${TLS_CERTIFICATE_KEY}'#' ${CONFIG_NGINX_FILE} -sed -i 's#listen 1935#listen '${NGINX_RTMP_PORT}'#' ${CONFIG_NGINX_FILE} -sed -i 's#listen 8080#listen '${NGINX_HTTP_PORT}'#' ${CONFIG_NGINX_FILE} -sed -i 's#listen 8443#listen '${NGINX_HTTPS_PORT}'#' ${CONFIG_NGINX_FILE} - mkdir -p /etc/letsencrypt/live/localhost/ cp ${TLS_CERTIFICATE_FILE} /etc/letsencrypt/live/localhost/fullchain.pem @@ -102,25 +93,20 @@ cd /var/www/html/AVideo/install/ php ./cli.php cd /var/www/html/AVideo/ +#if [ "_${ENABLE_PHPMYADMIN}_" = "_yes_" ]; then +# echo "Enabling local PHPMyAdmin on https://${SERVER_NAME}/phpmyadmin" +# cp /etc/apache2/conf-available/phpmyadmin.conf /etc/apache2/conf-enabled/phpmyadmin.conf +# a2enmod proxy +# a2enmod proxy_http +#fi + echo "lets encrypt apache ${SERVER_NAME}" certbot --apache --non-interactive --agree-tos --register-unsafely-without-email --redirect --keep-until-expiring -d ${SERVER_NAME} /etc/init.d/apache2 stop -if [ -f /usr/local/nginx/sbin/nginx ]; then - /usr/local/nginx/sbin/nginx -s stop - echo "lets encrypt nginx ${SERVER_NAME}" - apt-get install -y --no-install-recommends python3-certbot-nginx - mv /usr/sbin/nginx /usr/sbin/nginx.old && cp /usr/local/nginx/sbin/nginx /usr/sbin/nginx - mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.old && cp /usr/local/nginx/conf/nginx.conf /etc/nginx/nginx.conf - certbot --nginx --non-interactive --agree-tos --nginx-server-root /usr/local/nginx/conf --no-redirect --register-unsafely-without-email --keep-until-expiring -d $SERVER_NAME - sed -i 's/listen 443 ssl/listen 8443 ssl/g' /usr/local/nginx/conf/nginx.conf - echo "nginx start" - /usr/local/nginx/sbin/nginx -s stop && sleep 3 && /usr/local/nginx/sbin/nginx -fi - +echo "Start socket" nohup php /var/www/html/AVideo/plugin/YPTSocket/server.php & -echo "socket done" echo "Reset log" echo '' > /var/www/html/AVideo/videos/avideo.log @@ -135,6 +121,9 @@ cd /var/www/html/AVideo/Encoder/install && php reencodeAllVideos.php echo "crontab starting" cron +bash +source /etc/bash_completion + apache2-foreground echo "apache2-foreground done" diff --git a/deploy/wait-for-db.php b/deploy/apache/wait-for-db.php similarity index 95% rename from deploy/wait-for-db.php rename to deploy/apache/wait-for-db.php index 508b6e5958..a78313ed0c 100644 --- a/deploy/wait-for-db.php +++ b/deploy/apache/wait-for-db.php @@ -1,31 +1,31 @@ - $timeout) { - echo "Giving up..."; - exit(1); - } - - sleep($sleep); - } -} - -exit(0); + $timeout) { + echo "Giving up..."; + exit(1); + } + + sleep($sleep); + } +} + +exit(0); diff --git a/deploy/nginx/crontab b/deploy/nginx/crontab new file mode 100644 index 0000000000..b19f9f4fad --- /dev/null +++ b/deploy/nginx/crontab @@ -0,0 +1,3 @@ +# m h dom mon dow command +# @reboot sleep 60; && /usr/local/nginx/sbin/nginx > /proc/1/fd/1 2>/proc/1/fd/2 +0 4 * * * /usr/local/nginx/sbin/nginx -s stop && sleep 1 && /usr/local/nginx/sbin/nginx > /proc/1/fd/1 2>/proc/1/fd/2 diff --git a/deploy/nginx/docker-entrypoint-live b/deploy/nginx/docker-entrypoint-live new file mode 100644 index 0000000000..2ef9fa1a98 --- /dev/null +++ b/deploy/nginx/docker-entrypoint-live @@ -0,0 +1,78 @@ +#!/bin/bash + +echo "Starting AVideo Live..." +CONFIG_NGINX_FILE=/usr/local/nginx/conf/nginx.conf + +if [ "_${CREATE_TLS_CERTIFICATE}_" == "_yes_" ]; then + echo "Generate Certificate..." + echo "Certificate file: ${TLS_CERTIFICATE_FILE}" + echo "Certificate key: ${TLS_CERTIFICATE_KEY}" + + mkdir -p `dirname ${TLS_CERTIFICATE_FILE}` + mkdir -p `dirname ${TLS_CERTIFICATE_KEY}` + subjectAltName="IP:127.0.0.1,DNS:${SERVER_NAME}" + + CONFIG="" + CONFIG="${CONFIG}[dn]\n" + CONFIG="${CONFIG}C=NN\n" + CONFIG="${CONFIG}L=Earth\n" + CONFIG="${CONFIG}O=AVideo\n" + CONFIG="${CONFIG}OU=Development\n" + CONFIG="${CONFIG}CN=localhost\n" + CONFIG="${CONFIG}\n" + CONFIG="${CONFIG}[req]\n" + CONFIG="${CONFIG}distinguished_name=dn\n" + CONFIG="${CONFIG}\n" + CONFIG="${CONFIG}[EXT]\n" + CONFIG="${CONFIG}subjectAltName=${subjectAltName}\n" + CONFIG="${CONFIG}extendedKeyUsage=serverAuth\n" + CONFIG="${CONFIG}\n" + + openssl req -x509 \ + -out ${TLS_CERTIFICATE_FILE} -keyout ${TLS_CERTIFICATE_KEY} \ + -newkey rsa:4096 \ + -nodes \ + -sha256 \ + -days 3650 \ + -subj '/C=NN/L=Earth/O=avideo/OU=DEV/CN=localhost' \ + -extensions EXT -config <( \ + printf "${CONFIG}") + + echo "New Certificate config..." + openssl x509 -in ${TLS_CERTIFICATE_FILE} -noout -text || true +fi + +sed -i 's#server_name localhost _#server_name localhost _ '${SERVER_NAME}'#' ${CONFIG_NGINX_FILE} + +echo "Configure Nginx..." +sed -i 's#ssl_certificate /etc/apache2/ssl/localhost.crt#ssl_certificate '${TLS_CERTIFICATE_FILE}'#' ${CONFIG_NGINX_FILE} +sed -i 's#ssl_certificate_key /etc/apache2/ssl/localhost.key#ssl_certificate_key '${TLS_CERTIFICATE_KEY}'#' ${CONFIG_NGINX_FILE} +sed -i 's#listen 1935#listen '${NGINX_RTMP_PORT}'#' ${CONFIG_NGINX_FILE} +sed -i 's#listen 8080#listen '${NGINX_HTTP_PORT}'#' ${CONFIG_NGINX_FILE} +sed -i 's#listen 8443#listen '${NGINX_HTTPS_PORT}'#' ${CONFIG_NGINX_FILE} + +mkdir -p /etc/letsencrypt/live/localhost/ + +cp ${TLS_CERTIFICATE_FILE} /etc/letsencrypt/live/localhost/fullchain.pem +cp ${TLS_CERTIFICATE_KEY} /etc/letsencrypt/live/localhost/privkey.pem + + +/usr/local/nginx/sbin/nginx -s stop +echo "lets encrypt nginx ${SERVER_NAME}" +mv /usr/sbin/nginx /usr/sbin/nginx.old && cp /usr/local/nginx/sbin/nginx /usr/sbin/nginx +mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.old && cp /usr/local/nginx/conf/nginx.conf /etc/nginx/nginx.conf +certbot --nginx --non-interactive --agree-tos --nginx-server-root /usr/local/nginx/conf --no-redirect --register-unsafely-without-email --keep-until-expiring -d $SERVER_NAME +sed -i 's/listen 443 ssl/listen 8443 ssl/g' /usr/local/nginx/conf/nginx.conf + +echo "crontab starting" +cron + +bash +source /etc/bash_completion + +#echo "nginx start" +/usr/local/nginx/sbin/nginx -s stop +/usr/local/nginx/sbin/nginx -g "daemon off;" +#/usr/local/nginx/sbin/nginx -s stop && sleep 3 && /usr/local/nginx/sbin/nginx + +#eof \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 57a02fdb47..161d624f7f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,15 +8,15 @@ services: SOCKET_PORT: ${SOCKET_PORT} HTTP_PORT: ${HTTP_PORT} HTTPS_PORT: ${HTTPS_PORT} - NGINX_RTMP_PORT: ${NGINX_RTMP_PORT} - NGINX_HTTP_PORT: ${NGINX_HTTP_PORT} - NGINX_HTTPS_PORT: ${NGINX_HTTPS_PORT} DB_MYSQL_HOST: ${DB_MYSQL_HOST} DB_MYSQL_PORT: ${DB_MYSQL_PORT} DB_MYSQL_NAME: ${DB_MYSQL_NAME} DB_MYSQL_USER: ${DB_MYSQL_USER} DB_MYSQL_PASSWORD: ${DB_MYSQL_PASSWORD} SERVER_NAME: ${SERVER_NAME} + ENABLE_PHPMYADMIN: ${ENABLE_PHPMYADMIN} + PHPMYADMIN_PORT: ${PHPMYADMIN_PORT} + PHPMYADMIN_ENCODER_PORT: ${PHPMYADMIN_ENCODER_PORT} CREATE_TLS_CERTIFICATE: ${CREATE_TLS_CERTIFICATE} TLS_CERTIFICATE_FILE: ${TLS_CERTIFICATE_FILE} TLS_CERTIFICATE_KEY: ${TLS_CERTIFICATE_KEY} @@ -29,15 +29,15 @@ services: SOCKET_PORT: ${SOCKET_PORT:-2053} HTTP_PORT: ${HTTP_PORT:-80} HTTPS_PORT: ${HTTP_PORT:-443} - NGINX_RTMP_PORT: ${NGINX_RTMP_PORT:-1935} - NGINX_HTTP_PORT: ${NGINX_HTTP_PORT:-8080} - NGINX_HTTPS_PORT: ${NGINX_HTTPS_PORT:-8443} DB_MYSQL_HOST: "${DB_MYSQL_HOST:-database}" DB_MYSQL_PORT: ${DB_MYSQL_PORT:-3306} DB_MYSQL_NAME: "${DB_MYSQL_NAME:-avideo}" DB_MYSQL_USER: "${DB_MYSQL_USER:-avideo}" DB_MYSQL_PASSWORD: "${DB_MYSQL_PASSWORD:-avideo}" SERVER_NAME: "${SERVER_NAME:-localhost}" + ENABLE_PHPMYADMIN: "${ENABLE_PHPMYADMIN:-yes}" + PHPMYADMIN_PORT: ${PHPMYADMIN_PORT:-8081} + PHPMYADMIN_ENCODER_PORT: ${PHPMYADMIN_ENCODER_PORT:-8082} CREATE_TLS_CERTIFICATE: "${CREATE_TLS_CERTIFICATE:-yes}" TLS_CERTIFICATE_FILE: "${TLS_CERTIFICATE_FILE:-/etc/apache2/ssl/localhost.crt}" TLS_CERTIFICATE_KEY: "${TLS_CERTIFICATE_KEY:-/etc/apache2/ssl/localhost.key}" @@ -51,10 +51,9 @@ services: - "${SOCKET_PORT:-2053}:2053" - "${HTTP_PORT:-80}:80" - "${HTTPS_PORT:-443}:443" - - "${NGINX_RTMP_PORT:-1935}:1935" - - "${NGINX_HTTP_PORT:-8080}:8080" - - "${NGINX_HTTPS_PORT:-8443}:8443" volumes: + - "./.compose/tmp:/var/www/tmp" + - "./.compose/HLS:/HLS" - "./:/var/www/html/AVideo" - "./.compose/videos:/var/www/html/AVideo/videos" - "./.compose/encoder:/var/www/html/AVideo/Encoder" @@ -65,15 +64,40 @@ services: networks: - app_net + live: + build: + context: . + dockerfile: Dockerfile.live + restart: "unless-stopped" + volumes: + - "./.compose/tmp:/var/www/tmp" + - "./.compose/HLS:/HLS" + - "./.compose/letsencrypt:/etc/letsencrypt/" + environment: + SERVER_NAME: "${SERVER_NAME:-localhost}" + CREATE_TLS_CERTIFICATE: "${CREATE_TLS_CERTIFICATE:-yes}" + TLS_CERTIFICATE_FILE: "${TLS_CERTIFICATE_FILE:-/etc/apache2/ssl/localhost.crt}" + TLS_CERTIFICATE_KEY: "${TLS_CERTIFICATE_KEY:-/etc/apache2/ssl/localhost.key}" + env_file: + - .env + ports: + - "${NGINX_RTMP_PORT:-1935}:1935" + - "${NGINX_HTTP_PORT:-8080}:8080" + - "${NGINX_HTTPS_PORT:-8443}:8443" + depends_on: + - avideo + networks: + - app_net + database: image: "mariadb:latest" restart: "unless-stopped" environment: MYSQL_RANDOM_ROOT_PASSWORD: "yes" MYSQL_INITDB_SKIP_TZINFO: 1 - MYSQL_DATABASE: "avideo" - MYSQL_USER: "avideo" - MYSQL_PASSWORD: "avideo" + MYSQL_DATABASE: "${DB_MYSQL_NAME}" + MYSQL_USER: "${DB_MYSQL_USER}" + MYSQL_PASSWORD: "${DB_MYSQL_PASSWORD}" volumes: - ./.compose/db:/var/lib/mysql networks: @@ -85,14 +109,48 @@ services: environment: MYSQL_RANDOM_ROOT_PASSWORD: "yes" MYSQL_INITDB_SKIP_TZINFO: 1 - MYSQL_DATABASE: "avideo_encoder" - MYSQL_USER: "avideo" - MYSQL_PASSWORD: "avideo" + MYSQL_DATABASE: "${DB_MYSQL_NAME}_encoder" + MYSQL_USER: "${DB_MYSQL_USER}" + MYSQL_PASSWORD: "${DB_MYSQL_PASSWORD}" volumes: - ./.compose/db_encoder:/var/lib/mysql networks: - app_net + #http://localhost:8081 + phpmyadmin: + image: "phpmyadmin/phpmyadmin" + restart: "unless-stopped" + environment: + PMA_HOST: "${DB_MYSQL_HOST}" + PMA_PORT: ${DB_MYSQL_PORT} + PMA_CONTROLUSER: "${DB_MYSQL_USER}" + PMA_CONTROLPASS: "${DB_MYSQL_PASSWORD}" + HIDE_PHP_VERSION: "true" + ports: + - "${PHPMYADMIN_PORT:-8081}:80" + depends_on: + - database + networks: + - app_net + + #http://localhost:8082 + phpmyadmin_encoder: + image: "phpmyadmin/phpmyadmin" + restart: "unless-stopped" + environment: + PMA_HOST: "${DB_MYSQL_HOST}_encoder" + PMA_PORT: ${DB_MYSQL_PORT} + PMA_CONTROLUSER: "${DB_MYSQL_USER}" + PMA_CONTROLPASS: "${DB_MYSQL_PASSWORD}" + HIDE_PHP_VERSION: "true" + ports: + - "${PHPMYADMIN_ENCODER_PORT:-8082}:80" + depends_on: + - database_encoder + networks: + - app_net + networks: app_net: driver: bridge \ No newline at end of file diff --git a/env.example b/env.example index 33a14fc3cb..4e4857a14f 100644 --- a/env.example +++ b/env.example @@ -1,5 +1,7 @@ SERVER_NAME=localhost - +ENABLE_PHPMYADMIN=yes +PHPMYADMIN_PORT=8081 +PHPMYADMIN_ENCODER_PORT=8082 SOCKET_PORT=2053 HTTP_PORT=80 HTTPS_PORT=443 diff --git a/objects/functions.php b/objects/functions.php index da8483ac0a..27c3720b45 100644 --- a/objects/functions.php +++ b/objects/functions.php @@ -4441,8 +4441,8 @@ function _session_start(array $options = []) { function _session_regenerate_id() { session_regenerate_id(true); - _resetcookie('PHPSESSID', session_id(), $expires); - _resetcookie(session_name(), session_id(), $expires); + _resetcookie('PHPSESSID', session_id()); + _resetcookie(session_name(), session_id()); } function debugMemmory($line) { @@ -4568,7 +4568,11 @@ function _mysql_close() { function _mysql_is_open() { global $global, $mysql_connect_was_closed; try { - + /** + * + * @var array $global + * @var object $global['mysqli'] + */ //if (is_object($global['mysqli']) && (empty($mysql_connect_was_closed) || !empty(@$global['mysqli']->ping()))) { if (!empty($global['mysqli']) && is_object($global['mysqli']) && empty($mysql_connect_was_closed) && isset($global['mysqli']->server_info) && is_resource($global['mysqli']) && get_resource_type($global['mysqli']) === 'mysql link') { return true; diff --git a/plugin/Scheduler/Scheduler.php b/plugin/Scheduler/Scheduler.php index ef100424a0..9886a76941 100644 --- a/plugin/Scheduler/Scheduler.php +++ b/plugin/Scheduler/Scheduler.php @@ -439,6 +439,7 @@ class Scheduler extends PluginAbstract $externalOptions = new stdClass(); } $externalOptions->releaseDateTime = $releaseDateTime; + $externalOptions->releaseDateTimeZone = date_default_timezone_get(); $video->setExternalOptions(json_encode($externalOptions)); return $video->save(); } @@ -447,7 +448,8 @@ class Scheduler extends PluginAbstract { $video = new Video('', '', $videos_id); $externalOptions = _json_decode($video->getExternalOptions()); - return @$externalOptions->releaseDateTime; + + return convertDateFromToTimezone($externalOptions->releaseDateTime, $externalOptions->releaseDateTimeZone, date_default_timezone_get()); } public static function getLastVisitFile() diff --git a/plugin/Scheduler/getManagerVideosEdit.js b/plugin/Scheduler/getManagerVideosEdit.js index cab45927d5..544f804f4b 100644 --- a/plugin/Scheduler/getManagerVideosEdit.js +++ b/plugin/Scheduler/getManagerVideosEdit.js @@ -6,6 +6,6 @@ if (typeof row.externalOptions !== 'undefined' && row.externalOptions) { var json = JSON.parse(row.externalOptions); if(!empty(json.releaseDateTime)){ - $("#releaseDateTime").val(json.releaseDateTime); + $("#releaseDateTime").val(convertDateFromTimezoneToLocal(json.releaseDateTime, json.releaseDateTimeZone)); } } \ No newline at end of file diff --git a/plugin/Scheduler/run.php b/plugin/Scheduler/run.php index fb2e844171..363a9e34b8 100644 --- a/plugin/Scheduler/run.php +++ b/plugin/Scheduler/run.php @@ -19,7 +19,7 @@ $total2 = count($rows); $rows2 = Scheduler_commands::getAllScheduledTORepeat(); $total3 = count($rows2); -_log("There are {$total1} active requests; getAllActiveAndReady={$total2} getAllScheduledTORepeat={$total3} on time ". json_encode(Scheduler_commands::getTimesNow())); +//_log("There are {$total1} active requests; getAllActiveAndReady={$total2} getAllScheduledTORepeat={$total3} on time ". json_encode(Scheduler_commands::getTimesNow())); foreach ($rows as $value) { _log("getAllActiveAndReady run ". json_encode($value)); @@ -38,7 +38,7 @@ foreach ($rows2 as $value) { } if($lastVisitFile = Scheduler::setLastVisit()){ - _error_log("Last visit set {$lastVisitFile}"); + //_error_log("Last visit set {$lastVisitFile}"); }else{ _error_log('ERROR: Last visit NOT set'); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 9ec9d197a4..803c74e11b 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -1048,17 +1048,17 @@ }, { "name": "google/apiclient-services", - "version": "v0.287.0", - "version_normalized": "0.287.0.0", + "version": "v0.288.0", + "version_normalized": "0.288.0.0", "source": { "type": "git", "url": "https://github.com/googleapis/google-api-php-client-services.git", - "reference": "ed58596d34272a5cd0dc2c0595d9a678b9834880" + "reference": "de6cfa1556faf4a23d9ab5844508bb576f44fdd7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/ed58596d34272a5cd0dc2c0595d9a678b9834880", - "reference": "ed58596d34272a5cd0dc2c0595d9a678b9834880", + "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/de6cfa1556faf4a23d9ab5844508bb576f44fdd7", + "reference": "de6cfa1556faf4a23d9ab5844508bb576f44fdd7", "shasum": "" }, "require": { @@ -1067,7 +1067,7 @@ "require-dev": { "phpunit/phpunit": "^5.7||^8.5.13" }, - "time": "2023-02-12T01:08:11+00:00", + "time": "2023-02-18T01:16:11+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -1089,7 +1089,7 @@ ], "support": { "issues": "https://github.com/googleapis/google-api-php-client-services/issues", - "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.287.0" + "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.288.0" }, "install-path": "../google/apiclient-services" }, diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index fd7b519a16..ef6be575c5 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -5,7 +5,7 @@ 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => 'f0314f6e4ea30d9f762110d1d0005edb51a2c42c', + 'reference' => '1d091b9571e28ee8381f999f54779129f2c163f0', 'name' => 'wwbn/avideo', 'dev' => true, ), @@ -155,12 +155,12 @@ 'dev_requirement' => false, ), 'google/apiclient-services' => array( - 'pretty_version' => 'v0.287.0', - 'version' => '0.287.0.0', + 'pretty_version' => 'v0.288.0', + 'version' => '0.288.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../google/apiclient-services', 'aliases' => array(), - 'reference' => 'ed58596d34272a5cd0dc2c0595d9a678b9834880', + 'reference' => 'de6cfa1556faf4a23d9ab5844508bb576f44fdd7', 'dev_requirement' => false, ), 'google/auth' => array( @@ -848,7 +848,7 @@ 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => 'f0314f6e4ea30d9f762110d1d0005edb51a2c42c', + 'reference' => '1d091b9571e28ee8381f999f54779129f2c163f0', 'dev_requirement' => false, ), ), diff --git a/vendor/google/apiclient-services/README.md b/vendor/google/apiclient-services/README.md index 9140c68820..b0bb0df274 100644 --- a/vendor/google/apiclient-services/README.md +++ b/vendor/google/apiclient-services/README.md @@ -1,6 +1,10 @@ Google PHP API Client Services ============================== +**NOTE**: please check to see if the package you'd like to install is available in our +list of [Google cloud packages](https://cloud.google.com/php/docs/reference) first, as +these are the recommended libraries. + ## Requirements [Google API PHP Client](https://github.com/googleapis/google-api-php-client/releases) diff --git a/vendor/google/apiclient-services/src/AndroidManagement/Resource/Enterprises.php b/vendor/google/apiclient-services/src/AndroidManagement/Resource/Enterprises.php index e3015580b4..497d50b23b 100644 --- a/vendor/google/apiclient-services/src/AndroidManagement/Resource/Enterprises.php +++ b/vendor/google/apiclient-services/src/AndroidManagement/Resource/Enterprises.php @@ -33,7 +33,7 @@ class Enterprises extends \Google\Service\Resource { /** * Creates an enterprise. This is the last step in the enterprise signup flow. - * (enterprises.create) + * See also: SigninDetail (enterprises.create) * * @param Enterprise $postBody * @param array $optParams Optional parameters. @@ -120,7 +120,7 @@ class Enterprises extends \Google\Service\Resource return $this->call('list', [$params], ListEnterprisesResponse::class); } /** - * Updates an enterprise. (enterprises.patch) + * Updates an enterprise. See also: SigninDetail (enterprises.patch) * * @param string $name The name of the enterprise in the form * enterprises/{enterpriseId}. diff --git a/vendor/google/apiclient-services/src/Baremetalsolution/RenameInstanceRequest.php b/vendor/google/apiclient-services/src/Baremetalsolution/RenameInstanceRequest.php index 74e6032268..272fdb1729 100644 --- a/vendor/google/apiclient-services/src/Baremetalsolution/RenameInstanceRequest.php +++ b/vendor/google/apiclient-services/src/Baremetalsolution/RenameInstanceRequest.php @@ -19,41 +19,24 @@ namespace Google\Service\Baremetalsolution; class RenameInstanceRequest extends \Google\Model { - protected $instanceType = Instance::class; - protected $instanceDataType = ''; - public $instance; /** * @var string */ - public $name; + public $newName; - /** - * @param Instance - */ - public function setInstance(Instance $instance) - { - $this->instance = $instance; - } - /** - * @return Instance - */ - public function getInstance() - { - return $this->instance; - } /** * @param string */ - public function setName($name) + public function setNewName($newName) { - $this->name = $name; + $this->newName = $newName; } /** * @return string */ - public function getName() + public function getNewName() { - return $this->name; + return $this->newName; } } diff --git a/vendor/google/apiclient-services/src/Baremetalsolution/Resource/ProjectsLocationsInstances.php b/vendor/google/apiclient-services/src/Baremetalsolution/Resource/ProjectsLocationsInstances.php index 9c4a2371ec..9df873eed9 100644 --- a/vendor/google/apiclient-services/src/Baremetalsolution/Resource/ProjectsLocationsInstances.php +++ b/vendor/google/apiclient-services/src/Baremetalsolution/Resource/ProjectsLocationsInstances.php @@ -152,19 +152,18 @@ class ProjectsLocationsInstances extends \Google\Service\Resource /** * RenameInstance sets a new name for an instance. (instances.rename) * - * @param string $name Immutable. The resource name of this `Instance`. Resource - * names are schemeless URIs that follow the conventions in - * https://cloud.google.com/apis/design/resource_names. Format: - * `projects/{project}/locations/{location}/instances/{instance}` + * @param string $name Required. The `name` field is used to identify the + * instance. Format: + * projects/{project}/locations/{location}/instances/{instance} * @param RenameInstanceRequest $postBody * @param array $optParams Optional parameters. - * @return Operation + * @return Instance */ public function rename($name, RenameInstanceRequest $postBody, $optParams = []) { $params = ['name' => $name, 'postBody' => $postBody]; $params = array_merge($params, $optParams); - return $this->call('rename', [$params], Operation::class); + return $this->call('rename', [$params], Instance::class); } /** * Perform an ungraceful, hard reset on a server. Equivalent to shutting the diff --git a/vendor/google/apiclient-services/src/Batch.php b/vendor/google/apiclient-services/src/Batch.php index eee67259d3..15ba915402 100644 --- a/vendor/google/apiclient-services/src/Batch.php +++ b/vendor/google/apiclient-services/src/Batch.php @@ -154,20 +154,6 @@ class Batch extends \Google\Service 'required' => true, ], ], - ],'getIamPolicy' => [ - 'path' => 'v1/{+resource}:getIamPolicy', - 'httpMethod' => 'GET', - 'parameters' => [ - 'resource' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - 'options.requestedPolicyVersion' => [ - 'location' => 'query', - 'type' => 'integer', - ], - ], ],'list' => [ 'path' => 'v1/{+parent}/jobs', 'httpMethod' => 'GET', @@ -190,26 +176,6 @@ class Batch extends \Google\Service 'type' => 'string', ], ], - ],'setIamPolicy' => [ - 'path' => 'v1/{+resource}:setIamPolicy', - 'httpMethod' => 'POST', - 'parameters' => [ - 'resource' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - ], - ],'testIamPermissions' => [ - 'path' => 'v1/{+resource}:testIamPermissions', - 'httpMethod' => 'POST', - 'parameters' => [ - 'resource' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - ], ], ] ] diff --git a/vendor/google/apiclient-services/src/Batch/Resource/ProjectsLocationsJobs.php b/vendor/google/apiclient-services/src/Batch/Resource/ProjectsLocationsJobs.php index 405ed8f36c..5521be930a 100644 --- a/vendor/google/apiclient-services/src/Batch/Resource/ProjectsLocationsJobs.php +++ b/vendor/google/apiclient-services/src/Batch/Resource/ProjectsLocationsJobs.php @@ -20,10 +20,6 @@ namespace Google\Service\Batch\Resource; use Google\Service\Batch\Job; use Google\Service\Batch\ListJobsResponse; use Google\Service\Batch\Operation; -use Google\Service\Batch\Policy; -use Google\Service\Batch\SetIamPolicyRequest; -use Google\Service\Batch\TestIamPermissionsRequest; -use Google\Service\Batch\TestIamPermissionsResponse; /** * The "jobs" collection of methods. @@ -55,7 +51,7 @@ class ProjectsLocationsJobs extends \Google\Service\Resource * the server will know to ignore the request if it has already been completed. * The server will guarantee that for at least 60 minutes since the first * request. For example, consider a situation where you make an initial request - * and t he request times out. If you make the request again with the same + * and the request times out. If you make the request again with the same * request ID, the server can check if original operation with the same request * ID was received, and if so, will ignore the second request. This prevents * clients from accidentally creating duplicate commitments. The request ID must @@ -81,7 +77,7 @@ class ProjectsLocationsJobs extends \Google\Service\Resource * the server will know to ignore the request if it has already been completed. * The server will guarantee that for at least 60 minutes after the first * request. For example, consider a situation where you make an initial request - * and t he request times out. If you make the request again with the same + * and the request times out. If you make the request again with the same * request ID, the server can check if original operation with the same request * ID was received, and if so, will ignore the second request. This prevents * clients from accidentally creating duplicate commitments. The request ID must @@ -108,36 +104,6 @@ class ProjectsLocationsJobs extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('get', [$params], Job::class); } - /** - * Gets the access control policy for a resource. Returns an empty policy if the - * resource exists and does not have a policy set. (jobs.getIamPolicy) - * - * @param string $resource REQUIRED: The resource for which the policy is being - * requested. See [Resource - * names](https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - * @param array $optParams Optional parameters. - * - * @opt_param int options.requestedPolicyVersion Optional. The maximum policy - * version that will be used to format the policy. Valid values are 0, 1, and 3. - * Requests specifying an invalid value will be rejected. Requests for policies - * with any conditional role bindings must specify version 3. Policies with no - * conditional role bindings may specify any valid value or leave the field - * unset. The policy in the response might use the policy version that you - * specified, or it might use a lower policy version. For example, if you - * specify version 3, but the policy has no conditional role bindings, the - * response uses version 1. To learn which resources support conditions in their - * IAM policies, see the [IAM - * documentation](https://cloud.google.com/iam/help/conditions/resource- - * policies). - * @return Policy - */ - public function getIamPolicy($resource, $optParams = []) - { - $params = ['resource' => $resource]; - $params = array_merge($params, $optParams); - return $this->call('getIamPolicy', [$params], Policy::class); - } /** * List all Jobs for a project within a region. (jobs.listProjectsLocationsJobs) * @@ -155,46 +121,6 @@ class ProjectsLocationsJobs extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('list', [$params], ListJobsResponse::class); } - /** - * Sets the access control policy on the specified resource. Replaces any - * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and - * `PERMISSION_DENIED` errors. (jobs.setIamPolicy) - * - * @param string $resource REQUIRED: The resource for which the policy is being - * specified. See [Resource - * names](https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - * @param SetIamPolicyRequest $postBody - * @param array $optParams Optional parameters. - * @return Policy - */ - public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = []) - { - $params = ['resource' => $resource, 'postBody' => $postBody]; - $params = array_merge($params, $optParams); - return $this->call('setIamPolicy', [$params], Policy::class); - } - /** - * Returns permissions that a caller has on the specified resource. If the - * resource does not exist, this will return an empty set of permissions, not a - * `NOT_FOUND` error. Note: This operation is designed to be used for building - * permission-aware UIs and command-line tools, not for authorization checking. - * This operation may "fail open" without warning. (jobs.testIamPermissions) - * - * @param string $resource REQUIRED: The resource for which the policy detail is - * being requested. See [Resource - * names](https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - * @param TestIamPermissionsRequest $postBody - * @param array $optParams Optional parameters. - * @return TestIamPermissionsResponse - */ - public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = []) - { - $params = ['resource' => $resource, 'postBody' => $postBody]; - $params = array_merge($params, $optParams); - return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class); - } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/vendor/google/apiclient-services/src/Bigquery/Dataset.php b/vendor/google/apiclient-services/src/Bigquery/Dataset.php index 5992e13ddd..4361ba3410 100644 --- a/vendor/google/apiclient-services/src/Bigquery/Dataset.php +++ b/vendor/google/apiclient-services/src/Bigquery/Dataset.php @@ -41,6 +41,10 @@ class Dataset extends \Google\Collection * @var string */ public $defaultPartitionExpirationMs; + /** + * @var string + */ + public $defaultRoundingMode; /** * @var string */ @@ -185,6 +189,20 @@ class Dataset extends \Google\Collection { return $this->defaultPartitionExpirationMs; } + /** + * @param string + */ + public function setDefaultRoundingMode($defaultRoundingMode) + { + $this->defaultRoundingMode = $defaultRoundingMode; + } + /** + * @return string + */ + public function getDefaultRoundingMode() + { + return $this->defaultRoundingMode; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/Bigquery/Table.php b/vendor/google/apiclient-services/src/Bigquery/Table.php index 09260cd49a..19dd4ceb16 100644 --- a/vendor/google/apiclient-services/src/Bigquery/Table.php +++ b/vendor/google/apiclient-services/src/Bigquery/Table.php @@ -43,6 +43,10 @@ class Table extends \Google\Model * @var string */ public $defaultCollation; + /** + * @var string + */ + public $defaultRoundingMode; /** * @var string */ @@ -233,6 +237,20 @@ class Table extends \Google\Model { return $this->defaultCollation; } + /** + * @param string + */ + public function setDefaultRoundingMode($defaultRoundingMode) + { + $this->defaultRoundingMode = $defaultRoundingMode; + } + /** + * @return string + */ + public function getDefaultRoundingMode() + { + return $this->defaultRoundingMode; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/Bigquery/TableFieldSchema.php b/vendor/google/apiclient-services/src/Bigquery/TableFieldSchema.php index a05f868879..5f3b790d2c 100644 --- a/vendor/google/apiclient-services/src/Bigquery/TableFieldSchema.php +++ b/vendor/google/apiclient-services/src/Bigquery/TableFieldSchema.php @@ -57,6 +57,10 @@ class TableFieldSchema extends \Google\Collection * @var string */ public $precision; + /** + * @var string + */ + public $roundingMode; /** * @var string */ @@ -206,6 +210,20 @@ class TableFieldSchema extends \Google\Collection { return $this->precision; } + /** + * @param string + */ + public function setRoundingMode($roundingMode) + { + $this->roundingMode = $roundingMode; + } + /** + * @return string + */ + public function getRoundingMode() + { + return $this->roundingMode; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/CertificateAuthorityService/NameConstraints.php b/vendor/google/apiclient-services/src/CertificateAuthorityService/NameConstraints.php new file mode 100644 index 0000000000..ba91ecb139 --- /dev/null +++ b/vendor/google/apiclient-services/src/CertificateAuthorityService/NameConstraints.php @@ -0,0 +1,189 @@ +critical = $critical; + } + /** + * @return bool + */ + public function getCritical() + { + return $this->critical; + } + /** + * @param string[] + */ + public function setExcludedDnsNames($excludedDnsNames) + { + $this->excludedDnsNames = $excludedDnsNames; + } + /** + * @return string[] + */ + public function getExcludedDnsNames() + { + return $this->excludedDnsNames; + } + /** + * @param string[] + */ + public function setExcludedEmailAddresses($excludedEmailAddresses) + { + $this->excludedEmailAddresses = $excludedEmailAddresses; + } + /** + * @return string[] + */ + public function getExcludedEmailAddresses() + { + return $this->excludedEmailAddresses; + } + /** + * @param string[] + */ + public function setExcludedIpRanges($excludedIpRanges) + { + $this->excludedIpRanges = $excludedIpRanges; + } + /** + * @return string[] + */ + public function getExcludedIpRanges() + { + return $this->excludedIpRanges; + } + /** + * @param string[] + */ + public function setExcludedUris($excludedUris) + { + $this->excludedUris = $excludedUris; + } + /** + * @return string[] + */ + public function getExcludedUris() + { + return $this->excludedUris; + } + /** + * @param string[] + */ + public function setPermittedDnsNames($permittedDnsNames) + { + $this->permittedDnsNames = $permittedDnsNames; + } + /** + * @return string[] + */ + public function getPermittedDnsNames() + { + return $this->permittedDnsNames; + } + /** + * @param string[] + */ + public function setPermittedEmailAddresses($permittedEmailAddresses) + { + $this->permittedEmailAddresses = $permittedEmailAddresses; + } + /** + * @return string[] + */ + public function getPermittedEmailAddresses() + { + return $this->permittedEmailAddresses; + } + /** + * @param string[] + */ + public function setPermittedIpRanges($permittedIpRanges) + { + $this->permittedIpRanges = $permittedIpRanges; + } + /** + * @return string[] + */ + public function getPermittedIpRanges() + { + return $this->permittedIpRanges; + } + /** + * @param string[] + */ + public function setPermittedUris($permittedUris) + { + $this->permittedUris = $permittedUris; + } + /** + * @return string[] + */ + public function getPermittedUris() + { + return $this->permittedUris; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(NameConstraints::class, 'Google_Service_CertificateAuthorityService_NameConstraints'); diff --git a/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPools.php b/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPools.php index 2d14b94bce..abf829de45 100644 --- a/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPools.php +++ b/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPools.php @@ -51,7 +51,7 @@ class ProjectsLocationsCaPools extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -77,7 +77,7 @@ class ProjectsLocationsCaPools extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -188,7 +188,7 @@ class ProjectsLocationsCaPools extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally diff --git a/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificateAuthorities.php b/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificateAuthorities.php index 52dd1ee58e..2d549babe5 100644 --- a/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificateAuthorities.php +++ b/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificateAuthorities.php @@ -69,7 +69,7 @@ class ProjectsLocationsCaPoolsCertificateAuthorities extends \Google\Service\Res * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -98,7 +98,7 @@ class ProjectsLocationsCaPoolsCertificateAuthorities extends \Google\Service\Res * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -218,7 +218,7 @@ class ProjectsLocationsCaPoolsCertificateAuthorities extends \Google\Service\Res * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally diff --git a/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists.php b/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists.php index ecf423f995..c8fe90acf4 100644 --- a/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists.php +++ b/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists.php @@ -121,7 +121,7 @@ class ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists e * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally diff --git a/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificates.php b/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificates.php index 4533485c5c..5cb725ce6a 100644 --- a/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificates.php +++ b/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCaPoolsCertificates.php @@ -133,7 +133,7 @@ class ProjectsLocationsCaPoolsCertificates extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally diff --git a/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCertificateTemplates.php b/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCertificateTemplates.php index 96d7aafc64..770ee2119c 100644 --- a/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCertificateTemplates.php +++ b/vendor/google/apiclient-services/src/CertificateAuthorityService/Resource/ProjectsLocationsCertificateTemplates.php @@ -50,7 +50,7 @@ class ProjectsLocationsCertificateTemplates extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -77,7 +77,7 @@ class ProjectsLocationsCertificateTemplates extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -174,7 +174,7 @@ class ProjectsLocationsCertificateTemplates extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally diff --git a/vendor/google/apiclient-services/src/CertificateAuthorityService/X509Parameters.php b/vendor/google/apiclient-services/src/CertificateAuthorityService/X509Parameters.php index d7d6966b75..0b9392e41e 100644 --- a/vendor/google/apiclient-services/src/CertificateAuthorityService/X509Parameters.php +++ b/vendor/google/apiclient-services/src/CertificateAuthorityService/X509Parameters.php @@ -33,6 +33,9 @@ class X509Parameters extends \Google\Collection protected $keyUsageType = KeyUsage::class; protected $keyUsageDataType = ''; public $keyUsage; + protected $nameConstraintsType = NameConstraints::class; + protected $nameConstraintsDataType = ''; + public $nameConstraints; protected $policyIdsType = ObjectId::class; protected $policyIdsDataType = 'array'; public $policyIds; @@ -93,6 +96,20 @@ class X509Parameters extends \Google\Collection { return $this->keyUsage; } + /** + * @param NameConstraints + */ + public function setNameConstraints(NameConstraints $nameConstraints) + { + $this->nameConstraints = $nameConstraints; + } + /** + * @return NameConstraints + */ + public function getNameConstraints() + { + return $this->nameConstraints; + } /** * @param ObjectId[] */ diff --git a/vendor/google/apiclient-services/src/ChromeManagement.php b/vendor/google/apiclient-services/src/ChromeManagement.php index b02543e8a8..0706184638 100644 --- a/vendor/google/apiclient-services/src/ChromeManagement.php +++ b/vendor/google/apiclient-services/src/ChromeManagement.php @@ -301,6 +301,66 @@ class ChromeManagement extends \Google\Service 'type' => 'string', ], ], + ],'countPrintJobsByPrinter' => [ + 'path' => 'v1/{+customer}/reports:countPrintJobsByPrinter', + 'httpMethod' => 'GET', + 'parameters' => [ + 'customer' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'orderBy' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'printerOrgUnitId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'countPrintJobsByUser' => [ + 'path' => 'v1/{+customer}/reports:countPrintJobsByUser', + 'httpMethod' => 'GET', + 'parameters' => [ + 'customer' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'orderBy' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'printerOrgUnitId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ],'findInstalledAppDevices' => [ 'path' => 'v1/{+customer}/reports:findInstalledAppDevices', 'httpMethod' => 'GET', diff --git a/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1CountPrintJobsByPrinterResponse.php b/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1CountPrintJobsByPrinterResponse.php new file mode 100644 index 0000000000..829968a40e --- /dev/null +++ b/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1CountPrintJobsByPrinterResponse.php @@ -0,0 +1,80 @@ +nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } + /** + * @param GoogleChromeManagementV1PrinterReport[] + */ + public function setPrinterReports($printerReports) + { + $this->printerReports = $printerReports; + } + /** + * @return GoogleChromeManagementV1PrinterReport[] + */ + public function getPrinterReports() + { + return $this->printerReports; + } + /** + * @param string + */ + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + /** + * @return string + */ + public function getTotalSize() + { + return $this->totalSize; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleChromeManagementV1CountPrintJobsByPrinterResponse::class, 'Google_Service_ChromeManagement_GoogleChromeManagementV1CountPrintJobsByPrinterResponse'); diff --git a/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1CountPrintJobsByUserResponse.php b/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1CountPrintJobsByUserResponse.php new file mode 100644 index 0000000000..6a8e90c53b --- /dev/null +++ b/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1CountPrintJobsByUserResponse.php @@ -0,0 +1,80 @@ +nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } + /** + * @param string + */ + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + /** + * @return string + */ + public function getTotalSize() + { + return $this->totalSize; + } + /** + * @param GoogleChromeManagementV1UserPrintReport[] + */ + public function setUserPrintReports($userPrintReports) + { + $this->userPrintReports = $userPrintReports; + } + /** + * @return GoogleChromeManagementV1UserPrintReport[] + */ + public function getUserPrintReports() + { + return $this->userPrintReports; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleChromeManagementV1CountPrintJobsByUserResponse::class, 'Google_Service_ChromeManagement_GoogleChromeManagementV1CountPrintJobsByUserResponse'); diff --git a/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1PrinterReport.php b/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1PrinterReport.php new file mode 100644 index 0000000000..5afe69b50b --- /dev/null +++ b/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1PrinterReport.php @@ -0,0 +1,134 @@ +deviceCount = $deviceCount; + } + /** + * @return string + */ + public function getDeviceCount() + { + return $this->deviceCount; + } + /** + * @param string + */ + public function setJobCount($jobCount) + { + $this->jobCount = $jobCount; + } + /** + * @return string + */ + public function getJobCount() + { + return $this->jobCount; + } + /** + * @param string + */ + public function setPrinter($printer) + { + $this->printer = $printer; + } + /** + * @return string + */ + public function getPrinter() + { + return $this->printer; + } + /** + * @param string + */ + public function setPrinterId($printerId) + { + $this->printerId = $printerId; + } + /** + * @return string + */ + public function getPrinterId() + { + return $this->printerId; + } + /** + * @param string + */ + public function setPrinterModel($printerModel) + { + $this->printerModel = $printerModel; + } + /** + * @return string + */ + public function getPrinterModel() + { + return $this->printerModel; + } + /** + * @param string + */ + public function setUserCount($userCount) + { + $this->userCount = $userCount; + } + /** + * @return string + */ + public function getUserCount() + { + return $this->userCount; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleChromeManagementV1PrinterReport::class, 'Google_Service_ChromeManagement_GoogleChromeManagementV1PrinterReport'); diff --git a/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1UserPrintReport.php b/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1UserPrintReport.php new file mode 100644 index 0000000000..d1ce005b8d --- /dev/null +++ b/vendor/google/apiclient-services/src/ChromeManagement/GoogleChromeManagementV1UserPrintReport.php @@ -0,0 +1,116 @@ +deviceCount = $deviceCount; + } + /** + * @return string + */ + public function getDeviceCount() + { + return $this->deviceCount; + } + /** + * @param string + */ + public function setJobCount($jobCount) + { + $this->jobCount = $jobCount; + } + /** + * @return string + */ + public function getJobCount() + { + return $this->jobCount; + } + /** + * @param string + */ + public function setPrinterCount($printerCount) + { + $this->printerCount = $printerCount; + } + /** + * @return string + */ + public function getPrinterCount() + { + return $this->printerCount; + } + /** + * @param string + */ + public function setUserEmail($userEmail) + { + $this->userEmail = $userEmail; + } + /** + * @return string + */ + public function getUserEmail() + { + return $this->userEmail; + } + /** + * @param string + */ + public function setUserId($userId) + { + $this->userId = $userId; + } + /** + * @return string + */ + public function getUserId() + { + return $this->userId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleChromeManagementV1UserPrintReport::class, 'Google_Service_ChromeManagement_GoogleChromeManagementV1UserPrintReport'); diff --git a/vendor/google/apiclient-services/src/ChromeManagement/Resource/CustomersReports.php b/vendor/google/apiclient-services/src/ChromeManagement/Resource/CustomersReports.php index 4bc884513a..eb8abff20d 100644 --- a/vendor/google/apiclient-services/src/ChromeManagement/Resource/CustomersReports.php +++ b/vendor/google/apiclient-services/src/ChromeManagement/Resource/CustomersReports.php @@ -23,6 +23,8 @@ use Google\Service\ChromeManagement\GoogleChromeManagementV1CountChromeDevicesTh use Google\Service\ChromeManagement\GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse; use Google\Service\ChromeManagement\GoogleChromeManagementV1CountChromeVersionsResponse; use Google\Service\ChromeManagement\GoogleChromeManagementV1CountInstalledAppsResponse; +use Google\Service\ChromeManagement\GoogleChromeManagementV1CountPrintJobsByPrinterResponse; +use Google\Service\ChromeManagement\GoogleChromeManagementV1CountPrintJobsByUserResponse; use Google\Service\ChromeManagement\GoogleChromeManagementV1FindInstalledAppDevicesResponse; /** @@ -178,6 +180,69 @@ class CustomersReports extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('countInstalledApps', [$params], GoogleChromeManagementV1CountInstalledAppsResponse::class); } + /** + * Get a summary of printing done by each printer. + * (reports.countPrintJobsByPrinter) + * + * @param string $customer Required. Customer ID prefixed with "customers/" or + * "customers/my_customer" to use the customer associated to the account making + * the request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Query string to filter results, AND-separated fields + * in EBNF syntax. Note: OR operations are not supported in this filter. Note: + * Only >= and <= comparators are supported in this filter. Supported filter + * fields: * completion_time + * @opt_param string orderBy Field used to order results. If omitted, results + * will be ordered in ascending order of the 'printer' field. Supported order_by + * fields: * printer * job_count * device_count * user_count + * @opt_param int pageSize Maximum number of results to return. Maximum and + * default are 100. + * @opt_param string pageToken Token to specify the page of the response to be + * returned. + * @opt_param string printerOrgUnitId The ID of the organizational unit for + * printers. If specified, only data for printers from the specified + * organizational unit will be returned. If omitted, data for printers from all + * organizational units will be returned. + * @return GoogleChromeManagementV1CountPrintJobsByPrinterResponse + */ + public function countPrintJobsByPrinter($customer, $optParams = []) + { + $params = ['customer' => $customer]; + $params = array_merge($params, $optParams); + return $this->call('countPrintJobsByPrinter', [$params], GoogleChromeManagementV1CountPrintJobsByPrinterResponse::class); + } + /** + * Get a summary of printing done by each user. (reports.countPrintJobsByUser) + * + * @param string $customer Required. Customer ID prefixed with "customers/" or + * "customers/my_customer" to use the customer associated to the account making + * the request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Query string to filter results, AND-separated fields + * in EBNF syntax. Note: OR operations are not supported in this filter. Note: + * Only >= and <= comparators are supported in this filter. Supported filter + * fields: * completion_time + * @opt_param string orderBy Field used to order results. If omitted, results + * will be ordered in ascending order of the 'user_email' field. Supported + * order_by fields: * user_email * job_count * printer_count * device_count + * @opt_param int pageSize Maximum number of results to return. Maximum and + * default are 100. + * @opt_param string pageToken Token to specify the page of the response to be + * returned. + * @opt_param string printerOrgUnitId The ID of the organizational unit for + * printers. If specified, only print jobs initiated with printers from the + * specified organizational unit will be counted. If omitted, all print jobs + * will be counted. + * @return GoogleChromeManagementV1CountPrintJobsByUserResponse + */ + public function countPrintJobsByUser($customer, $optParams = []) + { + $params = ['customer' => $customer]; + $params = array_merge($params, $optParams); + return $this->call('countPrintJobsByUser', [$params], GoogleChromeManagementV1CountPrintJobsByUserResponse::class); + } /** * Generate report of devices that have a specified app installed. * (reports.findInstalledAppDevices) diff --git a/vendor/google/apiclient-services/src/ChromePolicy/ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle.php b/vendor/google/apiclient-services/src/ChromePolicy/ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle.php index 1b70c70d5e..f4edc3daf0 100644 --- a/vendor/google/apiclient-services/src/ChromePolicy/ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle.php +++ b/vendor/google/apiclient-services/src/ChromePolicy/ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle.php @@ -17,8 +17,13 @@ namespace Google\Service\ChromePolicy; -class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle extends \Google\Model +class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle extends \Google\Collection { + protected $collection_key = 'deprecatedInFavorOf'; + /** + * @var string[] + */ + public $deprecatedInFavorOf; /** * @var string */ @@ -31,6 +36,20 @@ class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle extends \Google\Model */ public $policyApiLifecycleStage; + /** + * @param string[] + */ + public function setDeprecatedInFavorOf($deprecatedInFavorOf) + { + $this->deprecatedInFavorOf = $deprecatedInFavorOf; + } + /** + * @return string[] + */ + public function getDeprecatedInFavorOf() + { + return $this->deprecatedInFavorOf; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/CloudAsset/Resource/Feeds.php b/vendor/google/apiclient-services/src/CloudAsset/Resource/Feeds.php index 64ca4f731c..ca17c55656 100644 --- a/vendor/google/apiclient-services/src/CloudAsset/Resource/Feeds.php +++ b/vendor/google/apiclient-services/src/CloudAsset/Resource/Feeds.php @@ -40,7 +40,7 @@ class Feeds extends \Google\Service\Resource * @param string $parent Required. The name of the project/folder/organization * where this feed should be created in. It can only be an organization number * (such as "organizations/123"), a folder number (such as "folders/123"), a - * project ID (such as "projects/my-project-id")", or a project number (such as + * project ID (such as "projects/my-project-id"), or a project number (such as * "projects/12345"). * @param CreateFeedRequest $postBody * @param array $optParams Optional parameters. diff --git a/vendor/google/apiclient-services/src/CloudAsset/Resource/SavedQueries.php b/vendor/google/apiclient-services/src/CloudAsset/Resource/SavedQueries.php index 914844c2bf..9b613461b0 100644 --- a/vendor/google/apiclient-services/src/CloudAsset/Resource/SavedQueries.php +++ b/vendor/google/apiclient-services/src/CloudAsset/Resource/SavedQueries.php @@ -38,8 +38,8 @@ class SavedQueries extends \Google\Service\Resource * @param string $parent Required. The name of the project/folder/organization * where this saved_query should be created in. It can only be an organization * number (such as "organizations/123"), a folder number (such as - * "folders/123"), a project ID (such as "projects/my-project-id")", or a - * project number (such as "projects/12345"). + * "folders/123"), a project ID (such as "projects/my-project-id"), or a project + * number (such as "projects/12345"). * @param SavedQuery $postBody * @param array $optParams Optional parameters. * diff --git a/vendor/google/apiclient-services/src/CloudDataplex.php b/vendor/google/apiclient-services/src/CloudDataplex.php index bb68bef5a1..b0cfd0562f 100644 --- a/vendor/google/apiclient-services/src/CloudDataplex.php +++ b/vendor/google/apiclient-services/src/CloudDataplex.php @@ -267,6 +267,10 @@ class CloudDataplex extends \Google\Service 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ],'delete' => [ 'path' => 'v1/{+name}', @@ -345,6 +349,10 @@ class CloudDataplex extends \Google\Service 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ],'run' => [ 'path' => 'v1/{+name}:run', diff --git a/vendor/google/apiclient-services/src/CloudDataplex/GoogleCloudDataplexV1AssetResourceStatus.php b/vendor/google/apiclient-services/src/CloudDataplex/GoogleCloudDataplexV1AssetResourceStatus.php index d1fc21bedb..a14b43d4a0 100644 --- a/vendor/google/apiclient-services/src/CloudDataplex/GoogleCloudDataplexV1AssetResourceStatus.php +++ b/vendor/google/apiclient-services/src/CloudDataplex/GoogleCloudDataplexV1AssetResourceStatus.php @@ -19,6 +19,10 @@ namespace Google\Service\CloudDataplex; class GoogleCloudDataplexV1AssetResourceStatus extends \Google\Model { + /** + * @var string + */ + public $managedAccessIdentity; /** * @var string */ @@ -32,6 +36,20 @@ class GoogleCloudDataplexV1AssetResourceStatus extends \Google\Model */ public $updateTime; + /** + * @param string + */ + public function setManagedAccessIdentity($managedAccessIdentity) + { + $this->managedAccessIdentity = $managedAccessIdentity; + } + /** + * @return string + */ + public function getManagedAccessIdentity() + { + return $this->managedAccessIdentity; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/CloudDataplex/Resource/ProjectsLocationsDataScans.php b/vendor/google/apiclient-services/src/CloudDataplex/Resource/ProjectsLocationsDataScans.php index 1affd6246e..d3f0b589cd 100644 --- a/vendor/google/apiclient-services/src/CloudDataplex/Resource/ProjectsLocationsDataScans.php +++ b/vendor/google/apiclient-services/src/CloudDataplex/Resource/ProjectsLocationsDataScans.php @@ -50,6 +50,8 @@ class ProjectsLocationsDataScans extends \Google\Service\Resource * lowercase letters, numbers and hyphens. Must start with a letter. Must end * with a number or a letter. Must be between 1-63 characters. Must be unique * within the customer project / location. + * @opt_param bool validateOnly Optional. Only validate the request, but do not + * perform mutations. The default is false. * @return GoogleLongrunningOperation */ public function create($parent, GoogleCloudDataplexV1DataScan $postBody, $optParams = []) @@ -160,6 +162,8 @@ class ProjectsLocationsDataScans extends \Google\Service\Resource * @param array $optParams Optional parameters. * * @opt_param string updateMask Required. Mask of fields to update. + * @opt_param bool validateOnly Optional. Only validate the request, but do not + * perform mutations. The default is false. * @return GoogleLongrunningOperation */ public function patch($name, GoogleCloudDataplexV1DataScan $postBody, $optParams = []) diff --git a/vendor/google/apiclient-services/src/CloudDeploy/Release.php b/vendor/google/apiclient-services/src/CloudDeploy/Release.php index 492c878e4b..e8a92f1ce8 100644 --- a/vendor/google/apiclient-services/src/CloudDeploy/Release.php +++ b/vendor/google/apiclient-services/src/CloudDeploy/Release.php @@ -31,6 +31,9 @@ class Release extends \Google\Collection protected $buildArtifactsType = BuildArtifact::class; protected $buildArtifactsDataType = 'array'; public $buildArtifacts; + protected $conditionType = ReleaseCondition::class; + protected $conditionDataType = ''; + public $condition; /** * @var string */ @@ -134,6 +137,20 @@ class Release extends \Google\Collection { return $this->buildArtifacts; } + /** + * @param ReleaseCondition + */ + public function setCondition(ReleaseCondition $condition) + { + $this->condition = $condition; + } + /** + * @return ReleaseCondition + */ + public function getCondition() + { + return $this->condition; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/CloudDeploy/ReleaseCondition.php b/vendor/google/apiclient-services/src/CloudDeploy/ReleaseCondition.php new file mode 100644 index 0000000000..6ec308108c --- /dev/null +++ b/vendor/google/apiclient-services/src/CloudDeploy/ReleaseCondition.php @@ -0,0 +1,60 @@ +releaseReadyCondition = $releaseReadyCondition; + } + /** + * @return ReleaseReadyCondition + */ + public function getReleaseReadyCondition() + { + return $this->releaseReadyCondition; + } + /** + * @param SkaffoldSupportedCondition + */ + public function setSkaffoldSupportedCondition(SkaffoldSupportedCondition $skaffoldSupportedCondition) + { + $this->skaffoldSupportedCondition = $skaffoldSupportedCondition; + } + /** + * @return SkaffoldSupportedCondition + */ + public function getSkaffoldSupportedCondition() + { + return $this->skaffoldSupportedCondition; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ReleaseCondition::class, 'Google_Service_CloudDeploy_ReleaseCondition'); diff --git a/vendor/google/apiclient-services/src/CloudDeploy/ReleaseReadyCondition.php b/vendor/google/apiclient-services/src/CloudDeploy/ReleaseReadyCondition.php new file mode 100644 index 0000000000..3f24462914 --- /dev/null +++ b/vendor/google/apiclient-services/src/CloudDeploy/ReleaseReadyCondition.php @@ -0,0 +1,44 @@ +status = $status; + } + /** + * @return bool + */ + public function getStatus() + { + return $this->status; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ReleaseReadyCondition::class, 'Google_Service_CloudDeploy_ReleaseReadyCondition'); diff --git a/vendor/google/apiclient-services/src/CloudDeploy/SkaffoldSupportedCondition.php b/vendor/google/apiclient-services/src/CloudDeploy/SkaffoldSupportedCondition.php new file mode 100644 index 0000000000..84b9763c43 --- /dev/null +++ b/vendor/google/apiclient-services/src/CloudDeploy/SkaffoldSupportedCondition.php @@ -0,0 +1,98 @@ +maintenanceModeTime = $maintenanceModeTime; + } + /** + * @return string + */ + public function getMaintenanceModeTime() + { + return $this->maintenanceModeTime; + } + /** + * @param string + */ + public function setSkaffoldSupportState($skaffoldSupportState) + { + $this->skaffoldSupportState = $skaffoldSupportState; + } + /** + * @return string + */ + public function getSkaffoldSupportState() + { + return $this->skaffoldSupportState; + } + /** + * @param bool + */ + public function setStatus($status) + { + $this->status = $status; + } + /** + * @return bool + */ + public function getStatus() + { + return $this->status; + } + /** + * @param string + */ + public function setSupportExpirationTime($supportExpirationTime) + { + $this->supportExpirationTime = $supportExpirationTime; + } + /** + * @return string + */ + public function getSupportExpirationTime() + { + return $this->supportExpirationTime; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(SkaffoldSupportedCondition::class, 'Google_Service_CloudDeploy_SkaffoldSupportedCondition'); diff --git a/vendor/google/apiclient-services/src/CloudDeploy/SkaffoldVersion.php b/vendor/google/apiclient-services/src/CloudDeploy/SkaffoldVersion.php index dfdd0b830f..6c967fc617 100644 --- a/vendor/google/apiclient-services/src/CloudDeploy/SkaffoldVersion.php +++ b/vendor/google/apiclient-services/src/CloudDeploy/SkaffoldVersion.php @@ -19,14 +19,36 @@ namespace Google\Service\CloudDeploy; class SkaffoldVersion extends \Google\Model { + /** + * @var string + */ + public $maintenanceModeTime; protected $supportEndDateType = Date::class; protected $supportEndDateDataType = ''; public $supportEndDate; + /** + * @var string + */ + public $supportExpirationTime; /** * @var string */ public $version; + /** + * @param string + */ + public function setMaintenanceModeTime($maintenanceModeTime) + { + $this->maintenanceModeTime = $maintenanceModeTime; + } + /** + * @return string + */ + public function getMaintenanceModeTime() + { + return $this->maintenanceModeTime; + } /** * @param Date */ @@ -41,6 +63,20 @@ class SkaffoldVersion extends \Google\Model { return $this->supportEndDate; } + /** + * @param string + */ + public function setSupportExpirationTime($supportExpirationTime) + { + $this->supportExpirationTime = $supportExpirationTime; + } + /** + * @return string + */ + public function getSupportExpirationTime() + { + return $this->supportExpirationTime; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/CloudHealthcare/SchemaConfig.php b/vendor/google/apiclient-services/src/CloudHealthcare/SchemaConfig.php index 9410389984..e989476871 100644 --- a/vendor/google/apiclient-services/src/CloudHealthcare/SchemaConfig.php +++ b/vendor/google/apiclient-services/src/CloudHealthcare/SchemaConfig.php @@ -19,6 +19,9 @@ namespace Google\Service\CloudHealthcare; class SchemaConfig extends \Google\Model { + protected $lastUpdatedPartitionConfigType = TimePartitioning::class; + protected $lastUpdatedPartitionConfigDataType = ''; + public $lastUpdatedPartitionConfig; /** * @var string */ @@ -28,6 +31,20 @@ class SchemaConfig extends \Google\Model */ public $schemaType; + /** + * @param TimePartitioning + */ + public function setLastUpdatedPartitionConfig(TimePartitioning $lastUpdatedPartitionConfig) + { + $this->lastUpdatedPartitionConfig = $lastUpdatedPartitionConfig; + } + /** + * @return TimePartitioning + */ + public function getLastUpdatedPartitionConfig() + { + return $this->lastUpdatedPartitionConfig; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/CloudHealthcare/TimePartitioning.php b/vendor/google/apiclient-services/src/CloudHealthcare/TimePartitioning.php new file mode 100644 index 0000000000..036cf7850e --- /dev/null +++ b/vendor/google/apiclient-services/src/CloudHealthcare/TimePartitioning.php @@ -0,0 +1,62 @@ +expirationMs = $expirationMs; + } + /** + * @return string + */ + public function getExpirationMs() + { + return $this->expirationMs; + } + /** + * @param string + */ + public function setType($type) + { + $this->type = $type; + } + /** + * @return string + */ + public function getType() + { + return $this->type; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(TimePartitioning::class, 'Google_Service_CloudHealthcare_TimePartitioning'); diff --git a/vendor/google/apiclient-services/src/CloudRedis/Instance.php b/vendor/google/apiclient-services/src/CloudRedis/Instance.php index a2754786f3..b244d05bc2 100644 --- a/vendor/google/apiclient-services/src/CloudRedis/Instance.php +++ b/vendor/google/apiclient-services/src/CloudRedis/Instance.php @@ -32,6 +32,10 @@ class Instance extends \Google\Collection * @var string */ public $authorizedNetwork; + /** + * @var string[] + */ + public $availableMaintenanceVersions; /** * @var string */ @@ -70,6 +74,10 @@ class Instance extends \Google\Collection protected $maintenanceScheduleType = MaintenanceSchedule::class; protected $maintenanceScheduleDataType = ''; public $maintenanceSchedule; + /** + * @var string + */ + public $maintenanceVersion; /** * @var int */ @@ -190,6 +198,20 @@ class Instance extends \Google\Collection { return $this->authorizedNetwork; } + /** + * @param string[] + */ + public function setAvailableMaintenanceVersions($availableMaintenanceVersions) + { + $this->availableMaintenanceVersions = $availableMaintenanceVersions; + } + /** + * @return string[] + */ + public function getAvailableMaintenanceVersions() + { + return $this->availableMaintenanceVersions; + } /** * @param string */ @@ -330,6 +352,20 @@ class Instance extends \Google\Collection { return $this->maintenanceSchedule; } + /** + * @param string + */ + public function setMaintenanceVersion($maintenanceVersion) + { + $this->maintenanceVersion = $maintenanceVersion; + } + /** + * @return string + */ + public function getMaintenanceVersion() + { + return $this->maintenanceVersion; + } /** * @param int */ diff --git a/vendor/google/apiclient-services/src/CloudSearch/AppsDynamiteSharedSpaceInfo.php b/vendor/google/apiclient-services/src/CloudSearch/AppsDynamiteSharedSpaceInfo.php index bee0ed1822..3d51be3b68 100644 --- a/vendor/google/apiclient-services/src/CloudSearch/AppsDynamiteSharedSpaceInfo.php +++ b/vendor/google/apiclient-services/src/CloudSearch/AppsDynamiteSharedSpaceInfo.php @@ -49,6 +49,9 @@ class AppsDynamiteSharedSpaceInfo extends \Google\Model * @var int */ public $numMembers; + protected $segmentedMembershipCountsType = AppsDynamiteSharedSegmentedMembershipCounts::class; + protected $segmentedMembershipCountsDataType = ''; + public $segmentedMembershipCounts; /** * @var string */ @@ -166,6 +169,20 @@ class AppsDynamiteSharedSpaceInfo extends \Google\Model { return $this->numMembers; } + /** + * @param AppsDynamiteSharedSegmentedMembershipCounts + */ + public function setSegmentedMembershipCounts(AppsDynamiteSharedSegmentedMembershipCounts $segmentedMembershipCounts) + { + $this->segmentedMembershipCounts = $segmentedMembershipCounts; + } + /** + * @return AppsDynamiteSharedSegmentedMembershipCounts + */ + public function getSegmentedMembershipCounts() + { + return $this->segmentedMembershipCounts; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/CloudSearch/AppsDynamiteStorageAction.php b/vendor/google/apiclient-services/src/CloudSearch/AppsDynamiteStorageAction.php index 2237d80357..ff7c96cc0f 100644 --- a/vendor/google/apiclient-services/src/CloudSearch/AppsDynamiteStorageAction.php +++ b/vendor/google/apiclient-services/src/CloudSearch/AppsDynamiteStorageAction.php @@ -35,6 +35,10 @@ class AppsDynamiteStorageAction extends \Google\Collection protected $parametersType = AppsDynamiteStorageActionActionParameter::class; protected $parametersDataType = 'array'; public $parameters; + /** + * @var bool + */ + public $persistValues; /** * @param string @@ -92,6 +96,20 @@ class AppsDynamiteStorageAction extends \Google\Collection { return $this->parameters; } + /** + * @param bool + */ + public function setPersistValues($persistValues) + { + $this->persistValues = $persistValues; + } + /** + * @return bool + */ + public function getPersistValues() + { + return $this->persistValues; + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/vendor/google/apiclient-services/src/CloudSearch/MessageDeleted.php b/vendor/google/apiclient-services/src/CloudSearch/MessageDeleted.php index 56857a5805..6347123653 100644 --- a/vendor/google/apiclient-services/src/CloudSearch/MessageDeleted.php +++ b/vendor/google/apiclient-services/src/CloudSearch/MessageDeleted.php @@ -19,13 +19,16 @@ namespace Google\Service\CloudSearch; class MessageDeleted extends \Google\Collection { - protected $collection_key = 'messageKeys'; + protected $collection_key = 'wonderCardMappings'; protected $imapSyncMappingsType = ImapSyncDelete::class; protected $imapSyncMappingsDataType = 'array'; public $imapSyncMappings; protected $messageKeysType = MultiKey::class; protected $messageKeysDataType = 'array'; public $messageKeys; + protected $wonderCardMappingsType = WonderCardDelete::class; + protected $wonderCardMappingsDataType = 'array'; + public $wonderCardMappings; /** * @param ImapSyncDelete[] @@ -55,6 +58,20 @@ class MessageDeleted extends \Google\Collection { return $this->messageKeys; } + /** + * @param WonderCardDelete[] + */ + public function setWonderCardMappings($wonderCardMappings) + { + $this->wonderCardMappings = $wonderCardMappings; + } + /** + * @return WonderCardDelete[] + */ + public function getWonderCardMappings() + { + return $this->wonderCardMappings; + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/vendor/google/apiclient-services/src/CloudSearch/UserMentionMetadata.php b/vendor/google/apiclient-services/src/CloudSearch/UserMentionMetadata.php index 6edb7e6a7d..8643ab4832 100644 --- a/vendor/google/apiclient-services/src/CloudSearch/UserMentionMetadata.php +++ b/vendor/google/apiclient-services/src/CloudSearch/UserMentionMetadata.php @@ -37,6 +37,10 @@ class UserMentionMetadata extends \Google\Model * @var string */ public $type; + /** + * @var string + */ + public $userMentionError; /** * @param string @@ -108,6 +112,20 @@ class UserMentionMetadata extends \Google\Model { return $this->type; } + /** + * @param string + */ + public function setUserMentionError($userMentionError) + { + $this->userMentionError = $userMentionError; + } + /** + * @return string + */ + public function getUserMentionError() + { + return $this->userMentionError; + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/vendor/google/apiclient-services/src/CloudSearch/WonderCardDelete.php b/vendor/google/apiclient-services/src/CloudSearch/WonderCardDelete.php new file mode 100644 index 0000000000..1a9a7dcda1 --- /dev/null +++ b/vendor/google/apiclient-services/src/CloudSearch/WonderCardDelete.php @@ -0,0 +1,61 @@ +messageMappings = $messageMappings; + } + /** + * @return WonderMessageMapping[] + */ + public function getMessageMappings() + { + return $this->messageMappings; + } + /** + * @param string + */ + public function setMsgId($msgId) + { + $this->msgId = $msgId; + } + /** + * @return string + */ + public function getMsgId() + { + return $this->msgId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(WonderCardDelete::class, 'Google_Service_CloudSearch_WonderCardDelete'); diff --git a/vendor/google/apiclient-services/src/CloudSearch/WonderMessageMapping.php b/vendor/google/apiclient-services/src/CloudSearch/WonderMessageMapping.php new file mode 100644 index 0000000000..068a31ec53 --- /dev/null +++ b/vendor/google/apiclient-services/src/CloudSearch/WonderMessageMapping.php @@ -0,0 +1,45 @@ +wonderCardMessageId = $wonderCardMessageId; + } + /** + * @return string[] + */ + public function getWonderCardMessageId() + { + return $this->wonderCardMessageId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(WonderMessageMapping::class, 'Google_Service_CloudSearch_WonderMessageMapping'); diff --git a/vendor/google/apiclient-services/src/CloudWorkstations/Resource/ProjectsLocationsWorkstationClusters.php b/vendor/google/apiclient-services/src/CloudWorkstations/Resource/ProjectsLocationsWorkstationClusters.php index 8814a0a373..77650f07ff 100644 --- a/vendor/google/apiclient-services/src/CloudWorkstations/Resource/ProjectsLocationsWorkstationClusters.php +++ b/vendor/google/apiclient-services/src/CloudWorkstations/Resource/ProjectsLocationsWorkstationClusters.php @@ -40,7 +40,8 @@ class ProjectsLocationsWorkstationClusters extends \Google\Service\Resource * * @opt_param bool validateOnly If set, validate the request and preview the * review, but do not actually apply it. - * @opt_param string workstationClusterId Required. ID to use for the cluster. + * @opt_param string workstationClusterId Required. ID to use for the + * workstation cluster. * @return Operation */ public function create($parent, WorkstationCluster $postBody, $optParams = []) @@ -52,16 +53,16 @@ class ProjectsLocationsWorkstationClusters extends \Google\Service\Resource /** * Deletes the specified workstation cluster. (workstationClusters.delete) * - * @param string $name Required. Name of the cluster to delete. + * @param string $name Required. Name of the workstation cluster to delete. * @param array $optParams Optional parameters. * * @opt_param string etag If set, the request will be rejected if the latest - * version of the cluster on the server does not have this etag. + * version of the workstation cluster on the server does not have this etag. * @opt_param bool force If set, any workstation configurations and workstations - * in the cluster will also be deleted. Otherwise, the request will work only if - * the cluster has no configurations or workstations. + * in the workstation cluster are also deleted. Otherwise, the request only + * works if the workstation cluster has no configurations or workstations. * @opt_param bool validateOnly If set, validate the request and preview the - * review, but do not actually apply it. + * review, but do not apply it. * @return Operation */ public function delete($name, $optParams = []) @@ -108,10 +109,11 @@ class ProjectsLocationsWorkstationClusters extends \Google\Service\Resource * @param WorkstationCluster $postBody * @param array $optParams Optional parameters. * - * @opt_param bool allowMissing If set, and the cluster is not found, a new - * cluster will be created. In this situation, update_mask is ignored. - * @opt_param string updateMask Required. Mask specifying which fields in the - * cluster should be updated. + * @opt_param bool allowMissing If set, and the workstation cluster is not + * found, a new workstation cluster will be created. In this situation, + * update_mask is ignored. + * @opt_param string updateMask Required. Mask that specifies which fields in + * the workstation cluster should be updated. * @opt_param bool validateOnly If set, validate the request and preview the * review, but do not actually apply it. * @return Operation diff --git a/vendor/google/apiclient-services/src/Compute.php b/vendor/google/apiclient-services/src/Compute.php index 51c4b9eb68..955d7546d2 100644 --- a/vendor/google/apiclient-services/src/Compute.php +++ b/vendor/google/apiclient-services/src/Compute.php @@ -107,6 +107,7 @@ class Compute extends \Google\Service public $regionHealthChecks; public $regionInstanceGroupManagers; public $regionInstanceGroups; + public $regionInstanceTemplates; public $regionInstances; public $regionNetworkEndpointGroups; public $regionNetworkFirewallPolicies; @@ -4454,7 +4455,41 @@ class Compute extends \Google\Service 'instanceTemplates', [ 'methods' => [ - 'delete' => [ + 'aggregatedList' => [ + 'path' => 'projects/{project}/aggregated/instanceTemplates', + 'httpMethod' => 'GET', + 'parameters' => [ + 'project' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'includeAllScopes' => [ + 'location' => 'query', + 'type' => 'boolean', + ], + 'maxResults' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'orderBy' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'returnPartialSuccess' => [ + 'location' => 'query', + 'type' => 'boolean', + ], + ], + ],'delete' => [ 'path' => 'projects/{project}/global/instanceTemplates/{instanceTemplate}', 'httpMethod' => 'DELETE', 'parameters' => [ @@ -5373,6 +5408,30 @@ class Compute extends \Google\Service 'type' => 'string', ], ], + ],'setName' => [ + 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setName', + 'httpMethod' => 'POST', + 'parameters' => [ + 'project' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'zone' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'instance' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ],'setScheduling' => [ 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setScheduling', 'httpMethod' => 'POST', @@ -10915,6 +10974,114 @@ class Compute extends \Google\Service ] ] ); + $this->regionInstanceTemplates = new Compute\Resource\RegionInstanceTemplates( + $this, + $this->serviceName, + 'regionInstanceTemplates', + [ + 'methods' => [ + 'delete' => [ + 'path' => 'projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'project' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'region' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'instanceTemplate' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'get' => [ + 'path' => 'projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'project' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'region' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'instanceTemplate' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'insert' => [ + 'path' => 'projects/{project}/regions/{region}/instanceTemplates', + 'httpMethod' => 'POST', + 'parameters' => [ + 'project' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'region' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'list' => [ + 'path' => 'projects/{project}/regions/{region}/instanceTemplates', + 'httpMethod' => 'GET', + 'parameters' => [ + 'project' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'region' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'maxResults' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'orderBy' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'returnPartialSuccess' => [ + 'location' => 'query', + 'type' => 'boolean', + ], + ], + ], + ] + ] + ); $this->regionInstances = new Compute\Resource\RegionInstances( $this, $this->serviceName, diff --git a/vendor/google/apiclient-services/src/Compute/InstanceTemplate.php b/vendor/google/apiclient-services/src/Compute/InstanceTemplate.php index c10b743a7a..a25c96afc4 100644 --- a/vendor/google/apiclient-services/src/Compute/InstanceTemplate.php +++ b/vendor/google/apiclient-services/src/Compute/InstanceTemplate.php @@ -42,6 +42,10 @@ class InstanceTemplate extends \Google\Model protected $propertiesType = InstanceProperties::class; protected $propertiesDataType = ''; public $properties; + /** + * @var string + */ + public $region; /** * @var string */ @@ -138,6 +142,20 @@ class InstanceTemplate extends \Google\Model { return $this->properties; } + /** + * @param string + */ + public function setRegion($region) + { + $this->region = $region; + } + /** + * @return string + */ + public function getRegion() + { + return $this->region; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedList.php b/vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedList.php new file mode 100644 index 0000000000..e7ed686a7d --- /dev/null +++ b/vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedList.php @@ -0,0 +1,132 @@ +id = $id; + } + /** + * @return string + */ + public function getId() + { + return $this->id; + } + /** + * @param InstanceTemplatesScopedList[] + */ + public function setItems($items) + { + $this->items = $items; + } + /** + * @return InstanceTemplatesScopedList[] + */ + public function getItems() + { + return $this->items; + } + /** + * @param string + */ + public function setKind($kind) + { + $this->kind = $kind; + } + /** + * @return string + */ + public function getKind() + { + return $this->kind; + } + /** + * @param string + */ + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } + /** + * @param string + */ + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + /** + * @return string + */ + public function getSelfLink() + { + return $this->selfLink; + } + /** + * @param InstanceTemplateAggregatedListWarning + */ + public function setWarning(InstanceTemplateAggregatedListWarning $warning) + { + $this->warning = $warning; + } + /** + * @return InstanceTemplateAggregatedListWarning + */ + public function getWarning() + { + return $this->warning; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(InstanceTemplateAggregatedList::class, 'Google_Service_Compute_InstanceTemplateAggregatedList'); diff --git a/vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedListWarning.php b/vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedListWarning.php new file mode 100644 index 0000000000..a1af6e6c69 --- /dev/null +++ b/vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedListWarning.php @@ -0,0 +1,80 @@ +code = $code; + } + /** + * @return string + */ + public function getCode() + { + return $this->code; + } + /** + * @param InstanceTemplateAggregatedListWarningData[] + */ + public function setData($data) + { + $this->data = $data; + } + /** + * @return InstanceTemplateAggregatedListWarningData[] + */ + public function getData() + { + return $this->data; + } + /** + * @param string + */ + public function setMessage($message) + { + $this->message = $message; + } + /** + * @return string + */ + public function getMessage() + { + return $this->message; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(InstanceTemplateAggregatedListWarning::class, 'Google_Service_Compute_InstanceTemplateAggregatedListWarning'); diff --git a/vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedListWarningData.php b/vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedListWarningData.php new file mode 100644 index 0000000000..b68f434a26 --- /dev/null +++ b/vendor/google/apiclient-services/src/Compute/InstanceTemplateAggregatedListWarningData.php @@ -0,0 +1,62 @@ +key = $key; + } + /** + * @return string + */ + public function getKey() + { + return $this->key; + } + /** + * @param string + */ + public function setValue($value) + { + $this->value = $value; + } + /** + * @return string + */ + public function getValue() + { + return $this->value; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(InstanceTemplateAggregatedListWarningData::class, 'Google_Service_Compute_InstanceTemplateAggregatedListWarningData'); diff --git a/vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedList.php b/vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedList.php new file mode 100644 index 0000000000..5fcac104fd --- /dev/null +++ b/vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedList.php @@ -0,0 +1,61 @@ +instanceTemplates = $instanceTemplates; + } + /** + * @return InstanceTemplate[] + */ + public function getInstanceTemplates() + { + return $this->instanceTemplates; + } + /** + * @param InstanceTemplatesScopedListWarning + */ + public function setWarning(InstanceTemplatesScopedListWarning $warning) + { + $this->warning = $warning; + } + /** + * @return InstanceTemplatesScopedListWarning + */ + public function getWarning() + { + return $this->warning; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(InstanceTemplatesScopedList::class, 'Google_Service_Compute_InstanceTemplatesScopedList'); diff --git a/vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedListWarning.php b/vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedListWarning.php new file mode 100644 index 0000000000..a33934063c --- /dev/null +++ b/vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedListWarning.php @@ -0,0 +1,80 @@ +code = $code; + } + /** + * @return string + */ + public function getCode() + { + return $this->code; + } + /** + * @param InstanceTemplatesScopedListWarningData[] + */ + public function setData($data) + { + $this->data = $data; + } + /** + * @return InstanceTemplatesScopedListWarningData[] + */ + public function getData() + { + return $this->data; + } + /** + * @param string + */ + public function setMessage($message) + { + $this->message = $message; + } + /** + * @return string + */ + public function getMessage() + { + return $this->message; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(InstanceTemplatesScopedListWarning::class, 'Google_Service_Compute_InstanceTemplatesScopedListWarning'); diff --git a/vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedListWarningData.php b/vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedListWarningData.php new file mode 100644 index 0000000000..316eb47a88 --- /dev/null +++ b/vendor/google/apiclient-services/src/Compute/InstanceTemplatesScopedListWarningData.php @@ -0,0 +1,62 @@ +key = $key; + } + /** + * @return string + */ + public function getKey() + { + return $this->key; + } + /** + * @param string + */ + public function setValue($value) + { + $this->value = $value; + } + /** + * @return string + */ + public function getValue() + { + return $this->value; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(InstanceTemplatesScopedListWarningData::class, 'Google_Service_Compute_InstanceTemplatesScopedListWarningData'); diff --git a/vendor/google/apiclient-services/src/Compute/InstancesSetNameRequest.php b/vendor/google/apiclient-services/src/Compute/InstancesSetNameRequest.php new file mode 100644 index 0000000000..d9719aa1e3 --- /dev/null +++ b/vendor/google/apiclient-services/src/Compute/InstancesSetNameRequest.php @@ -0,0 +1,62 @@ +currentName = $currentName; + } + /** + * @return string + */ + public function getCurrentName() + { + return $this->currentName; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(InstancesSetNameRequest::class, 'Google_Service_Compute_InstancesSetNameRequest'); diff --git a/vendor/google/apiclient-services/src/Compute/Resource/Images.php b/vendor/google/apiclient-services/src/Compute/Resource/Images.php index 77cc85601a..dada4a13f2 100644 --- a/vendor/google/apiclient-services/src/Compute/Resource/Images.php +++ b/vendor/google/apiclient-services/src/Compute/Resource/Images.php @@ -106,9 +106,11 @@ class Images extends \Google\Service\Resource } /** * Returns the latest image that is part of an image family and is not - * deprecated. (images.getFromFamily) + * deprecated. For more information on image families, see Public image families + * documentation. (images.getFromFamily) * - * @param string $project Project ID for this request. + * @param string $project The image project that the image belongs to. For + * example, to get a CentOS image, specify centos-cloud as the image project. * @param string $family Name of the image family to search for. * @param array $optParams Optional parameters. * @return Image diff --git a/vendor/google/apiclient-services/src/Compute/Resource/InstanceTemplates.php b/vendor/google/apiclient-services/src/Compute/Resource/InstanceTemplates.php index d404cbcf51..6fb115f15f 100644 --- a/vendor/google/apiclient-services/src/Compute/Resource/InstanceTemplates.php +++ b/vendor/google/apiclient-services/src/Compute/Resource/InstanceTemplates.php @@ -19,6 +19,7 @@ namespace Google\Service\Compute\Resource; use Google\Service\Compute\GlobalSetPolicyRequest; use Google\Service\Compute\InstanceTemplate; +use Google\Service\Compute\InstanceTemplateAggregatedList; use Google\Service\Compute\InstanceTemplateList; use Google\Service\Compute\Operation; use Google\Service\Compute\Policy; @@ -35,6 +36,78 @@ use Google\Service\Compute\TestPermissionsResponse; */ class InstanceTemplates extends \Google\Service\Resource { + /** + * Retrieves the list of all InstanceTemplates resources, regional and global, + * available to the specified project. (instanceTemplates.aggregatedList) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter A filter expression that filters resources listed in + * the response. Most Compute resources support two types of filter expressions: + * expressions that support regular expressions and expressions that follow API + * improvement proposal AIP-160. If you want to use AIP-160, your expression + * must specify the field name, an operator, and the value that you want to use + * for filtering. The value must be a string, a number, or a boolean. The + * operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, + * if you are filtering Compute Engine instances, you can exclude instances + * named `example-instance` by specifying `name != example-instance`. The `:` + * operator can be used with string fields to match substrings. For non-string + * fields it is equivalent to the `=` operator. The `:*` comparison can be used + * to test whether a key has been defined. For example, to find all objects with + * `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. + * For example, you could specify `scheduling.automaticRestart = false` to + * include instances only if they are not scheduled for automatic restarts. You + * can use filtering on nested fields to filter based on resource labels. To + * filter on multiple expressions, provide each separate expression within + * parentheses. For example: ``` (scheduling.automaticRestart = true) + * (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` + * expression. However, you can include `AND` and `OR` expressions explicitly. + * For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a + * regular expression, use the `eq` (equal) or `ne` (not equal) operator against + * a single un-parenthesized expression with or without quotes or against + * multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` + * `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` + * `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is + * interpreted as a regular expression using Google RE2 library syntax. The + * literal value must match the entire field. For example, to filter for + * instances that do not end with name "instance", you would use `name ne + * .*instance`. + * @opt_param bool includeAllScopes Indicates whether every visible scope for + * each scope type (zone, region, global) should be included in the response. + * For new resource types added after this field, the flag has no effect as new + * resource types will always include every visible scope for each scope type in + * response. For resource types which predate this field, if this flag is + * omitted or false, only scopes of the scope types where the resource type is + * expected to be found will be included. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * `maxResults`, Compute Engine returns a `nextPageToken` that can be used to + * get the next page of results in subsequent list requests. Acceptable values + * are `0` to `500`, inclusive. (Default: `500`) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. You + * can also sort results in descending order based on the creation timestamp + * using `orderBy="creationTimestamp desc"`. This sorts results based on the + * `creationTimestamp` field in reverse chronological order (newest result + * first). Use this to sort resources like operations so that the newest + * operation is returned first. Currently, only sorting by `name` or + * `creationTimestamp desc` is supported. + * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to + * the `nextPageToken` returned by a previous list request to get the next page + * of results. + * @opt_param bool returnPartialSuccess Opt-in for partial success behavior + * which provides partial results in case of failure. The default value is + * false. + * @return InstanceTemplateAggregatedList + */ + public function aggregatedList($project, $optParams = []) + { + $params = ['project' => $project]; + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', [$params], InstanceTemplateAggregatedList::class); + } /** * Deletes the specified instance template. Deleting an instance template is * permanent and cannot be undone. It is not possible to delete templates that diff --git a/vendor/google/apiclient-services/src/Compute/Resource/Instances.php b/vendor/google/apiclient-services/src/Compute/Resource/Instances.php index cea7c55af1..21c669d113 100644 --- a/vendor/google/apiclient-services/src/Compute/Resource/Instances.php +++ b/vendor/google/apiclient-services/src/Compute/Resource/Instances.php @@ -33,6 +33,7 @@ use Google\Service\Compute\InstancesSetLabelsRequest; use Google\Service\Compute\InstancesSetMachineResourcesRequest; use Google\Service\Compute\InstancesSetMachineTypeRequest; use Google\Service\Compute\InstancesSetMinCpuPlatformRequest; +use Google\Service\Compute\InstancesSetNameRequest; use Google\Service\Compute\InstancesSetServiceAccountRequest; use Google\Service\Compute\InstancesStartWithEncryptionKeyRequest; use Google\Service\Compute\Metadata; @@ -964,6 +965,33 @@ class Instances extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('setMinCpuPlatform', [$params], Operation::class); } + /** + * Sets name of an instance. (instances.setName) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance The instance name for this request. + * @param InstancesSetNameRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId An optional request ID to identify requests. + * Specify a unique request ID so that if you must retry your request, the + * server will know to ignore the request if it has already been completed. For + * example, consider a situation where you make an initial request and the + * request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was + * received, and if so, will ignore the second request. This prevents clients + * from accidentally creating duplicate commitments. The request ID must be a + * valid UUID with the exception that zero UUID is not supported ( + * 00000000-0000-0000-0000-000000000000). + * @return Operation + */ + public function setName($project, $zone, $instance, InstancesSetNameRequest $postBody, $optParams = []) + { + $params = ['project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('setName', [$params], Operation::class); + } /** * Sets an instance's scheduling options. You can only call this method on a * stopped instance, that is, a VM instance that is in a `TERMINATED` state. See diff --git a/vendor/google/apiclient-services/src/Compute/Resource/RegionInstanceTemplates.php b/vendor/google/apiclient-services/src/Compute/Resource/RegionInstanceTemplates.php new file mode 100644 index 0000000000..cc16f2e5b6 --- /dev/null +++ b/vendor/google/apiclient-services/src/Compute/Resource/RegionInstanceTemplates.php @@ -0,0 +1,175 @@ + + * $computeService = new Google\Service\Compute(...); + * $regionInstanceTemplates = $computeService->regionInstanceTemplates; + * + */ +class RegionInstanceTemplates extends \Google\Service\Resource +{ + /** + * Deletes the specified instance template. Deleting an instance template is + * permanent and cannot be undone. (regionInstanceTemplates.delete) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param string $instanceTemplate The name of the instance template to delete. + * @param array $optParams Optional parameters. + * + * @opt_param string requestId An optional request ID to identify requests. + * Specify a unique request ID so that if you must retry your request, the + * server will know to ignore the request if it has already been completed. For + * example, consider a situation where you make an initial request and the + * request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was + * received, and if so, will ignore the second request. This prevents clients + * from accidentally creating duplicate commitments. The request ID must be a + * valid UUID with the exception that zero UUID is not supported ( + * 00000000-0000-0000-0000-000000000000). + * @return Operation + */ + public function delete($project, $region, $instanceTemplate, $optParams = []) + { + $params = ['project' => $project, 'region' => $region, 'instanceTemplate' => $instanceTemplate]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], Operation::class); + } + /** + * Returns the specified instance template. Gets a list of available instance + * templates by making a list() request. (regionInstanceTemplates.get) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param string $instanceTemplate The name of the instance template. + * @param array $optParams Optional parameters. + * @return InstanceTemplate + */ + public function get($project, $region, $instanceTemplate, $optParams = []) + { + $params = ['project' => $project, 'region' => $region, 'instanceTemplate' => $instanceTemplate]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], InstanceTemplate::class); + } + /** + * Creates an instance template in the specified project and region using the + * global instance template whose URL is included in the request. + * (regionInstanceTemplates.insert) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param InstanceTemplate $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId An optional request ID to identify requests. + * Specify a unique request ID so that if you must retry your request, the + * server will know to ignore the request if it has already been completed. For + * example, consider a situation where you make an initial request and the + * request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was + * received, and if so, will ignore the second request. This prevents clients + * from accidentally creating duplicate commitments. The request ID must be a + * valid UUID with the exception that zero UUID is not supported ( + * 00000000-0000-0000-0000-000000000000). + * @return Operation + */ + public function insert($project, $region, InstanceTemplate $postBody, $optParams = []) + { + $params = ['project' => $project, 'region' => $region, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('insert', [$params], Operation::class); + } + /** + * Retrieves a list of instance templates that are contained within the + * specified project and region. + * (regionInstanceTemplates.listRegionInstanceTemplates) + * + * @param string $project Project ID for this request. + * @param string $region The name of the regions for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter A filter expression that filters resources listed in + * the response. Most Compute resources support two types of filter expressions: + * expressions that support regular expressions and expressions that follow API + * improvement proposal AIP-160. If you want to use AIP-160, your expression + * must specify the field name, an operator, and the value that you want to use + * for filtering. The value must be a string, a number, or a boolean. The + * operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, + * if you are filtering Compute Engine instances, you can exclude instances + * named `example-instance` by specifying `name != example-instance`. The `:` + * operator can be used with string fields to match substrings. For non-string + * fields it is equivalent to the `=` operator. The `:*` comparison can be used + * to test whether a key has been defined. For example, to find all objects with + * `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. + * For example, you could specify `scheduling.automaticRestart = false` to + * include instances only if they are not scheduled for automatic restarts. You + * can use filtering on nested fields to filter based on resource labels. To + * filter on multiple expressions, provide each separate expression within + * parentheses. For example: ``` (scheduling.automaticRestart = true) + * (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` + * expression. However, you can include `AND` and `OR` expressions explicitly. + * For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a + * regular expression, use the `eq` (equal) or `ne` (not equal) operator against + * a single un-parenthesized expression with or without quotes or against + * multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` + * `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` + * `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is + * interpreted as a regular expression using Google RE2 library syntax. The + * literal value must match the entire field. For example, to filter for + * instances that do not end with name "instance", you would use `name ne + * .*instance`. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * `maxResults`, Compute Engine returns a `nextPageToken` that can be used to + * get the next page of results in subsequent list requests. Acceptable values + * are `0` to `500`, inclusive. (Default: `500`) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. You + * can also sort results in descending order based on the creation timestamp + * using `orderBy="creationTimestamp desc"`. This sorts results based on the + * `creationTimestamp` field in reverse chronological order (newest result + * first). Use this to sort resources like operations so that the newest + * operation is returned first. Currently, only sorting by `name` or + * `creationTimestamp desc` is supported. + * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to + * the `nextPageToken` returned by a previous list request to get the next page + * of results. + * @opt_param bool returnPartialSuccess Opt-in for partial success behavior + * which provides partial results in case of failure. The default value is + * false. + * @return InstanceTemplateList + */ + public function listRegionInstanceTemplates($project, $region, $optParams = []) + { + $params = ['project' => $project, 'region' => $region]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], InstanceTemplateList::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(RegionInstanceTemplates::class, 'Google_Service_Compute_Resource_RegionInstanceTemplates'); diff --git a/vendor/google/apiclient-services/src/Drive/DriveCapabilities.php b/vendor/google/apiclient-services/src/Drive/DriveCapabilities.php index 2a526e1129..54a17ed29f 100644 --- a/vendor/google/apiclient-services/src/Drive/DriveCapabilities.php +++ b/vendor/google/apiclient-services/src/Drive/DriveCapabilities.php @@ -39,6 +39,10 @@ class DriveCapabilities extends \Google\Model * @var bool */ public $canChangeDriveMembersOnlyRestriction; + /** + * @var bool + */ + public $canChangeSharingFoldersRequiresOrganizerPermissionRestriction; /** * @var bool */ @@ -166,6 +170,20 @@ class DriveCapabilities extends \Google\Model { return $this->canChangeDriveMembersOnlyRestriction; } + /** + * @param bool + */ + public function setCanChangeSharingFoldersRequiresOrganizerPermissionRestriction($canChangeSharingFoldersRequiresOrganizerPermissionRestriction) + { + $this->canChangeSharingFoldersRequiresOrganizerPermissionRestriction = $canChangeSharingFoldersRequiresOrganizerPermissionRestriction; + } + /** + * @return bool + */ + public function getCanChangeSharingFoldersRequiresOrganizerPermissionRestriction() + { + return $this->canChangeSharingFoldersRequiresOrganizerPermissionRestriction; + } /** * @param bool */ diff --git a/vendor/google/apiclient-services/src/Drive/DriveRestrictions.php b/vendor/google/apiclient-services/src/Drive/DriveRestrictions.php index ff1107e285..693761e23d 100644 --- a/vendor/google/apiclient-services/src/Drive/DriveRestrictions.php +++ b/vendor/google/apiclient-services/src/Drive/DriveRestrictions.php @@ -35,6 +35,10 @@ class DriveRestrictions extends \Google\Model * @var bool */ public $driveMembersOnly; + /** + * @var bool + */ + public $sharingFoldersRequiresOrganizerPermission; /** * @param bool @@ -92,6 +96,20 @@ class DriveRestrictions extends \Google\Model { return $this->driveMembersOnly; } + /** + * @param bool + */ + public function setSharingFoldersRequiresOrganizerPermission($sharingFoldersRequiresOrganizerPermission) + { + $this->sharingFoldersRequiresOrganizerPermission = $sharingFoldersRequiresOrganizerPermission; + } + /** + * @return bool + */ + public function getSharingFoldersRequiresOrganizerPermission() + { + return $this->sharingFoldersRequiresOrganizerPermission; + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/vendor/google/apiclient-services/src/Drive/TeamDriveCapabilities.php b/vendor/google/apiclient-services/src/Drive/TeamDriveCapabilities.php index 168fba9dd1..35df02b9e0 100644 --- a/vendor/google/apiclient-services/src/Drive/TeamDriveCapabilities.php +++ b/vendor/google/apiclient-services/src/Drive/TeamDriveCapabilities.php @@ -31,6 +31,10 @@ class TeamDriveCapabilities extends \Google\Model * @var bool */ public $canChangeDomainUsersOnlyRestriction; + /** + * @var bool + */ + public $canChangeSharingFoldersRequiresOrganizerPermissionRestriction; /** * @var bool */ @@ -142,6 +146,20 @@ class TeamDriveCapabilities extends \Google\Model { return $this->canChangeDomainUsersOnlyRestriction; } + /** + * @param bool + */ + public function setCanChangeSharingFoldersRequiresOrganizerPermissionRestriction($canChangeSharingFoldersRequiresOrganizerPermissionRestriction) + { + $this->canChangeSharingFoldersRequiresOrganizerPermissionRestriction = $canChangeSharingFoldersRequiresOrganizerPermissionRestriction; + } + /** + * @return bool + */ + public function getCanChangeSharingFoldersRequiresOrganizerPermissionRestriction() + { + return $this->canChangeSharingFoldersRequiresOrganizerPermissionRestriction; + } /** * @param bool */ diff --git a/vendor/google/apiclient-services/src/Drive/TeamDriveRestrictions.php b/vendor/google/apiclient-services/src/Drive/TeamDriveRestrictions.php index 09b50a4114..638ca43637 100644 --- a/vendor/google/apiclient-services/src/Drive/TeamDriveRestrictions.php +++ b/vendor/google/apiclient-services/src/Drive/TeamDriveRestrictions.php @@ -31,6 +31,10 @@ class TeamDriveRestrictions extends \Google\Model * @var bool */ public $domainUsersOnly; + /** + * @var bool + */ + public $sharingFoldersRequiresOrganizerPermission; /** * @var bool */ @@ -78,6 +82,20 @@ class TeamDriveRestrictions extends \Google\Model { return $this->domainUsersOnly; } + /** + * @param bool + */ + public function setSharingFoldersRequiresOrganizerPermission($sharingFoldersRequiresOrganizerPermission) + { + $this->sharingFoldersRequiresOrganizerPermission = $sharingFoldersRequiresOrganizerPermission; + } + /** + * @return bool + */ + public function getSharingFoldersRequiresOrganizerPermission() + { + return $this->sharingFoldersRequiresOrganizerPermission; + } /** * @param bool */ diff --git a/vendor/google/apiclient-services/src/GoogleAnalyticsAdmin/Resource/Accounts.php b/vendor/google/apiclient-services/src/GoogleAnalyticsAdmin/Resource/Accounts.php index 05da83fc02..4292a9a552 100644 --- a/vendor/google/apiclient-services/src/GoogleAnalyticsAdmin/Resource/Accounts.php +++ b/vendor/google/apiclient-services/src/GoogleAnalyticsAdmin/Resource/Accounts.php @@ -122,9 +122,9 @@ class Accounts extends \Google\Service\Resource * @param array $optParams Optional parameters. * * @opt_param string updateMask Required. The list of fields to be updated. - * Field names must be in snake case (e.g., "field_to_update"). Omitted fields - * will not be updated. To replace the entire entity, use one path with the - * string "*" to match all fields. + * Field names must be in snake case (for example, "field_to_update"). Omitted + * fields will not be updated. To replace the entire entity, use one path with + * the string "*" to match all fields. * @return GoogleAnalyticsAdminV1betaAccount */ public function patch($name, GoogleAnalyticsAdminV1betaAccount $postBody, $optParams = []) diff --git a/vendor/google/apiclient-services/src/GoogleAnalyticsAdmin/Resource/Properties.php b/vendor/google/apiclient-services/src/GoogleAnalyticsAdmin/Resource/Properties.php index 5df2faabbc..2423a9d373 100644 --- a/vendor/google/apiclient-services/src/GoogleAnalyticsAdmin/Resource/Properties.php +++ b/vendor/google/apiclient-services/src/GoogleAnalyticsAdmin/Resource/Properties.php @@ -36,7 +36,7 @@ class Properties extends \Google\Service\Resource /** * Acknowledges the terms of user data collection for the specified property. * This acknowledgement must be completed (either in the Google Analytics UI or - * via this API) before MeasurementProtocolSecret resources may be created. + * through this API) before MeasurementProtocolSecret resources may be created. * (properties.acknowledgeUserDataCollection) * * @param string $property Required. The property for which to acknowledge user diff --git a/vendor/google/apiclient-services/src/HangoutsChat.php b/vendor/google/apiclient-services/src/HangoutsChat.php index 78f72cca67..a600f50b2e 100644 --- a/vendor/google/apiclient-services/src/HangoutsChat.php +++ b/vendor/google/apiclient-services/src/HangoutsChat.php @@ -35,6 +35,9 @@ use Google\Client; */ class HangoutsChat extends \Google\Service { + /** Private Service: https://www.googleapis.com/auth/chat.bot. */ + const CHAT_BOT = + "https://www.googleapis.com/auth/chat.bot"; /** View, add, and remove members from conversations in Google Chat. */ const CHAT_MEMBERSHIPS = "https://www.googleapis.com/auth/chat.memberships"; diff --git a/vendor/google/apiclient-services/src/HangoutsChat/Space.php b/vendor/google/apiclient-services/src/HangoutsChat/Space.php index d34b3f49cb..3334f0d4eb 100644 --- a/vendor/google/apiclient-services/src/HangoutsChat/Space.php +++ b/vendor/google/apiclient-services/src/HangoutsChat/Space.php @@ -19,6 +19,10 @@ namespace Google\Service\HangoutsChat; class Space extends \Google\Model { + /** + * @var bool + */ + public $adminInstalled; /** * @var string */ @@ -47,6 +51,20 @@ class Space extends \Google\Model */ public $type; + /** + * @param bool + */ + public function setAdminInstalled($adminInstalled) + { + $this->adminInstalled = $adminInstalled; + } + /** + * @return bool + */ + public function getAdminInstalled() + { + return $this->adminInstalled; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/Logging.php b/vendor/google/apiclient-services/src/Logging.php index 385cb75c53..5d82122a26 100644 --- a/vendor/google/apiclient-services/src/Logging.php +++ b/vendor/google/apiclient-services/src/Logging.php @@ -278,6 +278,20 @@ class Logging extends \Google\Service 'type' => 'string', ], ], + ],'createAsync' => [ + 'path' => 'v2/{+parent}/buckets:createAsync', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'bucketId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ],'delete' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'DELETE', @@ -340,6 +354,20 @@ class Logging extends \Google\Service 'required' => true, ], ], + ],'updateAsync' => [ + 'path' => 'v2/{+name}:updateAsync', + 'httpMethod' => 'POST', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ], ] ] @@ -922,6 +950,20 @@ class Logging extends \Google\Service 'type' => 'string', ], ], + ],'createAsync' => [ + 'path' => 'v2/{+parent}/buckets:createAsync', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'bucketId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ],'delete' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'DELETE', @@ -984,6 +1026,20 @@ class Logging extends \Google\Service 'required' => true, ], ], + ],'updateAsync' => [ + 'path' => 'v2/{+name}:updateAsync', + 'httpMethod' => 'POST', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ], ] ] @@ -1352,6 +1408,20 @@ class Logging extends \Google\Service 'type' => 'string', ], ], + ],'createAsync' => [ + 'path' => 'v2/{+parent}/buckets:createAsync', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'bucketId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ],'delete' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'DELETE', @@ -1414,6 +1484,20 @@ class Logging extends \Google\Service 'required' => true, ], ], + ],'updateAsync' => [ + 'path' => 'v2/{+name}:updateAsync', + 'httpMethod' => 'POST', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ], ] ] @@ -1804,6 +1888,20 @@ class Logging extends \Google\Service 'type' => 'string', ], ], + ],'createAsync' => [ + 'path' => 'v2/{+parent}/buckets:createAsync', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'bucketId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ],'delete' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'DELETE', @@ -1866,6 +1964,20 @@ class Logging extends \Google\Service 'required' => true, ], ], + ],'updateAsync' => [ + 'path' => 'v2/{+name}:updateAsync', + 'httpMethod' => 'POST', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ], ] ] @@ -2336,6 +2448,20 @@ class Logging extends \Google\Service 'type' => 'string', ], ], + ],'createAsync' => [ + 'path' => 'v2/{+parent}/buckets:createAsync', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'bucketId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ],'delete' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'DELETE', @@ -2398,6 +2524,20 @@ class Logging extends \Google\Service 'required' => true, ], ], + ],'updateAsync' => [ + 'path' => 'v2/{+name}:updateAsync', + 'httpMethod' => 'POST', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], ], ] ] diff --git a/vendor/google/apiclient-services/src/Logging/BucketMetadata.php b/vendor/google/apiclient-services/src/Logging/BucketMetadata.php new file mode 100644 index 0000000000..3c3a5417e9 --- /dev/null +++ b/vendor/google/apiclient-services/src/Logging/BucketMetadata.php @@ -0,0 +1,114 @@ +createBucketRequest = $createBucketRequest; + } + /** + * @return CreateBucketRequest + */ + public function getCreateBucketRequest() + { + return $this->createBucketRequest; + } + /** + * @param string + */ + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + /** + * @return string + */ + public function getEndTime() + { + return $this->endTime; + } + /** + * @param string + */ + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + /** + * @return string + */ + public function getStartTime() + { + return $this->startTime; + } + /** + * @param string + */ + public function setState($state) + { + $this->state = $state; + } + /** + * @return string + */ + public function getState() + { + return $this->state; + } + /** + * @param UpdateBucketRequest + */ + public function setUpdateBucketRequest(UpdateBucketRequest $updateBucketRequest) + { + $this->updateBucketRequest = $updateBucketRequest; + } + /** + * @return UpdateBucketRequest + */ + public function getUpdateBucketRequest() + { + return $this->updateBucketRequest; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(BucketMetadata::class, 'Google_Service_Logging_BucketMetadata'); diff --git a/vendor/google/apiclient-services/src/Logging/CreateBucketRequest.php b/vendor/google/apiclient-services/src/Logging/CreateBucketRequest.php new file mode 100644 index 0000000000..56b4b54753 --- /dev/null +++ b/vendor/google/apiclient-services/src/Logging/CreateBucketRequest.php @@ -0,0 +1,79 @@ +bucket = $bucket; + } + /** + * @return LogBucket + */ + public function getBucket() + { + return $this->bucket; + } + /** + * @param string + */ + public function setBucketId($bucketId) + { + $this->bucketId = $bucketId; + } + /** + * @return string + */ + public function getBucketId() + { + return $this->bucketId; + } + /** + * @param string + */ + public function setParent($parent) + { + $this->parent = $parent; + } + /** + * @return string + */ + public function getParent() + { + return $this->parent; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(CreateBucketRequest::class, 'Google_Service_Logging_CreateBucketRequest'); diff --git a/vendor/google/apiclient-services/src/Logging/LogBucket.php b/vendor/google/apiclient-services/src/Logging/LogBucket.php index 2df977949a..789a30a951 100644 --- a/vendor/google/apiclient-services/src/Logging/LogBucket.php +++ b/vendor/google/apiclient-services/src/Logging/LogBucket.php @@ -20,6 +20,10 @@ namespace Google\Service\Logging; class LogBucket extends \Google\Collection { protected $collection_key = 'restrictedFields'; + /** + * @var bool + */ + public $analyticsEnabled; protected $cmekSettingsType = CmekSettings::class; protected $cmekSettingsDataType = ''; public $cmekSettings; @@ -59,6 +63,20 @@ class LogBucket extends \Google\Collection */ public $updateTime; + /** + * @param bool + */ + public function setAnalyticsEnabled($analyticsEnabled) + { + $this->analyticsEnabled = $analyticsEnabled; + } + /** + * @return bool + */ + public function getAnalyticsEnabled() + { + return $this->analyticsEnabled; + } /** * @param CmekSettings */ diff --git a/vendor/google/apiclient-services/src/Logging/Resource/BillingAccountsLocationsBuckets.php b/vendor/google/apiclient-services/src/Logging/Resource/BillingAccountsLocationsBuckets.php index 0fcce2cf37..2335a53e56 100644 --- a/vendor/google/apiclient-services/src/Logging/Resource/BillingAccountsLocationsBuckets.php +++ b/vendor/google/apiclient-services/src/Logging/Resource/BillingAccountsLocationsBuckets.php @@ -20,6 +20,7 @@ namespace Google\Service\Logging\Resource; use Google\Service\Logging\ListBucketsResponse; use Google\Service\Logging\LogBucket; use Google\Service\Logging\LoggingEmpty; +use Google\Service\Logging\Operation; use Google\Service\Logging\UndeleteBucketRequest; /** @@ -53,6 +54,28 @@ class BillingAccountsLocationsBuckets extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('create', [$params], LogBucket::class); } + /** + * Creates a log bucket asynchronously that can be used to store log + * entries.After a bucket has been created, the bucket's location cannot be + * changed. (buckets.createAsync) + * + * @param string $parent Required. The resource in which to create the log + * bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects + * /my-project/locations/global" + * @param LogBucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string bucketId Required. A client-assigned identifier such as + * "my-bucket". Identifiers are limited to 100 characters and can include only + * letters, digits, underscores, hyphens, and periods. + * @return Operation + */ + public function createAsync($parent, LogBucket $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('createAsync', [$params], Operation::class); + } /** * Deletes a log bucket.Changes the bucket's lifecycle_state to the * DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log @@ -119,10 +142,7 @@ class BillingAccountsLocationsBuckets extends \Google\Service\Resource return $this->call('list', [$params], ListBucketsResponse::class); } /** - * Updates a log bucket. This method replaces the following fields in the - * existing bucket with values from the new bucket: retention_periodIf the - * retention period is decreased and the bucket is locked, FAILED_PRECONDITION - * will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, + * Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, * then FAILED_PRECONDITION will be returned.After a bucket has been created, * the bucket's location cannot be changed. (buckets.patch) * @@ -170,6 +190,36 @@ class BillingAccountsLocationsBuckets extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('undelete', [$params], LoggingEmpty::class); } + /** + * Updates a log bucket asynchronously.If the bucket has a lifecycle_state of + * DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket + * has been created, the bucket's location cannot be changed. + * (buckets.updateAsync) + * + * @param string $name Required. The full resource name of the bucket to update. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET + * _ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For + * example:"projects/my-project/locations/global/buckets/my-bucket" + * @param LogBucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. Field mask that specifies the fields + * in bucket that need an update. A bucket field will be overwritten if, and + * only if, it is in the update mask. name and output only fields cannot be + * updated.For a detailed FieldMask definition, see: + * https://developers.google.com/protocol- + * buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: + * updateMask=retention_days + * @return Operation + */ + public function updateAsync($name, LogBucket $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('updateAsync', [$params], Operation::class); + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/vendor/google/apiclient-services/src/Logging/Resource/FoldersLocationsBuckets.php b/vendor/google/apiclient-services/src/Logging/Resource/FoldersLocationsBuckets.php index ecd7e365df..d2118c3368 100644 --- a/vendor/google/apiclient-services/src/Logging/Resource/FoldersLocationsBuckets.php +++ b/vendor/google/apiclient-services/src/Logging/Resource/FoldersLocationsBuckets.php @@ -20,6 +20,7 @@ namespace Google\Service\Logging\Resource; use Google\Service\Logging\ListBucketsResponse; use Google\Service\Logging\LogBucket; use Google\Service\Logging\LoggingEmpty; +use Google\Service\Logging\Operation; use Google\Service\Logging\UndeleteBucketRequest; /** @@ -53,6 +54,28 @@ class FoldersLocationsBuckets extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('create', [$params], LogBucket::class); } + /** + * Creates a log bucket asynchronously that can be used to store log + * entries.After a bucket has been created, the bucket's location cannot be + * changed. (buckets.createAsync) + * + * @param string $parent Required. The resource in which to create the log + * bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects + * /my-project/locations/global" + * @param LogBucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string bucketId Required. A client-assigned identifier such as + * "my-bucket". Identifiers are limited to 100 characters and can include only + * letters, digits, underscores, hyphens, and periods. + * @return Operation + */ + public function createAsync($parent, LogBucket $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('createAsync', [$params], Operation::class); + } /** * Deletes a log bucket.Changes the bucket's lifecycle_state to the * DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log @@ -119,10 +142,7 @@ class FoldersLocationsBuckets extends \Google\Service\Resource return $this->call('list', [$params], ListBucketsResponse::class); } /** - * Updates a log bucket. This method replaces the following fields in the - * existing bucket with values from the new bucket: retention_periodIf the - * retention period is decreased and the bucket is locked, FAILED_PRECONDITION - * will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, + * Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, * then FAILED_PRECONDITION will be returned.After a bucket has been created, * the bucket's location cannot be changed. (buckets.patch) * @@ -170,6 +190,36 @@ class FoldersLocationsBuckets extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('undelete', [$params], LoggingEmpty::class); } + /** + * Updates a log bucket asynchronously.If the bucket has a lifecycle_state of + * DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket + * has been created, the bucket's location cannot be changed. + * (buckets.updateAsync) + * + * @param string $name Required. The full resource name of the bucket to update. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET + * _ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For + * example:"projects/my-project/locations/global/buckets/my-bucket" + * @param LogBucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. Field mask that specifies the fields + * in bucket that need an update. A bucket field will be overwritten if, and + * only if, it is in the update mask. name and output only fields cannot be + * updated.For a detailed FieldMask definition, see: + * https://developers.google.com/protocol- + * buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: + * updateMask=retention_days + * @return Operation + */ + public function updateAsync($name, LogBucket $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('updateAsync', [$params], Operation::class); + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/vendor/google/apiclient-services/src/Logging/Resource/LocationsBuckets.php b/vendor/google/apiclient-services/src/Logging/Resource/LocationsBuckets.php index 107f95bbe2..7ae230463b 100644 --- a/vendor/google/apiclient-services/src/Logging/Resource/LocationsBuckets.php +++ b/vendor/google/apiclient-services/src/Logging/Resource/LocationsBuckets.php @@ -20,6 +20,7 @@ namespace Google\Service\Logging\Resource; use Google\Service\Logging\ListBucketsResponse; use Google\Service\Logging\LogBucket; use Google\Service\Logging\LoggingEmpty; +use Google\Service\Logging\Operation; use Google\Service\Logging\UndeleteBucketRequest; /** @@ -53,6 +54,28 @@ class LocationsBuckets extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('create', [$params], LogBucket::class); } + /** + * Creates a log bucket asynchronously that can be used to store log + * entries.After a bucket has been created, the bucket's location cannot be + * changed. (buckets.createAsync) + * + * @param string $parent Required. The resource in which to create the log + * bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects + * /my-project/locations/global" + * @param LogBucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string bucketId Required. A client-assigned identifier such as + * "my-bucket". Identifiers are limited to 100 characters and can include only + * letters, digits, underscores, hyphens, and periods. + * @return Operation + */ + public function createAsync($parent, LogBucket $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('createAsync', [$params], Operation::class); + } /** * Deletes a log bucket.Changes the bucket's lifecycle_state to the * DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log @@ -119,10 +142,7 @@ class LocationsBuckets extends \Google\Service\Resource return $this->call('list', [$params], ListBucketsResponse::class); } /** - * Updates a log bucket. This method replaces the following fields in the - * existing bucket with values from the new bucket: retention_periodIf the - * retention period is decreased and the bucket is locked, FAILED_PRECONDITION - * will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, + * Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, * then FAILED_PRECONDITION will be returned.After a bucket has been created, * the bucket's location cannot be changed. (buckets.patch) * @@ -170,6 +190,36 @@ class LocationsBuckets extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('undelete', [$params], LoggingEmpty::class); } + /** + * Updates a log bucket asynchronously.If the bucket has a lifecycle_state of + * DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket + * has been created, the bucket's location cannot be changed. + * (buckets.updateAsync) + * + * @param string $name Required. The full resource name of the bucket to update. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET + * _ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For + * example:"projects/my-project/locations/global/buckets/my-bucket" + * @param LogBucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. Field mask that specifies the fields + * in bucket that need an update. A bucket field will be overwritten if, and + * only if, it is in the update mask. name and output only fields cannot be + * updated.For a detailed FieldMask definition, see: + * https://developers.google.com/protocol- + * buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: + * updateMask=retention_days + * @return Operation + */ + public function updateAsync($name, LogBucket $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('updateAsync', [$params], Operation::class); + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/vendor/google/apiclient-services/src/Logging/Resource/OrganizationsLocationsBuckets.php b/vendor/google/apiclient-services/src/Logging/Resource/OrganizationsLocationsBuckets.php index 5a69f69546..2260c9d05c 100644 --- a/vendor/google/apiclient-services/src/Logging/Resource/OrganizationsLocationsBuckets.php +++ b/vendor/google/apiclient-services/src/Logging/Resource/OrganizationsLocationsBuckets.php @@ -20,6 +20,7 @@ namespace Google\Service\Logging\Resource; use Google\Service\Logging\ListBucketsResponse; use Google\Service\Logging\LogBucket; use Google\Service\Logging\LoggingEmpty; +use Google\Service\Logging\Operation; use Google\Service\Logging\UndeleteBucketRequest; /** @@ -53,6 +54,28 @@ class OrganizationsLocationsBuckets extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('create', [$params], LogBucket::class); } + /** + * Creates a log bucket asynchronously that can be used to store log + * entries.After a bucket has been created, the bucket's location cannot be + * changed. (buckets.createAsync) + * + * @param string $parent Required. The resource in which to create the log + * bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects + * /my-project/locations/global" + * @param LogBucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string bucketId Required. A client-assigned identifier such as + * "my-bucket". Identifiers are limited to 100 characters and can include only + * letters, digits, underscores, hyphens, and periods. + * @return Operation + */ + public function createAsync($parent, LogBucket $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('createAsync', [$params], Operation::class); + } /** * Deletes a log bucket.Changes the bucket's lifecycle_state to the * DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log @@ -119,10 +142,7 @@ class OrganizationsLocationsBuckets extends \Google\Service\Resource return $this->call('list', [$params], ListBucketsResponse::class); } /** - * Updates a log bucket. This method replaces the following fields in the - * existing bucket with values from the new bucket: retention_periodIf the - * retention period is decreased and the bucket is locked, FAILED_PRECONDITION - * will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, + * Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, * then FAILED_PRECONDITION will be returned.After a bucket has been created, * the bucket's location cannot be changed. (buckets.patch) * @@ -170,6 +190,36 @@ class OrganizationsLocationsBuckets extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('undelete', [$params], LoggingEmpty::class); } + /** + * Updates a log bucket asynchronously.If the bucket has a lifecycle_state of + * DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket + * has been created, the bucket's location cannot be changed. + * (buckets.updateAsync) + * + * @param string $name Required. The full resource name of the bucket to update. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET + * _ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For + * example:"projects/my-project/locations/global/buckets/my-bucket" + * @param LogBucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. Field mask that specifies the fields + * in bucket that need an update. A bucket field will be overwritten if, and + * only if, it is in the update mask. name and output only fields cannot be + * updated.For a detailed FieldMask definition, see: + * https://developers.google.com/protocol- + * buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: + * updateMask=retention_days + * @return Operation + */ + public function updateAsync($name, LogBucket $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('updateAsync', [$params], Operation::class); + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/vendor/google/apiclient-services/src/Logging/Resource/ProjectsLocationsBuckets.php b/vendor/google/apiclient-services/src/Logging/Resource/ProjectsLocationsBuckets.php index 0644187f24..7373caa209 100644 --- a/vendor/google/apiclient-services/src/Logging/Resource/ProjectsLocationsBuckets.php +++ b/vendor/google/apiclient-services/src/Logging/Resource/ProjectsLocationsBuckets.php @@ -20,6 +20,7 @@ namespace Google\Service\Logging\Resource; use Google\Service\Logging\ListBucketsResponse; use Google\Service\Logging\LogBucket; use Google\Service\Logging\LoggingEmpty; +use Google\Service\Logging\Operation; use Google\Service\Logging\UndeleteBucketRequest; /** @@ -53,6 +54,28 @@ class ProjectsLocationsBuckets extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('create', [$params], LogBucket::class); } + /** + * Creates a log bucket asynchronously that can be used to store log + * entries.After a bucket has been created, the bucket's location cannot be + * changed. (buckets.createAsync) + * + * @param string $parent Required. The resource in which to create the log + * bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects + * /my-project/locations/global" + * @param LogBucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string bucketId Required. A client-assigned identifier such as + * "my-bucket". Identifiers are limited to 100 characters and can include only + * letters, digits, underscores, hyphens, and periods. + * @return Operation + */ + public function createAsync($parent, LogBucket $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('createAsync', [$params], Operation::class); + } /** * Deletes a log bucket.Changes the bucket's lifecycle_state to the * DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log @@ -119,10 +142,7 @@ class ProjectsLocationsBuckets extends \Google\Service\Resource return $this->call('list', [$params], ListBucketsResponse::class); } /** - * Updates a log bucket. This method replaces the following fields in the - * existing bucket with values from the new bucket: retention_periodIf the - * retention period is decreased and the bucket is locked, FAILED_PRECONDITION - * will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, + * Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, * then FAILED_PRECONDITION will be returned.After a bucket has been created, * the bucket's location cannot be changed. (buckets.patch) * @@ -170,6 +190,36 @@ class ProjectsLocationsBuckets extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('undelete', [$params], LoggingEmpty::class); } + /** + * Updates a log bucket asynchronously.If the bucket has a lifecycle_state of + * DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket + * has been created, the bucket's location cannot be changed. + * (buckets.updateAsync) + * + * @param string $name Required. The full resource name of the bucket to update. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET + * _ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For + * example:"projects/my-project/locations/global/buckets/my-bucket" + * @param LogBucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. Field mask that specifies the fields + * in bucket that need an update. A bucket field will be overwritten if, and + * only if, it is in the update mask. name and output only fields cannot be + * updated.For a detailed FieldMask definition, see: + * https://developers.google.com/protocol- + * buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: + * updateMask=retention_days + * @return Operation + */ + public function updateAsync($name, LogBucket $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('updateAsync', [$params], Operation::class); + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/vendor/google/apiclient-services/src/Logging/UpdateBucketRequest.php b/vendor/google/apiclient-services/src/Logging/UpdateBucketRequest.php new file mode 100644 index 0000000000..c53c7d3a35 --- /dev/null +++ b/vendor/google/apiclient-services/src/Logging/UpdateBucketRequest.php @@ -0,0 +1,79 @@ +bucket = $bucket; + } + /** + * @return LogBucket + */ + public function getBucket() + { + return $this->bucket; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param string + */ + public function setUpdateMask($updateMask) + { + $this->updateMask = $updateMask; + } + /** + * @return string + */ + public function getUpdateMask() + { + return $this->updateMask; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(UpdateBucketRequest::class, 'Google_Service_Logging_UpdateBucketRequest'); diff --git a/vendor/google/apiclient-services/src/Monitoring/HttpCheck.php b/vendor/google/apiclient-services/src/Monitoring/HttpCheck.php index 60f2144a0f..f166427c4b 100644 --- a/vendor/google/apiclient-services/src/Monitoring/HttpCheck.php +++ b/vendor/google/apiclient-services/src/Monitoring/HttpCheck.php @@ -34,6 +34,10 @@ class HttpCheck extends \Google\Collection * @var string */ public $contentType; + /** + * @var string + */ + public $customContentType; /** * @var string[] */ @@ -122,6 +126,20 @@ class HttpCheck extends \Google\Collection { return $this->contentType; } + /** + * @param string + */ + public function setCustomContentType($customContentType) + { + $this->customContentType = $customContentType; + } + /** + * @return string + */ + public function getCustomContentType() + { + return $this->customContentType; + } /** * @param string[] */ diff --git a/vendor/google/apiclient-services/src/Networkconnectivity/Resource/ProjectsLocationsNetworkconnectivityGlobalHubs.php b/vendor/google/apiclient-services/src/Networkconnectivity/Resource/ProjectsLocationsNetworkconnectivityGlobalHubs.php index 5220458a3c..886a317e60 100644 --- a/vendor/google/apiclient-services/src/Networkconnectivity/Resource/ProjectsLocationsNetworkconnectivityGlobalHubs.php +++ b/vendor/google/apiclient-services/src/Networkconnectivity/Resource/ProjectsLocationsNetworkconnectivityGlobalHubs.php @@ -141,8 +141,7 @@ class ProjectsLocationsNetworkconnectivityGlobalHubs extends \Google\Service\Res * @opt_param string filter An expression that filters the results listed in the * response. * @opt_param string orderBy Sort the results by a certain order. - * @opt_param int pageSize The maximum number of results per page that should be - * returned. + * @opt_param int pageSize The maximum number of results per page to return. * @opt_param string pageToken The page token. * @return ListHubsResponse */ diff --git a/vendor/google/apiclient-services/src/Networkconnectivity/Resource/ProjectsLocationsSpokes.php b/vendor/google/apiclient-services/src/Networkconnectivity/Resource/ProjectsLocationsSpokes.php index 190f680c5e..65b2b61479 100644 --- a/vendor/google/apiclient-services/src/Networkconnectivity/Resource/ProjectsLocationsSpokes.php +++ b/vendor/google/apiclient-services/src/Networkconnectivity/Resource/ProjectsLocationsSpokes.php @@ -140,8 +140,7 @@ class ProjectsLocationsSpokes extends \Google\Service\Resource * @opt_param string filter An expression that filters the results listed in the * response. * @opt_param string orderBy Sort the results by a certain order. - * @opt_param int pageSize The maximum number of results per page that should be - * returned. + * @opt_param int pageSize The maximum number of results to return per page. * @opt_param string pageToken The page token. * @return ListSpokesResponse */ diff --git a/vendor/google/apiclient-services/src/OnDemandScanning/VulnerabilityOccurrence.php b/vendor/google/apiclient-services/src/OnDemandScanning/VulnerabilityOccurrence.php index ebe19f4d11..28f20d71b9 100644 --- a/vendor/google/apiclient-services/src/OnDemandScanning/VulnerabilityOccurrence.php +++ b/vendor/google/apiclient-services/src/OnDemandScanning/VulnerabilityOccurrence.php @@ -24,6 +24,9 @@ class VulnerabilityOccurrence extends \Google\Collection * @var float */ public $cvssScore; + protected $cvssV2Type = CVSS::class; + protected $cvssV2DataType = ''; + public $cvssV2; /** * @var string */ @@ -76,6 +79,20 @@ class VulnerabilityOccurrence extends \Google\Collection { return $this->cvssScore; } + /** + * @param CVSS + */ + public function setCvssV2(CVSS $cvssV2) + { + $this->cvssV2 = $cvssV2; + } + /** + * @return CVSS + */ + public function getCvssV2() + { + return $this->cvssV2; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/PaymentsResellerSubscription/GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.php b/vendor/google/apiclient-services/src/PaymentsResellerSubscription/GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.php index 39b6bad8a1..7602d9e446 100644 --- a/vendor/google/apiclient-services/src/PaymentsResellerSubscription/GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.php +++ b/vendor/google/apiclient-services/src/PaymentsResellerSubscription/GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.php @@ -20,6 +20,9 @@ namespace Google\Service\PaymentsResellerSubscription; class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem extends \Google\Collection { protected $collection_key = 'lineItemPromotionSpecs'; + protected $amountType = GoogleCloudPaymentsResellerSubscriptionV1Amount::class; + protected $amountDataType = ''; + public $amount; /** * @var string */ @@ -50,6 +53,20 @@ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem extends \Goo */ public $state; + /** + * @param GoogleCloudPaymentsResellerSubscriptionV1Amount + */ + public function setAmount(GoogleCloudPaymentsResellerSubscriptionV1Amount $amount) + { + $this->amount = $amount; + } + /** + * @return GoogleCloudPaymentsResellerSubscriptionV1Amount + */ + public function getAmount() + { + return $this->amount; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/SASPortalTesting.php b/vendor/google/apiclient-services/src/SASPortalTesting.php index 2081c6a05a..4c19d42d82 100644 --- a/vendor/google/apiclient-services/src/SASPortalTesting.php +++ b/vendor/google/apiclient-services/src/SASPortalTesting.php @@ -118,6 +118,10 @@ class SASPortalTesting extends \Google\Service 'type' => 'string', ], ], + ],'provisionDeployment' => [ + 'path' => 'v1alpha1/customers:provisionDeployment', + 'httpMethod' => 'POST', + 'parameters' => [], ], ] ] diff --git a/vendor/google/apiclient-services/src/SASPortalTesting/Resource/Customers.php b/vendor/google/apiclient-services/src/SASPortalTesting/Resource/Customers.php index d06d8b6eee..d6b96e10a2 100644 --- a/vendor/google/apiclient-services/src/SASPortalTesting/Resource/Customers.php +++ b/vendor/google/apiclient-services/src/SASPortalTesting/Resource/Customers.php @@ -19,6 +19,8 @@ namespace Google\Service\SASPortalTesting\Resource; use Google\Service\SASPortalTesting\SasPortalCustomer; use Google\Service\SASPortalTesting\SasPortalListCustomersResponse; +use Google\Service\SASPortalTesting\SasPortalProvisionDeploymentRequest; +use Google\Service\SASPortalTesting\SasPortalProvisionDeploymentResponse; /** * The "customers" collection of methods. @@ -76,6 +78,21 @@ class Customers extends \Google\Service\Resource $params = array_merge($params, $optParams); return $this->call('patch', [$params], SasPortalCustomer::class); } + /** + * Creates a new SAS deployment through the GCP workflow. Creates a SAS + * organization if an organization match is not found. + * (customers.provisionDeployment) + * + * @param SasPortalProvisionDeploymentRequest $postBody + * @param array $optParams Optional parameters. + * @return SasPortalProvisionDeploymentResponse + */ + public function provisionDeployment(SasPortalProvisionDeploymentRequest $postBody, $optParams = []) + { + $params = ['postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('provisionDeployment', [$params], SasPortalProvisionDeploymentResponse::class); + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/vendor/google/apiclient-services/src/SASPortalTesting/Resource/Provisioning.php b/vendor/google/apiclient-services/src/SASPortalTesting/Resource/Provisioning.php new file mode 100644 index 0000000000..874518d8d0 --- /dev/null +++ b/vendor/google/apiclient-services/src/SASPortalTesting/Resource/Provisioning.php @@ -0,0 +1,51 @@ + + * $prod_tt_sasportalService = new Google\Service\SASPortalTesting(...); + * $provisioning = $prod_tt_sasportalService->provisioning; + * + */ +class Provisioning extends \Google\Service\Resource +{ + /** + * Creates a new SAS deployment through the GCP workflow. Creates a SAS + * organization if an organization match is not found. + * (provisioning.provisionDeployment) + * + * @param SasPortalProvisionDeploymentRequest $postBody + * @param array $optParams Optional parameters. + * @return SasPortalProvisionDeploymentResponse + */ + public function provisionDeployment(SasPortalProvisionDeploymentRequest $postBody, $optParams = []) + { + $params = ['postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('provisionDeployment', [$params], SasPortalProvisionDeploymentResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Provisioning::class, 'Google_Service_SASPortalTesting_Resource_Provisioning'); diff --git a/vendor/google/apiclient-services/src/SASPortalTesting/SasPortalProvisionDeploymentRequest.php b/vendor/google/apiclient-services/src/SASPortalTesting/SasPortalProvisionDeploymentRequest.php new file mode 100644 index 0000000000..040b6ba8ba --- /dev/null +++ b/vendor/google/apiclient-services/src/SASPortalTesting/SasPortalProvisionDeploymentRequest.php @@ -0,0 +1,25 @@ +errorMessage = $errorMessage; + } + /** + * @return string + */ + public function getErrorMessage() + { + return $this->errorMessage; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(SasPortalProvisionDeploymentResponse::class, 'Google_Service_SASPortalTesting_SasPortalProvisionDeploymentResponse'); diff --git a/vendor/google/apiclient-services/src/Safebrowsing/Resource/EncodedFullHashes.php b/vendor/google/apiclient-services/src/Safebrowsing/Resource/EncodedFullHashes.php index 7293d917fc..850dea154b 100644 --- a/vendor/google/apiclient-services/src/Safebrowsing/Resource/EncodedFullHashes.php +++ b/vendor/google/apiclient-services/src/Safebrowsing/Resource/EncodedFullHashes.php @@ -17,7 +17,7 @@ namespace Google\Service\Safebrowsing\Resource; -use Google\Service\Safebrowsing\FindFullHashesResponse; +use Google\Service\Safebrowsing\GoogleSecuritySafebrowsingV4FindFullHashesResponse; /** * The "encodedFullHashes" collection of methods. @@ -38,13 +38,13 @@ class EncodedFullHashes extends \Google\Service\Resource * @opt_param string clientId A client ID that (hopefully) uniquely identifies * the client implementation of the Safe Browsing API. * @opt_param string clientVersion The version of the client implementation. - * @return FindFullHashesResponse + * @return GoogleSecuritySafebrowsingV4FindFullHashesResponse */ public function get($encodedRequest, $optParams = []) { $params = ['encodedRequest' => $encodedRequest]; $params = array_merge($params, $optParams); - return $this->call('get', [$params], FindFullHashesResponse::class); + return $this->call('get', [$params], GoogleSecuritySafebrowsingV4FindFullHashesResponse::class); } } diff --git a/vendor/google/apiclient-services/src/Safebrowsing/Resource/EncodedUpdates.php b/vendor/google/apiclient-services/src/Safebrowsing/Resource/EncodedUpdates.php index b4e5744261..7dec3af0a3 100644 --- a/vendor/google/apiclient-services/src/Safebrowsing/Resource/EncodedUpdates.php +++ b/vendor/google/apiclient-services/src/Safebrowsing/Resource/EncodedUpdates.php @@ -17,7 +17,7 @@ namespace Google\Service\Safebrowsing\Resource; -use Google\Service\Safebrowsing\FetchThreatListUpdatesResponse; +use Google\Service\Safebrowsing\GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse; /** * The "encodedUpdates" collection of methods. @@ -39,13 +39,13 @@ class EncodedUpdates extends \Google\Service\Resource * @opt_param string clientId A client ID that uniquely identifies the client * implementation of the Safe Browsing API. * @opt_param string clientVersion The version of the client implementation. - * @return FetchThreatListUpdatesResponse + * @return GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse */ public function get($encodedRequest, $optParams = []) { $params = ['encodedRequest' => $encodedRequest]; $params = array_merge($params, $optParams); - return $this->call('get', [$params], FetchThreatListUpdatesResponse::class); + return $this->call('get', [$params], GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse::class); } } diff --git a/vendor/google/apiclient-services/src/Safebrowsing/Resource/FullHashes.php b/vendor/google/apiclient-services/src/Safebrowsing/Resource/FullHashes.php index 0253675e73..aa349b53b9 100644 --- a/vendor/google/apiclient-services/src/Safebrowsing/Resource/FullHashes.php +++ b/vendor/google/apiclient-services/src/Safebrowsing/Resource/FullHashes.php @@ -17,8 +17,8 @@ namespace Google\Service\Safebrowsing\Resource; -use Google\Service\Safebrowsing\FindFullHashesRequest; -use Google\Service\Safebrowsing\FindFullHashesResponse; +use Google\Service\Safebrowsing\GoogleSecuritySafebrowsingV4FindFullHashesRequest; +use Google\Service\Safebrowsing\GoogleSecuritySafebrowsingV4FindFullHashesResponse; /** * The "fullHashes" collection of methods. @@ -34,15 +34,15 @@ class FullHashes extends \Google\Service\Resource * Finds the full hashes that match the requested hash prefixes. * (fullHashes.find) * - * @param FindFullHashesRequest $postBody + * @param GoogleSecuritySafebrowsingV4FindFullHashesRequest $postBody * @param array $optParams Optional parameters. - * @return FindFullHashesResponse + * @return GoogleSecuritySafebrowsingV4FindFullHashesResponse */ - public function find(FindFullHashesRequest $postBody, $optParams = []) + public function find(GoogleSecuritySafebrowsingV4FindFullHashesRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); - return $this->call('find', [$params], FindFullHashesResponse::class); + return $this->call('find', [$params], GoogleSecuritySafebrowsingV4FindFullHashesResponse::class); } } diff --git a/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatHits.php b/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatHits.php index 921b76fb64..3234c7a63a 100644 --- a/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatHits.php +++ b/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatHits.php @@ -17,8 +17,8 @@ namespace Google\Service\Safebrowsing\Resource; -use Google\Service\Safebrowsing\SafebrowsingEmpty; -use Google\Service\Safebrowsing\ThreatHit; +use Google\Service\Safebrowsing\GoogleProtobufEmpty; +use Google\Service\Safebrowsing\GoogleSecuritySafebrowsingV4ThreatHit; /** * The "threatHits" collection of methods. @@ -34,15 +34,15 @@ class ThreatHits extends \Google\Service\Resource * Reports a Safe Browsing threat list hit to Google. Only projects with * TRUSTED_REPORTER visibility can use this method. (threatHits.create) * - * @param ThreatHit $postBody + * @param GoogleSecuritySafebrowsingV4ThreatHit $postBody * @param array $optParams Optional parameters. - * @return SafebrowsingEmpty + * @return GoogleProtobufEmpty */ - public function create(ThreatHit $postBody, $optParams = []) + public function create(GoogleSecuritySafebrowsingV4ThreatHit $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); - return $this->call('create', [$params], SafebrowsingEmpty::class); + return $this->call('create', [$params], GoogleProtobufEmpty::class); } } diff --git a/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatListUpdates.php b/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatListUpdates.php index 4ffbf6bba1..0e9c502d01 100644 --- a/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatListUpdates.php +++ b/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatListUpdates.php @@ -17,8 +17,8 @@ namespace Google\Service\Safebrowsing\Resource; -use Google\Service\Safebrowsing\FetchThreatListUpdatesRequest; -use Google\Service\Safebrowsing\FetchThreatListUpdatesResponse; +use Google\Service\Safebrowsing\GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest; +use Google\Service\Safebrowsing\GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse; /** * The "threatListUpdates" collection of methods. @@ -34,15 +34,15 @@ class ThreatListUpdates extends \Google\Service\Resource * Fetches the most recent threat list updates. A client can request updates for * multiple lists at once. (threatListUpdates.fetch) * - * @param FetchThreatListUpdatesRequest $postBody + * @param GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest $postBody * @param array $optParams Optional parameters. - * @return FetchThreatListUpdatesResponse + * @return GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse */ - public function fetch(FetchThreatListUpdatesRequest $postBody, $optParams = []) + public function fetch(GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); - return $this->call('fetch', [$params], FetchThreatListUpdatesResponse::class); + return $this->call('fetch', [$params], GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse::class); } } diff --git a/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatLists.php b/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatLists.php index b15b4428cf..82b87b9790 100644 --- a/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatLists.php +++ b/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatLists.php @@ -17,7 +17,7 @@ namespace Google\Service\Safebrowsing\Resource; -use Google\Service\Safebrowsing\ListThreatListsResponse; +use Google\Service\Safebrowsing\GoogleSecuritySafebrowsingV4ListThreatListsResponse; /** * The "threatLists" collection of methods. @@ -34,13 +34,13 @@ class ThreatLists extends \Google\Service\Resource * (threatLists.listThreatLists) * * @param array $optParams Optional parameters. - * @return ListThreatListsResponse + * @return GoogleSecuritySafebrowsingV4ListThreatListsResponse */ public function listThreatLists($optParams = []) { $params = []; $params = array_merge($params, $optParams); - return $this->call('list', [$params], ListThreatListsResponse::class); + return $this->call('list', [$params], GoogleSecuritySafebrowsingV4ListThreatListsResponse::class); } } diff --git a/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatMatches.php b/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatMatches.php index 3fa96018cc..4a5c3cf59c 100644 --- a/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatMatches.php +++ b/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatMatches.php @@ -17,8 +17,8 @@ namespace Google\Service\Safebrowsing\Resource; -use Google\Service\Safebrowsing\FindThreatMatchesRequest; -use Google\Service\Safebrowsing\FindThreatMatchesResponse; +use Google\Service\Safebrowsing\GoogleSecuritySafebrowsingV4FindThreatMatchesRequest; +use Google\Service\Safebrowsing\GoogleSecuritySafebrowsingV4FindThreatMatchesResponse; /** * The "threatMatches" collection of methods. @@ -34,15 +34,15 @@ class ThreatMatches extends \Google\Service\Resource * Finds the threat entries that match the Safe Browsing lists. * (threatMatches.find) * - * @param FindThreatMatchesRequest $postBody + * @param GoogleSecuritySafebrowsingV4FindThreatMatchesRequest $postBody * @param array $optParams Optional parameters. - * @return FindThreatMatchesResponse + * @return GoogleSecuritySafebrowsingV4FindThreatMatchesResponse */ - public function find(FindThreatMatchesRequest $postBody, $optParams = []) + public function find(GoogleSecuritySafebrowsingV4FindThreatMatchesRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); - return $this->call('find', [$params], FindThreatMatchesResponse::class); + return $this->call('find', [$params], GoogleSecuritySafebrowsingV4FindThreatMatchesResponse::class); } } diff --git a/vendor/google/apiclient-services/src/ServiceConsumerManagement/BackendRule.php b/vendor/google/apiclient-services/src/ServiceConsumerManagement/BackendRule.php index 6aeb2e2c02..f50c4d056a 100644 --- a/vendor/google/apiclient-services/src/ServiceConsumerManagement/BackendRule.php +++ b/vendor/google/apiclient-services/src/ServiceConsumerManagement/BackendRule.php @@ -34,6 +34,9 @@ class BackendRule extends \Google\Model public $jwtAudience; public $minDeadline; public $operationDeadline; + protected $overridesByRequestProtocolType = BackendRule::class; + protected $overridesByRequestProtocolDataType = 'map'; + public $overridesByRequestProtocol; /** * @var string */ @@ -113,6 +116,20 @@ class BackendRule extends \Google\Model { return $this->operationDeadline; } + /** + * @param BackendRule[] + */ + public function setOverridesByRequestProtocol($overridesByRequestProtocol) + { + $this->overridesByRequestProtocol = $overridesByRequestProtocol; + } + /** + * @return BackendRule[] + */ + public function getOverridesByRequestProtocol() + { + return $this->overridesByRequestProtocol; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/ServiceControl/CheckResponse.php b/vendor/google/apiclient-services/src/ServiceControl/CheckResponse.php index b873fe71bb..72bd82c5ee 100644 --- a/vendor/google/apiclient-services/src/ServiceControl/CheckResponse.php +++ b/vendor/google/apiclient-services/src/ServiceControl/CheckResponse.php @@ -19,9 +19,6 @@ namespace Google\Service\ServiceControl; class CheckResponse extends \Google\Model { - protected $esfMigrationServerOverrideType = EsfMigrationServerOverride::class; - protected $esfMigrationServerOverrideDataType = ''; - public $esfMigrationServerOverride; /** * @var string[] */ @@ -30,20 +27,6 @@ class CheckResponse extends \Google\Model protected $statusDataType = ''; public $status; - /** - * @param EsfMigrationServerOverride - */ - public function setEsfMigrationServerOverride(EsfMigrationServerOverride $esfMigrationServerOverride) - { - $this->esfMigrationServerOverride = $esfMigrationServerOverride; - } - /** - * @return EsfMigrationServerOverride - */ - public function getEsfMigrationServerOverride() - { - return $this->esfMigrationServerOverride; - } /** * @param string[] */ diff --git a/vendor/google/apiclient-services/src/ServiceNetworking/BackendRule.php b/vendor/google/apiclient-services/src/ServiceNetworking/BackendRule.php index 49b13eb1c2..2565eef86a 100644 --- a/vendor/google/apiclient-services/src/ServiceNetworking/BackendRule.php +++ b/vendor/google/apiclient-services/src/ServiceNetworking/BackendRule.php @@ -34,6 +34,9 @@ class BackendRule extends \Google\Model public $jwtAudience; public $minDeadline; public $operationDeadline; + protected $overridesByRequestProtocolType = BackendRule::class; + protected $overridesByRequestProtocolDataType = 'map'; + public $overridesByRequestProtocol; /** * @var string */ @@ -113,6 +116,20 @@ class BackendRule extends \Google\Model { return $this->operationDeadline; } + /** + * @param BackendRule[] + */ + public function setOverridesByRequestProtocol($overridesByRequestProtocol) + { + $this->overridesByRequestProtocol = $overridesByRequestProtocol; + } + /** + * @return BackendRule[] + */ + public function getOverridesByRequestProtocol() + { + return $this->overridesByRequestProtocol; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/ServiceUsage/BackendRule.php b/vendor/google/apiclient-services/src/ServiceUsage/BackendRule.php index 06e25c4f0d..9c011189bc 100644 --- a/vendor/google/apiclient-services/src/ServiceUsage/BackendRule.php +++ b/vendor/google/apiclient-services/src/ServiceUsage/BackendRule.php @@ -34,6 +34,9 @@ class BackendRule extends \Google\Model public $jwtAudience; public $minDeadline; public $operationDeadline; + protected $overridesByRequestProtocolType = BackendRule::class; + protected $overridesByRequestProtocolDataType = 'map'; + public $overridesByRequestProtocol; /** * @var string */ @@ -113,6 +116,20 @@ class BackendRule extends \Google\Model { return $this->operationDeadline; } + /** + * @param BackendRule[] + */ + public function setOverridesByRequestProtocol($overridesByRequestProtocol) + { + $this->overridesByRequestProtocol = $overridesByRequestProtocol; + } + /** + * @return BackendRule[] + */ + public function getOverridesByRequestProtocol() + { + return $this->overridesByRequestProtocol; + } /** * @param string */ diff --git a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsGroups.php b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsGroups.php index ecc5ad5379..b870c064ec 100644 --- a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsGroups.php +++ b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsGroups.php @@ -59,7 +59,7 @@ class ProjectsLocationsGroups extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -84,7 +84,7 @@ class ProjectsLocationsGroups extends \Google\Service\Resource * Specify a unique request ID so that if you must retry your request, the * server will know to ignore the request if it has already been completed. The * server will guarantee that for at least 60 minutes after the first request. - * For example, consider a situation where you make an initial request and t he + * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was * received, and if so, will ignore the second request. This prevents clients @@ -149,7 +149,7 @@ class ProjectsLocationsGroups extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally diff --git a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSources.php b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSources.php index 04c132a45f..0dc91b6ccb 100644 --- a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSources.php +++ b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSources.php @@ -43,7 +43,7 @@ class ProjectsLocationsSources extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -69,7 +69,7 @@ class ProjectsLocationsSources extends \Google\Service\Resource * Specify a unique request ID so that if you must retry your request, the * server will know to ignore the request if it has already been completed. The * server will guarantee that for at least 60 minutes after the first request. - * For example, consider a situation where you make an initial request and t he + * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was * received, and if so, will ignore the second request. This prevents clients @@ -164,7 +164,7 @@ class ProjectsLocationsSources extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally diff --git a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesDatacenterConnectors.php b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesDatacenterConnectors.php index 7a60be869f..a317be62fb 100644 --- a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesDatacenterConnectors.php +++ b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesDatacenterConnectors.php @@ -48,7 +48,7 @@ class ProjectsLocationsSourcesDatacenterConnectors extends \Google\Service\Resou * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -73,7 +73,7 @@ class ProjectsLocationsSourcesDatacenterConnectors extends \Google\Service\Resou * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes after the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally diff --git a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVms.php b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVms.php index c34a03322f..871c42c37d 100644 --- a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVms.php +++ b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVms.php @@ -47,7 +47,7 @@ class ProjectsLocationsSourcesMigratingVms extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -144,7 +144,7 @@ class ProjectsLocationsSourcesMigratingVms extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally diff --git a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVmsCloneJobs.php b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVmsCloneJobs.php index f94aa6c16a..546d0cf28e 100644 --- a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVmsCloneJobs.php +++ b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVmsCloneJobs.php @@ -58,7 +58,7 @@ class ProjectsLocationsSourcesMigratingVmsCloneJobs extends \Google\Service\Reso * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally diff --git a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVmsCutoverJobs.php b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVmsCutoverJobs.php index 9fd2c19119..6ec1270833 100644 --- a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVmsCutoverJobs.php +++ b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesMigratingVmsCutoverJobs.php @@ -60,7 +60,7 @@ class ProjectsLocationsSourcesMigratingVmsCutoverJobs extends \Google\Service\Re * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally diff --git a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesUtilizationReports.php b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesUtilizationReports.php index fe30fe9c33..6bce63480a 100644 --- a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesUtilizationReports.php +++ b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsSourcesUtilizationReports.php @@ -42,7 +42,7 @@ class ProjectsLocationsSourcesUtilizationReports extends \Google\Service\Resourc * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -71,7 +71,7 @@ class ProjectsLocationsSourcesUtilizationReports extends \Google\Service\Resourc * Specify a unique request ID so that if you must retry your request, the * server will know to ignore the request if it has already been completed. The * server will guarantee that for at least 60 minutes after the first request. - * For example, consider a situation where you make an initial request and t he + * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was * received, and if so, will ignore the second request. This prevents clients diff --git a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsTargetProjects.php b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsTargetProjects.php index 28c7cc8a51..3e4a4af5a6 100644 --- a/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsTargetProjects.php +++ b/vendor/google/apiclient-services/src/VMMigrationService/Resource/ProjectsLocationsTargetProjects.php @@ -44,7 +44,7 @@ class ProjectsLocationsTargetProjects extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally @@ -72,7 +72,7 @@ class ProjectsLocationsTargetProjects extends \Google\Service\Resource * Specify a unique request ID so that if you must retry your request, the * server will know to ignore the request if it has already been completed. The * server will guarantee that for at least 60 minutes after the first request. - * For example, consider a situation where you make an initial request and t he + * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was * received, and if so, will ignore the second request. This prevents clients @@ -142,7 +142,7 @@ class ProjectsLocationsTargetProjects extends \Google\Service\Resource * unique request ID so that if you must retry your request, the server will * know to ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and t he request times + * consider a situation where you make an initial request and the request times * out. If you make the request again with the same request ID, the server can * check if original operation with the same request ID was received, and if so, * will ignore the second request. This prevents clients from accidentally