Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions
@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Assertion extends \Google\Collection
{
protected $collection_key = 'tags';
protected $dependencyTargetsType = Target::class;
protected $dependencyTargetsDataType = 'array';
/**
* @var bool
*/
public $disabled;
protected $parentActionType = Target::class;
protected $parentActionDataType = '';
protected $relationDescriptorType = RelationDescriptor::class;
protected $relationDescriptorDataType = '';
/**
* @var string
*/
public $selectQuery;
/**
* @var string[]
*/
public $tags;
/**
* @param Target[]
*/
public function setDependencyTargets($dependencyTargets)
{
$this->dependencyTargets = $dependencyTargets;
}
/**
* @return Target[]
*/
public function getDependencyTargets()
{
return $this->dependencyTargets;
}
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param Target
*/
public function setParentAction(Target $parentAction)
{
$this->parentAction = $parentAction;
}
/**
* @return Target
*/
public function getParentAction()
{
return $this->parentAction;
}
/**
* @param RelationDescriptor
*/
public function setRelationDescriptor(RelationDescriptor $relationDescriptor)
{
$this->relationDescriptor = $relationDescriptor;
}
/**
* @return RelationDescriptor
*/
public function getRelationDescriptor()
{
return $this->relationDescriptor;
}
/**
* @param string
*/
public function setSelectQuery($selectQuery)
{
$this->selectQuery = $selectQuery;
}
/**
* @return string
*/
public function getSelectQuery()
{
return $this->selectQuery;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Assertion::class, 'Google_Service_Dataform_Assertion');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class BigQueryAction extends \Google\Model
{
/**
* @var string
*/
public $jobId;
/**
* @var string
*/
public $sqlScript;
/**
* @param string
*/
public function setJobId($jobId)
{
$this->jobId = $jobId;
}
/**
* @return string
*/
public function getJobId()
{
return $this->jobId;
}
/**
* @param string
*/
public function setSqlScript($sqlScript)
{
$this->sqlScript = $sqlScript;
}
/**
* @return string
*/
public function getSqlScript()
{
return $this->sqlScript;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BigQueryAction::class, 'Google_Service_Dataform_BigQueryAction');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param Expr
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_Dataform_Binding');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class CancelWorkflowInvocationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelWorkflowInvocationRequest::class, 'Google_Service_Dataform_CancelWorkflowInvocationRequest');
@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class CodeCompilationConfig extends \Google\Model
{
/**
* @var string
*/
public $assertionSchema;
/**
* @var string
*/
public $databaseSuffix;
/**
* @var string
*/
public $defaultDatabase;
/**
* @var string
*/
public $defaultLocation;
protected $defaultNotebookRuntimeOptionsType = NotebookRuntimeOptions::class;
protected $defaultNotebookRuntimeOptionsDataType = '';
/**
* @var string
*/
public $defaultSchema;
/**
* @var string
*/
public $schemaSuffix;
/**
* @var string
*/
public $tablePrefix;
/**
* @var string[]
*/
public $vars;
/**
* @param string
*/
public function setAssertionSchema($assertionSchema)
{
$this->assertionSchema = $assertionSchema;
}
/**
* @return string
*/
public function getAssertionSchema()
{
return $this->assertionSchema;
}
/**
* @param string
*/
public function setDatabaseSuffix($databaseSuffix)
{
$this->databaseSuffix = $databaseSuffix;
}
/**
* @return string
*/
public function getDatabaseSuffix()
{
return $this->databaseSuffix;
}
/**
* @param string
*/
public function setDefaultDatabase($defaultDatabase)
{
$this->defaultDatabase = $defaultDatabase;
}
/**
* @return string
*/
public function getDefaultDatabase()
{
return $this->defaultDatabase;
}
/**
* @param string
*/
public function setDefaultLocation($defaultLocation)
{
$this->defaultLocation = $defaultLocation;
}
/**
* @return string
*/
public function getDefaultLocation()
{
return $this->defaultLocation;
}
/**
* @param NotebookRuntimeOptions
*/
public function setDefaultNotebookRuntimeOptions(NotebookRuntimeOptions $defaultNotebookRuntimeOptions)
{
$this->defaultNotebookRuntimeOptions = $defaultNotebookRuntimeOptions;
}
/**
* @return NotebookRuntimeOptions
*/
public function getDefaultNotebookRuntimeOptions()
{
return $this->defaultNotebookRuntimeOptions;
}
/**
* @param string
*/
public function setDefaultSchema($defaultSchema)
{
$this->defaultSchema = $defaultSchema;
}
/**
* @return string
*/
public function getDefaultSchema()
{
return $this->defaultSchema;
}
/**
* @param string
*/
public function setSchemaSuffix($schemaSuffix)
{
$this->schemaSuffix = $schemaSuffix;
}
/**
* @return string
*/
public function getSchemaSuffix()
{
return $this->schemaSuffix;
}
/**
* @param string
*/
public function setTablePrefix($tablePrefix)
{
$this->tablePrefix = $tablePrefix;
}
/**
* @return string
*/
public function getTablePrefix()
{
return $this->tablePrefix;
}
/**
* @param string[]
*/
public function setVars($vars)
{
$this->vars = $vars;
}
/**
* @return string[]
*/
public function getVars()
{
return $this->vars;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CodeCompilationConfig::class, 'Google_Service_Dataform_CodeCompilationConfig');
@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ColumnDescriptor extends \Google\Collection
{
protected $collection_key = 'path';
/**
* @var string[]
*/
public $bigqueryPolicyTags;
/**
* @var string
*/
public $description;
/**
* @var string[]
*/
public $path;
/**
* @param string[]
*/
public function setBigqueryPolicyTags($bigqueryPolicyTags)
{
$this->bigqueryPolicyTags = $bigqueryPolicyTags;
}
/**
* @return string[]
*/
public function getBigqueryPolicyTags()
{
return $this->bigqueryPolicyTags;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string[]
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string[]
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ColumnDescriptor::class, 'Google_Service_Dataform_ColumnDescriptor');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class CommitAuthor extends \Google\Model
{
/**
* @var string
*/
public $emailAddress;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setEmailAddress($emailAddress)
{
$this->emailAddress = $emailAddress;
}
/**
* @return string
*/
public function getEmailAddress()
{
return $this->emailAddress;
}
/**
* @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(CommitAuthor::class, 'Google_Service_Dataform_CommitAuthor');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class CommitLogEntry extends \Google\Model
{
protected $authorType = CommitAuthor::class;
protected $authorDataType = '';
/**
* @var string
*/
public $commitMessage;
/**
* @var string
*/
public $commitSha;
/**
* @var string
*/
public $commitTime;
/**
* @param CommitAuthor
*/
public function setAuthor(CommitAuthor $author)
{
$this->author = $author;
}
/**
* @return CommitAuthor
*/
public function getAuthor()
{
return $this->author;
}
/**
* @param string
*/
public function setCommitMessage($commitMessage)
{
$this->commitMessage = $commitMessage;
}
/**
* @return string
*/
public function getCommitMessage()
{
return $this->commitMessage;
}
/**
* @param string
*/
public function setCommitSha($commitSha)
{
$this->commitSha = $commitSha;
}
/**
* @return string
*/
public function getCommitSha()
{
return $this->commitSha;
}
/**
* @param string
*/
public function setCommitTime($commitTime)
{
$this->commitTime = $commitTime;
}
/**
* @return string
*/
public function getCommitTime()
{
return $this->commitTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitLogEntry::class, 'Google_Service_Dataform_CommitLogEntry');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class CommitMetadata extends \Google\Model
{
protected $authorType = CommitAuthor::class;
protected $authorDataType = '';
/**
* @var string
*/
public $commitMessage;
/**
* @param CommitAuthor
*/
public function setAuthor(CommitAuthor $author)
{
$this->author = $author;
}
/**
* @return CommitAuthor
*/
public function getAuthor()
{
return $this->author;
}
/**
* @param string
*/
public function setCommitMessage($commitMessage)
{
$this->commitMessage = $commitMessage;
}
/**
* @return string
*/
public function getCommitMessage()
{
return $this->commitMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitMetadata::class, 'Google_Service_Dataform_CommitMetadata');
@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class CommitRepositoryChangesRequest extends \Google\Model
{
protected $commitMetadataType = CommitMetadata::class;
protected $commitMetadataDataType = '';
protected $fileOperationsType = FileOperation::class;
protected $fileOperationsDataType = 'map';
/**
* @var string
*/
public $requiredHeadCommitSha;
/**
* @param CommitMetadata
*/
public function setCommitMetadata(CommitMetadata $commitMetadata)
{
$this->commitMetadata = $commitMetadata;
}
/**
* @return CommitMetadata
*/
public function getCommitMetadata()
{
return $this->commitMetadata;
}
/**
* @param FileOperation[]
*/
public function setFileOperations($fileOperations)
{
$this->fileOperations = $fileOperations;
}
/**
* @return FileOperation[]
*/
public function getFileOperations()
{
return $this->fileOperations;
}
/**
* @param string
*/
public function setRequiredHeadCommitSha($requiredHeadCommitSha)
{
$this->requiredHeadCommitSha = $requiredHeadCommitSha;
}
/**
* @return string
*/
public function getRequiredHeadCommitSha()
{
return $this->requiredHeadCommitSha;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitRepositoryChangesRequest::class, 'Google_Service_Dataform_CommitRepositoryChangesRequest');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class CommitRepositoryChangesResponse extends \Google\Model
{
/**
* @var string
*/
public $commitSha;
/**
* @param string
*/
public function setCommitSha($commitSha)
{
$this->commitSha = $commitSha;
}
/**
* @return string
*/
public function getCommitSha()
{
return $this->commitSha;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitRepositoryChangesResponse::class, 'Google_Service_Dataform_CommitRepositoryChangesResponse');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class CommitWorkspaceChangesRequest extends \Google\Collection
{
protected $collection_key = 'paths';
protected $authorType = CommitAuthor::class;
protected $authorDataType = '';
/**
* @var string
*/
public $commitMessage;
/**
* @var string[]
*/
public $paths;
/**
* @param CommitAuthor
*/
public function setAuthor(CommitAuthor $author)
{
$this->author = $author;
}
/**
* @return CommitAuthor
*/
public function getAuthor()
{
return $this->author;
}
/**
* @param string
*/
public function setCommitMessage($commitMessage)
{
$this->commitMessage = $commitMessage;
}
/**
* @return string
*/
public function getCommitMessage()
{
return $this->commitMessage;
}
/**
* @param string[]
*/
public function setPaths($paths)
{
$this->paths = $paths;
}
/**
* @return string[]
*/
public function getPaths()
{
return $this->paths;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitWorkspaceChangesRequest::class, 'Google_Service_Dataform_CommitWorkspaceChangesRequest');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class CompilationError extends \Google\Model
{
protected $actionTargetType = Target::class;
protected $actionTargetDataType = '';
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $stack;
/**
* @param Target
*/
public function setActionTarget(Target $actionTarget)
{
$this->actionTarget = $actionTarget;
}
/**
* @return Target
*/
public function getActionTarget()
{
return $this->actionTarget;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param string
*/
public function setStack($stack)
{
$this->stack = $stack;
}
/**
* @return string
*/
public function getStack()
{
return $this->stack;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompilationError::class, 'Google_Service_Dataform_CompilationError');
@@ -0,0 +1,201 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class CompilationResult extends \Google\Collection
{
protected $collection_key = 'compilationErrors';
protected $codeCompilationConfigType = CodeCompilationConfig::class;
protected $codeCompilationConfigDataType = '';
protected $compilationErrorsType = CompilationError::class;
protected $compilationErrorsDataType = 'array';
/**
* @var string
*/
public $createTime;
protected $dataEncryptionStateType = DataEncryptionState::class;
protected $dataEncryptionStateDataType = '';
/**
* @var string
*/
public $dataformCoreVersion;
/**
* @var string
*/
public $gitCommitish;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $releaseConfig;
/**
* @var string
*/
public $resolvedGitCommitSha;
/**
* @var string
*/
public $workspace;
/**
* @param CodeCompilationConfig
*/
public function setCodeCompilationConfig(CodeCompilationConfig $codeCompilationConfig)
{
$this->codeCompilationConfig = $codeCompilationConfig;
}
/**
* @return CodeCompilationConfig
*/
public function getCodeCompilationConfig()
{
return $this->codeCompilationConfig;
}
/**
* @param CompilationError[]
*/
public function setCompilationErrors($compilationErrors)
{
$this->compilationErrors = $compilationErrors;
}
/**
* @return CompilationError[]
*/
public function getCompilationErrors()
{
return $this->compilationErrors;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param DataEncryptionState
*/
public function setDataEncryptionState(DataEncryptionState $dataEncryptionState)
{
$this->dataEncryptionState = $dataEncryptionState;
}
/**
* @return DataEncryptionState
*/
public function getDataEncryptionState()
{
return $this->dataEncryptionState;
}
/**
* @param string
*/
public function setDataformCoreVersion($dataformCoreVersion)
{
$this->dataformCoreVersion = $dataformCoreVersion;
}
/**
* @return string
*/
public function getDataformCoreVersion()
{
return $this->dataformCoreVersion;
}
/**
* @param string
*/
public function setGitCommitish($gitCommitish)
{
$this->gitCommitish = $gitCommitish;
}
/**
* @return string
*/
public function getGitCommitish()
{
return $this->gitCommitish;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setReleaseConfig($releaseConfig)
{
$this->releaseConfig = $releaseConfig;
}
/**
* @return string
*/
public function getReleaseConfig()
{
return $this->releaseConfig;
}
/**
* @param string
*/
public function setResolvedGitCommitSha($resolvedGitCommitSha)
{
$this->resolvedGitCommitSha = $resolvedGitCommitSha;
}
/**
* @return string
*/
public function getResolvedGitCommitSha()
{
return $this->resolvedGitCommitSha;
}
/**
* @param string
*/
public function setWorkspace($workspace)
{
$this->workspace = $workspace;
}
/**
* @return string
*/
public function getWorkspace()
{
return $this->workspace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompilationResult::class, 'Google_Service_Dataform_CompilationResult');
@@ -0,0 +1,156 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class CompilationResultAction extends \Google\Model
{
protected $assertionType = Assertion::class;
protected $assertionDataType = '';
protected $canonicalTargetType = Target::class;
protected $canonicalTargetDataType = '';
protected $declarationType = Declaration::class;
protected $declarationDataType = '';
/**
* @var string
*/
public $filePath;
protected $notebookType = Notebook::class;
protected $notebookDataType = '';
protected $operationsType = Operations::class;
protected $operationsDataType = '';
protected $relationType = Relation::class;
protected $relationDataType = '';
protected $targetType = Target::class;
protected $targetDataType = '';
/**
* @param Assertion
*/
public function setAssertion(Assertion $assertion)
{
$this->assertion = $assertion;
}
/**
* @return Assertion
*/
public function getAssertion()
{
return $this->assertion;
}
/**
* @param Target
*/
public function setCanonicalTarget(Target $canonicalTarget)
{
$this->canonicalTarget = $canonicalTarget;
}
/**
* @return Target
*/
public function getCanonicalTarget()
{
return $this->canonicalTarget;
}
/**
* @param Declaration
*/
public function setDeclaration(Declaration $declaration)
{
$this->declaration = $declaration;
}
/**
* @return Declaration
*/
public function getDeclaration()
{
return $this->declaration;
}
/**
* @param string
*/
public function setFilePath($filePath)
{
$this->filePath = $filePath;
}
/**
* @return string
*/
public function getFilePath()
{
return $this->filePath;
}
/**
* @param Notebook
*/
public function setNotebook(Notebook $notebook)
{
$this->notebook = $notebook;
}
/**
* @return Notebook
*/
public function getNotebook()
{
return $this->notebook;
}
/**
* @param Operations
*/
public function setOperations(Operations $operations)
{
$this->operations = $operations;
}
/**
* @return Operations
*/
public function getOperations()
{
return $this->operations;
}
/**
* @param Relation
*/
public function setRelation(Relation $relation)
{
$this->relation = $relation;
}
/**
* @return Relation
*/
public function getRelation()
{
return $this->relation;
}
/**
* @param Target
*/
public function setTarget(Target $target)
{
$this->target = $target;
}
/**
* @return Target
*/
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompilationResultAction::class, 'Google_Service_Dataform_CompilationResultAction');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ComputeRepositoryAccessTokenStatusResponse extends \Google\Model
{
/**
* @var string
*/
public $tokenStatus;
/**
* @param string
*/
public function setTokenStatus($tokenStatus)
{
$this->tokenStatus = $tokenStatus;
}
/**
* @return string
*/
public function getTokenStatus()
{
return $this->tokenStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeRepositoryAccessTokenStatusResponse::class, 'Google_Service_Dataform_ComputeRepositoryAccessTokenStatusResponse');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Config extends \Google\Model
{
/**
* @var string
*/
public $defaultKmsKeyName;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDefaultKmsKeyName($defaultKmsKeyName)
{
$this->defaultKmsKeyName = $defaultKmsKeyName;
}
/**
* @return string
*/
public function getDefaultKmsKeyName()
{
return $this->defaultKmsKeyName;
}
/**
* @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(Config::class, 'Google_Service_Dataform_Config');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class DataEncryptionState extends \Google\Model
{
/**
* @var string
*/
public $kmsKeyVersionName;
/**
* @param string
*/
public function setKmsKeyVersionName($kmsKeyVersionName)
{
$this->kmsKeyVersionName = $kmsKeyVersionName;
}
/**
* @return string
*/
public function getKmsKeyVersionName()
{
return $this->kmsKeyVersionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataEncryptionState::class, 'Google_Service_Dataform_DataEncryptionState');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class DataPreparation extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string
*/
public $contents;
protected $dependencyTargetsType = Target::class;
protected $dependencyTargetsDataType = 'array';
/**
* @var bool
*/
public $disabled;
/**
* @var string[]
*/
public $tags;
/**
* @param string
*/
public function setContents($contents)
{
$this->contents = $contents;
}
/**
* @return string
*/
public function getContents()
{
return $this->contents;
}
/**
* @param Target[]
*/
public function setDependencyTargets($dependencyTargets)
{
$this->dependencyTargets = $dependencyTargets;
}
/**
* @return Target[]
*/
public function getDependencyTargets()
{
return $this->dependencyTargets;
}
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataPreparation::class, 'Google_Service_Dataform_DataPreparation');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class DataformEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataformEmpty::class, 'Google_Service_Dataform_DataformEmpty');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Declaration extends \Google\Model
{
protected $relationDescriptorType = RelationDescriptor::class;
protected $relationDescriptorDataType = '';
/**
* @param RelationDescriptor
*/
public function setRelationDescriptor(RelationDescriptor $relationDescriptor)
{
$this->relationDescriptor = $relationDescriptor;
}
/**
* @return RelationDescriptor
*/
public function getRelationDescriptor()
{
return $this->relationDescriptor;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Declaration::class, 'Google_Service_Dataform_Declaration');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class DeleteFile extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteFile::class, 'Google_Service_Dataform_DeleteFile');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class DirectoryEntry extends \Google\Model
{
/**
* @var string
*/
public $directory;
/**
* @var string
*/
public $file;
/**
* @param string
*/
public function setDirectory($directory)
{
$this->directory = $directory;
}
/**
* @return string
*/
public function getDirectory()
{
return $this->directory;
}
/**
* @param string
*/
public function setFile($file)
{
$this->file = $file;
}
/**
* @return string
*/
public function getFile()
{
return $this->file;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DirectoryEntry::class, 'Google_Service_Dataform_DirectoryEntry');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class DirectorySearchResult extends \Google\Model
{
/**
* @var string
*/
public $path;
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DirectorySearchResult::class, 'Google_Service_Dataform_DirectorySearchResult');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_Dataform_Expr');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class FetchFileDiffResponse extends \Google\Model
{
/**
* @var string
*/
public $formattedDiff;
/**
* @param string
*/
public function setFormattedDiff($formattedDiff)
{
$this->formattedDiff = $formattedDiff;
}
/**
* @return string
*/
public function getFormattedDiff()
{
return $this->formattedDiff;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchFileDiffResponse::class, 'Google_Service_Dataform_FetchFileDiffResponse');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class FetchFileGitStatusesResponse extends \Google\Collection
{
protected $collection_key = 'uncommittedFileChanges';
protected $uncommittedFileChangesType = UncommittedFileChange::class;
protected $uncommittedFileChangesDataType = 'array';
/**
* @param UncommittedFileChange[]
*/
public function setUncommittedFileChanges($uncommittedFileChanges)
{
$this->uncommittedFileChanges = $uncommittedFileChanges;
}
/**
* @return UncommittedFileChange[]
*/
public function getUncommittedFileChanges()
{
return $this->uncommittedFileChanges;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchFileGitStatusesResponse::class, 'Google_Service_Dataform_FetchFileGitStatusesResponse');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class FetchGitAheadBehindResponse extends \Google\Model
{
/**
* @var int
*/
public $commitsAhead;
/**
* @var int
*/
public $commitsBehind;
/**
* @param int
*/
public function setCommitsAhead($commitsAhead)
{
$this->commitsAhead = $commitsAhead;
}
/**
* @return int
*/
public function getCommitsAhead()
{
return $this->commitsAhead;
}
/**
* @param int
*/
public function setCommitsBehind($commitsBehind)
{
$this->commitsBehind = $commitsBehind;
}
/**
* @return int
*/
public function getCommitsBehind()
{
return $this->commitsBehind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchGitAheadBehindResponse::class, 'Google_Service_Dataform_FetchGitAheadBehindResponse');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class FetchRemoteBranchesResponse extends \Google\Collection
{
protected $collection_key = 'branches';
/**
* @var string[]
*/
public $branches;
/**
* @param string[]
*/
public function setBranches($branches)
{
$this->branches = $branches;
}
/**
* @return string[]
*/
public function getBranches()
{
return $this->branches;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchRemoteBranchesResponse::class, 'Google_Service_Dataform_FetchRemoteBranchesResponse');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class FetchRepositoryHistoryResponse extends \Google\Collection
{
protected $collection_key = 'commits';
protected $commitsType = CommitLogEntry::class;
protected $commitsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param CommitLogEntry[]
*/
public function setCommits($commits)
{
$this->commits = $commits;
}
/**
* @return CommitLogEntry[]
*/
public function getCommits()
{
return $this->commits;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchRepositoryHistoryResponse::class, 'Google_Service_Dataform_FetchRepositoryHistoryResponse');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class FileOperation extends \Google\Model
{
protected $deleteFileType = DeleteFile::class;
protected $deleteFileDataType = '';
protected $writeFileType = WriteFile::class;
protected $writeFileDataType = '';
/**
* @param DeleteFile
*/
public function setDeleteFile(DeleteFile $deleteFile)
{
$this->deleteFile = $deleteFile;
}
/**
* @return DeleteFile
*/
public function getDeleteFile()
{
return $this->deleteFile;
}
/**
* @param WriteFile
*/
public function setWriteFile(WriteFile $writeFile)
{
$this->writeFile = $writeFile;
}
/**
* @return WriteFile
*/
public function getWriteFile()
{
return $this->writeFile;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FileOperation::class, 'Google_Service_Dataform_FileOperation');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class FileSearchResult extends \Google\Model
{
/**
* @var string
*/
public $path;
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FileSearchResult::class, 'Google_Service_Dataform_FileSearchResult');
@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class GitRemoteSettings extends \Google\Model
{
/**
* @var string
*/
public $authenticationTokenSecretVersion;
/**
* @var string
*/
public $defaultBranch;
protected $sshAuthenticationConfigType = SshAuthenticationConfig::class;
protected $sshAuthenticationConfigDataType = '';
/**
* @var string
*/
public $tokenStatus;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setAuthenticationTokenSecretVersion($authenticationTokenSecretVersion)
{
$this->authenticationTokenSecretVersion = $authenticationTokenSecretVersion;
}
/**
* @return string
*/
public function getAuthenticationTokenSecretVersion()
{
return $this->authenticationTokenSecretVersion;
}
/**
* @param string
*/
public function setDefaultBranch($defaultBranch)
{
$this->defaultBranch = $defaultBranch;
}
/**
* @return string
*/
public function getDefaultBranch()
{
return $this->defaultBranch;
}
/**
* @param SshAuthenticationConfig
*/
public function setSshAuthenticationConfig(SshAuthenticationConfig $sshAuthenticationConfig)
{
$this->sshAuthenticationConfig = $sshAuthenticationConfig;
}
/**
* @return SshAuthenticationConfig
*/
public function getSshAuthenticationConfig()
{
return $this->sshAuthenticationConfig;
}
/**
* @param string
*/
public function setTokenStatus($tokenStatus)
{
$this->tokenStatus = $tokenStatus;
}
/**
* @return string
*/
public function getTokenStatus()
{
return $this->tokenStatus;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GitRemoteSettings::class, 'Google_Service_Dataform_GitRemoteSettings');
@@ -0,0 +1,135 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class IncrementalTableConfig extends \Google\Collection
{
protected $collection_key = 'uniqueKeyParts';
/**
* @var string[]
*/
public $incrementalPostOperations;
/**
* @var string[]
*/
public $incrementalPreOperations;
/**
* @var string
*/
public $incrementalSelectQuery;
/**
* @var bool
*/
public $refreshDisabled;
/**
* @var string[]
*/
public $uniqueKeyParts;
/**
* @var string
*/
public $updatePartitionFilter;
/**
* @param string[]
*/
public function setIncrementalPostOperations($incrementalPostOperations)
{
$this->incrementalPostOperations = $incrementalPostOperations;
}
/**
* @return string[]
*/
public function getIncrementalPostOperations()
{
return $this->incrementalPostOperations;
}
/**
* @param string[]
*/
public function setIncrementalPreOperations($incrementalPreOperations)
{
$this->incrementalPreOperations = $incrementalPreOperations;
}
/**
* @return string[]
*/
public function getIncrementalPreOperations()
{
return $this->incrementalPreOperations;
}
/**
* @param string
*/
public function setIncrementalSelectQuery($incrementalSelectQuery)
{
$this->incrementalSelectQuery = $incrementalSelectQuery;
}
/**
* @return string
*/
public function getIncrementalSelectQuery()
{
return $this->incrementalSelectQuery;
}
/**
* @param bool
*/
public function setRefreshDisabled($refreshDisabled)
{
$this->refreshDisabled = $refreshDisabled;
}
/**
* @return bool
*/
public function getRefreshDisabled()
{
return $this->refreshDisabled;
}
/**
* @param string[]
*/
public function setUniqueKeyParts($uniqueKeyParts)
{
$this->uniqueKeyParts = $uniqueKeyParts;
}
/**
* @return string[]
*/
public function getUniqueKeyParts()
{
return $this->uniqueKeyParts;
}
/**
* @param string
*/
public function setUpdatePartitionFilter($updatePartitionFilter)
{
$this->updatePartitionFilter = $updatePartitionFilter;
}
/**
* @return string
*/
public function getUpdatePartitionFilter()
{
return $this->updatePartitionFilter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IncrementalTableConfig::class, 'Google_Service_Dataform_IncrementalTableConfig');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class InstallNpmPackagesRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstallNpmPackagesRequest::class, 'Google_Service_Dataform_InstallNpmPackagesRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class InstallNpmPackagesResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstallNpmPackagesResponse::class, 'Google_Service_Dataform_InstallNpmPackagesResponse');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Interval extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $startTime;
/**
* @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;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Interval::class, 'Google_Service_Dataform_Interval');
@@ -0,0 +1,133 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class InvocationConfig extends \Google\Collection
{
protected $collection_key = 'includedTargets';
/**
* @var bool
*/
public $fullyRefreshIncrementalTablesEnabled;
/**
* @var string[]
*/
public $includedTags;
protected $includedTargetsType = Target::class;
protected $includedTargetsDataType = 'array';
/**
* @var string
*/
public $serviceAccount;
/**
* @var bool
*/
public $transitiveDependenciesIncluded;
/**
* @var bool
*/
public $transitiveDependentsIncluded;
/**
* @param bool
*/
public function setFullyRefreshIncrementalTablesEnabled($fullyRefreshIncrementalTablesEnabled)
{
$this->fullyRefreshIncrementalTablesEnabled = $fullyRefreshIncrementalTablesEnabled;
}
/**
* @return bool
*/
public function getFullyRefreshIncrementalTablesEnabled()
{
return $this->fullyRefreshIncrementalTablesEnabled;
}
/**
* @param string[]
*/
public function setIncludedTags($includedTags)
{
$this->includedTags = $includedTags;
}
/**
* @return string[]
*/
public function getIncludedTags()
{
return $this->includedTags;
}
/**
* @param Target[]
*/
public function setIncludedTargets($includedTargets)
{
$this->includedTargets = $includedTargets;
}
/**
* @return Target[]
*/
public function getIncludedTargets()
{
return $this->includedTargets;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param bool
*/
public function setTransitiveDependenciesIncluded($transitiveDependenciesIncluded)
{
$this->transitiveDependenciesIncluded = $transitiveDependenciesIncluded;
}
/**
* @return bool
*/
public function getTransitiveDependenciesIncluded()
{
return $this->transitiveDependenciesIncluded;
}
/**
* @param bool
*/
public function setTransitiveDependentsIncluded($transitiveDependentsIncluded)
{
$this->transitiveDependentsIncluded = $transitiveDependentsIncluded;
}
/**
* @return bool
*/
public function getTransitiveDependentsIncluded()
{
return $this->transitiveDependentsIncluded;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InvocationConfig::class, 'Google_Service_Dataform_InvocationConfig');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ListCompilationResultsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $compilationResultsType = CompilationResult::class;
protected $compilationResultsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param CompilationResult[]
*/
public function setCompilationResults($compilationResults)
{
$this->compilationResults = $compilationResults;
}
/**
* @return CompilationResult[]
*/
public function getCompilationResults()
{
return $this->compilationResults;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListCompilationResultsResponse::class, 'Google_Service_Dataform_ListCompilationResultsResponse');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_Dataform_ListLocationsResponse');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ListReleaseConfigsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $releaseConfigsType = ReleaseConfig::class;
protected $releaseConfigsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ReleaseConfig[]
*/
public function setReleaseConfigs($releaseConfigs)
{
$this->releaseConfigs = $releaseConfigs;
}
/**
* @return ReleaseConfig[]
*/
public function getReleaseConfigs()
{
return $this->releaseConfigs;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListReleaseConfigsResponse::class, 'Google_Service_Dataform_ListReleaseConfigsResponse');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ListRepositoriesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $repositoriesType = Repository::class;
protected $repositoriesDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Repository[]
*/
public function setRepositories($repositories)
{
$this->repositories = $repositories;
}
/**
* @return Repository[]
*/
public function getRepositories()
{
return $this->repositories;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListRepositoriesResponse::class, 'Google_Service_Dataform_ListRepositoriesResponse');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ListWorkflowConfigsResponse extends \Google\Collection
{
protected $collection_key = 'workflowConfigs';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
protected $workflowConfigsType = WorkflowConfig::class;
protected $workflowConfigsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* @param WorkflowConfig[]
*/
public function setWorkflowConfigs($workflowConfigs)
{
$this->workflowConfigs = $workflowConfigs;
}
/**
* @return WorkflowConfig[]
*/
public function getWorkflowConfigs()
{
return $this->workflowConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListWorkflowConfigsResponse::class, 'Google_Service_Dataform_ListWorkflowConfigsResponse');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ListWorkflowInvocationsResponse extends \Google\Collection
{
protected $collection_key = 'workflowInvocations';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
protected $workflowInvocationsType = WorkflowInvocation::class;
protected $workflowInvocationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* @param WorkflowInvocation[]
*/
public function setWorkflowInvocations($workflowInvocations)
{
$this->workflowInvocations = $workflowInvocations;
}
/**
* @return WorkflowInvocation[]
*/
public function getWorkflowInvocations()
{
return $this->workflowInvocations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListWorkflowInvocationsResponse::class, 'Google_Service_Dataform_ListWorkflowInvocationsResponse');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ListWorkspacesResponse extends \Google\Collection
{
protected $collection_key = 'workspaces';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
protected $workspacesType = Workspace::class;
protected $workspacesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* @param Workspace[]
*/
public function setWorkspaces($workspaces)
{
$this->workspaces = $workspaces;
}
/**
* @return Workspace[]
*/
public function getWorkspaces()
{
return $this->workspaces;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListWorkspacesResponse::class, 'Google_Service_Dataform_ListWorkspacesResponse');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @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(Location::class, 'Google_Service_Dataform_Location');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class MakeDirectoryRequest extends \Google\Model
{
/**
* @var string
*/
public $path;
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MakeDirectoryRequest::class, 'Google_Service_Dataform_MakeDirectoryRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class MakeDirectoryResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MakeDirectoryResponse::class, 'Google_Service_Dataform_MakeDirectoryResponse');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class MoveDirectoryRequest extends \Google\Model
{
/**
* @var string
*/
public $newPath;
/**
* @var string
*/
public $path;
/**
* @param string
*/
public function setNewPath($newPath)
{
$this->newPath = $newPath;
}
/**
* @return string
*/
public function getNewPath()
{
return $this->newPath;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MoveDirectoryRequest::class, 'Google_Service_Dataform_MoveDirectoryRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class MoveDirectoryResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MoveDirectoryResponse::class, 'Google_Service_Dataform_MoveDirectoryResponse');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class MoveFileRequest extends \Google\Model
{
/**
* @var string
*/
public $newPath;
/**
* @var string
*/
public $path;
/**
* @param string
*/
public function setNewPath($newPath)
{
$this->newPath = $newPath;
}
/**
* @return string
*/
public function getNewPath()
{
return $this->newPath;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MoveFileRequest::class, 'Google_Service_Dataform_MoveFileRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class MoveFileResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MoveFileResponse::class, 'Google_Service_Dataform_MoveFileResponse');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Notebook extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string
*/
public $contents;
protected $dependencyTargetsType = Target::class;
protected $dependencyTargetsDataType = 'array';
/**
* @var bool
*/
public $disabled;
/**
* @var string[]
*/
public $tags;
/**
* @param string
*/
public function setContents($contents)
{
$this->contents = $contents;
}
/**
* @return string
*/
public function getContents()
{
return $this->contents;
}
/**
* @param Target[]
*/
public function setDependencyTargets($dependencyTargets)
{
$this->dependencyTargets = $dependencyTargets;
}
/**
* @return Target[]
*/
public function getDependencyTargets()
{
return $this->dependencyTargets;
}
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Notebook::class, 'Google_Service_Dataform_Notebook');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class NotebookAction extends \Google\Model
{
/**
* @var string
*/
public $contents;
/**
* @var string
*/
public $jobId;
/**
* @param string
*/
public function setContents($contents)
{
$this->contents = $contents;
}
/**
* @return string
*/
public function getContents()
{
return $this->contents;
}
/**
* @param string
*/
public function setJobId($jobId)
{
$this->jobId = $jobId;
}
/**
* @return string
*/
public function getJobId()
{
return $this->jobId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NotebookAction::class, 'Google_Service_Dataform_NotebookAction');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class NotebookRuntimeOptions extends \Google\Model
{
/**
* @var string
*/
public $gcsOutputBucket;
/**
* @param string
*/
public function setGcsOutputBucket($gcsOutputBucket)
{
$this->gcsOutputBucket = $gcsOutputBucket;
}
/**
* @return string
*/
public function getGcsOutputBucket()
{
return $this->gcsOutputBucket;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NotebookRuntimeOptions::class, 'Google_Service_Dataform_NotebookRuntimeOptions');
@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var bool
*/
public $cancelRequested;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $statusDetail;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param bool
*/
public function setCancelRequested($cancelRequested)
{
$this->cancelRequested = $cancelRequested;
}
/**
* @return bool
*/
public function getCancelRequested()
{
return $this->cancelRequested;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_Dataform_OperationMetadata');
@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Operations extends \Google\Collection
{
protected $collection_key = 'tags';
protected $dependencyTargetsType = Target::class;
protected $dependencyTargetsDataType = 'array';
/**
* @var bool
*/
public $disabled;
/**
* @var bool
*/
public $hasOutput;
/**
* @var string[]
*/
public $queries;
protected $relationDescriptorType = RelationDescriptor::class;
protected $relationDescriptorDataType = '';
/**
* @var string[]
*/
public $tags;
/**
* @param Target[]
*/
public function setDependencyTargets($dependencyTargets)
{
$this->dependencyTargets = $dependencyTargets;
}
/**
* @return Target[]
*/
public function getDependencyTargets()
{
return $this->dependencyTargets;
}
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param bool
*/
public function setHasOutput($hasOutput)
{
$this->hasOutput = $hasOutput;
}
/**
* @return bool
*/
public function getHasOutput()
{
return $this->hasOutput;
}
/**
* @param string[]
*/
public function setQueries($queries)
{
$this->queries = $queries;
}
/**
* @return string[]
*/
public function getQueries()
{
return $this->queries;
}
/**
* @param RelationDescriptor
*/
public function setRelationDescriptor(RelationDescriptor $relationDescriptor)
{
$this->relationDescriptor = $relationDescriptor;
}
/**
* @return RelationDescriptor
*/
public function getRelationDescriptor()
{
return $this->relationDescriptor;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operations::class, 'Google_Service_Dataform_Operations');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_Dataform_Policy');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class PullGitCommitsRequest extends \Google\Model
{
protected $authorType = CommitAuthor::class;
protected $authorDataType = '';
/**
* @var string
*/
public $remoteBranch;
/**
* @param CommitAuthor
*/
public function setAuthor(CommitAuthor $author)
{
$this->author = $author;
}
/**
* @return CommitAuthor
*/
public function getAuthor()
{
return $this->author;
}
/**
* @param string
*/
public function setRemoteBranch($remoteBranch)
{
$this->remoteBranch = $remoteBranch;
}
/**
* @return string
*/
public function getRemoteBranch()
{
return $this->remoteBranch;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PullGitCommitsRequest::class, 'Google_Service_Dataform_PullGitCommitsRequest');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class PushGitCommitsRequest extends \Google\Model
{
/**
* @var string
*/
public $remoteBranch;
/**
* @param string
*/
public function setRemoteBranch($remoteBranch)
{
$this->remoteBranch = $remoteBranch;
}
/**
* @return string
*/
public function getRemoteBranch()
{
return $this->remoteBranch;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PushGitCommitsRequest::class, 'Google_Service_Dataform_PushGitCommitsRequest');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class QueryCompilationResultActionsResponse extends \Google\Collection
{
protected $collection_key = 'compilationResultActions';
protected $compilationResultActionsType = CompilationResultAction::class;
protected $compilationResultActionsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param CompilationResultAction[]
*/
public function setCompilationResultActions($compilationResultActions)
{
$this->compilationResultActions = $compilationResultActions;
}
/**
* @return CompilationResultAction[]
*/
public function getCompilationResultActions()
{
return $this->compilationResultActions;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryCompilationResultActionsResponse::class, 'Google_Service_Dataform_QueryCompilationResultActionsResponse');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class QueryDirectoryContentsResponse extends \Google\Collection
{
protected $collection_key = 'directoryEntries';
protected $directoryEntriesType = DirectoryEntry::class;
protected $directoryEntriesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param DirectoryEntry[]
*/
public function setDirectoryEntries($directoryEntries)
{
$this->directoryEntries = $directoryEntries;
}
/**
* @return DirectoryEntry[]
*/
public function getDirectoryEntries()
{
return $this->directoryEntries;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryDirectoryContentsResponse::class, 'Google_Service_Dataform_QueryDirectoryContentsResponse');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class QueryRepositoryDirectoryContentsResponse extends \Google\Collection
{
protected $collection_key = 'directoryEntries';
protected $directoryEntriesType = DirectoryEntry::class;
protected $directoryEntriesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param DirectoryEntry[]
*/
public function setDirectoryEntries($directoryEntries)
{
$this->directoryEntries = $directoryEntries;
}
/**
* @return DirectoryEntry[]
*/
public function getDirectoryEntries()
{
return $this->directoryEntries;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryRepositoryDirectoryContentsResponse::class, 'Google_Service_Dataform_QueryRepositoryDirectoryContentsResponse');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class QueryWorkflowInvocationActionsResponse extends \Google\Collection
{
protected $collection_key = 'workflowInvocationActions';
/**
* @var string
*/
public $nextPageToken;
protected $workflowInvocationActionsType = WorkflowInvocationAction::class;
protected $workflowInvocationActionsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param WorkflowInvocationAction[]
*/
public function setWorkflowInvocationActions($workflowInvocationActions)
{
$this->workflowInvocationActions = $workflowInvocationActions;
}
/**
* @return WorkflowInvocationAction[]
*/
public function getWorkflowInvocationActions()
{
return $this->workflowInvocationActions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryWorkflowInvocationActionsResponse::class, 'Google_Service_Dataform_QueryWorkflowInvocationActionsResponse');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ReadFileResponse extends \Google\Model
{
/**
* @var string
*/
public $fileContents;
/**
* @param string
*/
public function setFileContents($fileContents)
{
$this->fileContents = $fileContents;
}
/**
* @return string
*/
public function getFileContents()
{
return $this->fileContents;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReadFileResponse::class, 'Google_Service_Dataform_ReadFileResponse');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ReadRepositoryFileResponse extends \Google\Model
{
/**
* @var string
*/
public $contents;
/**
* @param string
*/
public function setContents($contents)
{
$this->contents = $contents;
}
/**
* @return string
*/
public function getContents()
{
return $this->contents;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReadRepositoryFileResponse::class, 'Google_Service_Dataform_ReadRepositoryFileResponse');
@@ -0,0 +1,273 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Relation extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string[]
*/
public $additionalOptions;
/**
* @var string[]
*/
public $clusterExpressions;
protected $dependencyTargetsType = Target::class;
protected $dependencyTargetsDataType = 'array';
/**
* @var bool
*/
public $disabled;
protected $incrementalTableConfigType = IncrementalTableConfig::class;
protected $incrementalTableConfigDataType = '';
/**
* @var int
*/
public $partitionExpirationDays;
/**
* @var string
*/
public $partitionExpression;
/**
* @var string[]
*/
public $postOperations;
/**
* @var string[]
*/
public $preOperations;
protected $relationDescriptorType = RelationDescriptor::class;
protected $relationDescriptorDataType = '';
/**
* @var string
*/
public $relationType;
/**
* @var bool
*/
public $requirePartitionFilter;
/**
* @var string
*/
public $selectQuery;
/**
* @var string[]
*/
public $tags;
/**
* @param string[]
*/
public function setAdditionalOptions($additionalOptions)
{
$this->additionalOptions = $additionalOptions;
}
/**
* @return string[]
*/
public function getAdditionalOptions()
{
return $this->additionalOptions;
}
/**
* @param string[]
*/
public function setClusterExpressions($clusterExpressions)
{
$this->clusterExpressions = $clusterExpressions;
}
/**
* @return string[]
*/
public function getClusterExpressions()
{
return $this->clusterExpressions;
}
/**
* @param Target[]
*/
public function setDependencyTargets($dependencyTargets)
{
$this->dependencyTargets = $dependencyTargets;
}
/**
* @return Target[]
*/
public function getDependencyTargets()
{
return $this->dependencyTargets;
}
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param IncrementalTableConfig
*/
public function setIncrementalTableConfig(IncrementalTableConfig $incrementalTableConfig)
{
$this->incrementalTableConfig = $incrementalTableConfig;
}
/**
* @return IncrementalTableConfig
*/
public function getIncrementalTableConfig()
{
return $this->incrementalTableConfig;
}
/**
* @param int
*/
public function setPartitionExpirationDays($partitionExpirationDays)
{
$this->partitionExpirationDays = $partitionExpirationDays;
}
/**
* @return int
*/
public function getPartitionExpirationDays()
{
return $this->partitionExpirationDays;
}
/**
* @param string
*/
public function setPartitionExpression($partitionExpression)
{
$this->partitionExpression = $partitionExpression;
}
/**
* @return string
*/
public function getPartitionExpression()
{
return $this->partitionExpression;
}
/**
* @param string[]
*/
public function setPostOperations($postOperations)
{
$this->postOperations = $postOperations;
}
/**
* @return string[]
*/
public function getPostOperations()
{
return $this->postOperations;
}
/**
* @param string[]
*/
public function setPreOperations($preOperations)
{
$this->preOperations = $preOperations;
}
/**
* @return string[]
*/
public function getPreOperations()
{
return $this->preOperations;
}
/**
* @param RelationDescriptor
*/
public function setRelationDescriptor(RelationDescriptor $relationDescriptor)
{
$this->relationDescriptor = $relationDescriptor;
}
/**
* @return RelationDescriptor
*/
public function getRelationDescriptor()
{
return $this->relationDescriptor;
}
/**
* @param string
*/
public function setRelationType($relationType)
{
$this->relationType = $relationType;
}
/**
* @return string
*/
public function getRelationType()
{
return $this->relationType;
}
/**
* @param bool
*/
public function setRequirePartitionFilter($requirePartitionFilter)
{
$this->requirePartitionFilter = $requirePartitionFilter;
}
/**
* @return bool
*/
public function getRequirePartitionFilter()
{
return $this->requirePartitionFilter;
}
/**
* @param string
*/
public function setSelectQuery($selectQuery)
{
$this->selectQuery = $selectQuery;
}
/**
* @return string
*/
public function getSelectQuery()
{
return $this->selectQuery;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Relation::class, 'Google_Service_Dataform_Relation');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class RelationDescriptor extends \Google\Collection
{
protected $collection_key = 'columns';
/**
* @var string[]
*/
public $bigqueryLabels;
protected $columnsType = ColumnDescriptor::class;
protected $columnsDataType = 'array';
/**
* @var string
*/
public $description;
/**
* @param string[]
*/
public function setBigqueryLabels($bigqueryLabels)
{
$this->bigqueryLabels = $bigqueryLabels;
}
/**
* @return string[]
*/
public function getBigqueryLabels()
{
return $this->bigqueryLabels;
}
/**
* @param ColumnDescriptor[]
*/
public function setColumns($columns)
{
$this->columns = $columns;
}
/**
* @return ColumnDescriptor[]
*/
public function getColumns()
{
return $this->columns;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RelationDescriptor::class, 'Google_Service_Dataform_RelationDescriptor');
@@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ReleaseConfig extends \Google\Collection
{
protected $collection_key = 'recentScheduledReleaseRecords';
protected $codeCompilationConfigType = CodeCompilationConfig::class;
protected $codeCompilationConfigDataType = '';
/**
* @var string
*/
public $cronSchedule;
/**
* @var bool
*/
public $disabled;
/**
* @var string
*/
public $gitCommitish;
/**
* @var string
*/
public $name;
protected $recentScheduledReleaseRecordsType = ScheduledReleaseRecord::class;
protected $recentScheduledReleaseRecordsDataType = 'array';
/**
* @var string
*/
public $releaseCompilationResult;
/**
* @var string
*/
public $timeZone;
/**
* @param CodeCompilationConfig
*/
public function setCodeCompilationConfig(CodeCompilationConfig $codeCompilationConfig)
{
$this->codeCompilationConfig = $codeCompilationConfig;
}
/**
* @return CodeCompilationConfig
*/
public function getCodeCompilationConfig()
{
return $this->codeCompilationConfig;
}
/**
* @param string
*/
public function setCronSchedule($cronSchedule)
{
$this->cronSchedule = $cronSchedule;
}
/**
* @return string
*/
public function getCronSchedule()
{
return $this->cronSchedule;
}
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param string
*/
public function setGitCommitish($gitCommitish)
{
$this->gitCommitish = $gitCommitish;
}
/**
* @return string
*/
public function getGitCommitish()
{
return $this->gitCommitish;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ScheduledReleaseRecord[]
*/
public function setRecentScheduledReleaseRecords($recentScheduledReleaseRecords)
{
$this->recentScheduledReleaseRecords = $recentScheduledReleaseRecords;
}
/**
* @return ScheduledReleaseRecord[]
*/
public function getRecentScheduledReleaseRecords()
{
return $this->recentScheduledReleaseRecords;
}
/**
* @param string
*/
public function setReleaseCompilationResult($releaseCompilationResult)
{
$this->releaseCompilationResult = $releaseCompilationResult;
}
/**
* @return string
*/
public function getReleaseCompilationResult()
{
return $this->releaseCompilationResult;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReleaseConfig::class, 'Google_Service_Dataform_ReleaseConfig');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class RemoveDirectoryRequest extends \Google\Model
{
/**
* @var string
*/
public $path;
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveDirectoryRequest::class, 'Google_Service_Dataform_RemoveDirectoryRequest');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class RemoveFileRequest extends \Google\Model
{
/**
* @var string
*/
public $path;
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveFileRequest::class, 'Google_Service_Dataform_RemoveFileRequest');
@@ -0,0 +1,218 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Repository extends \Google\Model
{
/**
* @var string
*/
public $createTime;
protected $dataEncryptionStateType = DataEncryptionState::class;
protected $dataEncryptionStateDataType = '';
/**
* @var string
*/
public $displayName;
protected $gitRemoteSettingsType = GitRemoteSettings::class;
protected $gitRemoteSettingsDataType = '';
/**
* @var string
*/
public $kmsKeyName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $npmrcEnvironmentVariablesSecretVersion;
/**
* @var string
*/
public $serviceAccount;
/**
* @var bool
*/
public $setAuthenticatedUserAdmin;
protected $workspaceCompilationOverridesType = WorkspaceCompilationOverrides::class;
protected $workspaceCompilationOverridesDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param DataEncryptionState
*/
public function setDataEncryptionState(DataEncryptionState $dataEncryptionState)
{
$this->dataEncryptionState = $dataEncryptionState;
}
/**
* @return DataEncryptionState
*/
public function getDataEncryptionState()
{
return $this->dataEncryptionState;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param GitRemoteSettings
*/
public function setGitRemoteSettings(GitRemoteSettings $gitRemoteSettings)
{
$this->gitRemoteSettings = $gitRemoteSettings;
}
/**
* @return GitRemoteSettings
*/
public function getGitRemoteSettings()
{
return $this->gitRemoteSettings;
}
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNpmrcEnvironmentVariablesSecretVersion($npmrcEnvironmentVariablesSecretVersion)
{
$this->npmrcEnvironmentVariablesSecretVersion = $npmrcEnvironmentVariablesSecretVersion;
}
/**
* @return string
*/
public function getNpmrcEnvironmentVariablesSecretVersion()
{
return $this->npmrcEnvironmentVariablesSecretVersion;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param bool
*/
public function setSetAuthenticatedUserAdmin($setAuthenticatedUserAdmin)
{
$this->setAuthenticatedUserAdmin = $setAuthenticatedUserAdmin;
}
/**
* @return bool
*/
public function getSetAuthenticatedUserAdmin()
{
return $this->setAuthenticatedUserAdmin;
}
/**
* @param WorkspaceCompilationOverrides
*/
public function setWorkspaceCompilationOverrides(WorkspaceCompilationOverrides $workspaceCompilationOverrides)
{
$this->workspaceCompilationOverrides = $workspaceCompilationOverrides;
}
/**
* @return WorkspaceCompilationOverrides
*/
public function getWorkspaceCompilationOverrides()
{
return $this->workspaceCompilationOverrides;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Repository::class, 'Google_Service_Dataform_Repository');
@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ResetWorkspaceChangesRequest extends \Google\Collection
{
protected $collection_key = 'paths';
/**
* @var bool
*/
public $clean;
/**
* @var string[]
*/
public $paths;
/**
* @param bool
*/
public function setClean($clean)
{
$this->clean = $clean;
}
/**
* @return bool
*/
public function getClean()
{
return $this->clean;
}
/**
* @param string[]
*/
public function setPaths($paths)
{
$this->paths = $paths;
}
/**
* @return string[]
*/
public function getPaths()
{
return $this->paths;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResetWorkspaceChangesRequest::class, 'Google_Service_Dataform_ResetWorkspaceChangesRequest');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $dataformService = new Google\Service\Dataform(...);
* $projects = $dataformService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_Dataform_Resource_Projects');
@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform\Resource;
use Google\Service\Dataform\Config;
use Google\Service\Dataform\ListLocationsResponse;
use Google\Service\Dataform\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $dataformService = new Google\Service\Dataform(...);
* $locations = $dataformService->projects_locations;
* </code>
*/
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
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Get default config for a given project and location. (locations.getConfig)
*
* @param string $name Required. The config name.
* @param array $optParams Optional parameters.
* @return Config
* @throws \Google\Service\Exception
*/
public function getConfig($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getConfig', [$params], Config::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
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
/**
* Update default config for a given project and location. *Note:* This method
* does not fully implement AIP/134. In particular: 1. The wildcard entry (***)
* is treated as a bad request 2. When the *field_mask* is omitted, instead of
* only updating the set fields, the request is treated as a full update on all
* modifiable fields (locations.updateConfig)
*
* @param string $name Identifier. The config name.
* @param Config $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Optional. Specifies the fields to be updated in
* the config.
* @return Config
* @throws \Google\Service\Exception
*/
public function updateConfig($name, Config $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateConfig', [$params], Config::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_Dataform_Resource_ProjectsLocations');
@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform\Resource;
use Google\Service\Dataform\Policy;
use Google\Service\Dataform\SetIamPolicyRequest;
use Google\Service\Dataform\TestIamPermissionsRequest;
use Google\Service\Dataform\TestIamPermissionsResponse;
/**
* The "collections" collection of methods.
* Typical usage is:
* <code>
* $dataformService = new Google\Service\Dataform(...);
* $collections = $dataformService->projects_locations_collections;
* </code>
*/
class ProjectsLocationsCollections 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. (collections.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
* @throws \Google\Service\Exception
*/
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. (collections.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
* @throws \Google\Service\Exception
*/
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.
* (collections.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
* @throws \Google\Service\Exception
*/
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(ProjectsLocationsCollections::class, 'Google_Service_Dataform_Resource_ProjectsLocationsCollections');
@@ -0,0 +1,342 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform\Resource;
use Google\Service\Dataform\CommitRepositoryChangesRequest;
use Google\Service\Dataform\CommitRepositoryChangesResponse;
use Google\Service\Dataform\ComputeRepositoryAccessTokenStatusResponse;
use Google\Service\Dataform\DataformEmpty;
use Google\Service\Dataform\FetchRemoteBranchesResponse;
use Google\Service\Dataform\FetchRepositoryHistoryResponse;
use Google\Service\Dataform\ListRepositoriesResponse;
use Google\Service\Dataform\Policy;
use Google\Service\Dataform\QueryRepositoryDirectoryContentsResponse;
use Google\Service\Dataform\ReadRepositoryFileResponse;
use Google\Service\Dataform\Repository;
use Google\Service\Dataform\SetIamPolicyRequest;
use Google\Service\Dataform\TestIamPermissionsRequest;
use Google\Service\Dataform\TestIamPermissionsResponse;
/**
* The "repositories" collection of methods.
* Typical usage is:
* <code>
* $dataformService = new Google\Service\Dataform(...);
* $repositories = $dataformService->projects_locations_repositories;
* </code>
*/
class ProjectsLocationsRepositories extends \Google\Service\Resource
{
/**
* Applies a Git commit to a Repository. The Repository must not have a value
* for `git_remote_settings.url`. (repositories.commit)
*
* @param string $name Required. The repository's name.
* @param CommitRepositoryChangesRequest $postBody
* @param array $optParams Optional parameters.
* @return CommitRepositoryChangesResponse
* @throws \Google\Service\Exception
*/
public function commit($name, CommitRepositoryChangesRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('commit', [$params], CommitRepositoryChangesResponse::class);
}
/**
* Computes a Repository's Git access token status.
* (repositories.computeAccessTokenStatus)
*
* @param string $name Required. The repository's name.
* @param array $optParams Optional parameters.
* @return ComputeRepositoryAccessTokenStatusResponse
* @throws \Google\Service\Exception
*/
public function computeAccessTokenStatus($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('computeAccessTokenStatus', [$params], ComputeRepositoryAccessTokenStatusResponse::class);
}
/**
* Creates a new Repository in a given project and location.
* (repositories.create)
*
* @param string $parent Required. The location in which to create the
* repository. Must be in the format `projects/locations`.
* @param Repository $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string repositoryId Required. The ID to use for the repository,
* which will become the final component of the repository's resource name.
* @return Repository
* @throws \Google\Service\Exception
*/
public function create($parent, Repository $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Repository::class);
}
/**
* Deletes a single Repository. (repositories.delete)
*
* @param string $name Required. The repository's name.
* @param array $optParams Optional parameters.
*
* @opt_param bool force If set to true, any child resources of this repository
* will also be deleted. (Otherwise, the request will only succeed if the
* repository has no child resources.)
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], DataformEmpty::class);
}
/**
* Fetches a Repository's history of commits. The Repository must not have a
* value for `git_remote_settings.url`. (repositories.fetchHistory)
*
* @param string $name Required. The repository's name.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. Maximum number of commits to return. The
* server may return fewer items than requested. If unspecified, the server will
* pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `FetchRepositoryHistory`,
* with the exception of `page_size`, must match the call that provided the page
* token.
* @return FetchRepositoryHistoryResponse
* @throws \Google\Service\Exception
*/
public function fetchHistory($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('fetchHistory', [$params], FetchRepositoryHistoryResponse::class);
}
/**
* Fetches a Repository's remote branches. (repositories.fetchRemoteBranches)
*
* @param string $name Required. The repository's name.
* @param array $optParams Optional parameters.
* @return FetchRemoteBranchesResponse
* @throws \Google\Service\Exception
*/
public function fetchRemoteBranches($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('fetchRemoteBranches', [$params], FetchRemoteBranchesResponse::class);
}
/**
* Fetches a single Repository. (repositories.get)
*
* @param string $name Required. The repository's name.
* @param array $optParams Optional parameters.
* @return Repository
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Repository::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (repositories.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
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists Repositories in a given project and location.
* (repositories.listProjectsLocationsRepositories)
*
* @param string $parent Required. The location in which to list repositories.
* Must be in the format `projects/locations`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter for the returned list.
* @opt_param string orderBy Optional. This field only supports ordering by
* `name`. If unspecified, the server will choose the ordering. If specified,
* the default order is ascending for the `name` field.
* @opt_param int pageSize Optional. Maximum number of repositories to return.
* The server may return fewer items than requested. If unspecified, the server
* will pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `ListRepositories` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListRepositories`, with the
* exception of `page_size`, must match the call that provided the page token.
* @return ListRepositoriesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsRepositories($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListRepositoriesResponse::class);
}
/**
* Updates a single Repository. *Note:* This method does not fully implement
* AIP/134. In particular: 1. The wildcard entry (***) is treated as a bad
* request 2. When the *field_mask* is omitted, instead of only updating the set
* fields, the request is treated as a full update on all modifiable fields
* (repositories.patch)
*
* @param string $name Identifier. The repository's name.
* @param Repository $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Optional. Specifies the fields to be updated in
* the repository. If left unset, all fields will be updated.
* @return Repository
* @throws \Google\Service\Exception
*/
public function patch($name, Repository $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Repository::class);
}
/**
* Returns the contents of a given Repository directory. The Repository must not
* have a value for `git_remote_settings.url`.
* (repositories.queryDirectoryContents)
*
* @param string $name Required. The repository's name.
* @param array $optParams Optional parameters.
*
* @opt_param string commitSha Optional. The Commit SHA for the commit to query
* from. If unset, the directory will be queried from HEAD.
* @opt_param int pageSize Optional. Maximum number of paths to return. The
* server may return fewer items than requested. If unspecified, the server will
* pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `QueryRepositoryDirectoryContents` call. Provide this to retrieve the
* subsequent page. When paginating, all other parameters provided to
* `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must
* match the call that provided the page token.
* @opt_param string path Optional. The directory's full path including
* directory name, relative to root. If left unset, the root is used.
* @return QueryRepositoryDirectoryContentsResponse
* @throws \Google\Service\Exception
*/
public function queryDirectoryContents($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('queryDirectoryContents', [$params], QueryRepositoryDirectoryContentsResponse::class);
}
/**
* Returns the contents of a file (inside a Repository). The Repository must not
* have a value for `git_remote_settings.url`. (repositories.readFile)
*
* @param string $name Required. The repository's name.
* @param array $optParams Optional parameters.
*
* @opt_param string commitSha Optional. The commit SHA for the commit to read
* from. If unset, the file will be read from HEAD.
* @opt_param string path Required. Full file path to read including filename,
* from repository root.
* @return ReadRepositoryFileResponse
* @throws \Google\Service\Exception
*/
public function readFile($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('readFile', [$params], ReadRepositoryFileResponse::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (repositories.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
* @throws \Google\Service\Exception
*/
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.
* (repositories.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
* @throws \Google\Service\Exception
*/
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(ProjectsLocationsRepositories::class, 'Google_Service_Dataform_Resource_ProjectsLocationsRepositories');
@@ -0,0 +1,87 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform\Resource;
use Google\Service\Dataform\Policy;
use Google\Service\Dataform\SetIamPolicyRequest;
/**
* The "commentThreads" collection of methods.
* Typical usage is:
* <code>
* $dataformService = new Google\Service\Dataform(...);
* $commentThreads = $dataformService->projects_locations_repositories_commentThreads;
* </code>
*/
class ProjectsLocationsRepositoriesCommentThreads 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. (commentThreads.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
* @throws \Google\Service\Exception
*/
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. (commentThreads.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
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRepositoriesCommentThreads::class, 'Google_Service_Dataform_Resource_ProjectsLocationsRepositoriesCommentThreads');
@@ -0,0 +1,87 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform\Resource;
use Google\Service\Dataform\Policy;
use Google\Service\Dataform\SetIamPolicyRequest;
/**
* The "comments" collection of methods.
* Typical usage is:
* <code>
* $dataformService = new Google\Service\Dataform(...);
* $comments = $dataformService->projects_locations_repositories_commentThreads_comments;
* </code>
*/
class ProjectsLocationsRepositoriesCommentThreadsComments 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. (comments.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
* @throws \Google\Service\Exception
*/
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. (comments.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
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRepositoriesCommentThreadsComments::class, 'Google_Service_Dataform_Resource_ProjectsLocationsRepositoriesCommentThreadsComments');
@@ -0,0 +1,123 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform\Resource;
use Google\Service\Dataform\CompilationResult;
use Google\Service\Dataform\ListCompilationResultsResponse;
use Google\Service\Dataform\QueryCompilationResultActionsResponse;
/**
* The "compilationResults" collection of methods.
* Typical usage is:
* <code>
* $dataformService = new Google\Service\Dataform(...);
* $compilationResults = $dataformService->projects_locations_repositories_compilationResults;
* </code>
*/
class ProjectsLocationsRepositoriesCompilationResults extends \Google\Service\Resource
{
/**
* Creates a new CompilationResult in a given project and location.
* (compilationResults.create)
*
* @param string $parent Required. The repository in which to create the
* compilation result. Must be in the format `projects/locations/repositories`.
* @param CompilationResult $postBody
* @param array $optParams Optional parameters.
* @return CompilationResult
* @throws \Google\Service\Exception
*/
public function create($parent, CompilationResult $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], CompilationResult::class);
}
/**
* Fetches a single CompilationResult. (compilationResults.get)
*
* @param string $name Required. The compilation result's name.
* @param array $optParams Optional parameters.
* @return CompilationResult
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], CompilationResult::class);
}
/**
* Lists CompilationResults in a given Repository.
* (compilationResults.listProjectsLocationsRepositoriesCompilationResults)
*
* @param string $parent Required. The repository in which to list compilation
* results. Must be in the format `projects/locations/repositories`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter for the returned list.
* @opt_param string orderBy Optional. This field only supports ordering by
* `name` and `create_time`. If unspecified, the server will choose the
* ordering. If specified, the default order is ascending for the `name` field.
* @opt_param int pageSize Optional. Maximum number of compilation results to
* return. The server may return fewer items than requested. If unspecified, the
* server will pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `ListCompilationResults` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListCompilationResults`,
* with the exception of `page_size`, must match the call that provided the page
* token.
* @return ListCompilationResultsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsRepositoriesCompilationResults($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListCompilationResultsResponse::class);
}
/**
* Returns CompilationResultActions in a given CompilationResult.
* (compilationResults.query)
*
* @param string $name Required. The compilation result's name.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Optional filter for the returned list.
* Filtering is only currently supported on the `file_path` field.
* @opt_param int pageSize Optional. Maximum number of compilation results to
* return. The server may return fewer items than requested. If unspecified, the
* server will pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `QueryCompilationResultActions` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `QueryCompilationResultActions`, with the exception of `page_size`, must
* match the call that provided the page token.
* @return QueryCompilationResultActionsResponse
* @throws \Google\Service\Exception
*/
public function query($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], QueryCompilationResultActionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRepositoriesCompilationResults::class, 'Google_Service_Dataform_Resource_ProjectsLocationsRepositoriesCompilationResults');
@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform\Resource;
use Google\Service\Dataform\DataformEmpty;
use Google\Service\Dataform\ListReleaseConfigsResponse;
use Google\Service\Dataform\ReleaseConfig;
/**
* The "releaseConfigs" collection of methods.
* Typical usage is:
* <code>
* $dataformService = new Google\Service\Dataform(...);
* $releaseConfigs = $dataformService->projects_locations_repositories_releaseConfigs;
* </code>
*/
class ProjectsLocationsRepositoriesReleaseConfigs extends \Google\Service\Resource
{
/**
* Creates a new ReleaseConfig in a given Repository. (releaseConfigs.create)
*
* @param string $parent Required. The repository in which to create the release
* config. Must be in the format `projects/locations/repositories`.
* @param ReleaseConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string releaseConfigId Required. The ID to use for the release
* config, which will become the final component of the release config's
* resource name.
* @return ReleaseConfig
* @throws \Google\Service\Exception
*/
public function create($parent, ReleaseConfig $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], ReleaseConfig::class);
}
/**
* Deletes a single ReleaseConfig. (releaseConfigs.delete)
*
* @param string $name Required. The release config's name.
* @param array $optParams Optional parameters.
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], DataformEmpty::class);
}
/**
* Fetches a single ReleaseConfig. (releaseConfigs.get)
*
* @param string $name Required. The release config's name.
* @param array $optParams Optional parameters.
* @return ReleaseConfig
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ReleaseConfig::class);
}
/**
* Lists ReleaseConfigs in a given Repository.
* (releaseConfigs.listProjectsLocationsRepositoriesReleaseConfigs)
*
* @param string $parent Required. The repository in which to list release
* configs. Must be in the format `projects/locations/repositories`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. Maximum number of release configs to
* return. The server may return fewer items than requested. If unspecified, the
* server will pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListReleaseConfigs`, with the
* exception of `page_size`, must match the call that provided the page token.
* @return ListReleaseConfigsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsRepositoriesReleaseConfigs($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListReleaseConfigsResponse::class);
}
/**
* Updates a single ReleaseConfig. *Note:* This method does not fully implement
* AIP/134. In particular: 1. The wildcard entry (***) is treated as a bad
* request 2. When the *field_mask* is omitted, instead of only updating the set
* fields, the request is treated as a full update on all modifiable fields
* (releaseConfigs.patch)
*
* @param string $name Identifier. The release config's name.
* @param ReleaseConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Optional. Specifies the fields to be updated in
* the release config. If left unset, all fields will be updated.
* @return ReleaseConfig
* @throws \Google\Service\Exception
*/
public function patch($name, ReleaseConfig $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], ReleaseConfig::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRepositoriesReleaseConfigs::class, 'Google_Service_Dataform_Resource_ProjectsLocationsRepositoriesReleaseConfigs');
@@ -0,0 +1,132 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform\Resource;
use Google\Service\Dataform\DataformEmpty;
use Google\Service\Dataform\ListWorkflowConfigsResponse;
use Google\Service\Dataform\WorkflowConfig;
/**
* The "workflowConfigs" collection of methods.
* Typical usage is:
* <code>
* $dataformService = new Google\Service\Dataform(...);
* $workflowConfigs = $dataformService->projects_locations_repositories_workflowConfigs;
* </code>
*/
class ProjectsLocationsRepositoriesWorkflowConfigs extends \Google\Service\Resource
{
/**
* Creates a new WorkflowConfig in a given Repository. (workflowConfigs.create)
*
* @param string $parent Required. The repository in which to create the
* workflow config. Must be in the format `projects/locations/repositories`.
* @param WorkflowConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string workflowConfigId Required. The ID to use for the workflow
* config, which will become the final component of the workflow config's
* resource name.
* @return WorkflowConfig
* @throws \Google\Service\Exception
*/
public function create($parent, WorkflowConfig $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], WorkflowConfig::class);
}
/**
* Deletes a single WorkflowConfig. (workflowConfigs.delete)
*
* @param string $name Required. The workflow config's name.
* @param array $optParams Optional parameters.
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], DataformEmpty::class);
}
/**
* Fetches a single WorkflowConfig. (workflowConfigs.get)
*
* @param string $name Required. The workflow config's name.
* @param array $optParams Optional parameters.
* @return WorkflowConfig
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], WorkflowConfig::class);
}
/**
* Lists WorkflowConfigs in a given Repository.
* (workflowConfigs.listProjectsLocationsRepositoriesWorkflowConfigs)
*
* @param string $parent Required. The repository in which to list workflow
* configs. Must be in the format `projects/locations/repositories`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. Maximum number of workflow configs to
* return. The server may return fewer items than requested. If unspecified, the
* server will pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListWorkflowConfigs`, with
* the exception of `page_size`, must match the call that provided the page
* token.
* @return ListWorkflowConfigsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsRepositoriesWorkflowConfigs($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListWorkflowConfigsResponse::class);
}
/**
* Updates a single WorkflowConfig. *Note:* This method does not fully implement
* AIP/134. In particular: 1. The wildcard entry (***) is treated as a bad
* request 2. When the *field_mask* is omitted, instead of only updating the set
* fields, the request is treated as a full update on all modifiable fields
* (workflowConfigs.patch)
*
* @param string $name Identifier. The workflow config's name.
* @param WorkflowConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Optional. Specifies the fields to be updated in
* the workflow config. If left unset, all fields will be updated.
* @return WorkflowConfig
* @throws \Google\Service\Exception
*/
public function patch($name, WorkflowConfig $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], WorkflowConfig::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRepositoriesWorkflowConfigs::class, 'Google_Service_Dataform_Resource_ProjectsLocationsRepositoriesWorkflowConfigs');
@@ -0,0 +1,153 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform\Resource;
use Google\Service\Dataform\CancelWorkflowInvocationRequest;
use Google\Service\Dataform\DataformEmpty;
use Google\Service\Dataform\ListWorkflowInvocationsResponse;
use Google\Service\Dataform\QueryWorkflowInvocationActionsResponse;
use Google\Service\Dataform\WorkflowInvocation;
/**
* The "workflowInvocations" collection of methods.
* Typical usage is:
* <code>
* $dataformService = new Google\Service\Dataform(...);
* $workflowInvocations = $dataformService->projects_locations_repositories_workflowInvocations;
* </code>
*/
class ProjectsLocationsRepositoriesWorkflowInvocations extends \Google\Service\Resource
{
/**
* Requests cancellation of a running WorkflowInvocation.
* (workflowInvocations.cancel)
*
* @param string $name Required. The workflow invocation resource's name.
* @param CancelWorkflowInvocationRequest $postBody
* @param array $optParams Optional parameters.
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelWorkflowInvocationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], DataformEmpty::class);
}
/**
* Creates a new WorkflowInvocation in a given Repository.
* (workflowInvocations.create)
*
* @param string $parent Required. The repository in which to create the
* workflow invocation. Must be in the format `projects/locations/repositories`.
* @param WorkflowInvocation $postBody
* @param array $optParams Optional parameters.
* @return WorkflowInvocation
* @throws \Google\Service\Exception
*/
public function create($parent, WorkflowInvocation $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], WorkflowInvocation::class);
}
/**
* Deletes a single WorkflowInvocation. (workflowInvocations.delete)
*
* @param string $name Required. The workflow invocation resource's name.
* @param array $optParams Optional parameters.
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], DataformEmpty::class);
}
/**
* Fetches a single WorkflowInvocation. (workflowInvocations.get)
*
* @param string $name Required. The workflow invocation resource's name.
* @param array $optParams Optional parameters.
* @return WorkflowInvocation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], WorkflowInvocation::class);
}
/**
* Lists WorkflowInvocations in a given Repository.
* (workflowInvocations.listProjectsLocationsRepositoriesWorkflowInvocations)
*
* @param string $parent Required. The parent resource of the WorkflowInvocation
* type. Must be in the format `projects/locations/repositories`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter for the returned list.
* @opt_param string orderBy Optional. This field only supports ordering by
* `name`. If unspecified, the server will choose the ordering. If specified,
* the default order is ascending for the `name` field.
* @opt_param int pageSize Optional. Maximum number of workflow invocations to
* return. The server may return fewer items than requested. If unspecified, the
* server will pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListWorkflowInvocations`,
* with the exception of `page_size`, must match the call that provided the page
* token.
* @return ListWorkflowInvocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsRepositoriesWorkflowInvocations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListWorkflowInvocationsResponse::class);
}
/**
* Returns WorkflowInvocationActions in a given WorkflowInvocation.
* (workflowInvocations.query)
*
* @param string $name Required. The workflow invocation's name.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. Maximum number of workflow invocations to
* return. The server may return fewer items than requested. If unspecified, the
* server will pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `QueryWorkflowInvocationActions` call. Provide this to retrieve the
* subsequent page. When paginating, all other parameters provided to
* `QueryWorkflowInvocationActions`, with the exception of `page_size`, must
* match the call that provided the page token.
* @return QueryWorkflowInvocationActionsResponse
* @throws \Google\Service\Exception
*/
public function query($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], QueryWorkflowInvocationActionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRepositoriesWorkflowInvocations::class, 'Google_Service_Dataform_Resource_ProjectsLocationsRepositoriesWorkflowInvocations');
@@ -0,0 +1,507 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform\Resource;
use Google\Service\Dataform\CommitWorkspaceChangesRequest;
use Google\Service\Dataform\DataformEmpty;
use Google\Service\Dataform\FetchFileDiffResponse;
use Google\Service\Dataform\FetchFileGitStatusesResponse;
use Google\Service\Dataform\FetchGitAheadBehindResponse;
use Google\Service\Dataform\InstallNpmPackagesRequest;
use Google\Service\Dataform\InstallNpmPackagesResponse;
use Google\Service\Dataform\ListWorkspacesResponse;
use Google\Service\Dataform\MakeDirectoryRequest;
use Google\Service\Dataform\MakeDirectoryResponse;
use Google\Service\Dataform\MoveDirectoryRequest;
use Google\Service\Dataform\MoveDirectoryResponse;
use Google\Service\Dataform\MoveFileRequest;
use Google\Service\Dataform\MoveFileResponse;
use Google\Service\Dataform\Policy;
use Google\Service\Dataform\PullGitCommitsRequest;
use Google\Service\Dataform\PushGitCommitsRequest;
use Google\Service\Dataform\QueryDirectoryContentsResponse;
use Google\Service\Dataform\ReadFileResponse;
use Google\Service\Dataform\RemoveDirectoryRequest;
use Google\Service\Dataform\RemoveFileRequest;
use Google\Service\Dataform\ResetWorkspaceChangesRequest;
use Google\Service\Dataform\SearchFilesResponse;
use Google\Service\Dataform\SetIamPolicyRequest;
use Google\Service\Dataform\TestIamPermissionsRequest;
use Google\Service\Dataform\TestIamPermissionsResponse;
use Google\Service\Dataform\Workspace;
use Google\Service\Dataform\WriteFileRequest;
use Google\Service\Dataform\WriteFileResponse;
/**
* The "workspaces" collection of methods.
* Typical usage is:
* <code>
* $dataformService = new Google\Service\Dataform(...);
* $workspaces = $dataformService->projects_locations_repositories_workspaces;
* </code>
*/
class ProjectsLocationsRepositoriesWorkspaces extends \Google\Service\Resource
{
/**
* Applies a Git commit for uncommitted files in a Workspace.
* (workspaces.commit)
*
* @param string $name Required. The workspace's name.
* @param CommitWorkspaceChangesRequest $postBody
* @param array $optParams Optional parameters.
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function commit($name, CommitWorkspaceChangesRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('commit', [$params], DataformEmpty::class);
}
/**
* Creates a new Workspace in a given Repository. (workspaces.create)
*
* @param string $parent Required. The repository in which to create the
* workspace. Must be in the format `projects/locations/repositories`.
* @param Workspace $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string workspaceId Required. The ID to use for the workspace,
* which will become the final component of the workspace's resource name.
* @return Workspace
* @throws \Google\Service\Exception
*/
public function create($parent, Workspace $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Workspace::class);
}
/**
* Deletes a single Workspace. (workspaces.delete)
*
* @param string $name Required. The workspace resource's name.
* @param array $optParams Optional parameters.
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], DataformEmpty::class);
}
/**
* Fetches Git diff for an uncommitted file in a Workspace.
* (workspaces.fetchFileDiff)
*
* @param string $workspace Required. The workspace's name.
* @param array $optParams Optional parameters.
*
* @opt_param string path Required. The file's full path including filename,
* relative to the workspace root.
* @return FetchFileDiffResponse
* @throws \Google\Service\Exception
*/
public function fetchFileDiff($workspace, $optParams = [])
{
$params = ['workspace' => $workspace];
$params = array_merge($params, $optParams);
return $this->call('fetchFileDiff', [$params], FetchFileDiffResponse::class);
}
/**
* Fetches Git statuses for the files in a Workspace.
* (workspaces.fetchFileGitStatuses)
*
* @param string $name Required. The workspace's name.
* @param array $optParams Optional parameters.
* @return FetchFileGitStatusesResponse
* @throws \Google\Service\Exception
*/
public function fetchFileGitStatuses($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('fetchFileGitStatuses', [$params], FetchFileGitStatusesResponse::class);
}
/**
* Fetches Git ahead/behind against a remote branch.
* (workspaces.fetchGitAheadBehind)
*
* @param string $name Required. The workspace's name.
* @param array $optParams Optional parameters.
*
* @opt_param string remoteBranch Optional. The name of the branch in the Git
* remote against which this workspace should be compared. If left unset, the
* repository's default branch name will be used.
* @return FetchGitAheadBehindResponse
* @throws \Google\Service\Exception
*/
public function fetchGitAheadBehind($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('fetchGitAheadBehind', [$params], FetchGitAheadBehindResponse::class);
}
/**
* Fetches a single Workspace. (workspaces.get)
*
* @param string $name Required. The workspace's name.
* @param array $optParams Optional parameters.
* @return Workspace
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Workspace::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (workspaces.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
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Installs dependency NPM packages (inside a Workspace).
* (workspaces.installNpmPackages)
*
* @param string $workspace Required. The workspace's name.
* @param InstallNpmPackagesRequest $postBody
* @param array $optParams Optional parameters.
* @return InstallNpmPackagesResponse
* @throws \Google\Service\Exception
*/
public function installNpmPackages($workspace, InstallNpmPackagesRequest $postBody, $optParams = [])
{
$params = ['workspace' => $workspace, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('installNpmPackages', [$params], InstallNpmPackagesResponse::class);
}
/**
* Lists Workspaces in a given Repository.
* (workspaces.listProjectsLocationsRepositoriesWorkspaces)
*
* @param string $parent Required. The repository in which to list workspaces.
* Must be in the format `projects/locations/repositories`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter for the returned list.
* @opt_param string orderBy Optional. This field only supports ordering by
* `name`. If unspecified, the server will choose the ordering. If specified,
* the default order is ascending for the `name` field.
* @opt_param int pageSize Optional. Maximum number of workspaces to return. The
* server may return fewer items than requested. If unspecified, the server will
* pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `ListWorkspaces` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListWorkspaces`, with the
* exception of `page_size`, must match the call that provided the page token.
* @return ListWorkspacesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsRepositoriesWorkspaces($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListWorkspacesResponse::class);
}
/**
* Creates a directory inside a Workspace. (workspaces.makeDirectory)
*
* @param string $workspace Required. The workspace's name.
* @param MakeDirectoryRequest $postBody
* @param array $optParams Optional parameters.
* @return MakeDirectoryResponse
* @throws \Google\Service\Exception
*/
public function makeDirectory($workspace, MakeDirectoryRequest $postBody, $optParams = [])
{
$params = ['workspace' => $workspace, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('makeDirectory', [$params], MakeDirectoryResponse::class);
}
/**
* Moves a directory (inside a Workspace), and all of its contents, to a new
* location. (workspaces.moveDirectory)
*
* @param string $workspace Required. The workspace's name.
* @param MoveDirectoryRequest $postBody
* @param array $optParams Optional parameters.
* @return MoveDirectoryResponse
* @throws \Google\Service\Exception
*/
public function moveDirectory($workspace, MoveDirectoryRequest $postBody, $optParams = [])
{
$params = ['workspace' => $workspace, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('moveDirectory', [$params], MoveDirectoryResponse::class);
}
/**
* Moves a file (inside a Workspace) to a new location. (workspaces.moveFile)
*
* @param string $workspace Required. The workspace's name.
* @param MoveFileRequest $postBody
* @param array $optParams Optional parameters.
* @return MoveFileResponse
* @throws \Google\Service\Exception
*/
public function moveFile($workspace, MoveFileRequest $postBody, $optParams = [])
{
$params = ['workspace' => $workspace, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('moveFile', [$params], MoveFileResponse::class);
}
/**
* Pulls Git commits from the Repository's remote into a Workspace.
* (workspaces.pull)
*
* @param string $name Required. The workspace's name.
* @param PullGitCommitsRequest $postBody
* @param array $optParams Optional parameters.
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function pull($name, PullGitCommitsRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('pull', [$params], DataformEmpty::class);
}
/**
* Pushes Git commits from a Workspace to the Repository's remote.
* (workspaces.push)
*
* @param string $name Required. The workspace's name.
* @param PushGitCommitsRequest $postBody
* @param array $optParams Optional parameters.
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function push($name, PushGitCommitsRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('push', [$params], DataformEmpty::class);
}
/**
* Returns the contents of a given Workspace directory.
* (workspaces.queryDirectoryContents)
*
* @param string $workspace Required. The workspace's name.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. Maximum number of paths to return. The
* server may return fewer items than requested. If unspecified, the server will
* pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `QueryDirectoryContents` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `QueryDirectoryContents`,
* with the exception of `page_size`, must match the call that provided the page
* token.
* @opt_param string path Optional. The directory's full path including
* directory name, relative to the workspace root. If left unset, the workspace
* root is used.
* @return QueryDirectoryContentsResponse
* @throws \Google\Service\Exception
*/
public function queryDirectoryContents($workspace, $optParams = [])
{
$params = ['workspace' => $workspace];
$params = array_merge($params, $optParams);
return $this->call('queryDirectoryContents', [$params], QueryDirectoryContentsResponse::class);
}
/**
* Returns the contents of a file (inside a Workspace). (workspaces.readFile)
*
* @param string $workspace Required. The workspace's name.
* @param array $optParams Optional parameters.
*
* @opt_param string path Required. The file's full path including filename,
* relative to the workspace root.
* @opt_param string revision Optional. The Git revision of the file to return.
* If left empty, the current contents of `path` will be returned.
* @return ReadFileResponse
* @throws \Google\Service\Exception
*/
public function readFile($workspace, $optParams = [])
{
$params = ['workspace' => $workspace];
$params = array_merge($params, $optParams);
return $this->call('readFile', [$params], ReadFileResponse::class);
}
/**
* Deletes a directory (inside a Workspace) and all of its contents.
* (workspaces.removeDirectory)
*
* @param string $workspace Required. The workspace's name.
* @param RemoveDirectoryRequest $postBody
* @param array $optParams Optional parameters.
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function removeDirectory($workspace, RemoveDirectoryRequest $postBody, $optParams = [])
{
$params = ['workspace' => $workspace, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeDirectory', [$params], DataformEmpty::class);
}
/**
* Deletes a file (inside a Workspace). (workspaces.removeFile)
*
* @param string $workspace Required. The workspace's name.
* @param RemoveFileRequest $postBody
* @param array $optParams Optional parameters.
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function removeFile($workspace, RemoveFileRequest $postBody, $optParams = [])
{
$params = ['workspace' => $workspace, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeFile', [$params], DataformEmpty::class);
}
/**
* Performs a Git reset for uncommitted files in a Workspace. (workspaces.reset)
*
* @param string $name Required. The workspace's name.
* @param ResetWorkspaceChangesRequest $postBody
* @param array $optParams Optional parameters.
* @return DataformEmpty
* @throws \Google\Service\Exception
*/
public function reset($name, ResetWorkspaceChangesRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('reset', [$params], DataformEmpty::class);
}
/**
* Finds the contents of a given Workspace directory by filter.
* (workspaces.searchFiles)
*
* @param string $workspace Required. The workspace's name.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Optional filter for the returned list in
* filtering format. Filtering is only currently supported on the `path` field.
* See https://google.aip.dev/160 for details.
* @opt_param int pageSize Optional. Maximum number of search results to return.
* The server may return fewer items than requested. If unspecified, the server
* will pick an appropriate default.
* @opt_param string pageToken Optional. Page token received from a previous
* `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `SearchFilesRequest`, with the
* exception of `page_size`, must match the call that provided the page token.
* @return SearchFilesResponse
* @throws \Google\Service\Exception
*/
public function searchFiles($workspace, $optParams = [])
{
$params = ['workspace' => $workspace];
$params = array_merge($params, $optParams);
return $this->call('searchFiles', [$params], SearchFilesResponse::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (workspaces.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
* @throws \Google\Service\Exception
*/
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.
* (workspaces.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
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
/**
* Writes to a file (inside a Workspace). (workspaces.writeFile)
*
* @param string $workspace Required. The workspace's name.
* @param WriteFileRequest $postBody
* @param array $optParams Optional parameters.
* @return WriteFileResponse
* @throws \Google\Service\Exception
*/
public function writeFile($workspace, WriteFileRequest $postBody, $optParams = [])
{
$params = ['workspace' => $workspace, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('writeFile', [$params], WriteFileResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRepositoriesWorkspaces::class, 'Google_Service_Dataform_Resource_ProjectsLocationsRepositoriesWorkspaces');
@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ScheduledExecutionRecord extends \Google\Model
{
protected $errorStatusType = Status::class;
protected $errorStatusDataType = '';
/**
* @var string
*/
public $executionTime;
/**
* @var string
*/
public $workflowInvocation;
/**
* @param Status
*/
public function setErrorStatus(Status $errorStatus)
{
$this->errorStatus = $errorStatus;
}
/**
* @return Status
*/
public function getErrorStatus()
{
return $this->errorStatus;
}
/**
* @param string
*/
public function setExecutionTime($executionTime)
{
$this->executionTime = $executionTime;
}
/**
* @return string
*/
public function getExecutionTime()
{
return $this->executionTime;
}
/**
* @param string
*/
public function setWorkflowInvocation($workflowInvocation)
{
$this->workflowInvocation = $workflowInvocation;
}
/**
* @return string
*/
public function getWorkflowInvocation()
{
return $this->workflowInvocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ScheduledExecutionRecord::class, 'Google_Service_Dataform_ScheduledExecutionRecord');
@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class ScheduledReleaseRecord extends \Google\Model
{
/**
* @var string
*/
public $compilationResult;
protected $errorStatusType = Status::class;
protected $errorStatusDataType = '';
/**
* @var string
*/
public $releaseTime;
/**
* @param string
*/
public function setCompilationResult($compilationResult)
{
$this->compilationResult = $compilationResult;
}
/**
* @return string
*/
public function getCompilationResult()
{
return $this->compilationResult;
}
/**
* @param Status
*/
public function setErrorStatus(Status $errorStatus)
{
$this->errorStatus = $errorStatus;
}
/**
* @return Status
*/
public function getErrorStatus()
{
return $this->errorStatus;
}
/**
* @param string
*/
public function setReleaseTime($releaseTime)
{
$this->releaseTime = $releaseTime;
}
/**
* @return string
*/
public function getReleaseTime()
{
return $this->releaseTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ScheduledReleaseRecord::class, 'Google_Service_Dataform_ScheduledReleaseRecord');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class SearchFilesResponse extends \Google\Collection
{
protected $collection_key = 'searchResults';
/**
* @var string
*/
public $nextPageToken;
protected $searchResultsType = SearchResult::class;
protected $searchResultsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param SearchResult[]
*/
public function setSearchResults($searchResults)
{
$this->searchResults = $searchResults;
}
/**
* @return SearchResult[]
*/
public function getSearchResults()
{
return $this->searchResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchFilesResponse::class, 'Google_Service_Dataform_SearchFilesResponse');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class SearchResult extends \Google\Model
{
protected $directoryType = DirectorySearchResult::class;
protected $directoryDataType = '';
protected $fileType = FileSearchResult::class;
protected $fileDataType = '';
/**
* @param DirectorySearchResult
*/
public function setDirectory(DirectorySearchResult $directory)
{
$this->directory = $directory;
}
/**
* @return DirectorySearchResult
*/
public function getDirectory()
{
return $this->directory;
}
/**
* @param FileSearchResult
*/
public function setFile(FileSearchResult $file)
{
$this->file = $file;
}
/**
* @return FileSearchResult
*/
public function getFile()
{
return $this->file;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchResult::class, 'Google_Service_Dataform_SearchResult');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class SetIamPolicyRequest extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetIamPolicyRequest::class, 'Google_Service_Dataform_SetIamPolicyRequest');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class SshAuthenticationConfig extends \Google\Model
{
/**
* @var string
*/
public $hostPublicKey;
/**
* @var string
*/
public $userPrivateKeySecretVersion;
/**
* @param string
*/
public function setHostPublicKey($hostPublicKey)
{
$this->hostPublicKey = $hostPublicKey;
}
/**
* @return string
*/
public function getHostPublicKey()
{
return $this->hostPublicKey;
}
/**
* @param string
*/
public function setUserPrivateKeySecretVersion($userPrivateKeySecretVersion)
{
$this->userPrivateKeySecretVersion = $userPrivateKeySecretVersion;
}
/**
* @return string
*/
public function getUserPrivateKeySecretVersion()
{
return $this->userPrivateKeySecretVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SshAuthenticationConfig::class, 'Google_Service_Dataform_SshAuthenticationConfig');
@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @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(Status::class, 'Google_Service_Dataform_Status');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Target extends \Google\Model
{
/**
* @var string
*/
public $database;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $schema;
/**
* @param string
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSchema($schema)
{
$this->schema = $schema;
}
/**
* @return string
*/
public function getSchema()
{
return $this->schema;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Target::class, 'Google_Service_Dataform_Target');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class TestIamPermissionsRequest extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsRequest::class, 'Google_Service_Dataform_TestIamPermissionsRequest');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class TestIamPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsResponse::class, 'Google_Service_Dataform_TestIamPermissionsResponse');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class UncommittedFileChange extends \Google\Model
{
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UncommittedFileChange::class, 'Google_Service_Dataform_UncommittedFileChange');
@@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class WorkflowConfig extends \Google\Collection
{
protected $collection_key = 'recentScheduledExecutionRecords';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $cronSchedule;
protected $invocationConfigType = InvocationConfig::class;
protected $invocationConfigDataType = '';
/**
* @var string
*/
public $name;
protected $recentScheduledExecutionRecordsType = ScheduledExecutionRecord::class;
protected $recentScheduledExecutionRecordsDataType = 'array';
/**
* @var string
*/
public $releaseConfig;
/**
* @var string
*/
public $timeZone;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setCronSchedule($cronSchedule)
{
$this->cronSchedule = $cronSchedule;
}
/**
* @return string
*/
public function getCronSchedule()
{
return $this->cronSchedule;
}
/**
* @param InvocationConfig
*/
public function setInvocationConfig(InvocationConfig $invocationConfig)
{
$this->invocationConfig = $invocationConfig;
}
/**
* @return InvocationConfig
*/
public function getInvocationConfig()
{
return $this->invocationConfig;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ScheduledExecutionRecord[]
*/
public function setRecentScheduledExecutionRecords($recentScheduledExecutionRecords)
{
$this->recentScheduledExecutionRecords = $recentScheduledExecutionRecords;
}
/**
* @return ScheduledExecutionRecord[]
*/
public function getRecentScheduledExecutionRecords()
{
return $this->recentScheduledExecutionRecords;
}
/**
* @param string
*/
public function setReleaseConfig($releaseConfig)
{
$this->releaseConfig = $releaseConfig;
}
/**
* @return string
*/
public function getReleaseConfig()
{
return $this->releaseConfig;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkflowConfig::class, 'Google_Service_Dataform_WorkflowConfig');
@@ -0,0 +1,164 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class WorkflowInvocation extends \Google\Model
{
/**
* @var string
*/
public $compilationResult;
protected $dataEncryptionStateType = DataEncryptionState::class;
protected $dataEncryptionStateDataType = '';
protected $invocationConfigType = InvocationConfig::class;
protected $invocationConfigDataType = '';
protected $invocationTimingType = Interval::class;
protected $invocationTimingDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $resolvedCompilationResult;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $workflowConfig;
/**
* @param string
*/
public function setCompilationResult($compilationResult)
{
$this->compilationResult = $compilationResult;
}
/**
* @return string
*/
public function getCompilationResult()
{
return $this->compilationResult;
}
/**
* @param DataEncryptionState
*/
public function setDataEncryptionState(DataEncryptionState $dataEncryptionState)
{
$this->dataEncryptionState = $dataEncryptionState;
}
/**
* @return DataEncryptionState
*/
public function getDataEncryptionState()
{
return $this->dataEncryptionState;
}
/**
* @param InvocationConfig
*/
public function setInvocationConfig(InvocationConfig $invocationConfig)
{
$this->invocationConfig = $invocationConfig;
}
/**
* @return InvocationConfig
*/
public function getInvocationConfig()
{
return $this->invocationConfig;
}
/**
* @param Interval
*/
public function setInvocationTiming(Interval $invocationTiming)
{
$this->invocationTiming = $invocationTiming;
}
/**
* @return Interval
*/
public function getInvocationTiming()
{
return $this->invocationTiming;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setResolvedCompilationResult($resolvedCompilationResult)
{
$this->resolvedCompilationResult = $resolvedCompilationResult;
}
/**
* @return string
*/
public function getResolvedCompilationResult()
{
return $this->resolvedCompilationResult;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setWorkflowConfig($workflowConfig)
{
$this->workflowConfig = $workflowConfig;
}
/**
* @return string
*/
public function getWorkflowConfig()
{
return $this->workflowConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkflowInvocation::class, 'Google_Service_Dataform_WorkflowInvocation');
@@ -0,0 +1,142 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class WorkflowInvocationAction extends \Google\Model
{
protected $bigqueryActionType = BigQueryAction::class;
protected $bigqueryActionDataType = '';
protected $canonicalTargetType = Target::class;
protected $canonicalTargetDataType = '';
/**
* @var string
*/
public $failureReason;
protected $invocationTimingType = Interval::class;
protected $invocationTimingDataType = '';
protected $notebookActionType = NotebookAction::class;
protected $notebookActionDataType = '';
/**
* @var string
*/
public $state;
protected $targetType = Target::class;
protected $targetDataType = '';
/**
* @param BigQueryAction
*/
public function setBigqueryAction(BigQueryAction $bigqueryAction)
{
$this->bigqueryAction = $bigqueryAction;
}
/**
* @return BigQueryAction
*/
public function getBigqueryAction()
{
return $this->bigqueryAction;
}
/**
* @param Target
*/
public function setCanonicalTarget(Target $canonicalTarget)
{
$this->canonicalTarget = $canonicalTarget;
}
/**
* @return Target
*/
public function getCanonicalTarget()
{
return $this->canonicalTarget;
}
/**
* @param string
*/
public function setFailureReason($failureReason)
{
$this->failureReason = $failureReason;
}
/**
* @return string
*/
public function getFailureReason()
{
return $this->failureReason;
}
/**
* @param Interval
*/
public function setInvocationTiming(Interval $invocationTiming)
{
$this->invocationTiming = $invocationTiming;
}
/**
* @return Interval
*/
public function getInvocationTiming()
{
return $this->invocationTiming;
}
/**
* @param NotebookAction
*/
public function setNotebookAction(NotebookAction $notebookAction)
{
$this->notebookAction = $notebookAction;
}
/**
* @return NotebookAction
*/
public function getNotebookAction()
{
return $this->notebookAction;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param Target
*/
public function setTarget(Target $target)
{
$this->target = $target;
}
/**
* @return Target
*/
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkflowInvocationAction::class, 'Google_Service_Dataform_WorkflowInvocationAction');
@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class Workspace extends \Google\Model
{
/**
* @var string
*/
public $createTime;
protected $dataEncryptionStateType = DataEncryptionState::class;
protected $dataEncryptionStateDataType = '';
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param DataEncryptionState
*/
public function setDataEncryptionState(DataEncryptionState $dataEncryptionState)
{
$this->dataEncryptionState = $dataEncryptionState;
}
/**
* @return DataEncryptionState
*/
public function getDataEncryptionState()
{
return $this->dataEncryptionState;
}
/**
* @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(Workspace::class, 'Google_Service_Dataform_Workspace');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataform;
class WorkspaceCompilationOverrides extends \Google\Model
{
/**
* @var string
*/
public $defaultDatabase;
/**
* @var string
*/
public $schemaSuffix;
/**
* @var string
*/
public $tablePrefix;
/**
* @param string
*/
public function setDefaultDatabase($defaultDatabase)
{
$this->defaultDatabase = $defaultDatabase;
}
/**
* @return string
*/
public function getDefaultDatabase()
{
return $this->defaultDatabase;
}
/**
* @param string
*/
public function setSchemaSuffix($schemaSuffix)
{
$this->schemaSuffix = $schemaSuffix;
}
/**
* @return string
*/
public function getSchemaSuffix()
{
return $this->schemaSuffix;
}
/**
* @param string
*/
public function setTablePrefix($tablePrefix)
{
$this->tablePrefix = $tablePrefix;
}
/**
* @return string
*/
public function getTablePrefix()
{
return $this->tablePrefix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkspaceCompilationOverrides::class, 'Google_Service_Dataform_WorkspaceCompilationOverrides');

Some files were not shown because too many files have changed in this diff Show More