diff --git a/src/AndroidPublisher.php b/src/AndroidPublisher.php index 2b4fcf265c..89146b1e50 100644 --- a/src/AndroidPublisher.php +++ b/src/AndroidPublisher.php @@ -951,6 +951,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'type' => 'string', 'required' => true, ], + 'allowMissing' => [ + 'location' => 'query', + 'type' => 'boolean', + ], 'autoConvertMissingPrices' => [ 'location' => 'query', 'type' => 'boolean', diff --git a/src/AndroidPublisher/Resource/Inappproducts.php b/src/AndroidPublisher/Resource/Inappproducts.php index 41979a53a6..a5ffb4a0c2 100644 --- a/src/AndroidPublisher/Resource/Inappproducts.php +++ b/src/AndroidPublisher/Resource/Inappproducts.php @@ -129,6 +129,8 @@ public function patch($packageName, $sku, InAppProduct $postBody, $optParams = [ * @param InAppProduct $postBody * @param array $optParams Optional parameters. * + * @opt_param bool allowMissing If set to true, and the in-app product with the + * given package_name and sku doesn't exist, the in-app product will be created. * @opt_param bool autoConvertMissingPrices If true the prices for all regions * targeted by the parent app that don't have a price specified for this in-app * product will be auto converted to the target currency based on the default diff --git a/src/Cloudchannel.php b/src/Cloudchannel.php index 77b37e0363..a338d88189 100644 --- a/src/Cloudchannel.php +++ b/src/Cloudchannel.php @@ -23,7 +23,9 @@ * Service definition for Cloudchannel (v1). * *
-
+ * The Cloud Channel API enables Google Cloud partners to have a single unified + * resale platform and APIs across all of Google Cloud including GCP, Workspace, + * Maps and Chrome. * ** For more information about this service, see the API diff --git a/src/Dialogflow/GoogleCloudDialogflowCxV3AdvancedSettings.php b/src/Dialogflow/GoogleCloudDialogflowCxV3AdvancedSettings.php new file mode 100644 index 0000000000..2fb50aaa1e --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowCxV3AdvancedSettings.php @@ -0,0 +1,42 @@ +loggingSettings = $loggingSettings; + } + /** + * @return GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings + */ + public function getLoggingSettings() + { + return $this->loggingSettings; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowCxV3AdvancedSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AdvancedSettings'); diff --git a/src/Dialogflow/GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings.php b/src/Dialogflow/GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings.php new file mode 100644 index 0000000000..db0d0a2a31 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings.php @@ -0,0 +1,44 @@ +enableInteractionLogging = $enableInteractionLogging; + } + public function getEnableInteractionLogging() + { + return $this->enableInteractionLogging; + } + public function setEnableStackdriverLogging($enableStackdriverLogging) + { + $this->enableStackdriverLogging = $enableStackdriverLogging; + } + public function getEnableStackdriverLogging() + { + return $this->enableStackdriverLogging; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings'); diff --git a/src/Dialogflow/GoogleCloudDialogflowCxV3Agent.php b/src/Dialogflow/GoogleCloudDialogflowCxV3Agent.php index 341d78481a..b9dba81f3a 100644 --- a/src/Dialogflow/GoogleCloudDialogflowCxV3Agent.php +++ b/src/Dialogflow/GoogleCloudDialogflowCxV3Agent.php @@ -20,6 +20,8 @@ class GoogleCloudDialogflowCxV3Agent extends \Google\Collection { protected $collection_key = 'supportedLanguageCodes'; + protected $advancedSettingsType = GoogleCloudDialogflowCxV3AdvancedSettings::class; + protected $advancedSettingsDataType = ''; public $avatarUri; public $defaultLanguageCode; public $description; @@ -34,6 +36,20 @@ class GoogleCloudDialogflowCxV3Agent extends \Google\Collection public $supportedLanguageCodes; public $timeZone; + /** + * @param GoogleCloudDialogflowCxV3AdvancedSettings + */ + public function setAdvancedSettings(GoogleCloudDialogflowCxV3AdvancedSettings $advancedSettings) + { + $this->advancedSettings = $advancedSettings; + } + /** + * @return GoogleCloudDialogflowCxV3AdvancedSettings + */ + public function getAdvancedSettings() + { + return $this->advancedSettings; + } public function setAvatarUri($avatarUri) { $this->avatarUri = $avatarUri; diff --git a/src/Dialogflow/GoogleCloudDialogflowCxV3QueryParameters.php b/src/Dialogflow/GoogleCloudDialogflowCxV3QueryParameters.php index 8cf231da6f..232dd87051 100644 --- a/src/Dialogflow/GoogleCloudDialogflowCxV3QueryParameters.php +++ b/src/Dialogflow/GoogleCloudDialogflowCxV3QueryParameters.php @@ -23,6 +23,7 @@ class GoogleCloudDialogflowCxV3QueryParameters extends \Google\Collection public $analyzeQueryTextSentiment; public $currentPage; public $disableWebhook; + public $flowVersions; protected $geoLocationType = GoogleTypeLatLng::class; protected $geoLocationDataType = ''; public $parameters; @@ -56,6 +57,14 @@ public function getDisableWebhook() { return $this->disableWebhook; } + public function setFlowVersions($flowVersions) + { + $this->flowVersions = $flowVersions; + } + public function getFlowVersions() + { + return $this->flowVersions; + } /** * @param GoogleTypeLatLng */ diff --git a/src/Dialogflow/GoogleCloudDialogflowCxV3SecuritySettings.php b/src/Dialogflow/GoogleCloudDialogflowCxV3SecuritySettings.php index b14e892cb9..bf53c2df7d 100644 --- a/src/Dialogflow/GoogleCloudDialogflowCxV3SecuritySettings.php +++ b/src/Dialogflow/GoogleCloudDialogflowCxV3SecuritySettings.php @@ -21,6 +21,8 @@ class GoogleCloudDialogflowCxV3SecuritySettings extends \Google\Collection { protected $collection_key = 'purgeDataTypes'; public $displayName; + protected $insightsExportSettingsType = GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings::class; + protected $insightsExportSettingsDataType = ''; public $inspectTemplate; public $name; public $purgeDataTypes; @@ -36,6 +38,20 @@ public function getDisplayName() { return $this->displayName; } + /** + * @param GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings + */ + public function setInsightsExportSettings(GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings $insightsExportSettings) + { + $this->insightsExportSettings = $insightsExportSettings; + } + /** + * @return GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings + */ + public function getInsightsExportSettings() + { + return $this->insightsExportSettings; + } public function setInspectTemplate($inspectTemplate) { $this->inspectTemplate = $inspectTemplate; diff --git a/src/Dialogflow/GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings.php b/src/Dialogflow/GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings.php new file mode 100644 index 0000000000..094cae9a77 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings.php @@ -0,0 +1,35 @@ +enableInsightsExport = $enableInsightsExport; + } + public function getEnableInsightsExport() + { + return $this->enableInsightsExport; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings'); diff --git a/src/Ideahub/GoogleSearchIdeahubV1alphaIdeaActivity.php b/src/Ideahub/GoogleSearchIdeahubV1alphaIdeaActivity.php index e893bd3f34..a6884d6e5e 100644 --- a/src/Ideahub/GoogleSearchIdeahubV1alphaIdeaActivity.php +++ b/src/Ideahub/GoogleSearchIdeahubV1alphaIdeaActivity.php @@ -19,20 +19,20 @@ class GoogleSearchIdeahubV1alphaIdeaActivity extends \Google\Collection { - protected $collection_key = 'topicIds'; - public $ideaIds; + protected $collection_key = 'topics'; + public $ideas; public $name; - public $topicIds; + public $topics; public $type; public $uri; - public function setIdeaIds($ideaIds) + public function setIdeas($ideas) { - $this->ideaIds = $ideaIds; + $this->ideas = $ideas; } - public function getIdeaIds() + public function getIdeas() { - return $this->ideaIds; + return $this->ideas; } public function setName($name) { @@ -42,13 +42,13 @@ public function getName() { return $this->name; } - public function setTopicIds($topicIds) + public function setTopics($topics) { - $this->topicIds = $topicIds; + $this->topics = $topics; } - public function getTopicIds() + public function getTopics() { - return $this->topicIds; + return $this->topics; } public function setType($type) { diff --git a/src/Ideahub/GoogleSearchIdeahubV1alphaTopic.php b/src/Ideahub/GoogleSearchIdeahubV1alphaTopic.php index 636e422bf6..110e6b22c1 100644 --- a/src/Ideahub/GoogleSearchIdeahubV1alphaTopic.php +++ b/src/Ideahub/GoogleSearchIdeahubV1alphaTopic.php @@ -21,6 +21,7 @@ class GoogleSearchIdeahubV1alphaTopic extends \Google\Model { public $displayName; public $mid; + public $name; public function setDisplayName($displayName) { @@ -38,6 +39,14 @@ public function getMid() { return $this->mid; } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/src/NetworkServices.php b/src/NetworkServices.php new file mode 100644 index 0000000000..dee3a4512d --- /dev/null +++ b/src/NetworkServices.php @@ -0,0 +1,303 @@ + +
+ * + *+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class NetworkServices extends \Google\Service +{ + /** See, edit, configure, and delete your Google Cloud Platform data. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects_locations; + public $projects_locations_edgeCacheKeysets; + public $projects_locations_edgeCacheOrigins; + public $projects_locations_edgeCacheServices; + public $projects_locations_operations; + + /** + * Constructs the internal representation of the NetworkServices service. + * + * @param Client|array $clientOrConfig The client used to deliver requests, or a + * config array to pass to a new Client instance. + * @param string $rootUrl The root URL used for requests to the service. + */ + public function __construct($clientOrConfig = [], $rootUrl = null) + { + parent::__construct($clientOrConfig); + $this->rootUrl = $rootUrl ?: 'https://networkservices.googleapis.com/'; + $this->servicePath = ''; + $this->batchPath = 'batch'; + $this->version = 'v1'; + $this->serviceName = 'networkservices'; + + $this->projects_locations = new NetworkServices\Resource\ProjectsLocations( + $this, + $this->serviceName, + 'locations', + [ + 'methods' => [ + 'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1/{+name}/locations', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->projects_locations_edgeCacheKeysets = new NetworkServices\Resource\ProjectsLocationsEdgeCacheKeysets( + $this, + $this->serviceName, + 'edgeCacheKeysets', + [ + 'methods' => [ + 'getIamPolicy' => [ + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'options.requestedPolicyVersion' => [ + 'location' => 'query', + 'type' => 'integer', + ], + ], + ],'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, + ], + ], + ], + ] + ] + ); + $this->projects_locations_edgeCacheOrigins = new NetworkServices\Resource\ProjectsLocationsEdgeCacheOrigins( + $this, + $this->serviceName, + 'edgeCacheOrigins', + [ + 'methods' => [ + 'getIamPolicy' => [ + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'options.requestedPolicyVersion' => [ + 'location' => 'query', + 'type' => 'integer', + ], + ], + ],'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, + ], + ], + ], + ] + ] + ); + $this->projects_locations_edgeCacheServices = new NetworkServices\Resource\ProjectsLocationsEdgeCacheServices( + $this, + $this->serviceName, + 'edgeCacheServices', + [ + 'methods' => [ + 'getIamPolicy' => [ + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'options.requestedPolicyVersion' => [ + 'location' => 'query', + 'type' => 'integer', + ], + ], + ],'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, + ], + ], + ], + ] + ] + ); + $this->projects_locations_operations = new NetworkServices\Resource\ProjectsLocationsOperations( + $this, + $this->serviceName, + 'operations', + [ + 'methods' => [ + 'cancel' => [ + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'delete' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1/{+name}/operations', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(NetworkServices::class, 'Google_Service_NetworkServices'); diff --git a/src/NetworkServices/AuditConfig.php b/src/NetworkServices/AuditConfig.php new file mode 100644 index 0000000000..dbc23b7c2b --- /dev/null +++ b/src/NetworkServices/AuditConfig.php @@ -0,0 +1,52 @@ +auditLogConfigs = $auditLogConfigs; + } + /** + * @return AuditLogConfig[] + */ + public function getAuditLogConfigs() + { + return $this->auditLogConfigs; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(AuditConfig::class, 'Google_Service_NetworkServices_AuditConfig'); diff --git a/src/NetworkServices/AuditLogConfig.php b/src/NetworkServices/AuditLogConfig.php new file mode 100644 index 0000000000..611f347c2d --- /dev/null +++ b/src/NetworkServices/AuditLogConfig.php @@ -0,0 +1,45 @@ +exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setLogType($logType) + { + $this->logType = $logType; + } + public function getLogType() + { + return $this->logType; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(AuditLogConfig::class, 'Google_Service_NetworkServices_AuditLogConfig'); diff --git a/src/NetworkServices/Binding.php b/src/NetworkServices/Binding.php new file mode 100644 index 0000000000..5e4a5d0820 --- /dev/null +++ b/src/NetworkServices/Binding.php @@ -0,0 +1,61 @@ +condition = $condition; + } + /** + * @return Expr + */ + public function getCondition() + { + return $this->condition; + } + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Binding::class, 'Google_Service_NetworkServices_Binding'); diff --git a/src/NetworkServices/CancelOperationRequest.php b/src/NetworkServices/CancelOperationRequest.php new file mode 100644 index 0000000000..cecf8ca10c --- /dev/null +++ b/src/NetworkServices/CancelOperationRequest.php @@ -0,0 +1,25 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExpression($expression) + { + $this->expression = $expression; + } + public function getExpression() + { + return $this->expression; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Expr::class, 'Google_Service_NetworkServices_Expr'); diff --git a/src/NetworkServices/ListLocationsResponse.php b/src/NetworkServices/ListLocationsResponse.php new file mode 100644 index 0000000000..357ef79784 --- /dev/null +++ b/src/NetworkServices/ListLocationsResponse.php @@ -0,0 +1,52 @@ +locations = $locations; + } + /** + * @return Location[] + */ + public function getLocations() + { + return $this->locations; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ListLocationsResponse::class, 'Google_Service_NetworkServices_ListLocationsResponse'); diff --git a/src/NetworkServices/ListOperationsResponse.php b/src/NetworkServices/ListOperationsResponse.php new file mode 100644 index 0000000000..16d6cf245b --- /dev/null +++ b/src/NetworkServices/ListOperationsResponse.php @@ -0,0 +1,52 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + /** + * @param Operation[] + */ + public function setOperations($operations) + { + $this->operations = $operations; + } + /** + * @return Operation[] + */ + public function getOperations() + { + return $this->operations; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ListOperationsResponse::class, 'Google_Service_NetworkServices_ListOperationsResponse'); diff --git a/src/NetworkServices/Location.php b/src/NetworkServices/Location.php new file mode 100644 index 0000000000..99e52209a4 --- /dev/null +++ b/src/NetworkServices/Location.php @@ -0,0 +1,71 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLocationId($locationId) + { + $this->locationId = $locationId; + } + public function getLocationId() + { + return $this->locationId; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Location::class, 'Google_Service_NetworkServices_Location'); diff --git a/src/NetworkServices/NetworkservicesEmpty.php b/src/NetworkServices/NetworkservicesEmpty.php new file mode 100644 index 0000000000..808a81efa8 --- /dev/null +++ b/src/NetworkServices/NetworkservicesEmpty.php @@ -0,0 +1,25 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + /** + * @param Status + */ + public function setError(Status $error) + { + $this->error = $error; + } + /** + * @return Status + */ + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Operation::class, 'Google_Service_NetworkServices_Operation'); diff --git a/src/NetworkServices/OperationMetadata.php b/src/NetworkServices/OperationMetadata.php new file mode 100644 index 0000000000..61aceb509f --- /dev/null +++ b/src/NetworkServices/OperationMetadata.php @@ -0,0 +1,89 @@ +apiVersion = $apiVersion; + } + public function getApiVersion() + { + return $this->apiVersion; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setRequestedCancellation($requestedCancellation) + { + $this->requestedCancellation = $requestedCancellation; + } + public function getRequestedCancellation() + { + return $this->requestedCancellation; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setVerb($verb) + { + $this->verb = $verb; + } + public function getVerb() + { + return $this->verb; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(OperationMetadata::class, 'Google_Service_NetworkServices_OperationMetadata'); diff --git a/src/NetworkServices/Policy.php b/src/NetworkServices/Policy.php new file mode 100644 index 0000000000..cc6840123b --- /dev/null +++ b/src/NetworkServices/Policy.php @@ -0,0 +1,77 @@ +auditConfigs = $auditConfigs; + } + /** + * @return AuditConfig[] + */ + public function getAuditConfigs() + { + return $this->auditConfigs; + } + /** + * @param Binding[] + */ + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + /** + * @return Binding[] + */ + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Policy::class, 'Google_Service_NetworkServices_Policy'); diff --git a/src/NetworkServices/Resource/Projects.php b/src/NetworkServices/Resource/Projects.php new file mode 100644 index 0000000000..5fc6b5b441 --- /dev/null +++ b/src/NetworkServices/Resource/Projects.php @@ -0,0 +1,33 @@ + + * $networkservicesService = new Google\Service\NetworkServices(...); + * $projects = $networkservicesService->projects; + * + */ +class Projects extends \Google\Service\Resource +{ +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Projects::class, 'Google_Service_NetworkServices_Resource_Projects'); diff --git a/src/NetworkServices/Resource/ProjectsLocations.php b/src/NetworkServices/Resource/ProjectsLocations.php new file mode 100644 index 0000000000..673f365f9f --- /dev/null +++ b/src/NetworkServices/Resource/ProjectsLocations.php @@ -0,0 +1,72 @@ + + * $networkservicesService = new Google\Service\NetworkServices(...); + * $locations = $networkservicesService->locations; + * + */ +class ProjectsLocations extends \Google\Service\Resource +{ + /** + * Gets information about a location. (locations.get) + * + * @param string $name Resource name for the location. + * @param array $optParams Optional parameters. + * @return Location + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], Location::class); + } + /** + * Lists information about the supported locations for this service. + * (locations.listProjectsLocations) + * + * @param string $name The resource that owns the locations collection, if + * applicable. + * @param array $optParams Optional parameters. + * + * @opt_param string filter A filter to narrow down results to a preferred + * subset. The filtering language accepts strings like "displayName=tokyo", and + * is documented in more detail in [AIP-160](https://google.aip.dev/160). + * @opt_param int pageSize The maximum number of results to return. If not set, + * the service selects a default. + * @opt_param string pageToken A page token received from the `next_page_token` + * field in the response. Send that page token to receive the subsequent page. + * @return ListLocationsResponse + */ + public function listProjectsLocations($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListLocationsResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ProjectsLocations::class, 'Google_Service_NetworkServices_Resource_ProjectsLocations'); diff --git a/src/NetworkServices/Resource/ProjectsLocationsEdgeCacheKeysets.php b/src/NetworkServices/Resource/ProjectsLocationsEdgeCacheKeysets.php new file mode 100644 index 0000000000..c190d31285 --- /dev/null +++ b/src/NetworkServices/Resource/ProjectsLocationsEdgeCacheKeysets.php @@ -0,0 +1,103 @@ + + * $networkservicesService = new Google\Service\NetworkServices(...); + * $edgeCacheKeysets = $networkservicesService->edgeCacheKeysets; + * + */ +class ProjectsLocationsEdgeCacheKeysets extends \Google\Service\Resource +{ + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. + * (edgeCacheKeysets.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See the operation documentation for the appropriate value for this + * field. + * @param array $optParams Optional parameters. + * + * @opt_param int options.requestedPolicyVersion Optional. The policy format + * version to be returned. Valid values are 0, 1, and 3. Requests specifying an + * invalid value will be rejected. Requests for policies with any conditional + * bindings must specify version 3. Policies without any conditional bindings + * may specify any valid value or leave the field unset. 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); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. (edgeCacheKeysets.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See the operation documentation 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. + * (edgeCacheKeysets.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See the operation documentation 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. +class_alias(ProjectsLocationsEdgeCacheKeysets::class, 'Google_Service_NetworkServices_Resource_ProjectsLocationsEdgeCacheKeysets'); diff --git a/src/NetworkServices/Resource/ProjectsLocationsEdgeCacheOrigins.php b/src/NetworkServices/Resource/ProjectsLocationsEdgeCacheOrigins.php new file mode 100644 index 0000000000..985754b67d --- /dev/null +++ b/src/NetworkServices/Resource/ProjectsLocationsEdgeCacheOrigins.php @@ -0,0 +1,103 @@ + + * $networkservicesService = new Google\Service\NetworkServices(...); + * $edgeCacheOrigins = $networkservicesService->edgeCacheOrigins; + * + */ +class ProjectsLocationsEdgeCacheOrigins extends \Google\Service\Resource +{ + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. + * (edgeCacheOrigins.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See the operation documentation for the appropriate value for this + * field. + * @param array $optParams Optional parameters. + * + * @opt_param int options.requestedPolicyVersion Optional. The policy format + * version to be returned. Valid values are 0, 1, and 3. Requests specifying an + * invalid value will be rejected. Requests for policies with any conditional + * bindings must specify version 3. Policies without any conditional bindings + * may specify any valid value or leave the field unset. 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); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. (edgeCacheOrigins.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See the operation documentation 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. + * (edgeCacheOrigins.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See the operation documentation 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. +class_alias(ProjectsLocationsEdgeCacheOrigins::class, 'Google_Service_NetworkServices_Resource_ProjectsLocationsEdgeCacheOrigins'); diff --git a/src/NetworkServices/Resource/ProjectsLocationsEdgeCacheServices.php b/src/NetworkServices/Resource/ProjectsLocationsEdgeCacheServices.php new file mode 100644 index 0000000000..58de16fc9a --- /dev/null +++ b/src/NetworkServices/Resource/ProjectsLocationsEdgeCacheServices.php @@ -0,0 +1,103 @@ + + * $networkservicesService = new Google\Service\NetworkServices(...); + * $edgeCacheServices = $networkservicesService->edgeCacheServices; + * + */ +class ProjectsLocationsEdgeCacheServices extends \Google\Service\Resource +{ + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. + * (edgeCacheServices.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See the operation documentation for the appropriate value for this + * field. + * @param array $optParams Optional parameters. + * + * @opt_param int options.requestedPolicyVersion Optional. The policy format + * version to be returned. Valid values are 0, 1, and 3. Requests specifying an + * invalid value will be rejected. Requests for policies with any conditional + * bindings must specify version 3. Policies without any conditional bindings + * may specify any valid value or leave the field unset. 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); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. (edgeCacheServices.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See the operation documentation 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. + * (edgeCacheServices.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See the operation documentation 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. +class_alias(ProjectsLocationsEdgeCacheServices::class, 'Google_Service_NetworkServices_Resource_ProjectsLocationsEdgeCacheServices'); diff --git a/src/NetworkServices/Resource/ProjectsLocationsOperations.php b/src/NetworkServices/Resource/ProjectsLocationsOperations.php new file mode 100644 index 0000000000..09fbca9e62 --- /dev/null +++ b/src/NetworkServices/Resource/ProjectsLocationsOperations.php @@ -0,0 +1,116 @@ + + * $networkservicesService = new Google\Service\NetworkServices(...); + * $operations = $networkservicesService->operations; + * + */ +class ProjectsLocationsOperations extends \Google\Service\Resource +{ + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param CancelOperationRequest $postBody + * @param array $optParams Optional parameters. + * @return NetworkservicesEmpty + */ + public function cancel($name, CancelOperationRequest $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('cancel', [$params], NetworkservicesEmpty::class); + } + /** + * Deletes a long-running operation. This method indicates that the client is no + * longer interested in the operation result. It does not cancel the operation. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return NetworkservicesEmpty + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], NetworkservicesEmpty::class); + } + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Operation + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], Operation::class); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the + * `name` binding allows API services to override the binding to use different + * resource name schemes, such as `users/operations`. To override the binding, + * API services can add a binding such as `"/v1/{name=users}/operations"` to + * their service configuration. For backwards compatibility, the default name + * includes the operations collection id, however overriding users must ensure + * the name binding is the parent resource, without the operations collection + * id. (operations.listProjectsLocationsOperations) + * + * @param string $name The name of the operation's parent resource. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param int pageSize The standard list page size. + * @opt_param string pageToken The standard list page token. + * @return ListOperationsResponse + */ + public function listProjectsLocationsOperations($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListOperationsResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ProjectsLocationsOperations::class, 'Google_Service_NetworkServices_Resource_ProjectsLocationsOperations'); diff --git a/src/NetworkServices/SetIamPolicyRequest.php b/src/NetworkServices/SetIamPolicyRequest.php new file mode 100644 index 0000000000..5625b0cf64 --- /dev/null +++ b/src/NetworkServices/SetIamPolicyRequest.php @@ -0,0 +1,51 @@ +policy = $policy; + } + /** + * @return Policy + */ + public function getPolicy() + { + return $this->policy; + } + public function setUpdateMask($updateMask) + { + $this->updateMask = $updateMask; + } + public function getUpdateMask() + { + return $this->updateMask; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(SetIamPolicyRequest::class, 'Google_Service_NetworkServices_SetIamPolicyRequest'); diff --git a/src/NetworkServices/Status.php b/src/NetworkServices/Status.php new file mode 100644 index 0000000000..08e0e8e25e --- /dev/null +++ b/src/NetworkServices/Status.php @@ -0,0 +1,54 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Status::class, 'Google_Service_NetworkServices_Status'); diff --git a/src/NetworkServices/TestIamPermissionsRequest.php b/src/NetworkServices/TestIamPermissionsRequest.php new file mode 100644 index 0000000000..9f66ae4be6 --- /dev/null +++ b/src/NetworkServices/TestIamPermissionsRequest.php @@ -0,0 +1,36 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(TestIamPermissionsRequest::class, 'Google_Service_NetworkServices_TestIamPermissionsRequest'); diff --git a/src/NetworkServices/TestIamPermissionsResponse.php b/src/NetworkServices/TestIamPermissionsResponse.php new file mode 100644 index 0000000000..9d9f895bb1 --- /dev/null +++ b/src/NetworkServices/TestIamPermissionsResponse.php @@ -0,0 +1,36 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(TestIamPermissionsResponse::class, 'Google_Service_NetworkServices_TestIamPermissionsResponse'); diff --git a/src/Storagetransfer/LoggingConfig.php b/src/Storagetransfer/LoggingConfig.php new file mode 100644 index 0000000000..f570a09fc6 --- /dev/null +++ b/src/Storagetransfer/LoggingConfig.php @@ -0,0 +1,35 @@ +enableOnpremGcsTransferLogs = $enableOnpremGcsTransferLogs; + } + public function getEnableOnpremGcsTransferLogs() + { + return $this->enableOnpremGcsTransferLogs; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(LoggingConfig::class, 'Google_Service_Storagetransfer_LoggingConfig'); diff --git a/src/Storagetransfer/PosixFilesystem.php b/src/Storagetransfer/PosixFilesystem.php new file mode 100644 index 0000000000..0963e44b3b --- /dev/null +++ b/src/Storagetransfer/PosixFilesystem.php @@ -0,0 +1,35 @@ +rootDirectory = $rootDirectory; + } + public function getRootDirectory() + { + return $this->rootDirectory; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PosixFilesystem::class, 'Google_Service_Storagetransfer_PosixFilesystem'); diff --git a/src/Storagetransfer/Resource/TransferJobs.php b/src/Storagetransfer/Resource/TransferJobs.php index 2dace26973..7b410bebcb 100644 --- a/src/Storagetransfer/Resource/TransferJobs.php +++ b/src/Storagetransfer/Resource/TransferJobs.php @@ -49,7 +49,7 @@ public function create(TransferJob $postBody, $optParams = []) /** * Gets a transfer job. (transferJobs.get) * - * @param string $jobName Required. " The job to get. + * @param string $jobName Required. The job to get. * @param string $projectId Required. The ID of the Google Cloud Platform * Console project that owns the job. * @param array $optParams Optional parameters. diff --git a/src/Storagetransfer/TransferCounters.php b/src/Storagetransfer/TransferCounters.php index ce286521be..cb564212e0 100644 --- a/src/Storagetransfer/TransferCounters.php +++ b/src/Storagetransfer/TransferCounters.php @@ -27,6 +27,9 @@ class TransferCounters extends \Google\Model public $bytesFoundOnlyFromSink; public $bytesFromSourceFailed; public $bytesFromSourceSkippedBySync; + public $directoriesFailedToListFromSource; + public $directoriesFoundFromSource; + public $directoriesSuccessfullyListedFromSource; public $objectsCopiedToSink; public $objectsDeletedFromSink; public $objectsDeletedFromSource; @@ -100,6 +103,30 @@ public function getBytesFromSourceSkippedBySync() { return $this->bytesFromSourceSkippedBySync; } + public function setDirectoriesFailedToListFromSource($directoriesFailedToListFromSource) + { + $this->directoriesFailedToListFromSource = $directoriesFailedToListFromSource; + } + public function getDirectoriesFailedToListFromSource() + { + return $this->directoriesFailedToListFromSource; + } + public function setDirectoriesFoundFromSource($directoriesFoundFromSource) + { + $this->directoriesFoundFromSource = $directoriesFoundFromSource; + } + public function getDirectoriesFoundFromSource() + { + return $this->directoriesFoundFromSource; + } + public function setDirectoriesSuccessfullyListedFromSource($directoriesSuccessfullyListedFromSource) + { + $this->directoriesSuccessfullyListedFromSource = $directoriesSuccessfullyListedFromSource; + } + public function getDirectoriesSuccessfullyListedFromSource() + { + return $this->directoriesSuccessfullyListedFromSource; + } public function setObjectsCopiedToSink($objectsCopiedToSink) { $this->objectsCopiedToSink = $objectsCopiedToSink; diff --git a/src/Storagetransfer/TransferJob.php b/src/Storagetransfer/TransferJob.php index 5e7f903eec..1d1de2bc6e 100644 --- a/src/Storagetransfer/TransferJob.php +++ b/src/Storagetransfer/TransferJob.php @@ -24,6 +24,8 @@ class TransferJob extends \Google\Model public $description; public $lastModificationTime; public $latestOperationName; + protected $loggingConfigType = LoggingConfig::class; + protected $loggingConfigDataType = ''; public $name; protected $notificationConfigType = NotificationConfig::class; protected $notificationConfigDataType = ''; @@ -74,6 +76,20 @@ public function getLatestOperationName() { return $this->latestOperationName; } + /** + * @param LoggingConfig + */ + public function setLoggingConfig(LoggingConfig $loggingConfig) + { + $this->loggingConfig = $loggingConfig; + } + /** + * @return LoggingConfig + */ + public function getLoggingConfig() + { + return $this->loggingConfig; + } public function setName($name) { $this->name = $name; diff --git a/src/Storagetransfer/TransferSpec.php b/src/Storagetransfer/TransferSpec.php index 7e292d9418..943838e84a 100644 --- a/src/Storagetransfer/TransferSpec.php +++ b/src/Storagetransfer/TransferSpec.php @@ -31,6 +31,8 @@ class TransferSpec extends \Google\Model protected $httpDataSourceDataType = ''; protected $objectConditionsType = ObjectConditions::class; protected $objectConditionsDataType = ''; + protected $posixDataSourceType = PosixFilesystem::class; + protected $posixDataSourceDataType = ''; protected $transferOptionsType = TransferOptions::class; protected $transferOptionsDataType = ''; @@ -118,6 +120,20 @@ public function getObjectConditions() { return $this->objectConditions; } + /** + * @param PosixFilesystem + */ + public function setPosixDataSource(PosixFilesystem $posixDataSource) + { + $this->posixDataSource = $posixDataSource; + } + /** + * @return PosixFilesystem + */ + public function getPosixDataSource() + { + return $this->posixDataSource; + } /** * @param TransferOptions */ diff --git a/synth.metadata b/synth.metadata index e2236c45ae..ee02781022 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-php-client-services.git", - "sha": "f4f26aeefc8d24dd77ae9612629fe87b0666c177" + "sha": "cdce69c7a279be9574f16cc9297c0ae14f0a68ee" } }, { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "fce4065ebefd5d297262db7b0b22b806a51e494a" + "sha": "54d5b833bfbc45884ced254b76d9e936875385c3" } } ]