gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,66 @@
<?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 ActionErrorTable extends \Google\Model
{
/**
* Error table partition expiration in days. Only positive values are allowed.
*
* @var int
*/
public $retentionDays;
protected $targetType = Target::class;
protected $targetDataType = '';
/**
* Error table partition expiration in days. Only positive values are allowed.
*
* @param int $retentionDays
*/
public function setRetentionDays($retentionDays)
{
$this->retentionDays = $retentionDays;
}
/**
* @return int
*/
public function getRetentionDays()
{
return $this->retentionDays;
}
/**
* Error Table target.
*
* @param Target $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(ActionErrorTable::class, 'Google_Service_Dataform_ActionErrorTable');
@@ -0,0 +1,48 @@
<?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 ActionIncrementalLoadMode extends \Google\Model
{
/**
* Column name for incremental load modes
*
* @var string
*/
public $column;
/**
* Column name for incremental load modes
*
* @param string $column
*/
public function setColumn($column)
{
$this->column = $column;
}
/**
* @return string
*/
public function getColumn()
{
return $this->column;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ActionIncrementalLoadMode::class, 'Google_Service_Dataform_ActionIncrementalLoadMode');
@@ -0,0 +1,100 @@
<?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 ActionLoadConfig extends \Google\Model
{
protected $appendType = ActionSimpleLoadMode::class;
protected $appendDataType = '';
protected $maximumType = ActionIncrementalLoadMode::class;
protected $maximumDataType = '';
protected $replaceType = ActionSimpleLoadMode::class;
protected $replaceDataType = '';
protected $uniqueType = ActionIncrementalLoadMode::class;
protected $uniqueDataType = '';
/**
* Append into destination table
*
* @param ActionSimpleLoadMode $append
*/
public function setAppend(ActionSimpleLoadMode $append)
{
$this->append = $append;
}
/**
* @return ActionSimpleLoadMode
*/
public function getAppend()
{
return $this->append;
}
/**
* Insert records where the value exceeds the previous maximum value for a
* column in the destination table
*
* @param ActionIncrementalLoadMode $maximum
*/
public function setMaximum(ActionIncrementalLoadMode $maximum)
{
$this->maximum = $maximum;
}
/**
* @return ActionIncrementalLoadMode
*/
public function getMaximum()
{
return $this->maximum;
}
/**
* Replace destination table
*
* @param ActionSimpleLoadMode $replace
*/
public function setReplace(ActionSimpleLoadMode $replace)
{
$this->replace = $replace;
}
/**
* @return ActionSimpleLoadMode
*/
public function getReplace()
{
return $this->replace;
}
/**
* Insert records where the value of a column is not already present in the
* destination table
*
* @param ActionIncrementalLoadMode $unique
*/
public function setUnique(ActionIncrementalLoadMode $unique)
{
$this->unique = $unique;
}
/**
* @return ActionIncrementalLoadMode
*/
public function getUnique()
{
return $this->unique;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ActionLoadConfig::class, 'Google_Service_Dataform_ActionLoadConfig');
@@ -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 ActionSimpleLoadMode extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ActionSimpleLoadMode::class, 'Google_Service_Dataform_ActionSimpleLoadMode');
@@ -0,0 +1,86 @@
<?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 ActionSqlDefinition extends \Google\Model
{
protected $errorTableType = ActionErrorTable::class;
protected $errorTableDataType = '';
protected $loadConfigType = ActionLoadConfig::class;
protected $loadConfigDataType = '';
/**
* The SQL query representing the data preparation steps. Formatted as a Pipe
* SQL query statement.
*
* @var string
*/
public $query;
/**
* Error table configuration,
*
* @param ActionErrorTable $errorTable
*/
public function setErrorTable(ActionErrorTable $errorTable)
{
$this->errorTable = $errorTable;
}
/**
* @return ActionErrorTable
*/
public function getErrorTable()
{
return $this->errorTable;
}
/**
* Load configuration.
*
* @param ActionLoadConfig $loadConfig
*/
public function setLoadConfig(ActionLoadConfig $loadConfig)
{
$this->loadConfig = $loadConfig;
}
/**
* @return ActionLoadConfig
*/
public function getLoadConfig()
{
return $this->loadConfig;
}
/**
* The SQL query representing the data preparation steps. Formatted as a Pipe
* SQL query statement.
*
* @param string $query
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ActionSqlDefinition::class, 'Google_Service_Dataform_ActionSqlDefinition');
@@ -0,0 +1,151 @@
<?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';
/**
* Whether this action is disabled (i.e. should not be run).
*
* @var bool
*/
public $disabled;
protected $parentActionType = Target::class;
protected $parentActionDataType = '';
protected $relationDescriptorType = RelationDescriptor::class;
protected $relationDescriptorDataType = '';
/**
* The SELECT query which must return zero rows in order for this assertion to
* succeed.
*
* @var string
*/
public $selectQuery;
/**
* Arbitrary, user-defined tags on this action.
*
* @var string[]
*/
public $tags;
/**
* A list of actions that this action depends on.
*
* @param Target[] $dependencyTargets
*/
public function setDependencyTargets($dependencyTargets)
{
$this->dependencyTargets = $dependencyTargets;
}
/**
* @return Target[]
*/
public function getDependencyTargets()
{
return $this->dependencyTargets;
}
/**
* Whether this action is disabled (i.e. should not be run).
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* The parent action of this assertion. Only set if this assertion was
* automatically generated.
*
* @param Target $parentAction
*/
public function setParentAction(Target $parentAction)
{
$this->parentAction = $parentAction;
}
/**
* @return Target
*/
public function getParentAction()
{
return $this->parentAction;
}
/**
* Descriptor for the assertion's automatically-generated view and its
* columns.
*
* @param RelationDescriptor $relationDescriptor
*/
public function setRelationDescriptor(RelationDescriptor $relationDescriptor)
{
$this->relationDescriptor = $relationDescriptor;
}
/**
* @return RelationDescriptor
*/
public function getRelationDescriptor()
{
return $this->relationDescriptor;
}
/**
* The SELECT query which must return zero rows in order for this assertion to
* succeed.
*
* @param string $selectQuery
*/
public function setSelectQuery($selectQuery)
{
$this->selectQuery = $selectQuery;
}
/**
* @return string
*/
public function getSelectQuery()
{
return $this->selectQuery;
}
/**
* Arbitrary, user-defined tags on this action.
*
* @param string[] $tags
*/
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,72 @@
<?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
{
/**
* Output only. The ID of the BigQuery job that executed the SQL in
* sql_script. Only set once the job has started to run.
*
* @var string
*/
public $jobId;
/**
* Output only. The generated BigQuery SQL script that will be executed.
*
* @var string
*/
public $sqlScript;
/**
* Output only. The ID of the BigQuery job that executed the SQL in
* sql_script. Only set once the job has started to run.
*
* @param string $jobId
*/
public function setJobId($jobId)
{
$this->jobId = $jobId;
}
/**
* @return string
*/
public function getJobId()
{
return $this->jobId;
}
/**
* Output only. The generated BigQuery SQL script that will be executed.
*
* @param string $sqlScript
*/
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,216 @@
<?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 = '';
/**
* Specifies the principals requesting access for a Google Cloud resource.
* `members` can have the following values: * `allUsers`: A special identifier
* that represents anyone who is on the internet; with or without a Google
* account. * `allAuthenticatedUsers`: A special identifier that represents
* anyone who is authenticated with a Google account or a service account.
* Does not include identities that come from external identity providers
* (IdPs) through identity federation. * `user:{emailid}`: An email address
* that represents a specific Google account. For example, `alice@example.com`
* . * `serviceAccount:{emailid}`: An email address that represents a Google
* service account. For example, `my-other-app@appspot.gserviceaccount.com`. *
* `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An
* identifier for a [Kubernetes service
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-
* service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-
* kubernetes-sa]`. * `group:{emailid}`: An email address that represents a
* Google group. For example, `admins@example.com`. * `domain:{domain}`: The G
* Suite domain (primary) that represents all the users of that domain. For
* example, `google.com` or `example.com`. * `principal://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`
* : A single identity in a workforce identity pool. * `principalSet://iam.goo
* gleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:
* All workforce identities in a group. * `principalSet://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attrib
* ute_value}`: All workforce identities with a specific attribute value. * `p
* rincipalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}`
* : All identities in a workforce identity pool. * `principal://iam.googleapi
* s.com/projects/{project_number}/locations/global/workloadIdentityPools/{poo
* l_id}/subject/{subject_attribute_value}`: A single identity in a workload
* identity pool. * `principalSet://iam.googleapis.com/projects/{project_numbe
* r}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A
* workload identity pool group. * `principalSet://iam.googleapis.com/projects
* /{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribut
* e.{attribute_name}/{attribute_value}`: All identities in a workload
* identity pool with a certain attribute. * `principalSet://iam.googleapis.co
* m/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id
* }`: All identities in a workload identity pool. *
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a user that has been recently deleted. For
* example, `alice@example.com?uid=123456789012345678901`. If the user is
* recovered, this value reverts to `user:{emailid}` and the recovered user
* retains the role in the binding. *
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
* unique identifier) representing a service account that has been recently
* deleted. For example, `my-other-
* app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service
* account is undeleted, this value reverts to `serviceAccount:{emailid}` and
* the undeleted service account retains the role in the binding. *
* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a Google group that has been recently deleted. For
* example, `admins@example.com?uid=123456789012345678901`. If the group is
* recovered, this value reverts to `group:{emailid}` and the recovered group
* retains the role in the binding. * `deleted:principal://iam.googleapis.com/
* locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}
* `: Deleted single identity in a workforce identity pool. For example,
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-
* pool-id/subject/my-subject-attribute-value`.
*
* @var string[]
*/
public $members;
/**
* Role that is assigned to the list of `members`, or principals. For example,
* `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the
* IAM roles and permissions, see the [IAM
* documentation](https://cloud.google.com/iam/docs/roles-overview). For a
* list of the available pre-defined roles, see
* [here](https://cloud.google.com/iam/docs/understanding-roles).
*
* @var string
*/
public $role;
/**
* The condition that is associated with this binding. If the condition
* evaluates to `true`, then this binding applies to the current request. If
* the condition evaluates to `false`, then this binding does not apply to the
* current request. However, a different role binding might grant the same
* role to one or more of the principals in this binding. To learn which
* resources support conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @param Expr $condition
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* Specifies the principals requesting access for a Google Cloud resource.
* `members` can have the following values: * `allUsers`: A special identifier
* that represents anyone who is on the internet; with or without a Google
* account. * `allAuthenticatedUsers`: A special identifier that represents
* anyone who is authenticated with a Google account or a service account.
* Does not include identities that come from external identity providers
* (IdPs) through identity federation. * `user:{emailid}`: An email address
* that represents a specific Google account. For example, `alice@example.com`
* . * `serviceAccount:{emailid}`: An email address that represents a Google
* service account. For example, `my-other-app@appspot.gserviceaccount.com`. *
* `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An
* identifier for a [Kubernetes service
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-
* service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-
* kubernetes-sa]`. * `group:{emailid}`: An email address that represents a
* Google group. For example, `admins@example.com`. * `domain:{domain}`: The G
* Suite domain (primary) that represents all the users of that domain. For
* example, `google.com` or `example.com`. * `principal://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`
* : A single identity in a workforce identity pool. * `principalSet://iam.goo
* gleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:
* All workforce identities in a group. * `principalSet://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attrib
* ute_value}`: All workforce identities with a specific attribute value. * `p
* rincipalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}`
* : All identities in a workforce identity pool. * `principal://iam.googleapi
* s.com/projects/{project_number}/locations/global/workloadIdentityPools/{poo
* l_id}/subject/{subject_attribute_value}`: A single identity in a workload
* identity pool. * `principalSet://iam.googleapis.com/projects/{project_numbe
* r}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A
* workload identity pool group. * `principalSet://iam.googleapis.com/projects
* /{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribut
* e.{attribute_name}/{attribute_value}`: All identities in a workload
* identity pool with a certain attribute. * `principalSet://iam.googleapis.co
* m/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id
* }`: All identities in a workload identity pool. *
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a user that has been recently deleted. For
* example, `alice@example.com?uid=123456789012345678901`. If the user is
* recovered, this value reverts to `user:{emailid}` and the recovered user
* retains the role in the binding. *
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
* unique identifier) representing a service account that has been recently
* deleted. For example, `my-other-
* app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service
* account is undeleted, this value reverts to `serviceAccount:{emailid}` and
* the undeleted service account retains the role in the binding. *
* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a Google group that has been recently deleted. For
* example, `admins@example.com?uid=123456789012345678901`. If the group is
* recovered, this value reverts to `group:{emailid}` and the recovered group
* retains the role in the binding. * `deleted:principal://iam.googleapis.com/
* locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}
* `: Deleted single identity in a workforce identity pool. For example,
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-
* pool-id/subject/my-subject-attribute-value`.
*
* @param string[] $members
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* Role that is assigned to the list of `members`, or principals. For example,
* `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the
* IAM roles and permissions, see the [IAM
* documentation](https://cloud.google.com/iam/docs/roles-overview). For a
* list of the available pre-defined roles, see
* [here](https://cloud.google.com/iam/docs/understanding-roles).
*
* @param string $role
*/
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 CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_Dataform_CancelOperationRequest');
@@ -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,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 CancelWorkflowInvocationResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelWorkflowInvocationResponse::class, 'Google_Service_Dataform_CancelWorkflowInvocationResponse');
@@ -0,0 +1,252 @@
<?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
{
/**
* Optional. The default schema (BigQuery dataset ID) for assertions.
*
* @var string
*/
public $assertionSchema;
/**
* Optional. The prefix to prepend to built-in assertion names.
*
* @var string
*/
public $builtinAssertionNamePrefix;
/**
* Optional. The suffix that should be appended to all database (Google Cloud
* project ID) names.
*
* @var string
*/
public $databaseSuffix;
/**
* Optional. The default database (Google Cloud project ID).
*
* @var string
*/
public $defaultDatabase;
/**
* Optional. The default BigQuery location to use. Defaults to "US". See the
* BigQuery docs for a full list of locations:
* https://cloud.google.com/bigquery/docs/locations.
*
* @var string
*/
public $defaultLocation;
protected $defaultNotebookRuntimeOptionsType = NotebookRuntimeOptions::class;
protected $defaultNotebookRuntimeOptionsDataType = '';
/**
* Optional. The default schema (BigQuery dataset ID).
*
* @var string
*/
public $defaultSchema;
/**
* Optional. The suffix that should be appended to all schema (BigQuery
* dataset ID) names.
*
* @var string
*/
public $schemaSuffix;
/**
* Optional. The prefix that should be prepended to all table names.
*
* @var string
*/
public $tablePrefix;
/**
* Optional. User-defined variables that are made available to project code
* during compilation.
*
* @var string[]
*/
public $vars;
/**
* Optional. The default schema (BigQuery dataset ID) for assertions.
*
* @param string $assertionSchema
*/
public function setAssertionSchema($assertionSchema)
{
$this->assertionSchema = $assertionSchema;
}
/**
* @return string
*/
public function getAssertionSchema()
{
return $this->assertionSchema;
}
/**
* Optional. The prefix to prepend to built-in assertion names.
*
* @param string $builtinAssertionNamePrefix
*/
public function setBuiltinAssertionNamePrefix($builtinAssertionNamePrefix)
{
$this->builtinAssertionNamePrefix = $builtinAssertionNamePrefix;
}
/**
* @return string
*/
public function getBuiltinAssertionNamePrefix()
{
return $this->builtinAssertionNamePrefix;
}
/**
* Optional. The suffix that should be appended to all database (Google Cloud
* project ID) names.
*
* @param string $databaseSuffix
*/
public function setDatabaseSuffix($databaseSuffix)
{
$this->databaseSuffix = $databaseSuffix;
}
/**
* @return string
*/
public function getDatabaseSuffix()
{
return $this->databaseSuffix;
}
/**
* Optional. The default database (Google Cloud project ID).
*
* @param string $defaultDatabase
*/
public function setDefaultDatabase($defaultDatabase)
{
$this->defaultDatabase = $defaultDatabase;
}
/**
* @return string
*/
public function getDefaultDatabase()
{
return $this->defaultDatabase;
}
/**
* Optional. The default BigQuery location to use. Defaults to "US". See the
* BigQuery docs for a full list of locations:
* https://cloud.google.com/bigquery/docs/locations.
*
* @param string $defaultLocation
*/
public function setDefaultLocation($defaultLocation)
{
$this->defaultLocation = $defaultLocation;
}
/**
* @return string
*/
public function getDefaultLocation()
{
return $this->defaultLocation;
}
/**
* Optional. The default notebook runtime options.
*
* @param NotebookRuntimeOptions $defaultNotebookRuntimeOptions
*/
public function setDefaultNotebookRuntimeOptions(NotebookRuntimeOptions $defaultNotebookRuntimeOptions)
{
$this->defaultNotebookRuntimeOptions = $defaultNotebookRuntimeOptions;
}
/**
* @return NotebookRuntimeOptions
*/
public function getDefaultNotebookRuntimeOptions()
{
return $this->defaultNotebookRuntimeOptions;
}
/**
* Optional. The default schema (BigQuery dataset ID).
*
* @param string $defaultSchema
*/
public function setDefaultSchema($defaultSchema)
{
$this->defaultSchema = $defaultSchema;
}
/**
* @return string
*/
public function getDefaultSchema()
{
return $this->defaultSchema;
}
/**
* Optional. The suffix that should be appended to all schema (BigQuery
* dataset ID) names.
*
* @param string $schemaSuffix
*/
public function setSchemaSuffix($schemaSuffix)
{
$this->schemaSuffix = $schemaSuffix;
}
/**
* @return string
*/
public function getSchemaSuffix()
{
return $this->schemaSuffix;
}
/**
* Optional. The prefix that should be prepended to all table names.
*
* @param string $tablePrefix
*/
public function setTablePrefix($tablePrefix)
{
$this->tablePrefix = $tablePrefix;
}
/**
* @return string
*/
public function getTablePrefix()
{
return $this->tablePrefix;
}
/**
* Optional. User-defined variables that are made available to project code
* during compilation.
*
* @param string[] $vars
*/
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,95 @@
<?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';
/**
* A list of BigQuery policy tags that will be applied to the column.
*
* @var string[]
*/
public $bigqueryPolicyTags;
/**
* A textual description of the column.
*
* @var string
*/
public $description;
/**
* The identifier for the column. Each entry in `path` represents one level of
* nesting.
*
* @var string[]
*/
public $path;
/**
* A list of BigQuery policy tags that will be applied to the column.
*
* @param string[] $bigqueryPolicyTags
*/
public function setBigqueryPolicyTags($bigqueryPolicyTags)
{
$this->bigqueryPolicyTags = $bigqueryPolicyTags;
}
/**
* @return string[]
*/
public function getBigqueryPolicyTags()
{
return $this->bigqueryPolicyTags;
}
/**
* A textual description of the column.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* The identifier for the column. Each entry in `path` represents one level of
* nesting.
*
* @param string[] $path
*/
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,70 @@
<?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
{
/**
* Required. The commit author's email address.
*
* @var string
*/
public $emailAddress;
/**
* Required. The commit author's name.
*
* @var string
*/
public $name;
/**
* Required. The commit author's email address.
*
* @param string $emailAddress
*/
public function setEmailAddress($emailAddress)
{
$this->emailAddress = $emailAddress;
}
/**
* @return string
*/
public function getEmailAddress()
{
return $this->emailAddress;
}
/**
* Required. The commit author's name.
*
* @param string $name
*/
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,110 @@
<?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 = '';
/**
* The commit message for this commit log entry.
*
* @var string
*/
public $commitMessage;
/**
* The commit SHA for this commit log entry.
*
* @var string
*/
public $commitSha;
/**
* Commit timestamp.
*
* @var string
*/
public $commitTime;
/**
* The commit author for this commit log entry.
*
* @param CommitAuthor $author
*/
public function setAuthor(CommitAuthor $author)
{
$this->author = $author;
}
/**
* @return CommitAuthor
*/
public function getAuthor()
{
return $this->author;
}
/**
* The commit message for this commit log entry.
*
* @param string $commitMessage
*/
public function setCommitMessage($commitMessage)
{
$this->commitMessage = $commitMessage;
}
/**
* @return string
*/
public function getCommitMessage()
{
return $this->commitMessage;
}
/**
* The commit SHA for this commit log entry.
*
* @param string $commitSha
*/
public function setCommitSha($commitSha)
{
$this->commitSha = $commitSha;
}
/**
* @return string
*/
public function getCommitSha()
{
return $this->commitSha;
}
/**
* Commit timestamp.
*
* @param string $commitTime
*/
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,66 @@
<?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 = '';
/**
* Optional. The commit's message.
*
* @var string
*/
public $commitMessage;
/**
* Required. The commit's author.
*
* @param CommitAuthor $author
*/
public function setAuthor(CommitAuthor $author)
{
$this->author = $author;
}
/**
* @return CommitAuthor
*/
public function getAuthor()
{
return $this->author;
}
/**
* Optional. The commit's message.
*
* @param string $commitMessage
*/
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,89 @@
<?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';
/**
* Optional. The commit SHA which must be the repository's current HEAD before
* applying this commit; otherwise this request will fail. If unset, no
* validation on the current HEAD commit SHA is performed.
*
* @var string
*/
public $requiredHeadCommitSha;
/**
* Required. The changes to commit to the repository.
*
* @param CommitMetadata $commitMetadata
*/
public function setCommitMetadata(CommitMetadata $commitMetadata)
{
$this->commitMetadata = $commitMetadata;
}
/**
* @return CommitMetadata
*/
public function getCommitMetadata()
{
return $this->commitMetadata;
}
/**
* Optional. A map to the path of the file to the operation. The path is the
* full file path including filename, from repository root.
*
* @param FileOperation[] $fileOperations
*/
public function setFileOperations($fileOperations)
{
$this->fileOperations = $fileOperations;
}
/**
* @return FileOperation[]
*/
public function getFileOperations()
{
return $this->fileOperations;
}
/**
* Optional. The commit SHA which must be the repository's current HEAD before
* applying this commit; otherwise this request will fail. If unset, no
* validation on the current HEAD commit SHA is performed.
*
* @param string $requiredHeadCommitSha
*/
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,48 @@
<?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
{
/**
* The commit SHA of the current commit.
*
* @var string
*/
public $commitSha;
/**
* The commit SHA of the current commit.
*
* @param string $commitSha
*/
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,91 @@
<?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 = '';
/**
* Optional. The commit's message.
*
* @var string
*/
public $commitMessage;
/**
* Optional. Full file paths to commit including filename, rooted at workspace
* root. If left empty, all files will be committed.
*
* @var string[]
*/
public $paths;
/**
* Required. The commit's author.
*
* @param CommitAuthor $author
*/
public function setAuthor(CommitAuthor $author)
{
$this->author = $author;
}
/**
* @return CommitAuthor
*/
public function getAuthor()
{
return $this->author;
}
/**
* Optional. The commit's message.
*
* @param string $commitMessage
*/
public function setCommitMessage($commitMessage)
{
$this->commitMessage = $commitMessage;
}
/**
* @return string
*/
public function getCommitMessage()
{
return $this->commitMessage;
}
/**
* Optional. Full file paths to commit including filename, rooted at workspace
* root. If left empty, all files will be committed.
*
* @param string[] $paths
*/
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,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 CommitWorkspaceChangesResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitWorkspaceChangesResponse::class, 'Google_Service_Dataform_CommitWorkspaceChangesResponse');
@@ -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 CompilationError extends \Google\Model
{
protected $actionTargetType = Target::class;
protected $actionTargetDataType = '';
/**
* Output only. The error's top level message.
*
* @var string
*/
public $message;
/**
* Output only. The path of the file where this error occurred, if available,
* relative to the project root.
*
* @var string
*/
public $path;
/**
* Output only. The error's full stack trace.
*
* @var string
*/
public $stack;
/**
* Output only. The identifier of the action where this error occurred, if
* available. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/dat
* a_pipelines.proto:CompilationError)
*
* @param Target $actionTarget
*/
public function setActionTarget(Target $actionTarget)
{
$this->actionTarget = $actionTarget;
}
/**
* @return Target
*/
public function getActionTarget()
{
return $this->actionTarget;
}
/**
* Output only. The error's top level message.
*
* @param string $message
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* Output only. The path of the file where this error occurred, if available,
* relative to the project root.
*
* @param string $path
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* Output only. The error's full stack trace.
*
* @param string $stack
*/
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,292 @@
<?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';
/**
* Output only. The timestamp of when the compilation result was created.
*
* @var string
*/
public $createTime;
protected $dataEncryptionStateType = DataEncryptionState::class;
protected $dataEncryptionStateDataType = '';
/**
* Output only. The version of `@dataform/core` that was used for compilation.
*
* @var string
*/
public $dataformCoreVersion;
/**
* Immutable. Git commit/tag/branch name at which the repository should be
* compiled. Must exist in the remote repository. Examples: - a commit SHA:
* `12ade345` - a tag: `tag1` - a branch name: `branch1`
*
* @var string
*/
public $gitCommitish;
/**
* Output only. All the metadata information that is used internally to serve
* the resource. For example: timestamps, flags, status fields, etc. The
* format of this field is a JSON string.
*
* @var string
*/
public $internalMetadata;
/**
* Output only. The compilation result's name.
*
* @var string
*/
public $name;
protected $privateResourceMetadataType = PrivateResourceMetadata::class;
protected $privateResourceMetadataDataType = '';
/**
* Immutable. The name of the release config to compile. Must be in the format
* `projects/locations/repositories/releaseConfigs`.
*
* @var string
*/
public $releaseConfig;
/**
* Output only. The fully resolved Git commit SHA of the code that was
* compiled. Not set for compilation results whose source is a workspace.
*
* @var string
*/
public $resolvedGitCommitSha;
/**
* Immutable. The name of the workspace to compile. Must be in the format
* `projects/locations/repositories/workspaces`.
*
* @var string
*/
public $workspace;
/**
* Immutable. If set, fields of `code_compilation_config` override the default
* compilation settings that are specified in dataform.json.
*
* @param CodeCompilationConfig $codeCompilationConfig
*/
public function setCodeCompilationConfig(CodeCompilationConfig $codeCompilationConfig)
{
$this->codeCompilationConfig = $codeCompilationConfig;
}
/**
* @return CodeCompilationConfig
*/
public function getCodeCompilationConfig()
{
return $this->codeCompilationConfig;
}
/**
* Output only. Errors encountered during project compilation.
*
* @param CompilationError[] $compilationErrors
*/
public function setCompilationErrors($compilationErrors)
{
$this->compilationErrors = $compilationErrors;
}
/**
* @return CompilationError[]
*/
public function getCompilationErrors()
{
return $this->compilationErrors;
}
/**
* Output only. The timestamp of when the compilation result was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. Only set if the repository has a KMS Key.
*
* @param DataEncryptionState $dataEncryptionState
*/
public function setDataEncryptionState(DataEncryptionState $dataEncryptionState)
{
$this->dataEncryptionState = $dataEncryptionState;
}
/**
* @return DataEncryptionState
*/
public function getDataEncryptionState()
{
return $this->dataEncryptionState;
}
/**
* Output only. The version of `@dataform/core` that was used for compilation.
*
* @param string $dataformCoreVersion
*/
public function setDataformCoreVersion($dataformCoreVersion)
{
$this->dataformCoreVersion = $dataformCoreVersion;
}
/**
* @return string
*/
public function getDataformCoreVersion()
{
return $this->dataformCoreVersion;
}
/**
* Immutable. Git commit/tag/branch name at which the repository should be
* compiled. Must exist in the remote repository. Examples: - a commit SHA:
* `12ade345` - a tag: `tag1` - a branch name: `branch1`
*
* @param string $gitCommitish
*/
public function setGitCommitish($gitCommitish)
{
$this->gitCommitish = $gitCommitish;
}
/**
* @return string
*/
public function getGitCommitish()
{
return $this->gitCommitish;
}
/**
* Output only. All the metadata information that is used internally to serve
* the resource. For example: timestamps, flags, status fields, etc. The
* format of this field is a JSON string.
*
* @param string $internalMetadata
*/
public function setInternalMetadata($internalMetadata)
{
$this->internalMetadata = $internalMetadata;
}
/**
* @return string
*/
public function getInternalMetadata()
{
return $this->internalMetadata;
}
/**
* Output only. The compilation result's name.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Metadata indicating whether this resource is user-scoped.
* `CompilationResult` resource is `user_scoped` only if it is sourced from a
* workspace.
*
* @param PrivateResourceMetadata $privateResourceMetadata
*/
public function setPrivateResourceMetadata(PrivateResourceMetadata $privateResourceMetadata)
{
$this->privateResourceMetadata = $privateResourceMetadata;
}
/**
* @return PrivateResourceMetadata
*/
public function getPrivateResourceMetadata()
{
return $this->privateResourceMetadata;
}
/**
* Immutable. The name of the release config to compile. Must be in the format
* `projects/locations/repositories/releaseConfigs`.
*
* @param string $releaseConfig
*/
public function setReleaseConfig($releaseConfig)
{
$this->releaseConfig = $releaseConfig;
}
/**
* @return string
*/
public function getReleaseConfig()
{
return $this->releaseConfig;
}
/**
* Output only. The fully resolved Git commit SHA of the code that was
* compiled. Not set for compilation results whose source is a workspace.
*
* @param string $resolvedGitCommitSha
*/
public function setResolvedGitCommitSha($resolvedGitCommitSha)
{
$this->resolvedGitCommitSha = $resolvedGitCommitSha;
}
/**
* @return string
*/
public function getResolvedGitCommitSha()
{
return $this->resolvedGitCommitSha;
}
/**
* Immutable. The name of the workspace to compile. Must be in the format
* `projects/locations/repositories/workspaces`.
*
* @param string $workspace
*/
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,221 @@
<?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 $dataPreparationType = DataPreparation::class;
protected $dataPreparationDataType = '';
protected $declarationType = Declaration::class;
protected $declarationDataType = '';
/**
* The full path including filename in which this action is located, relative
* to the workspace root.
*
* @var string
*/
public $filePath;
/**
* Output only. All the metadata information that is used internally to serve
* the resource. For example: timestamps, flags, status fields, etc. The
* format of this field is a JSON string.
*
* @var string
*/
public $internalMetadata;
protected $notebookType = Notebook::class;
protected $notebookDataType = '';
protected $operationsType = Operations::class;
protected $operationsDataType = '';
protected $relationType = Relation::class;
protected $relationDataType = '';
protected $targetType = Target::class;
protected $targetDataType = '';
/**
* The assertion executed by this action.
*
* @param Assertion $assertion
*/
public function setAssertion(Assertion $assertion)
{
$this->assertion = $assertion;
}
/**
* @return Assertion
*/
public function getAssertion()
{
return $this->assertion;
}
/**
* The action's identifier if the project had been compiled without any
* overrides configured. Unique within the compilation result.
*
* @param Target $canonicalTarget
*/
public function setCanonicalTarget(Target $canonicalTarget)
{
$this->canonicalTarget = $canonicalTarget;
}
/**
* @return Target
*/
public function getCanonicalTarget()
{
return $this->canonicalTarget;
}
/**
* The data preparation executed by this action.
*
* @param DataPreparation $dataPreparation
*/
public function setDataPreparation(DataPreparation $dataPreparation)
{
$this->dataPreparation = $dataPreparation;
}
/**
* @return DataPreparation
*/
public function getDataPreparation()
{
return $this->dataPreparation;
}
/**
* The declaration declared by this action.
*
* @param Declaration $declaration
*/
public function setDeclaration(Declaration $declaration)
{
$this->declaration = $declaration;
}
/**
* @return Declaration
*/
public function getDeclaration()
{
return $this->declaration;
}
/**
* The full path including filename in which this action is located, relative
* to the workspace root.
*
* @param string $filePath
*/
public function setFilePath($filePath)
{
$this->filePath = $filePath;
}
/**
* @return string
*/
public function getFilePath()
{
return $this->filePath;
}
/**
* Output only. All the metadata information that is used internally to serve
* the resource. For example: timestamps, flags, status fields, etc. The
* format of this field is a JSON string.
*
* @param string $internalMetadata
*/
public function setInternalMetadata($internalMetadata)
{
$this->internalMetadata = $internalMetadata;
}
/**
* @return string
*/
public function getInternalMetadata()
{
return $this->internalMetadata;
}
/**
* The notebook executed by this action.
*
* @param Notebook $notebook
*/
public function setNotebook(Notebook $notebook)
{
$this->notebook = $notebook;
}
/**
* @return Notebook
*/
public function getNotebook()
{
return $this->notebook;
}
/**
* The database operations executed by this action.
*
* @param Operations $operations
*/
public function setOperations(Operations $operations)
{
$this->operations = $operations;
}
/**
* @return Operations
*/
public function getOperations()
{
return $this->operations;
}
/**
* The database relation created/updated by this action.
*
* @param Relation $relation
*/
public function setRelation(Relation $relation)
{
$this->relation = $relation;
}
/**
* @return Relation
*/
public function getRelation()
{
return $this->relation;
}
/**
* This action's identifier. Unique within the compilation result.
*
* @param Target $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,72 @@
<?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
{
/**
* Default value. This value is unused.
*/
public const TOKEN_STATUS_TOKEN_STATUS_UNSPECIFIED = 'TOKEN_STATUS_UNSPECIFIED';
/**
* The token could not be found in Secret Manager (or the Dataform Service
* Account did not have permission to access it).
*/
public const TOKEN_STATUS_NOT_FOUND = 'NOT_FOUND';
/**
* The token could not be used to authenticate against the Git remote.
*/
public const TOKEN_STATUS_INVALID = 'INVALID';
/**
* The token was used successfully to authenticate against the Git remote.
*/
public const TOKEN_STATUS_VALID = 'VALID';
/**
* The token is not accessible due to permission issues.
*/
public const TOKEN_STATUS_PERMISSION_DENIED = 'PERMISSION_DENIED';
/**
* Indicates the status of the Git access token.
*
* @var string
*/
public $tokenStatus;
/**
* Indicates the status of the Git access token.
*
* Accepted values: TOKEN_STATUS_UNSPECIFIED, NOT_FOUND, INVALID, VALID,
* PERMISSION_DENIED
*
* @param self::TOKEN_STATUS_* $tokenStatus
*/
public function setTokenStatus($tokenStatus)
{
$this->tokenStatus = $tokenStatus;
}
/**
* @return self::TOKEN_STATUS_*
*/
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,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 Config extends \Google\Model
{
/**
* Optional. The default KMS key that is used if no encryption key is provided
* when a repository is created.
*
* @var string
*/
public $defaultKmsKeyName;
/**
* Output only. All the metadata information that is used internally to serve
* the resource. For example: timestamps, flags, status fields, etc. The
* format of this field is a JSON string.
*
* @var string
*/
public $internalMetadata;
/**
* Identifier. The config name.
*
* @var string
*/
public $name;
/**
* Optional. The default KMS key that is used if no encryption key is provided
* when a repository is created.
*
* @param string $defaultKmsKeyName
*/
public function setDefaultKmsKeyName($defaultKmsKeyName)
{
$this->defaultKmsKeyName = $defaultKmsKeyName;
}
/**
* @return string
*/
public function getDefaultKmsKeyName()
{
return $this->defaultKmsKeyName;
}
/**
* Output only. All the metadata information that is used internally to serve
* the resource. For example: timestamps, flags, status fields, etc. The
* format of this field is a JSON string.
*
* @param string $internalMetadata
*/
public function setInternalMetadata($internalMetadata)
{
$this->internalMetadata = $internalMetadata;
}
/**
* @return string
*/
public function getInternalMetadata()
{
return $this->internalMetadata;
}
/**
* Identifier. The config name.
*
* @param string $name
*/
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,50 @@
<?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
{
/**
* Required. The KMS key version name with which data of a resource is
* encrypted.
*
* @var string
*/
public $kmsKeyVersionName;
/**
* Required. The KMS key version name with which data of a resource is
* encrypted.
*
* @param string $kmsKeyVersionName
*/
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,130 @@
<?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';
protected $contentsSqlType = SqlDefinition::class;
protected $contentsSqlDataType = '';
/**
* The data preparation definition, stored as a YAML string.
*
* @var string
*/
public $contentsYaml;
protected $dependencyTargetsType = Target::class;
protected $dependencyTargetsDataType = 'array';
/**
* Whether this action is disabled (i.e. should not be run).
*
* @var bool
*/
public $disabled;
/**
* Arbitrary, user-defined tags on this action.
*
* @var string[]
*/
public $tags;
/**
* SQL definition for a Data Preparation. Contains a SQL query and additional
* context information.
*
* @param SqlDefinition $contentsSql
*/
public function setContentsSql(SqlDefinition $contentsSql)
{
$this->contentsSql = $contentsSql;
}
/**
* @return SqlDefinition
*/
public function getContentsSql()
{
return $this->contentsSql;
}
/**
* The data preparation definition, stored as a YAML string.
*
* @param string $contentsYaml
*/
public function setContentsYaml($contentsYaml)
{
$this->contentsYaml = $contentsYaml;
}
/**
* @return string
*/
public function getContentsYaml()
{
return $this->contentsYaml;
}
/**
* A list of actions that this action depends on.
*
* @param Target[] $dependencyTargets
*/
public function setDependencyTargets($dependencyTargets)
{
$this->dependencyTargets = $dependencyTargets;
}
/**
* @return Target[]
*/
public function getDependencyTargets()
{
return $this->dependencyTargets;
}
/**
* Whether this action is disabled (i.e. should not be run).
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* Arbitrary, user-defined tags on this action.
*
* @param string[] $tags
*/
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,117 @@
<?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 DataPreparationAction extends \Google\Model
{
protected $contentsSqlType = ActionSqlDefinition::class;
protected $contentsSqlDataType = '';
/**
* Output only. YAML representing the contents of the data preparation. Can be
* used to show the customer what the input was to their workflow.
*
* @var string
*/
public $contentsYaml;
/**
* Output only. The generated BigQuery SQL script that will be executed. For
* reference only.
*
* @var string
*/
public $generatedSql;
/**
* Output only. The ID of the BigQuery job that executed the SQL in
* sql_script. Only set once the job has started to run.
*
* @var string
*/
public $jobId;
/**
* SQL definition for a Data Preparation. Contains a SQL query and additional
* context information.
*
* @param ActionSqlDefinition $contentsSql
*/
public function setContentsSql(ActionSqlDefinition $contentsSql)
{
$this->contentsSql = $contentsSql;
}
/**
* @return ActionSqlDefinition
*/
public function getContentsSql()
{
return $this->contentsSql;
}
/**
* Output only. YAML representing the contents of the data preparation. Can be
* used to show the customer what the input was to their workflow.
*
* @param string $contentsYaml
*/
public function setContentsYaml($contentsYaml)
{
$this->contentsYaml = $contentsYaml;
}
/**
* @return string
*/
public function getContentsYaml()
{
return $this->contentsYaml;
}
/**
* Output only. The generated BigQuery SQL script that will be executed. For
* reference only.
*
* @param string $generatedSql
*/
public function setGeneratedSql($generatedSql)
{
$this->generatedSql = $generatedSql;
}
/**
* @return string
*/
public function getGeneratedSql()
{
return $this->generatedSql;
}
/**
* Output only. The ID of the BigQuery job that executed the SQL in
* sql_script. Only set once the job has started to run.
*
* @param string $jobId
*/
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(DataPreparationAction::class, 'Google_Service_Dataform_DataPreparationAction');
@@ -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,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 Declaration extends \Google\Model
{
protected $relationDescriptorType = RelationDescriptor::class;
protected $relationDescriptorDataType = '';
/**
* Descriptor for the relation and its columns. Used as documentation only,
* i.e. values here will result in no changes to the relation's metadata.
*
* @param RelationDescriptor $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,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 DeleteFolderTreeRequest extends \Google\Model
{
/**
* Optional. If `false` (default): The operation will fail if any Repository
* within the folder hierarchy has associated Release Configs or Workflow
* Configs. If `true`: The operation will attempt to delete everything,
* including any Release Configs and Workflow Configs linked to Repositories
* within the folder hierarchy. This permanently removes schedules and
* resources.
*
* @var bool
*/
public $force;
/**
* Optional. If `false` (default): The operation will fail if any Repository
* within the folder hierarchy has associated Release Configs or Workflow
* Configs. If `true`: The operation will attempt to delete everything,
* including any Release Configs and Workflow Configs linked to Repositories
* within the folder hierarchy. This permanently removes schedules and
* resources.
*
* @param bool $force
*/
public function setForce($force)
{
$this->force = $force;
}
/**
* @return bool
*/
public function getForce()
{
return $this->force;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteFolderTreeRequest::class, 'Google_Service_Dataform_DeleteFolderTreeRequest');
@@ -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 DeleteTeamFolderTreeRequest extends \Google\Model
{
/**
* Optional. If `false` (default): The operation will fail if any Repository
* within the folder hierarchy has associated Release Configs or Workflow
* Configs. If `true`: The operation will attempt to delete everything,
* including any Release Configs and Workflow Configs linked to Repositories
* within the folder hierarchy. This permanently removes schedules and
* resources.
*
* @var bool
*/
public $force;
/**
* Optional. If `false` (default): The operation will fail if any Repository
* within the folder hierarchy has associated Release Configs or Workflow
* Configs. If `true`: The operation will attempt to delete everything,
* including any Release Configs and Workflow Configs linked to Repositories
* within the folder hierarchy. This permanently removes schedules and
* resources.
*
* @param bool $force
*/
public function setForce($force)
{
$this->force = $force;
}
/**
* @return bool
*/
public function getForce()
{
return $this->force;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteTeamFolderTreeRequest::class, 'Google_Service_Dataform_DeleteTeamFolderTreeRequest');
@@ -0,0 +1,92 @@
<?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
{
/**
* A child directory in the directory. The path is returned including the full
* folder structure from the root.
*
* @var string
*/
public $directory;
/**
* A file in the directory. The path is returned including the full folder
* structure from the root.
*
* @var string
*/
public $file;
protected $metadataType = FilesystemEntryMetadata::class;
protected $metadataDataType = '';
/**
* A child directory in the directory. The path is returned including the full
* folder structure from the root.
*
* @param string $directory
*/
public function setDirectory($directory)
{
$this->directory = $directory;
}
/**
* @return string
*/
public function getDirectory()
{
return $this->directory;
}
/**
* A file in the directory. The path is returned including the full folder
* structure from the root.
*
* @param string $file
*/
public function setFile($file)
{
$this->file = $file;
}
/**
* @return string
*/
public function getFile()
{
return $this->file;
}
/**
* Entry with metadata.
*
* @param FilesystemEntryMetadata $metadata
*/
public function setMetadata(FilesystemEntryMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return FilesystemEntryMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DirectoryEntry::class, 'Google_Service_Dataform_DirectoryEntry');
@@ -0,0 +1,48 @@
<?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
{
/**
* File system path relative to the workspace root.
*
* @var string
*/
public $path;
/**
* File system path relative to the workspace root.
*
* @param string $path
*/
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,66 @@
<?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 ErrorTable extends \Google\Model
{
/**
* Error table partition expiration in days. Only positive values are allowed.
*
* @var int
*/
public $retentionDays;
protected $targetType = Target::class;
protected $targetDataType = '';
/**
* Error table partition expiration in days. Only positive values are allowed.
*
* @param int $retentionDays
*/
public function setRetentionDays($retentionDays)
{
$this->retentionDays = $retentionDays;
}
/**
* @return int
*/
public function getRetentionDays()
{
return $this->retentionDays;
}
/**
* Error Table target.
*
* @param Target $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(ErrorTable::class, 'Google_Service_Dataform_ErrorTable');
+122
View File
@@ -0,0 +1,122 @@
<?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
{
/**
* Optional. Description of the expression. This is a longer text which
* describes the expression, e.g. when hovered over it in a UI.
*
* @var string
*/
public $description;
/**
* Textual representation of an expression in Common Expression Language
* syntax.
*
* @var string
*/
public $expression;
/**
* Optional. String indicating the location of the expression for error
* reporting, e.g. a file name and a position in the file.
*
* @var string
*/
public $location;
/**
* Optional. Title for the expression, i.e. a short string describing its
* purpose. This can be used e.g. in UIs which allow to enter the expression.
*
* @var string
*/
public $title;
/**
* Optional. Description of the expression. This is a longer text which
* describes the expression, e.g. when hovered over it in a UI.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Textual representation of an expression in Common Expression Language
* syntax.
*
* @param string $expression
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* Optional. String indicating the location of the expression for error
* reporting, e.g. a file name and a position in the file.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Optional. Title for the expression, i.e. a short string describing its
* purpose. This can be used e.g. in UIs which allow to enter the expression.
*
* @param string $title
*/
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,48 @@
<?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
{
/**
* The raw formatted Git diff for the file.
*
* @var string
*/
public $formattedDiff;
/**
* The raw formatted Git diff for the file.
*
* @param string $formattedDiff
*/
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,46 @@
<?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';
/**
* A list of all files which have uncommitted Git changes. There will only be
* a single entry for any given file.
*
* @param UncommittedFileChange[] $uncommittedFileChanges
*/
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,70 @@
<?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
{
/**
* The number of commits in the remote branch that are not in the workspace.
*
* @var int
*/
public $commitsAhead;
/**
* The number of commits in the workspace that are not in the remote branch.
*
* @var int
*/
public $commitsBehind;
/**
* The number of commits in the remote branch that are not in the workspace.
*
* @param int $commitsAhead
*/
public function setCommitsAhead($commitsAhead)
{
$this->commitsAhead = $commitsAhead;
}
/**
* @return int
*/
public function getCommitsAhead()
{
return $this->commitsAhead;
}
/**
* The number of commits in the workspace that are not in the remote branch.
*
* @param int $commitsBehind
*/
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,49 @@
<?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';
/**
* The remote repository's branch names.
*
* @var string[]
*/
public $branches;
/**
* The remote repository's branch names.
*
* @param string[] $branches
*/
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,69 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* A list of commit logs, ordered by 'git log' default order.
*
* @param CommitLogEntry[] $commits
*/
public function setCommits($commits)
{
$this->commits = $commits;
}
/**
* @return CommitLogEntry[]
*/
public function getCommits()
{
return $this->commits;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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,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 FileOperation extends \Google\Model
{
protected $deleteFileType = DeleteFile::class;
protected $deleteFileDataType = '';
protected $writeFileType = WriteFile::class;
protected $writeFileDataType = '';
/**
* Represents the delete operation.
*
* @param DeleteFile $deleteFile
*/
public function setDeleteFile(DeleteFile $deleteFile)
{
$this->deleteFile = $deleteFile;
}
/**
* @return DeleteFile
*/
public function getDeleteFile()
{
return $this->deleteFile;
}
/**
* Represents the write operation.
*
* @param WriteFile $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,48 @@
<?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
{
/**
* File system path relative to the workspace root.
*
* @var string
*/
public $path;
/**
* File system path relative to the workspace root.
*
* @param string $path
*/
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,72 @@
<?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 FilesystemEntryMetadata extends \Google\Model
{
/**
* Output only. Provides the size of the entry in bytes. For directories, this
* will be 0.
*
* @var string
*/
public $sizeBytes;
/**
* Output only. Represents the time of the last modification of the entry.
*
* @var string
*/
public $updateTime;
/**
* Output only. Provides the size of the entry in bytes. For directories, this
* will be 0.
*
* @param string $sizeBytes
*/
public function setSizeBytes($sizeBytes)
{
$this->sizeBytes = $sizeBytes;
}
/**
* @return string
*/
public function getSizeBytes()
{
return $this->sizeBytes;
}
/**
* Output only. Represents the time of the last modification of the entry.
*
* @param string $updateTime
*/
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(FilesystemEntryMetadata::class, 'Google_Service_Dataform_FilesystemEntryMetadata');
+222
View File
@@ -0,0 +1,222 @@
<?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 Folder extends \Google\Model
{
/**
* Optional. The containing Folder resource name. This should take the format:
* projects/{project}/locations/{location}/folders/{folder},
* projects/{project}/locations/{location}/teamFolders/{teamFolder}, or just
* "" if this is a root Folder. This field can only be updated through
* MoveFolder.
*
* @var string
*/
public $containingFolder;
/**
* Output only. The timestamp of when the Folder was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The IAM principal identifier of the creator of the Folder.
*
* @var string
*/
public $creatorIamPrincipal;
/**
* Required. The Folder's user-friendly name.
*
* @var string
*/
public $displayName;
/**
* Output only. All the metadata information that is used internally to serve
* the resource. For example: timestamps, flags, status fields, etc. The
* format of this field is a JSON string.
*
* @var string
*/
public $internalMetadata;
/**
* Identifier. The Folder's name.
*
* @var string
*/
public $name;
/**
* Output only. The resource name of the TeamFolder that this Folder is
* associated with. This should take the format:
* projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this
* is not set, the Folder is not associated with a TeamFolder and is a
* UserFolder.
*
* @var string
*/
public $teamFolderName;
/**
* Output only. The timestamp of when the Folder was last updated.
*
* @var string
*/
public $updateTime;
/**
* Optional. The containing Folder resource name. This should take the format:
* projects/{project}/locations/{location}/folders/{folder},
* projects/{project}/locations/{location}/teamFolders/{teamFolder}, or just
* "" if this is a root Folder. This field can only be updated through
* MoveFolder.
*
* @param string $containingFolder
*/
public function setContainingFolder($containingFolder)
{
$this->containingFolder = $containingFolder;
}
/**
* @return string
*/
public function getContainingFolder()
{
return $this->containingFolder;
}
/**
* Output only. The timestamp of when the Folder was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The IAM principal identifier of the creator of the Folder.
*
* @param string $creatorIamPrincipal
*/
public function setCreatorIamPrincipal($creatorIamPrincipal)
{
$this->creatorIamPrincipal = $creatorIamPrincipal;
}
/**
* @return string
*/
public function getCreatorIamPrincipal()
{
return $this->creatorIamPrincipal;
}
/**
* Required. The Folder's user-friendly name.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. All the metadata information that is used internally to serve
* the resource. For example: timestamps, flags, status fields, etc. The
* format of this field is a JSON string.
*
* @param string $internalMetadata
*/
public function setInternalMetadata($internalMetadata)
{
$this->internalMetadata = $internalMetadata;
}
/**
* @return string
*/
public function getInternalMetadata()
{
return $this->internalMetadata;
}
/**
* Identifier. The Folder's name.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The resource name of the TeamFolder that this Folder is
* associated with. This should take the format:
* projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this
* is not set, the Folder is not associated with a TeamFolder and is a
* UserFolder.
*
* @param string $teamFolderName
*/
public function setTeamFolderName($teamFolderName)
{
$this->teamFolderName = $teamFolderName;
}
/**
* @return string
*/
public function getTeamFolderName()
{
return $this->teamFolderName;
}
/**
* Output only. The timestamp of when the Folder was last updated.
*
* @param string $updateTime
*/
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(Folder::class, 'Google_Service_Dataform_Folder');
@@ -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 FolderContentsEntry extends \Google\Model
{
protected $folderType = Folder::class;
protected $folderDataType = '';
protected $repositoryType = Repository::class;
protected $repositoryDataType = '';
/**
* A subfolder.
*
* @param Folder $folder
*/
public function setFolder(Folder $folder)
{
$this->folder = $folder;
}
/**
* @return Folder
*/
public function getFolder()
{
return $this->folder;
}
/**
* A repository.
*
* @param Repository $repository
*/
public function setRepository(Repository $repository)
{
$this->repository = $repository;
}
/**
* @return Repository
*/
public function getRepository()
{
return $this->repository;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FolderContentsEntry::class, 'Google_Service_Dataform_FolderContentsEntry');
@@ -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 GitRemoteSettings extends \Google\Model
{
/**
* Default value. This value is unused.
*/
public const TOKEN_STATUS_TOKEN_STATUS_UNSPECIFIED = 'TOKEN_STATUS_UNSPECIFIED';
/**
* The token could not be found in Secret Manager (or the Dataform Service
* Account did not have permission to access it).
*/
public const TOKEN_STATUS_NOT_FOUND = 'NOT_FOUND';
/**
* The token could not be used to authenticate against the Git remote.
*/
public const TOKEN_STATUS_INVALID = 'INVALID';
/**
* The token was used successfully to authenticate against the Git remote.
*/
public const TOKEN_STATUS_VALID = 'VALID';
/**
* Optional. The name of the Secret Manager secret version to use as an
* authentication token for Git operations. Must be in the format
* `projects/secrets/versions`.
*
* @var string
*/
public $authenticationTokenSecretVersion;
/**
* Optional. The Git remote's default branch name. If not set `main` will be
* used.
*
* @var string
*/
public $defaultBranch;
/**
* Output only. The Git remote's effective default branch name. This is the
* default branch name of the Git remote if it is set, otherwise it is `main`.
*
* @var string
*/
public $effectiveDefaultBranch;
protected $sshAuthenticationConfigType = SshAuthenticationConfig::class;
protected $sshAuthenticationConfigDataType = '';
/**
* Output only. Deprecated: The field does not contain any token status
* information.
*
* @deprecated
* @var string
*/
public $tokenStatus;
/**
* Required. The Git remote's URL.
*
* @var string
*/
public $url;
/**
* Optional. The name of the Secret Manager secret version to use as an
* authentication token for Git operations. Must be in the format
* `projects/secrets/versions`.
*
* @param string $authenticationTokenSecretVersion
*/
public function setAuthenticationTokenSecretVersion($authenticationTokenSecretVersion)
{
$this->authenticationTokenSecretVersion = $authenticationTokenSecretVersion;
}
/**
* @return string
*/
public function getAuthenticationTokenSecretVersion()
{
return $this->authenticationTokenSecretVersion;
}
/**
* Optional. The Git remote's default branch name. If not set `main` will be
* used.
*
* @param string $defaultBranch
*/
public function setDefaultBranch($defaultBranch)
{
$this->defaultBranch = $defaultBranch;
}
/**
* @return string
*/
public function getDefaultBranch()
{
return $this->defaultBranch;
}
/**
* Output only. The Git remote's effective default branch name. This is the
* default branch name of the Git remote if it is set, otherwise it is `main`.
*
* @param string $effectiveDefaultBranch
*/
public function setEffectiveDefaultBranch($effectiveDefaultBranch)
{
$this->effectiveDefaultBranch = $effectiveDefaultBranch;
}
/**
* @return string
*/
public function getEffectiveDefaultBranch()
{
return $this->effectiveDefaultBranch;
}
/**
* Optional. Authentication fields for remote uris using SSH protocol.
*
* @param SshAuthenticationConfig $sshAuthenticationConfig
*/
public function setSshAuthenticationConfig(SshAuthenticationConfig $sshAuthenticationConfig)
{
$this->sshAuthenticationConfig = $sshAuthenticationConfig;
}
/**
* @return SshAuthenticationConfig
*/
public function getSshAuthenticationConfig()
{
return $this->sshAuthenticationConfig;
}
/**
* Output only. Deprecated: The field does not contain any token status
* information.
*
* Accepted values: TOKEN_STATUS_UNSPECIFIED, NOT_FOUND, INVALID, VALID
*
* @deprecated
* @param self::TOKEN_STATUS_* $tokenStatus
*/
public function setTokenStatus($tokenStatus)
{
$this->tokenStatus = $tokenStatus;
}
/**
* @deprecated
* @return self::TOKEN_STATUS_*
*/
public function getTokenStatus()
{
return $this->tokenStatus;
}
/**
* Required. The Git remote's URL.
*
* @param string $url
*/
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,66 @@
<?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 IamPolicyOverrideView extends \Google\Model
{
protected $iamPolicyNameType = PolicyName::class;
protected $iamPolicyNameDataType = '';
/**
* Whether the IAM policy encoded in this view is active.
*
* @var bool
*/
public $isActive;
/**
* The IAM policy name for the resource.
*
* @param PolicyName $iamPolicyName
*/
public function setIamPolicyName(PolicyName $iamPolicyName)
{
$this->iamPolicyName = $iamPolicyName;
}
/**
* @return PolicyName
*/
public function getIamPolicyName()
{
return $this->iamPolicyName;
}
/**
* Whether the IAM policy encoded in this view is active.
*
* @param bool $isActive
*/
public function setIsActive($isActive)
{
$this->isActive = $isActive;
}
/**
* @return bool
*/
public function getIsActive()
{
return $this->isActive;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IamPolicyOverrideView::class, 'Google_Service_Dataform_IamPolicyOverrideView');
@@ -0,0 +1,48 @@
<?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 IncrementalLoadMode extends \Google\Model
{
/**
* Column name for incremental load modes
*
* @var string
*/
public $column;
/**
* Column name for incremental load modes
*
* @param string $column
*/
public function setColumn($column)
{
$this->column = $column;
}
/**
* @return string
*/
public function getColumn()
{
return $this->column;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IncrementalLoadMode::class, 'Google_Service_Dataform_IncrementalLoadMode');
@@ -0,0 +1,171 @@
<?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';
/**
* SQL statements to be executed after inserting new rows into the relation.
*
* @var string[]
*/
public $incrementalPostOperations;
/**
* SQL statements to be executed before inserting new rows into the relation.
*
* @var string[]
*/
public $incrementalPreOperations;
/**
* The SELECT query which returns rows which should be inserted into the
* relation if it already exists and is not being refreshed.
*
* @var string
*/
public $incrementalSelectQuery;
/**
* Whether this table should be protected from being refreshed.
*
* @var bool
*/
public $refreshDisabled;
/**
* A set of columns or SQL expressions used to define row uniqueness. If any
* duplicates are discovered (as defined by `unique_key_parts`), only the
* newly selected rows (as defined by `incremental_select_query`) will be
* included in the relation.
*
* @var string[]
*/
public $uniqueKeyParts;
/**
* A SQL expression conditional used to limit the set of existing rows
* considered for a merge operation (see `unique_key_parts` for more
* information).
*
* @var string
*/
public $updatePartitionFilter;
/**
* SQL statements to be executed after inserting new rows into the relation.
*
* @param string[] $incrementalPostOperations
*/
public function setIncrementalPostOperations($incrementalPostOperations)
{
$this->incrementalPostOperations = $incrementalPostOperations;
}
/**
* @return string[]
*/
public function getIncrementalPostOperations()
{
return $this->incrementalPostOperations;
}
/**
* SQL statements to be executed before inserting new rows into the relation.
*
* @param string[] $incrementalPreOperations
*/
public function setIncrementalPreOperations($incrementalPreOperations)
{
$this->incrementalPreOperations = $incrementalPreOperations;
}
/**
* @return string[]
*/
public function getIncrementalPreOperations()
{
return $this->incrementalPreOperations;
}
/**
* The SELECT query which returns rows which should be inserted into the
* relation if it already exists and is not being refreshed.
*
* @param string $incrementalSelectQuery
*/
public function setIncrementalSelectQuery($incrementalSelectQuery)
{
$this->incrementalSelectQuery = $incrementalSelectQuery;
}
/**
* @return string
*/
public function getIncrementalSelectQuery()
{
return $this->incrementalSelectQuery;
}
/**
* Whether this table should be protected from being refreshed.
*
* @param bool $refreshDisabled
*/
public function setRefreshDisabled($refreshDisabled)
{
$this->refreshDisabled = $refreshDisabled;
}
/**
* @return bool
*/
public function getRefreshDisabled()
{
return $this->refreshDisabled;
}
/**
* A set of columns or SQL expressions used to define row uniqueness. If any
* duplicates are discovered (as defined by `unique_key_parts`), only the
* newly selected rows (as defined by `incremental_select_query`) will be
* included in the relation.
*
* @param string[] $uniqueKeyParts
*/
public function setUniqueKeyParts($uniqueKeyParts)
{
$this->uniqueKeyParts = $uniqueKeyParts;
}
/**
* @return string[]
*/
public function getUniqueKeyParts()
{
return $this->uniqueKeyParts;
}
/**
* A SQL expression conditional used to limit the set of existing rows
* considered for a merge operation (see `unique_key_parts` for more
* information).
*
* @param string $updatePartitionFilter
*/
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,74 @@
<?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
{
/**
* Optional. Exclusive end of the interval. If specified, a Timestamp matching
* this interval will have to be before the end.
*
* @var string
*/
public $endTime;
/**
* Optional. Inclusive start of the interval. If specified, a Timestamp
* matching this interval will have to be the same or after the start.
*
* @var string
*/
public $startTime;
/**
* Optional. Exclusive end of the interval. If specified, a Timestamp matching
* this interval will have to be before the end.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Optional. Inclusive start of the interval. If specified, a Timestamp
* matching this interval will have to be the same or after the start.
*
* @param string $startTime
*/
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,203 @@
<?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
{
/**
* Default value. This value is unused.
*/
public const QUERY_PRIORITY_QUERY_PRIORITY_UNSPECIFIED = 'QUERY_PRIORITY_UNSPECIFIED';
/**
* Query will be executed in BigQuery with interactive priority. More
* information can be found at https://cloud.google.com/bigquery/docs/running-
* queries#queries.
*/
public const QUERY_PRIORITY_INTERACTIVE = 'INTERACTIVE';
/**
* Query will be executed in BigQuery with batch priority. More information
* can be found at https://cloud.google.com/bigquery/docs/running-
* queries#batchqueries.
*/
public const QUERY_PRIORITY_BATCH = 'BATCH';
protected $collection_key = 'includedTargets';
/**
* Optional. When set to true, any incremental tables will be fully refreshed.
*
* @var bool
*/
public $fullyRefreshIncrementalTablesEnabled;
/**
* Optional. The set of tags to include.
*
* @var string[]
*/
public $includedTags;
protected $includedTargetsType = Target::class;
protected $includedTargetsDataType = 'array';
/**
* Optional. Specifies the priority for query execution in BigQuery. More
* information can be found at https://cloud.google.com/bigquery/docs/running-
* queries#queries.
*
* @var string
*/
public $queryPriority;
/**
* Optional. The service account to run workflow invocations under.
*
* @var string
*/
public $serviceAccount;
/**
* Optional. When set to true, transitive dependencies of included actions
* will be executed.
*
* @var bool
*/
public $transitiveDependenciesIncluded;
/**
* Optional. When set to true, transitive dependents of included actions will
* be executed.
*
* @var bool
*/
public $transitiveDependentsIncluded;
/**
* Optional. When set to true, any incremental tables will be fully refreshed.
*
* @param bool $fullyRefreshIncrementalTablesEnabled
*/
public function setFullyRefreshIncrementalTablesEnabled($fullyRefreshIncrementalTablesEnabled)
{
$this->fullyRefreshIncrementalTablesEnabled = $fullyRefreshIncrementalTablesEnabled;
}
/**
* @return bool
*/
public function getFullyRefreshIncrementalTablesEnabled()
{
return $this->fullyRefreshIncrementalTablesEnabled;
}
/**
* Optional. The set of tags to include.
*
* @param string[] $includedTags
*/
public function setIncludedTags($includedTags)
{
$this->includedTags = $includedTags;
}
/**
* @return string[]
*/
public function getIncludedTags()
{
return $this->includedTags;
}
/**
* Optional. The set of action identifiers to include.
*
* @param Target[] $includedTargets
*/
public function setIncludedTargets($includedTargets)
{
$this->includedTargets = $includedTargets;
}
/**
* @return Target[]
*/
public function getIncludedTargets()
{
return $this->includedTargets;
}
/**
* Optional. Specifies the priority for query execution in BigQuery. More
* information can be found at https://cloud.google.com/bigquery/docs/running-
* queries#queries.
*
* Accepted values: QUERY_PRIORITY_UNSPECIFIED, INTERACTIVE, BATCH
*
* @param self::QUERY_PRIORITY_* $queryPriority
*/
public function setQueryPriority($queryPriority)
{
$this->queryPriority = $queryPriority;
}
/**
* @return self::QUERY_PRIORITY_*
*/
public function getQueryPriority()
{
return $this->queryPriority;
}
/**
* Optional. The service account to run workflow invocations under.
*
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* Optional. When set to true, transitive dependencies of included actions
* will be executed.
*
* @param bool $transitiveDependenciesIncluded
*/
public function setTransitiveDependenciesIncluded($transitiveDependenciesIncluded)
{
$this->transitiveDependenciesIncluded = $transitiveDependenciesIncluded;
}
/**
* @return bool
*/
public function getTransitiveDependenciesIncluded()
{
return $this->transitiveDependenciesIncluded;
}
/**
* Optional. When set to true, transitive dependents of included actions will
* be executed.
*
* @param bool $transitiveDependentsIncluded
*/
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,95 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* Locations which could not be reached. LINT.ThenChange(//depot/google3/googl
* e/cloud/dataform/v2main/data_pipelines.proto:ListCompilationResultsResponse
* )
*
* @var string[]
*/
public $unreachable;
/**
* List of compilation results.
*
* @param CompilationResult[] $compilationResults
*/
public function setCompilationResults($compilationResults)
{
$this->compilationResults = $compilationResults;
}
/**
* @return CompilationResult[]
*/
public function getCompilationResults()
{
return $this->compilationResults;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations which could not be reached. LINT.ThenChange(//depot/google3/googl
* e/cloud/dataform/v2main/data_pipelines.proto:ListCompilationResultsResponse
* )
*
* @param string[] $unreachable
*/
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,67 @@
<?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';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that matches the specified filter in the request.
*
* @param Location[] $locations
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
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,95 @@
<?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 ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @var string[]
*/
public $unreachable;
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of operations that matches the specified filter in the request.
*
* @param Operation[] $operations
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @param string[] $unreachable
*/
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(ListOperationsResponse::class, 'Google_Service_Dataform_ListOperationsResponse');
@@ -0,0 +1,93 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $releaseConfigsType = ReleaseConfig::class;
protected $releaseConfigsDataType = 'array';
/**
* Locations which could not be reached. LINT.ThenChange(//depot/google3/googl
* e/cloud/dataform/v2main/data_pipelines.proto:ListReleaseConfigsResponse)
*
* @var string[]
*/
public $unreachable;
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* List of release configs.
*
* @param ReleaseConfig[] $releaseConfigs
*/
public function setReleaseConfigs($releaseConfigs)
{
$this->releaseConfigs = $releaseConfigs;
}
/**
* @return ReleaseConfig[]
*/
public function getReleaseConfigs()
{
return $this->releaseConfigs;
}
/**
* Locations which could not be reached. LINT.ThenChange(//depot/google3/googl
* e/cloud/dataform/v2main/data_pipelines.proto:ListReleaseConfigsResponse)
*
* @param string[] $unreachable
*/
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,91 @@
<?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';
/**
* A token which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $repositoriesType = Repository::class;
protected $repositoriesDataType = 'array';
/**
* Locations which could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A token which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* List of repositories.
*
* @param Repository[] $repositories
*/
public function setRepositories($repositories)
{
$this->repositories = $repositories;
}
/**
* @return Repository[]
*/
public function getRepositories()
{
return $this->repositories;
}
/**
* Locations which could not be reached.
*
* @param string[] $unreachable
*/
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,91 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* Locations which could not be reached.
*
* @var string[]
*/
public $unreachable;
protected $workflowConfigsType = WorkflowConfig::class;
protected $workflowConfigsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations which could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* List of workflow configs.
*
* @param WorkflowConfig[] $workflowConfigs
*/
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,91 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* Locations which could not be reached.
*
* @var string[]
*/
public $unreachable;
protected $workflowInvocationsType = WorkflowInvocation::class;
protected $workflowInvocationsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations which could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* List of workflow invocations.
*
* @param WorkflowInvocation[] $workflowInvocations
*/
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,91 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* Locations which could not be reached.
*
* @var string[]
*/
public $unreachable;
protected $workspacesType = Workspace::class;
protected $workspacesDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations which could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* List of workspaces.
*
* @param Workspace[] $workspaces
*/
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,100 @@
<?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 LoadConfig extends \Google\Model
{
protected $appendType = SimpleLoadMode::class;
protected $appendDataType = '';
protected $maximumType = IncrementalLoadMode::class;
protected $maximumDataType = '';
protected $replaceType = SimpleLoadMode::class;
protected $replaceDataType = '';
protected $uniqueType = IncrementalLoadMode::class;
protected $uniqueDataType = '';
/**
* Append into destination table
*
* @param SimpleLoadMode $append
*/
public function setAppend(SimpleLoadMode $append)
{
$this->append = $append;
}
/**
* @return SimpleLoadMode
*/
public function getAppend()
{
return $this->append;
}
/**
* Insert records where the value exceeds the previous maximum value for a
* column in the destination table
*
* @param IncrementalLoadMode $maximum
*/
public function setMaximum(IncrementalLoadMode $maximum)
{
$this->maximum = $maximum;
}
/**
* @return IncrementalLoadMode
*/
public function getMaximum()
{
return $this->maximum;
}
/**
* Replace destination table
*
* @param SimpleLoadMode $replace
*/
public function setReplace(SimpleLoadMode $replace)
{
$this->replace = $replace;
}
/**
* @return SimpleLoadMode
*/
public function getReplace()
{
return $this->replace;
}
/**
* Insert records where the value of a column is not already present in the
* destination table
*
* @param IncrementalLoadMode $unique
*/
public function setUnique(IncrementalLoadMode $unique)
{
$this->unique = $unique;
}
/**
* @return IncrementalLoadMode
*/
public function getUnique()
{
return $this->unique;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LoadConfig::class, 'Google_Service_Dataform_LoadConfig');
@@ -0,0 +1,144 @@
<?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
{
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @var string
*/
public $displayName;
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @var string[]
*/
public $labels;
/**
* The canonical id for this location. For example: `"us-east1"`.
*
* @var string
*/
public $locationId;
/**
* Service-specific metadata. For example the available capacity at the given
* location.
*
* @var array[]
*/
public $metadata;
/**
* Resource name for the location, which may vary between implementations. For
* example: `"projects/example-project/locations/us-east1"`
*
* @var string
*/
public $name;
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* The canonical id for this location. For example: `"us-east1"`.
*
* @param string $locationId
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* Service-specific metadata. For example the available capacity at the given
* location.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Resource name for the location, which may vary between implementations. For
* example: `"projects/example-project/locations/us-east1"`
*
* @param string $name
*/
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,50 @@
<?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
{
/**
* Required. The directory's full path including directory name, relative to
* the workspace root.
*
* @var string
*/
public $path;
/**
* Required. The directory's full path including directory name, relative to
* the workspace root.
*
* @param string $path
*/
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,74 @@
<?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
{
/**
* Required. The new path for the directory including directory name, rooted
* at workspace root.
*
* @var string
*/
public $newPath;
/**
* Required. The directory's full path including directory name, relative to
* the workspace root.
*
* @var string
*/
public $path;
/**
* Required. The new path for the directory including directory name, rooted
* at workspace root.
*
* @param string $newPath
*/
public function setNewPath($newPath)
{
$this->newPath = $newPath;
}
/**
* @return string
*/
public function getNewPath()
{
return $this->newPath;
}
/**
* Required. The directory's full path including directory name, relative to
* the workspace root.
*
* @param string $path
*/
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,74 @@
<?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
{
/**
* Required. The file's new path including filename, relative to the workspace
* root.
*
* @var string
*/
public $newPath;
/**
* Required. The file's full path including filename, relative to the
* workspace root.
*
* @var string
*/
public $path;
/**
* Required. The file's new path including filename, relative to the workspace
* root.
*
* @param string $newPath
*/
public function setNewPath($newPath)
{
$this->newPath = $newPath;
}
/**
* @return string
*/
public function getNewPath()
{
return $this->newPath;
}
/**
* Required. The file's full path including filename, relative to the
* workspace root.
*
* @param string $path
*/
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,52 @@
<?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 MoveFolderRequest extends \Google\Model
{
/**
* Optional. The name of the Folder, TeamFolder, or root location to move the
* Folder to. Can be in the format of: "" to move into the root User folder,
* `projects/locations/folders`, `projects/locations/teamFolders`
*
* @var string
*/
public $destinationContainingFolder;
/**
* Optional. The name of the Folder, TeamFolder, or root location to move the
* Folder to. Can be in the format of: "" to move into the root User folder,
* `projects/locations/folders`, `projects/locations/teamFolders`
*
* @param string $destinationContainingFolder
*/
public function setDestinationContainingFolder($destinationContainingFolder)
{
$this->destinationContainingFolder = $destinationContainingFolder;
}
/**
* @return string
*/
public function getDestinationContainingFolder()
{
return $this->destinationContainingFolder;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MoveFolderRequest::class, 'Google_Service_Dataform_MoveFolderRequest');
@@ -0,0 +1,52 @@
<?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 MoveRepositoryRequest extends \Google\Model
{
/**
* Optional. The name of the Folder, TeamFolder, or root location to move the
* repository to. Can be in the format of: "" to move into the root User
* folder, `projects/locations/folders`, `projects/locations/teamFolders`
*
* @var string
*/
public $destinationContainingFolder;
/**
* Optional. The name of the Folder, TeamFolder, or root location to move the
* repository to. Can be in the format of: "" to move into the root User
* folder, `projects/locations/folders`, `projects/locations/teamFolders`
*
* @param string $destinationContainingFolder
*/
public function setDestinationContainingFolder($destinationContainingFolder)
{
$this->destinationContainingFolder = $destinationContainingFolder;
}
/**
* @return string
*/
public function getDestinationContainingFolder()
{
return $this->destinationContainingFolder;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MoveRepositoryRequest::class, 'Google_Service_Dataform_MoveRepositoryRequest');
@@ -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;
class Notebook extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* The contents of the notebook.
*
* @var string
*/
public $contents;
protected $dependencyTargetsType = Target::class;
protected $dependencyTargetsDataType = 'array';
/**
* Whether this action is disabled (i.e. should not be run).
*
* @var bool
*/
public $disabled;
/**
* Arbitrary, user-defined tags on this action.
*
* @var string[]
*/
public $tags;
/**
* The contents of the notebook.
*
* @param string $contents
*/
public function setContents($contents)
{
$this->contents = $contents;
}
/**
* @return string
*/
public function getContents()
{
return $this->contents;
}
/**
* A list of actions that this action depends on.
*
* @param Target[] $dependencyTargets
*/
public function setDependencyTargets($dependencyTargets)
{
$this->dependencyTargets = $dependencyTargets;
}
/**
* @return Target[]
*/
public function getDependencyTargets()
{
return $this->dependencyTargets;
}
/**
* Whether this action is disabled (i.e. should not be run).
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* Arbitrary, user-defined tags on this action.
*
* @param string[] $tags
*/
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,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 NotebookAction extends \Google\Model
{
/**
* Output only. The code contents of a Notebook to be run.
*
* @var string
*/
public $contents;
/**
* Output only. The ID of the Gemini Enterprise Agent Platform job that
* executed the notebook in contents and also the ID used for the outputs
* created in Google Cloud Storage buckets. Only set once the job has started
* to run.
*
* @var string
*/
public $jobId;
/**
* Output only. The code contents of a Notebook to be run.
*
* @param string $contents
*/
public function setContents($contents)
{
$this->contents = $contents;
}
/**
* @return string
*/
public function getContents()
{
return $this->contents;
}
/**
* Output only. The ID of the Gemini Enterprise Agent Platform job that
* executed the notebook in contents and also the ID used for the outputs
* created in Google Cloud Storage buckets. Only set once the job has started
* to run.
*
* @param string $jobId
*/
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,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 NotebookRuntimeOptions extends \Google\Model
{
/**
* Optional. The resource name of the [Colab runtime template]
* (https://cloud.google.com/colab/docs/runtimes), from which a runtime is
* created for notebook executions. If not specified, a runtime is created
* with Colab's default specifications.
*
* @var string
*/
public $aiPlatformNotebookRuntimeTemplate;
/**
* Optional. The Google Cloud Storage location to upload the result to.
* Format: `gs://bucket-name`.
*
* @var string
*/
public $gcsOutputBucket;
/**
* Optional. The resource name of the [Colab runtime template]
* (https://cloud.google.com/colab/docs/runtimes), from which a runtime is
* created for notebook executions. If not specified, a runtime is created
* with Colab's default specifications.
*
* @param string $aiPlatformNotebookRuntimeTemplate
*/
public function setAiPlatformNotebookRuntimeTemplate($aiPlatformNotebookRuntimeTemplate)
{
$this->aiPlatformNotebookRuntimeTemplate = $aiPlatformNotebookRuntimeTemplate;
}
/**
* @return string
*/
public function getAiPlatformNotebookRuntimeTemplate()
{
return $this->aiPlatformNotebookRuntimeTemplate;
}
/**
* Optional. The Google Cloud Storage location to upload the result to.
* Format: `gs://bucket-name`.
*
* @param string $gcsOutputBucket
*/
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,158 @@
<?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 Operation extends \Google\Model
{
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @var array[]
*/
public $metadata;
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @var string
*/
public $name;
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @var array[]
*/
public $response;
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @param bool $done
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* The error result of the operation in case of failure or cancellation.
*
* @param Status $error
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @param array[] $response
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_Dataform_Operation');
@@ -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 OperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @var bool
*/
public $cancelRequested;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusDetail;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @param bool $cancelRequested
*/
public function setCancelRequested($cancelRequested)
{
$this->cancelRequested = $cancelRequested;
}
/**
* @return bool
*/
public function getCancelRequested()
{
return $this->cancelRequested;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusDetail
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
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,154 @@
<?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';
/**
* Whether this action is disabled (i.e. should not be run).
*
* @var bool
*/
public $disabled;
/**
* Whether these operations produce an output relation.
*
* @var bool
*/
public $hasOutput;
/**
* A list of arbitrary SQL statements that will be executed without
* alteration.
*
* @var string[]
*/
public $queries;
protected $relationDescriptorType = RelationDescriptor::class;
protected $relationDescriptorDataType = '';
/**
* Arbitrary, user-defined tags on this action.
*
* @var string[]
*/
public $tags;
/**
* A list of actions that this action depends on.
*
* @param Target[] $dependencyTargets
*/
public function setDependencyTargets($dependencyTargets)
{
$this->dependencyTargets = $dependencyTargets;
}
/**
* @return Target[]
*/
public function getDependencyTargets()
{
return $this->dependencyTargets;
}
/**
* Whether this action is disabled (i.e. should not be run).
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* Whether these operations produce an output relation.
*
* @param bool $hasOutput
*/
public function setHasOutput($hasOutput)
{
$this->hasOutput = $hasOutput;
}
/**
* @return bool
*/
public function getHasOutput()
{
return $this->hasOutput;
}
/**
* A list of arbitrary SQL statements that will be executed without
* alteration.
*
* @param string[] $queries
*/
public function setQueries($queries)
{
$this->queries = $queries;
}
/**
* @return string[]
*/
public function getQueries()
{
return $this->queries;
}
/**
* Descriptor for any output relation and its columns. Only set if
* `has_output` is true.
*
* @param RelationDescriptor $relationDescriptor
*/
public function setRelationDescriptor(RelationDescriptor $relationDescriptor)
{
$this->relationDescriptor = $relationDescriptor;
}
/**
* @return RelationDescriptor
*/
public function getRelationDescriptor()
{
return $this->relationDescriptor;
}
/**
* Arbitrary, user-defined tags on this action.
*
* @param string[] $tags
*/
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');
+147
View File
@@ -0,0 +1,147 @@
<?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';
/**
* `etag` is used for optimistic concurrency control as a way to help prevent
* simultaneous updates of a policy from overwriting each other. It is
* strongly suggested that systems make use of the `etag` in the read-modify-
* write cycle to perform policy updates in order to avoid race conditions: An
* `etag` is returned in the response to `getIamPolicy`, and systems are
* expected to put that etag in the request to `setIamPolicy` to ensure that
* their change will be applied to the same version of the policy.
* **Important:** If you use IAM Conditions, you must include the `etag` field
* whenever you call `setIamPolicy`. If you omit this field, then IAM allows
* you to overwrite a version `3` policy with a version `1` policy, and all of
* the conditions in the version `3` policy are lost.
*
* @var string
*/
public $etag;
/**
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
* Requests that specify an invalid value are rejected. Any operation that
* affects conditional role bindings must specify version `3`. This
* requirement applies to the following operations: * Getting a policy that
* includes a conditional role binding * Adding a conditional role binding to
* a policy * Changing a conditional role binding in a policy * Removing any
* role binding, with or without a condition, from a policy that includes
* conditions **Important:** If you use IAM Conditions, you must include the
* `etag` field whenever you call `setIamPolicy`. If you omit this field, then
* IAM allows you to overwrite a version `3` policy with a version `1` policy,
* and all of the conditions in the version `3` policy are lost. If a policy
* does not include any conditions, operations on that policy may specify any
* valid version or leave the field unset. To learn which resources support
* conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @var int
*/
public $version;
/**
* Associates a list of `members`, or principals, with a `role`. Optionally,
* may specify a `condition` that determines how and when the `bindings` are
* applied. Each of the `bindings` must contain at least one principal. The
* `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of
* these principals can be Google groups. Each occurrence of a principal
* counts towards these limits. For example, if the `bindings` grant 50
* different roles to `user:alice@example.com`, and not to any other
* principal, then you can add another 1,450 principals to the `bindings` in
* the `Policy`.
*
* @param Binding[] $bindings
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* `etag` is used for optimistic concurrency control as a way to help prevent
* simultaneous updates of a policy from overwriting each other. It is
* strongly suggested that systems make use of the `etag` in the read-modify-
* write cycle to perform policy updates in order to avoid race conditions: An
* `etag` is returned in the response to `getIamPolicy`, and systems are
* expected to put that etag in the request to `setIamPolicy` to ensure that
* their change will be applied to the same version of the policy.
* **Important:** If you use IAM Conditions, you must include the `etag` field
* whenever you call `setIamPolicy`. If you omit this field, then IAM allows
* you to overwrite a version `3` policy with a version `1` policy, and all of
* the conditions in the version `3` policy are lost.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
* Requests that specify an invalid value are rejected. Any operation that
* affects conditional role bindings must specify version `3`. This
* requirement applies to the following operations: * Getting a policy that
* includes a conditional role binding * Adding a conditional role binding to
* a policy * Changing a conditional role binding in a policy * Removing any
* role binding, with or without a condition, from a policy that includes
* conditions **Important:** If you use IAM Conditions, you must include the
* `etag` field whenever you call `setIamPolicy`. If you omit this field, then
* IAM allows you to overwrite a version `3` policy with a version `1` policy,
* and all of the conditions in the version `3` policy are lost. If a policy
* does not include any conditions, operations on that policy may specify any
* valid version or leave the field unset. To learn which resources support
* conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @param int $version
*/
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,106 @@
<?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 PolicyName extends \Google\Model
{
/**
* Identifies an instance of the type. ID format varies by type. The ID format
* is defined in the IAM .service file that defines the type, either in
* path_mapping or in a comment.
*
* @var string
*/
public $id;
/**
* For Cloud IAM: The location of the Policy. Must be empty or "global" for
* Policies owned by global IAM. Must name a region from prodspec/cloud-iam-
* cloudspec for Regional IAM Policies, see go/iam-faq#where-is-iam-currently-
* deployed. For Local IAM: This field should be set to "local".
*
* @var string
*/
public $region;
/**
* Resource type. Types are defined in IAM's .service files. Valid values for
* type might be 'storage_buckets', 'compute_instances',
* 'resourcemanager_customers', 'billing_accounts', etc.
*
* @var string
*/
public $type;
/**
* Identifies an instance of the type. ID format varies by type. The ID format
* is defined in the IAM .service file that defines the type, either in
* path_mapping or in a comment.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* For Cloud IAM: The location of the Policy. Must be empty or "global" for
* Policies owned by global IAM. Must name a region from prodspec/cloud-iam-
* cloudspec for Regional IAM Policies, see go/iam-faq#where-is-iam-currently-
* deployed. For Local IAM: This field should be set to "local".
*
* @param string $region
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* Resource type. Types are defined in IAM's .service files. Valid values for
* type might be 'storage_buckets', 'compute_instances',
* 'resourcemanager_customers', 'billing_accounts', etc.
*
* @param string $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyName::class, 'Google_Service_Dataform_PolicyName');
@@ -0,0 +1,50 @@
<?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 PrivateResourceMetadata extends \Google\Model
{
/**
* Output only. If true, this resource is user-scoped, meaning it is either a
* workspace or sourced from a workspace.
*
* @var bool
*/
public $userScoped;
/**
* Output only. If true, this resource is user-scoped, meaning it is either a
* workspace or sourced from a workspace.
*
* @param bool $userScoped
*/
public function setUserScoped($userScoped)
{
$this->userScoped = $userScoped;
}
/**
* @return bool
*/
public function getUserScoped()
{
return $this->userScoped;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateResourceMetadata::class, 'Google_Service_Dataform_PrivateResourceMetadata');
@@ -0,0 +1,69 @@
<?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 = '';
/**
* Optional. The name of the branch in the Git remote from which to pull
* commits. If left unset, the repository's default branch name will be used.
*
* @var string
*/
public $remoteBranch;
/**
* Required. The author of any merge commit which may be created as a result
* of merging fetched Git commits into this workspace.
*
* @param CommitAuthor $author
*/
public function setAuthor(CommitAuthor $author)
{
$this->author = $author;
}
/**
* @return CommitAuthor
*/
public function getAuthor()
{
return $this->author;
}
/**
* Optional. The name of the branch in the Git remote from which to pull
* commits. If left unset, the repository's default branch name will be used.
*
* @param string $remoteBranch
*/
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,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 PullGitCommitsResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PullGitCommitsResponse::class, 'Google_Service_Dataform_PullGitCommitsResponse');
@@ -0,0 +1,52 @@
<?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
{
/**
* Optional. The name of the branch in the Git remote to which commits should
* be pushed. If left unset, the repository's default branch name will be
* used.
*
* @var string
*/
public $remoteBranch;
/**
* Optional. The name of the branch in the Git remote to which commits should
* be pushed. If left unset, the repository's default branch name will be
* used.
*
* @param string $remoteBranch
*/
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,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 PushGitCommitsResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PushGitCommitsResponse::class, 'Google_Service_Dataform_PushGitCommitsResponse');
@@ -0,0 +1,69 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* List of compilation result actions.
*
* @param CompilationResultAction[] $compilationResultActions
*/
public function setCompilationResultActions($compilationResultActions)
{
$this->compilationResultActions = $compilationResultActions;
}
/**
* @return CompilationResultAction[]
*/
public function getCompilationResultActions()
{
return $this->compilationResultActions;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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,69 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* List of entries in the directory.
*
* @param DirectoryEntry[] $directoryEntries
*/
public function setDirectoryEntries($directoryEntries)
{
$this->directoryEntries = $directoryEntries;
}
/**
* @return DirectoryEntry[]
*/
public function getDirectoryEntries()
{
return $this->directoryEntries;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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,69 @@
<?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 QueryFolderContentsResponse extends \Google\Collection
{
protected $collection_key = 'entries';
protected $entriesType = FolderContentsEntry::class;
protected $entriesDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* List of entries in the folder.
*
* @param FolderContentsEntry[] $entries
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return FolderContentsEntry[]
*/
public function getEntries()
{
return $this->entries;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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(QueryFolderContentsResponse::class, 'Google_Service_Dataform_QueryFolderContentsResponse');
@@ -0,0 +1,69 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* List of entries in the directory.
*
* @param DirectoryEntry[] $directoryEntries
*/
public function setDirectoryEntries($directoryEntries)
{
$this->directoryEntries = $directoryEntries;
}
/**
* @return DirectoryEntry[]
*/
public function getDirectoryEntries()
{
return $this->directoryEntries;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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,69 @@
<?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 QueryTeamFolderContentsResponse extends \Google\Collection
{
protected $collection_key = 'entries';
protected $entriesType = TeamFolderContentsEntry::class;
protected $entriesDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* List of entries in the TeamFolder.
*
* @param TeamFolderContentsEntry[] $entries
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return TeamFolderContentsEntry[]
*/
public function getEntries()
{
return $this->entries;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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(QueryTeamFolderContentsResponse::class, 'Google_Service_Dataform_QueryTeamFolderContentsResponse');
@@ -0,0 +1,69 @@
<?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 QueryUserRootContentsResponse extends \Google\Collection
{
protected $collection_key = 'entries';
protected $entriesType = RootContentsEntry::class;
protected $entriesDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* List of entries in the folder.
*
* @param RootContentsEntry[] $entries
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return RootContentsEntry[]
*/
public function getEntries()
{
return $this->entries;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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(QueryUserRootContentsResponse::class, 'Google_Service_Dataform_QueryUserRootContentsResponse');
@@ -0,0 +1,69 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $workflowInvocationActionsType = WorkflowInvocationAction::class;
protected $workflowInvocationActionsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* List of workflow invocation actions.
*
* @param WorkflowInvocationAction[] $workflowInvocationActions
*/
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,48 @@
<?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
{
/**
* The file's contents.
*
* @var string
*/
public $fileContents;
/**
* The file's contents.
*
* @param string $fileContents
*/
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,48 @@
<?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
{
/**
* The file's contents.
*
* @var string
*/
public $contents;
/**
* The file's contents.
*
* @param string $contents
*/
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,475 @@
<?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
{
/**
* Default value.
*/
public const FILE_FORMAT_FILE_FORMAT_UNSPECIFIED = 'FILE_FORMAT_UNSPECIFIED';
/**
* Apache Parquet format.
*/
public const FILE_FORMAT_PARQUET = 'PARQUET';
/**
* Default value. This value is unused.
*/
public const RELATION_TYPE_RELATION_TYPE_UNSPECIFIED = 'RELATION_TYPE_UNSPECIFIED';
/**
* The relation is a table.
*/
public const RELATION_TYPE_TABLE = 'TABLE';
/**
* The relation is a view.
*/
public const RELATION_TYPE_VIEW = 'VIEW';
/**
* The relation is an incrementalized table.
*/
public const RELATION_TYPE_INCREMENTAL_TABLE = 'INCREMENTAL_TABLE';
/**
* The relation is a materialized view.
*/
public const RELATION_TYPE_MATERIALIZED_VIEW = 'MATERIALIZED_VIEW';
/**
* Default value.
*/
public const TABLE_FORMAT_TABLE_FORMAT_UNSPECIFIED = 'TABLE_FORMAT_UNSPECIFIED';
/**
* Apache Iceberg format.
*/
public const TABLE_FORMAT_ICEBERG = 'ICEBERG';
protected $collection_key = 'tags';
/**
* Additional options that will be provided as key/value pairs into the
* options clause of a create table/view statement. See
* https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
* definition-language for more information on which options are supported.
*
* @var string[]
*/
public $additionalOptions;
/**
* A list of columns or SQL expressions used to cluster the table.
*
* @var string[]
*/
public $clusterExpressions;
/**
* Optional. The connection specifying the credentials to be used to read and
* write to external storage, such as Cloud Storage. The connection can have
* the form `{project}.{location}.{connection_id}` or
* `projects/{project}/locations/{location}/connections/{connection_id}`, or
* be set to DEFAULT.
*
* @var string
*/
public $connection;
protected $dependencyTargetsType = Target::class;
protected $dependencyTargetsDataType = 'array';
/**
* Whether this action is disabled (i.e. should not be run).
*
* @var bool
*/
public $disabled;
/**
* Optional. The file format for the BigQuery table.
*
* @var string
*/
public $fileFormat;
protected $incrementalTableConfigType = IncrementalTableConfig::class;
protected $incrementalTableConfigDataType = '';
/**
* Sets the partition expiration in days.
*
* @var int
*/
public $partitionExpirationDays;
/**
* The SQL expression used to partition the relation.
*
* @var string
*/
public $partitionExpression;
/**
* SQL statements to be executed after creating the relation.
*
* @var string[]
*/
public $postOperations;
/**
* SQL statements to be executed before creating the relation.
*
* @var string[]
*/
public $preOperations;
protected $relationDescriptorType = RelationDescriptor::class;
protected $relationDescriptorDataType = '';
/**
* The type of this relation.
*
* @var string
*/
public $relationType;
/**
* Specifies whether queries on this table must include a predicate filter
* that filters on the partitioning column.
*
* @var bool
*/
public $requirePartitionFilter;
/**
* The SELECT query which returns rows which this relation should contain.
*
* @var string
*/
public $selectQuery;
/**
* Optional. The fully qualified location prefix of the external folder where
* table data is stored. The URI should be in the format
* `gs://bucket/path_to_table/`.
*
* @var string
*/
public $storageUri;
/**
* Optional. The table format for the BigQuery table.
*
* @var string
*/
public $tableFormat;
/**
* Arbitrary, user-defined tags on this action.
*
* @var string[]
*/
public $tags;
/**
* Additional options that will be provided as key/value pairs into the
* options clause of a create table/view statement. See
* https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
* definition-language for more information on which options are supported.
*
* @param string[] $additionalOptions
*/
public function setAdditionalOptions($additionalOptions)
{
$this->additionalOptions = $additionalOptions;
}
/**
* @return string[]
*/
public function getAdditionalOptions()
{
return $this->additionalOptions;
}
/**
* A list of columns or SQL expressions used to cluster the table.
*
* @param string[] $clusterExpressions
*/
public function setClusterExpressions($clusterExpressions)
{
$this->clusterExpressions = $clusterExpressions;
}
/**
* @return string[]
*/
public function getClusterExpressions()
{
return $this->clusterExpressions;
}
/**
* Optional. The connection specifying the credentials to be used to read and
* write to external storage, such as Cloud Storage. The connection can have
* the form `{project}.{location}.{connection_id}` or
* `projects/{project}/locations/{location}/connections/{connection_id}`, or
* be set to DEFAULT.
*
* @param string $connection
*/
public function setConnection($connection)
{
$this->connection = $connection;
}
/**
* @return string
*/
public function getConnection()
{
return $this->connection;
}
/**
* A list of actions that this action depends on.
*
* @param Target[] $dependencyTargets
*/
public function setDependencyTargets($dependencyTargets)
{
$this->dependencyTargets = $dependencyTargets;
}
/**
* @return Target[]
*/
public function getDependencyTargets()
{
return $this->dependencyTargets;
}
/**
* Whether this action is disabled (i.e. should not be run).
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* Optional. The file format for the BigQuery table.
*
* Accepted values: FILE_FORMAT_UNSPECIFIED, PARQUET
*
* @param self::FILE_FORMAT_* $fileFormat
*/
public function setFileFormat($fileFormat)
{
$this->fileFormat = $fileFormat;
}
/**
* @return self::FILE_FORMAT_*
*/
public function getFileFormat()
{
return $this->fileFormat;
}
/**
* Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
* `relation_type` is `INCREMENTAL_TABLE`.
*
* @param IncrementalTableConfig $incrementalTableConfig
*/
public function setIncrementalTableConfig(IncrementalTableConfig $incrementalTableConfig)
{
$this->incrementalTableConfig = $incrementalTableConfig;
}
/**
* @return IncrementalTableConfig
*/
public function getIncrementalTableConfig()
{
return $this->incrementalTableConfig;
}
/**
* Sets the partition expiration in days.
*
* @param int $partitionExpirationDays
*/
public function setPartitionExpirationDays($partitionExpirationDays)
{
$this->partitionExpirationDays = $partitionExpirationDays;
}
/**
* @return int
*/
public function getPartitionExpirationDays()
{
return $this->partitionExpirationDays;
}
/**
* The SQL expression used to partition the relation.
*
* @param string $partitionExpression
*/
public function setPartitionExpression($partitionExpression)
{
$this->partitionExpression = $partitionExpression;
}
/**
* @return string
*/
public function getPartitionExpression()
{
return $this->partitionExpression;
}
/**
* SQL statements to be executed after creating the relation.
*
* @param string[] $postOperations
*/
public function setPostOperations($postOperations)
{
$this->postOperations = $postOperations;
}
/**
* @return string[]
*/
public function getPostOperations()
{
return $this->postOperations;
}
/**
* SQL statements to be executed before creating the relation.
*
* @param string[] $preOperations
*/
public function setPreOperations($preOperations)
{
$this->preOperations = $preOperations;
}
/**
* @return string[]
*/
public function getPreOperations()
{
return $this->preOperations;
}
/**
* Descriptor for the relation and its columns.
*
* @param RelationDescriptor $relationDescriptor
*/
public function setRelationDescriptor(RelationDescriptor $relationDescriptor)
{
$this->relationDescriptor = $relationDescriptor;
}
/**
* @return RelationDescriptor
*/
public function getRelationDescriptor()
{
return $this->relationDescriptor;
}
/**
* The type of this relation.
*
* Accepted values: RELATION_TYPE_UNSPECIFIED, TABLE, VIEW, INCREMENTAL_TABLE,
* MATERIALIZED_VIEW
*
* @param self::RELATION_TYPE_* $relationType
*/
public function setRelationType($relationType)
{
$this->relationType = $relationType;
}
/**
* @return self::RELATION_TYPE_*
*/
public function getRelationType()
{
return $this->relationType;
}
/**
* Specifies whether queries on this table must include a predicate filter
* that filters on the partitioning column.
*
* @param bool $requirePartitionFilter
*/
public function setRequirePartitionFilter($requirePartitionFilter)
{
$this->requirePartitionFilter = $requirePartitionFilter;
}
/**
* @return bool
*/
public function getRequirePartitionFilter()
{
return $this->requirePartitionFilter;
}
/**
* The SELECT query which returns rows which this relation should contain.
*
* @param string $selectQuery
*/
public function setSelectQuery($selectQuery)
{
$this->selectQuery = $selectQuery;
}
/**
* @return string
*/
public function getSelectQuery()
{
return $this->selectQuery;
}
/**
* Optional. The fully qualified location prefix of the external folder where
* table data is stored. The URI should be in the format
* `gs://bucket/path_to_table/`.
*
* @param string $storageUri
*/
public function setStorageUri($storageUri)
{
$this->storageUri = $storageUri;
}
/**
* @return string
*/
public function getStorageUri()
{
return $this->storageUri;
}
/**
* Optional. The table format for the BigQuery table.
*
* Accepted values: TABLE_FORMAT_UNSPECIFIED, ICEBERG
*
* @param self::TABLE_FORMAT_* $tableFormat
*/
public function setTableFormat($tableFormat)
{
$this->tableFormat = $tableFormat;
}
/**
* @return self::TABLE_FORMAT_*
*/
public function getTableFormat()
{
return $this->tableFormat;
}
/**
* Arbitrary, user-defined tags on this action.
*
* @param string[] $tags
*/
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,89 @@
<?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';
/**
* A set of BigQuery labels that should be applied to the relation.
*
* @var string[]
*/
public $bigqueryLabels;
protected $columnsType = ColumnDescriptor::class;
protected $columnsDataType = 'array';
/**
* A text description of the relation.
*
* @var string
*/
public $description;
/**
* A set of BigQuery labels that should be applied to the relation.
*
* @param string[] $bigqueryLabels
*/
public function setBigqueryLabels($bigqueryLabels)
{
$this->bigqueryLabels = $bigqueryLabels;
}
/**
* @return string[]
*/
public function getBigqueryLabels()
{
return $this->bigqueryLabels;
}
/**
* A list of descriptions of columns within the relation.
*
* @param ColumnDescriptor[] $columns
*/
public function setColumns($columns)
{
$this->columns = $columns;
}
/**
* @return ColumnDescriptor[]
*/
public function getColumns()
{
return $this->columns;
}
/**
* A text description of the relation.
*
* @param string $description
*/
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,250 @@
<?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 = '';
/**
* Optional. Optional schedule (in cron format) for automatic creation of
* compilation results.
*
* @var string
*/
public $cronSchedule;
/**
* Optional. Disables automatic creation of compilation results.
*
* @var bool
*/
public $disabled;
/**
* Required. Git commit/tag/branch name at which the repository should be
* compiled. Must exist in the remote repository. Examples: - a commit SHA:
* `12ade345` - a tag: `tag1` - a branch name: `branch1`
*
* @var string
*/
public $gitCommitish;
/**
* Output only. All the metadata information that is used internally to serve
* the resource. For example: timestamps, flags, status fields, etc. The
* format of this field is a JSON string. LINT.ThenChange(//depot/google3/goog
* le/cloud/dataform/v2main/data_pipelines.proto:ReleaseConfig)
*
* @var string
*/
public $internalMetadata;
/**
* Identifier. The release config's name.
*
* @var string
*/
public $name;
protected $recentScheduledReleaseRecordsType = ScheduledReleaseRecord::class;
protected $recentScheduledReleaseRecordsDataType = 'array';
/**
* Optional. The name of the currently released compilation result for this
* release config. This value is updated when a compilation result is
* automatically created from this release config (using cron_schedule), or
* when this resource is updated by API call (perhaps to roll back to an
* earlier release). The compilation result must have been created using this
* release config. Must be in the format
* `projects/locations/repositories/compilationResults`.
*
* @var string
*/
public $releaseCompilationResult;
/**
* Optional. Specifies the time zone to be used when interpreting
* cron_schedule. Must be a time zone name from the time zone database
* (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left
* unspecified, the default is UTC.
*
* @var string
*/
public $timeZone;
/**
* Optional. If set, fields of `code_compilation_config` override the default
* compilation settings that are specified in dataform.json.
*
* @param CodeCompilationConfig $codeCompilationConfig
*/
public function setCodeCompilationConfig(CodeCompilationConfig $codeCompilationConfig)
{
$this->codeCompilationConfig = $codeCompilationConfig;
}
/**
* @return CodeCompilationConfig
*/
public function getCodeCompilationConfig()
{
return $this->codeCompilationConfig;
}
/**
* Optional. Optional schedule (in cron format) for automatic creation of
* compilation results.
*
* @param string $cronSchedule
*/
public function setCronSchedule($cronSchedule)
{
$this->cronSchedule = $cronSchedule;
}
/**
* @return string
*/
public function getCronSchedule()
{
return $this->cronSchedule;
}
/**
* Optional. Disables automatic creation of compilation results.
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* Required. Git commit/tag/branch name at which the repository should be
* compiled. Must exist in the remote repository. Examples: - a commit SHA:
* `12ade345` - a tag: `tag1` - a branch name: `branch1`
*
* @param string $gitCommitish
*/
public function setGitCommitish($gitCommitish)
{
$this->gitCommitish = $gitCommitish;
}
/**
* @return string
*/
public function getGitCommitish()
{
return $this->gitCommitish;
}
/**
* Output only. All the metadata information that is used internally to serve
* the resource. For example: timestamps, flags, status fields, etc. The
* format of this field is a JSON string. LINT.ThenChange(//depot/google3/goog
* le/cloud/dataform/v2main/data_pipelines.proto:ReleaseConfig)
*
* @param string $internalMetadata
*/
public function setInternalMetadata($internalMetadata)
{
$this->internalMetadata = $internalMetadata;
}
/**
* @return string
*/
public function getInternalMetadata()
{
return $this->internalMetadata;
}
/**
* Identifier. The release config's name.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Records of the 10 most recent scheduled release attempts,
* ordered in descending order of `release_time`. Updated whenever automatic
* creation of a compilation result is triggered by cron_schedule.
*
* @param ScheduledReleaseRecord[] $recentScheduledReleaseRecords
*/
public function setRecentScheduledReleaseRecords($recentScheduledReleaseRecords)
{
$this->recentScheduledReleaseRecords = $recentScheduledReleaseRecords;
}
/**
* @return ScheduledReleaseRecord[]
*/
public function getRecentScheduledReleaseRecords()
{
return $this->recentScheduledReleaseRecords;
}
/**
* Optional. The name of the currently released compilation result for this
* release config. This value is updated when a compilation result is
* automatically created from this release config (using cron_schedule), or
* when this resource is updated by API call (perhaps to roll back to an
* earlier release). The compilation result must have been created using this
* release config. Must be in the format
* `projects/locations/repositories/compilationResults`.
*
* @param string $releaseCompilationResult
*/
public function setReleaseCompilationResult($releaseCompilationResult)
{
$this->releaseCompilationResult = $releaseCompilationResult;
}
/**
* @return string
*/
public function getReleaseCompilationResult()
{
return $this->releaseCompilationResult;
}
/**
* Optional. Specifies the time zone to be used when interpreting
* cron_schedule. Must be a time zone name from the time zone database
* (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left
* unspecified, the default is UTC.
*
* @param string $timeZone
*/
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,50 @@
<?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
{
/**
* Required. The directory's full path including directory name, relative to
* the workspace root.
*
* @var string
*/
public $path;
/**
* Required. The directory's full path including directory name, relative to
* the workspace root.
*
* @param string $path
*/
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,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 RemoveDirectoryResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveDirectoryResponse::class, 'Google_Service_Dataform_RemoveDirectoryResponse');

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