Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions
@@ -0,0 +1,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\DriveLabels;
class GoogleAppsDriveLabelsV2BadgeColors extends \Google\Model
{
protected $backgroundColorType = GoogleTypeColor::class;
protected $backgroundColorDataType = '';
protected $foregroundColorType = GoogleTypeColor::class;
protected $foregroundColorDataType = '';
protected $soloColorType = GoogleTypeColor::class;
protected $soloColorDataType = '';
/**
* @param GoogleTypeColor
*/
public function setBackgroundColor(GoogleTypeColor $backgroundColor)
{
$this->backgroundColor = $backgroundColor;
}
/**
* @return GoogleTypeColor
*/
public function getBackgroundColor()
{
return $this->backgroundColor;
}
/**
* @param GoogleTypeColor
*/
public function setForegroundColor(GoogleTypeColor $foregroundColor)
{
$this->foregroundColor = $foregroundColor;
}
/**
* @return GoogleTypeColor
*/
public function getForegroundColor()
{
return $this->foregroundColor;
}
/**
* @param GoogleTypeColor
*/
public function setSoloColor(GoogleTypeColor $soloColor)
{
$this->soloColor = $soloColor;
}
/**
* @return GoogleTypeColor
*/
public function getSoloColor()
{
return $this->soloColor;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2BadgeColors::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2BadgeColors');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2BadgeConfig extends \Google\Model
{
protected $colorType = GoogleTypeColor::class;
protected $colorDataType = '';
/**
* @var string
*/
public $priorityOverride;
/**
* @param GoogleTypeColor
*/
public function setColor(GoogleTypeColor $color)
{
$this->color = $color;
}
/**
* @return GoogleTypeColor
*/
public function getColor()
{
return $this->color;
}
/**
* @param string
*/
public function setPriorityOverride($priorityOverride)
{
$this->priorityOverride = $priorityOverride;
}
/**
* @return string
*/
public function getPriorityOverride()
{
return $this->priorityOverride;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2BadgeConfig::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2BadgeConfig');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest::class;
protected $requestsDataType = 'array';
/**
* @var bool
*/
public $useAdminAccess;
/**
* @param GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest[]
*/
public function getRequests()
{
return $this->requests;
}
/**
* @param bool
*/
public function setUseAdminAccess($useAdminAccess)
{
$this->useAdminAccess = $useAdminAccess;
}
/**
* @return bool
*/
public function getUseAdminAccess()
{
return $this->useAdminAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest::class;
protected $requestsDataType = 'array';
/**
* @var bool
*/
public $useAdminAccess;
/**
* @param GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest[]
*/
public function getRequests()
{
return $this->requests;
}
/**
* @param bool
*/
public function setUseAdminAccess($useAdminAccess)
{
$this->useAdminAccess = $useAdminAccess;
}
/**
* @return bool
*/
public function getUseAdminAccess()
{
return $this->useAdminAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
protected $permissionsType = GoogleAppsDriveLabelsV2LabelPermission::class;
protected $permissionsDataType = 'array';
/**
* @param GoogleAppsDriveLabelsV2LabelPermission[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return GoogleAppsDriveLabelsV2LabelPermission[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DateLimits extends \Google\Model
{
protected $maxValueType = GoogleTypeDate::class;
protected $maxValueDataType = '';
protected $minValueType = GoogleTypeDate::class;
protected $minValueDataType = '';
/**
* @param GoogleTypeDate
*/
public function setMaxValue(GoogleTypeDate $maxValue)
{
$this->maxValue = $maxValue;
}
/**
* @return GoogleTypeDate
*/
public function getMaxValue()
{
return $this->maxValue;
}
/**
* @param GoogleTypeDate
*/
public function setMinValue(GoogleTypeDate $minValue)
{
$this->minValue = $minValue;
}
/**
* @return GoogleTypeDate
*/
public function getMinValue()
{
return $this->minValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DateLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DateLimits');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $useAdminAccess;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setUseAdminAccess($useAdminAccess)
{
$this->useAdminAccess = $useAdminAccess;
}
/**
* @return bool
*/
public function getUseAdminAccess()
{
return $this->useAdminAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest');
@@ -0,0 +1,113 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest extends \Google\Collection
{
protected $collection_key = 'requests';
/**
* @var string
*/
public $languageCode;
protected $requestsType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest::class;
protected $requestsDataType = 'array';
/**
* @var bool
*/
public $useAdminAccess;
/**
* @var string
*/
public $view;
protected $writeControlType = GoogleAppsDriveLabelsV2WriteControl::class;
protected $writeControlDataType = '';
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest[]
*/
public function getRequests()
{
return $this->requests;
}
/**
* @param bool
*/
public function setUseAdminAccess($useAdminAccess)
{
$this->useAdminAccess = $useAdminAccess;
}
/**
* @return bool
*/
public function getUseAdminAccess()
{
return $this->useAdminAccess;
}
/**
* @param string
*/
public function setView($view)
{
$this->view = $view;
}
/**
* @return string
*/
public function getView()
{
return $this->view;
}
/**
* @param GoogleAppsDriveLabelsV2WriteControl
*/
public function setWriteControl(GoogleAppsDriveLabelsV2WriteControl $writeControl)
{
$this->writeControl = $writeControl;
}
/**
* @return GoogleAppsDriveLabelsV2WriteControl
*/
public function getWriteControl()
{
return $this->writeControl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest extends \Google\Model
{
protected $fieldType = GoogleAppsDriveLabelsV2Field::class;
protected $fieldDataType = '';
/**
* @param GoogleAppsDriveLabelsV2Field
*/
public function setField(GoogleAppsDriveLabelsV2Field $field)
{
$this->field = $field;
}
/**
* @return GoogleAppsDriveLabelsV2Field
*/
public function getField()
{
return $this->field;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest extends \Google\Model
{
protected $choiceType = GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice::class;
protected $choiceDataType = '';
/**
* @var string
*/
public $fieldId;
/**
* @param GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice
*/
public function setChoice(GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice $choice)
{
$this->choice = $choice;
}
/**
* @return GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice
*/
public function getChoice()
{
return $this->choice;
}
/**
* @param string
*/
public function setFieldId($fieldId)
{
$this->fieldId = $fieldId;
}
/**
* @return string
*/
public function getFieldId()
{
return $this->fieldId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest extends \Google\Model
{
/**
* @var string
*/
public $fieldId;
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setFieldId($fieldId)
{
$this->fieldId = $fieldId;
}
/**
* @return string
*/
public function getFieldId()
{
return $this->fieldId;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest extends \Google\Model
{
protected $disabledPolicyType = GoogleAppsDriveLabelsV2LifecycleDisabledPolicy::class;
protected $disabledPolicyDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleAppsDriveLabelsV2LifecycleDisabledPolicy
*/
public function setDisabledPolicy(GoogleAppsDriveLabelsV2LifecycleDisabledPolicy $disabledPolicy)
{
$this->disabledPolicy = $disabledPolicy;
}
/**
* @return GoogleAppsDriveLabelsV2LifecycleDisabledPolicy
*/
public function getDisabledPolicy()
{
return $this->disabledPolicy;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest extends \Google\Model
{
protected $disabledPolicyType = GoogleAppsDriveLabelsV2LifecycleDisabledPolicy::class;
protected $disabledPolicyDataType = '';
/**
* @var string
*/
public $fieldId;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleAppsDriveLabelsV2LifecycleDisabledPolicy
*/
public function setDisabledPolicy(GoogleAppsDriveLabelsV2LifecycleDisabledPolicy $disabledPolicy)
{
$this->disabledPolicy = $disabledPolicy;
}
/**
* @return GoogleAppsDriveLabelsV2LifecycleDisabledPolicy
*/
public function getDisabledPolicy()
{
return $this->disabledPolicy;
}
/**
* @param string
*/
public function setFieldId($fieldId)
{
$this->fieldId = $fieldId;
}
/**
* @return string
*/
public function getFieldId()
{
return $this->fieldId;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest extends \Google\Model
{
/**
* @var string
*/
public $fieldId;
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setFieldId($fieldId)
{
$this->fieldId = $fieldId;
}
/**
* @return string
*/
public function getFieldId()
{
return $this->fieldId;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest');
@@ -0,0 +1,217 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest extends \Google\Model
{
protected $createFieldType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest::class;
protected $createFieldDataType = '';
protected $createSelectionChoiceType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest::class;
protected $createSelectionChoiceDataType = '';
protected $deleteFieldType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest::class;
protected $deleteFieldDataType = '';
protected $deleteSelectionChoiceType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest::class;
protected $deleteSelectionChoiceDataType = '';
protected $disableFieldType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest::class;
protected $disableFieldDataType = '';
protected $disableSelectionChoiceType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest::class;
protected $disableSelectionChoiceDataType = '';
protected $enableFieldType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest::class;
protected $enableFieldDataType = '';
protected $enableSelectionChoiceType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest::class;
protected $enableSelectionChoiceDataType = '';
protected $updateFieldDataType = '';
protected $updateFieldTypeType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest::class;
protected $updateFieldTypeDataType = '';
protected $updateLabelType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest::class;
protected $updateLabelDataType = '';
protected $updateSelectionChoicePropertiesType = GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest::class;
protected $updateSelectionChoicePropertiesDataType = '';
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest
*/
public function setCreateField(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest $createField)
{
$this->createField = $createField;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest
*/
public function getCreateField()
{
return $this->createField;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest
*/
public function setCreateSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest $createSelectionChoice)
{
$this->createSelectionChoice = $createSelectionChoice;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest
*/
public function getCreateSelectionChoice()
{
return $this->createSelectionChoice;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest
*/
public function setDeleteField(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest $deleteField)
{
$this->deleteField = $deleteField;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest
*/
public function getDeleteField()
{
return $this->deleteField;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest
*/
public function setDeleteSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest $deleteSelectionChoice)
{
$this->deleteSelectionChoice = $deleteSelectionChoice;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest
*/
public function getDeleteSelectionChoice()
{
return $this->deleteSelectionChoice;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest
*/
public function setDisableField(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest $disableField)
{
$this->disableField = $disableField;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest
*/
public function getDisableField()
{
return $this->disableField;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest
*/
public function setDisableSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest $disableSelectionChoice)
{
$this->disableSelectionChoice = $disableSelectionChoice;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest
*/
public function getDisableSelectionChoice()
{
return $this->disableSelectionChoice;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest
*/
public function setEnableField(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest $enableField)
{
$this->enableField = $enableField;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest
*/
public function getEnableField()
{
return $this->enableField;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest
*/
public function setEnableSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest $enableSelectionChoice)
{
$this->enableSelectionChoice = $enableSelectionChoice;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest
*/
public function getEnableSelectionChoice()
{
return $this->enableSelectionChoice;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest
*/
public function setUpdateField(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest $updateField)
{
$this->updateField = $updateField;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest
*/
public function getUpdateField()
{
return $this->updateField;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest
*/
public function setUpdateFieldType(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest $updateFieldType)
{
$this->updateFieldType = $updateFieldType;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest
*/
public function getUpdateFieldType()
{
return $this->updateFieldType;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest
*/
public function setUpdateLabel(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest $updateLabel)
{
$this->updateLabel = $updateLabel;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest
*/
public function getUpdateLabel()
{
return $this->updateLabel;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest
*/
public function setUpdateSelectionChoiceProperties(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest $updateSelectionChoiceProperties)
{
$this->updateSelectionChoiceProperties = $updateSelectionChoiceProperties;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest
*/
public function getUpdateSelectionChoiceProperties()
{
return $this->updateSelectionChoiceProperties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest extends \Google\Model
{
/**
* @var string
*/
public $id;
protected $propertiesType = GoogleAppsDriveLabelsV2FieldProperties::class;
protected $propertiesDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param GoogleAppsDriveLabelsV2FieldProperties
*/
public function setProperties(GoogleAppsDriveLabelsV2FieldProperties $properties)
{
$this->properties = $properties;
}
/**
* @return GoogleAppsDriveLabelsV2FieldProperties
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest');
@@ -0,0 +1,142 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest extends \Google\Model
{
protected $dateOptionsType = GoogleAppsDriveLabelsV2FieldDateOptions::class;
protected $dateOptionsDataType = '';
/**
* @var string
*/
public $id;
protected $integerOptionsType = GoogleAppsDriveLabelsV2FieldIntegerOptions::class;
protected $integerOptionsDataType = '';
protected $selectionOptionsType = GoogleAppsDriveLabelsV2FieldSelectionOptions::class;
protected $selectionOptionsDataType = '';
protected $textOptionsType = GoogleAppsDriveLabelsV2FieldTextOptions::class;
protected $textOptionsDataType = '';
/**
* @var string
*/
public $updateMask;
protected $userOptionsType = GoogleAppsDriveLabelsV2FieldUserOptions::class;
protected $userOptionsDataType = '';
/**
* @param GoogleAppsDriveLabelsV2FieldDateOptions
*/
public function setDateOptions(GoogleAppsDriveLabelsV2FieldDateOptions $dateOptions)
{
$this->dateOptions = $dateOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldDateOptions
*/
public function getDateOptions()
{
return $this->dateOptions;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param GoogleAppsDriveLabelsV2FieldIntegerOptions
*/
public function setIntegerOptions(GoogleAppsDriveLabelsV2FieldIntegerOptions $integerOptions)
{
$this->integerOptions = $integerOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldIntegerOptions
*/
public function getIntegerOptions()
{
return $this->integerOptions;
}
/**
* @param GoogleAppsDriveLabelsV2FieldSelectionOptions
*/
public function setSelectionOptions(GoogleAppsDriveLabelsV2FieldSelectionOptions $selectionOptions)
{
$this->selectionOptions = $selectionOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldSelectionOptions
*/
public function getSelectionOptions()
{
return $this->selectionOptions;
}
/**
* @param GoogleAppsDriveLabelsV2FieldTextOptions
*/
public function setTextOptions(GoogleAppsDriveLabelsV2FieldTextOptions $textOptions)
{
$this->textOptions = $textOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldTextOptions
*/
public function getTextOptions()
{
return $this->textOptions;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
/**
* @param GoogleAppsDriveLabelsV2FieldUserOptions
*/
public function setUserOptions(GoogleAppsDriveLabelsV2FieldUserOptions $userOptions)
{
$this->userOptions = $userOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldUserOptions
*/
public function getUserOptions()
{
return $this->userOptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest extends \Google\Model
{
protected $propertiesType = GoogleAppsDriveLabelsV2LabelProperties::class;
protected $propertiesDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleAppsDriveLabelsV2LabelProperties
*/
public function setProperties(GoogleAppsDriveLabelsV2LabelProperties $properties)
{
$this->properties = $properties;
}
/**
* @return GoogleAppsDriveLabelsV2LabelProperties
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest extends \Google\Model
{
/**
* @var string
*/
public $fieldId;
/**
* @var string
*/
public $id;
protected $propertiesType = GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties::class;
protected $propertiesDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param string
*/
public function setFieldId($fieldId)
{
$this->fieldId = $fieldId;
}
/**
* @return string
*/
public function getFieldId()
{
return $this->fieldId;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties
*/
public function setProperties(GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties $properties)
{
$this->properties = $properties;
}
/**
* @return GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest');
@@ -0,0 +1,59 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $responsesType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse::class;
protected $responsesDataType = 'array';
protected $updatedLabelType = GoogleAppsDriveLabelsV2Label::class;
protected $updatedLabelDataType = '';
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse[]
*/
public function getResponses()
{
return $this->responses;
}
/**
* @param GoogleAppsDriveLabelsV2Label
*/
public function setUpdatedLabel(GoogleAppsDriveLabelsV2Label $updatedLabel)
{
$this->updatedLabel = $updatedLabel;
}
/**
* @return GoogleAppsDriveLabelsV2Label
*/
public function getUpdatedLabel()
{
return $this->updatedLabel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var int
*/
public $priority;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param int
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return int
*/
public function getPriority()
{
return $this->priority;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse extends \Google\Model
{
/**
* @var string
*/
public $fieldId;
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setFieldId($fieldId)
{
$this->fieldId = $fieldId;
}
/**
* @return string
*/
public function getFieldId()
{
return $this->fieldId;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse');
@@ -0,0 +1,217 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse extends \Google\Model
{
protected $createFieldType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse::class;
protected $createFieldDataType = '';
protected $createSelectionChoiceType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse::class;
protected $createSelectionChoiceDataType = '';
protected $deleteFieldType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse::class;
protected $deleteFieldDataType = '';
protected $deleteSelectionChoiceType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse::class;
protected $deleteSelectionChoiceDataType = '';
protected $disableFieldType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse::class;
protected $disableFieldDataType = '';
protected $disableSelectionChoiceType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse::class;
protected $disableSelectionChoiceDataType = '';
protected $enableFieldType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse::class;
protected $enableFieldDataType = '';
protected $enableSelectionChoiceType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse::class;
protected $enableSelectionChoiceDataType = '';
protected $updateFieldDataType = '';
protected $updateFieldTypeType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse::class;
protected $updateFieldTypeDataType = '';
protected $updateLabelType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse::class;
protected $updateLabelDataType = '';
protected $updateSelectionChoicePropertiesType = GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse::class;
protected $updateSelectionChoicePropertiesDataType = '';
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse
*/
public function setCreateField(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse $createField)
{
$this->createField = $createField;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse
*/
public function getCreateField()
{
return $this->createField;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse
*/
public function setCreateSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse $createSelectionChoice)
{
$this->createSelectionChoice = $createSelectionChoice;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse
*/
public function getCreateSelectionChoice()
{
return $this->createSelectionChoice;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse
*/
public function setDeleteField(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse $deleteField)
{
$this->deleteField = $deleteField;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse
*/
public function getDeleteField()
{
return $this->deleteField;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse
*/
public function setDeleteSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse $deleteSelectionChoice)
{
$this->deleteSelectionChoice = $deleteSelectionChoice;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse
*/
public function getDeleteSelectionChoice()
{
return $this->deleteSelectionChoice;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse
*/
public function setDisableField(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse $disableField)
{
$this->disableField = $disableField;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse
*/
public function getDisableField()
{
return $this->disableField;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse
*/
public function setDisableSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse $disableSelectionChoice)
{
$this->disableSelectionChoice = $disableSelectionChoice;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse
*/
public function getDisableSelectionChoice()
{
return $this->disableSelectionChoice;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse
*/
public function setEnableField(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse $enableField)
{
$this->enableField = $enableField;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse
*/
public function getEnableField()
{
return $this->enableField;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse
*/
public function setEnableSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse $enableSelectionChoice)
{
$this->enableSelectionChoice = $enableSelectionChoice;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse
*/
public function getEnableSelectionChoice()
{
return $this->enableSelectionChoice;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse
*/
public function setUpdateField(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse $updateField)
{
$this->updateField = $updateField;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse
*/
public function getUpdateField()
{
return $this->updateField;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse
*/
public function setUpdateFieldType(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse $updateFieldType)
{
$this->updateFieldType = $updateFieldType;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse
*/
public function getUpdateFieldType()
{
return $this->updateFieldType;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse
*/
public function setUpdateLabel(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse $updateLabel)
{
$this->updateLabel = $updateLabel;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse
*/
public function getUpdateLabel()
{
return $this->updateLabel;
}
/**
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse
*/
public function setUpdateSelectionChoiceProperties(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse $updateSelectionChoiceProperties)
{
$this->updateSelectionChoiceProperties = $updateSelectionChoiceProperties;
}
/**
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse
*/
public function getUpdateSelectionChoiceProperties()
{
return $this->updateSelectionChoiceProperties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse extends \Google\Model
{
/**
* @var int
*/
public $priority;
/**
* @param int
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return int
*/
public function getPriority()
{
return $this->priority;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse extends \Google\Model
{
/**
* @var int
*/
public $priority;
/**
* @param int
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return int
*/
public function getPriority()
{
return $this->priority;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse');
@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2DisableLabelRequest extends \Google\Model
{
protected $disabledPolicyType = GoogleAppsDriveLabelsV2LifecycleDisabledPolicy::class;
protected $disabledPolicyDataType = '';
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $updateMask;
/**
* @var bool
*/
public $useAdminAccess;
protected $writeControlType = GoogleAppsDriveLabelsV2WriteControl::class;
protected $writeControlDataType = '';
/**
* @param GoogleAppsDriveLabelsV2LifecycleDisabledPolicy
*/
public function setDisabledPolicy(GoogleAppsDriveLabelsV2LifecycleDisabledPolicy $disabledPolicy)
{
$this->disabledPolicy = $disabledPolicy;
}
/**
* @return GoogleAppsDriveLabelsV2LifecycleDisabledPolicy
*/
public function getDisabledPolicy()
{
return $this->disabledPolicy;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
/**
* @param bool
*/
public function setUseAdminAccess($useAdminAccess)
{
$this->useAdminAccess = $useAdminAccess;
}
/**
* @return bool
*/
public function getUseAdminAccess()
{
return $this->useAdminAccess;
}
/**
* @param GoogleAppsDriveLabelsV2WriteControl
*/
public function setWriteControl(GoogleAppsDriveLabelsV2WriteControl $writeControl)
{
$this->writeControl = $writeControl;
}
/**
* @return GoogleAppsDriveLabelsV2WriteControl
*/
public function getWriteControl()
{
return $this->writeControl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2DisableLabelRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DisableLabelRequest');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2EnableLabelRequest extends \Google\Model
{
/**
* @var string
*/
public $languageCode;
/**
* @var bool
*/
public $useAdminAccess;
protected $writeControlType = GoogleAppsDriveLabelsV2WriteControl::class;
protected $writeControlDataType = '';
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param bool
*/
public function setUseAdminAccess($useAdminAccess)
{
$this->useAdminAccess = $useAdminAccess;
}
/**
* @return bool
*/
public function getUseAdminAccess()
{
return $this->useAdminAccess;
}
/**
* @param GoogleAppsDriveLabelsV2WriteControl
*/
public function setWriteControl(GoogleAppsDriveLabelsV2WriteControl $writeControl)
{
$this->writeControl = $writeControl;
}
/**
* @return GoogleAppsDriveLabelsV2WriteControl
*/
public function getWriteControl()
{
return $this->writeControl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2EnableLabelRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2EnableLabelRequest');
@@ -0,0 +1,356 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2Field extends \Google\Model
{
protected $appliedCapabilitiesType = GoogleAppsDriveLabelsV2FieldAppliedCapabilities::class;
protected $appliedCapabilitiesDataType = '';
/**
* @var string
*/
public $createTime;
protected $creatorType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $creatorDataType = '';
protected $dateOptionsType = GoogleAppsDriveLabelsV2FieldDateOptions::class;
protected $dateOptionsDataType = '';
/**
* @var string
*/
public $disableTime;
protected $disablerType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $disablerDataType = '';
protected $displayHintsType = GoogleAppsDriveLabelsV2FieldDisplayHints::class;
protected $displayHintsDataType = '';
/**
* @var string
*/
public $id;
protected $integerOptionsType = GoogleAppsDriveLabelsV2FieldIntegerOptions::class;
protected $integerOptionsDataType = '';
protected $lifecycleType = GoogleAppsDriveLabelsV2Lifecycle::class;
protected $lifecycleDataType = '';
protected $lockStatusType = GoogleAppsDriveLabelsV2LockStatus::class;
protected $lockStatusDataType = '';
protected $propertiesType = GoogleAppsDriveLabelsV2FieldProperties::class;
protected $propertiesDataType = '';
protected $publisherType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $publisherDataType = '';
/**
* @var string
*/
public $queryKey;
protected $schemaCapabilitiesType = GoogleAppsDriveLabelsV2FieldSchemaCapabilities::class;
protected $schemaCapabilitiesDataType = '';
protected $selectionOptionsType = GoogleAppsDriveLabelsV2FieldSelectionOptions::class;
protected $selectionOptionsDataType = '';
protected $textOptionsType = GoogleAppsDriveLabelsV2FieldTextOptions::class;
protected $textOptionsDataType = '';
/**
* @var string
*/
public $updateTime;
protected $updaterType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $updaterDataType = '';
protected $userOptionsType = GoogleAppsDriveLabelsV2FieldUserOptions::class;
protected $userOptionsDataType = '';
/**
* @param GoogleAppsDriveLabelsV2FieldAppliedCapabilities
*/
public function setAppliedCapabilities(GoogleAppsDriveLabelsV2FieldAppliedCapabilities $appliedCapabilities)
{
$this->appliedCapabilities = $appliedCapabilities;
}
/**
* @return GoogleAppsDriveLabelsV2FieldAppliedCapabilities
*/
public function getAppliedCapabilities()
{
return $this->appliedCapabilities;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setCreator(GoogleAppsDriveLabelsV2UserInfo $creator)
{
$this->creator = $creator;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getCreator()
{
return $this->creator;
}
/**
* @param GoogleAppsDriveLabelsV2FieldDateOptions
*/
public function setDateOptions(GoogleAppsDriveLabelsV2FieldDateOptions $dateOptions)
{
$this->dateOptions = $dateOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldDateOptions
*/
public function getDateOptions()
{
return $this->dateOptions;
}
/**
* @param string
*/
public function setDisableTime($disableTime)
{
$this->disableTime = $disableTime;
}
/**
* @return string
*/
public function getDisableTime()
{
return $this->disableTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setDisabler(GoogleAppsDriveLabelsV2UserInfo $disabler)
{
$this->disabler = $disabler;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getDisabler()
{
return $this->disabler;
}
/**
* @param GoogleAppsDriveLabelsV2FieldDisplayHints
*/
public function setDisplayHints(GoogleAppsDriveLabelsV2FieldDisplayHints $displayHints)
{
$this->displayHints = $displayHints;
}
/**
* @return GoogleAppsDriveLabelsV2FieldDisplayHints
*/
public function getDisplayHints()
{
return $this->displayHints;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param GoogleAppsDriveLabelsV2FieldIntegerOptions
*/
public function setIntegerOptions(GoogleAppsDriveLabelsV2FieldIntegerOptions $integerOptions)
{
$this->integerOptions = $integerOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldIntegerOptions
*/
public function getIntegerOptions()
{
return $this->integerOptions;
}
/**
* @param GoogleAppsDriveLabelsV2Lifecycle
*/
public function setLifecycle(GoogleAppsDriveLabelsV2Lifecycle $lifecycle)
{
$this->lifecycle = $lifecycle;
}
/**
* @return GoogleAppsDriveLabelsV2Lifecycle
*/
public function getLifecycle()
{
return $this->lifecycle;
}
/**
* @param GoogleAppsDriveLabelsV2LockStatus
*/
public function setLockStatus(GoogleAppsDriveLabelsV2LockStatus $lockStatus)
{
$this->lockStatus = $lockStatus;
}
/**
* @return GoogleAppsDriveLabelsV2LockStatus
*/
public function getLockStatus()
{
return $this->lockStatus;
}
/**
* @param GoogleAppsDriveLabelsV2FieldProperties
*/
public function setProperties(GoogleAppsDriveLabelsV2FieldProperties $properties)
{
$this->properties = $properties;
}
/**
* @return GoogleAppsDriveLabelsV2FieldProperties
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setPublisher(GoogleAppsDriveLabelsV2UserInfo $publisher)
{
$this->publisher = $publisher;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getPublisher()
{
return $this->publisher;
}
/**
* @param string
*/
public function setQueryKey($queryKey)
{
$this->queryKey = $queryKey;
}
/**
* @return string
*/
public function getQueryKey()
{
return $this->queryKey;
}
/**
* @param GoogleAppsDriveLabelsV2FieldSchemaCapabilities
*/
public function setSchemaCapabilities(GoogleAppsDriveLabelsV2FieldSchemaCapabilities $schemaCapabilities)
{
$this->schemaCapabilities = $schemaCapabilities;
}
/**
* @return GoogleAppsDriveLabelsV2FieldSchemaCapabilities
*/
public function getSchemaCapabilities()
{
return $this->schemaCapabilities;
}
/**
* @param GoogleAppsDriveLabelsV2FieldSelectionOptions
*/
public function setSelectionOptions(GoogleAppsDriveLabelsV2FieldSelectionOptions $selectionOptions)
{
$this->selectionOptions = $selectionOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldSelectionOptions
*/
public function getSelectionOptions()
{
return $this->selectionOptions;
}
/**
* @param GoogleAppsDriveLabelsV2FieldTextOptions
*/
public function setTextOptions(GoogleAppsDriveLabelsV2FieldTextOptions $textOptions)
{
$this->textOptions = $textOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldTextOptions
*/
public function getTextOptions()
{
return $this->textOptions;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setUpdater(GoogleAppsDriveLabelsV2UserInfo $updater)
{
$this->updater = $updater;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getUpdater()
{
return $this->updater;
}
/**
* @param GoogleAppsDriveLabelsV2FieldUserOptions
*/
public function setUserOptions(GoogleAppsDriveLabelsV2FieldUserOptions $userOptions)
{
$this->userOptions = $userOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldUserOptions
*/
public function getUserOptions()
{
return $this->userOptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2Field::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2Field');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2FieldAppliedCapabilities extends \Google\Model
{
/**
* @var bool
*/
public $canRead;
/**
* @var bool
*/
public $canSearch;
/**
* @var bool
*/
public $canWrite;
/**
* @param bool
*/
public function setCanRead($canRead)
{
$this->canRead = $canRead;
}
/**
* @return bool
*/
public function getCanRead()
{
return $this->canRead;
}
/**
* @param bool
*/
public function setCanSearch($canSearch)
{
$this->canSearch = $canSearch;
}
/**
* @return bool
*/
public function getCanSearch()
{
return $this->canSearch;
}
/**
* @param bool
*/
public function setCanWrite($canWrite)
{
$this->canWrite = $canWrite;
}
/**
* @return bool
*/
public function getCanWrite()
{
return $this->canWrite;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldAppliedCapabilities::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldAppliedCapabilities');
@@ -0,0 +1,94 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2FieldDateOptions extends \Google\Model
{
/**
* @var string
*/
public $dateFormat;
/**
* @var string
*/
public $dateFormatType;
protected $maxValueType = GoogleTypeDate::class;
protected $maxValueDataType = '';
protected $minValueType = GoogleTypeDate::class;
protected $minValueDataType = '';
/**
* @param string
*/
public function setDateFormat($dateFormat)
{
$this->dateFormat = $dateFormat;
}
/**
* @return string
*/
public function getDateFormat()
{
return $this->dateFormat;
}
/**
* @param string
*/
public function setDateFormatType($dateFormatType)
{
$this->dateFormatType = $dateFormatType;
}
/**
* @return string
*/
public function getDateFormatType()
{
return $this->dateFormatType;
}
/**
* @param GoogleTypeDate
*/
public function setMaxValue(GoogleTypeDate $maxValue)
{
$this->maxValue = $maxValue;
}
/**
* @return GoogleTypeDate
*/
public function getMaxValue()
{
return $this->maxValue;
}
/**
* @param GoogleTypeDate
*/
public function setMinValue(GoogleTypeDate $minValue)
{
$this->minValue = $minValue;
}
/**
* @return GoogleTypeDate
*/
public function getMinValue()
{
return $this->minValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldDateOptions::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldDateOptions');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2FieldDisplayHints extends \Google\Model
{
/**
* @var bool
*/
public $disabled;
/**
* @var bool
*/
public $hiddenInSearch;
/**
* @var bool
*/
public $required;
/**
* @var bool
*/
public $shownInApply;
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param bool
*/
public function setHiddenInSearch($hiddenInSearch)
{
$this->hiddenInSearch = $hiddenInSearch;
}
/**
* @return bool
*/
public function getHiddenInSearch()
{
return $this->hiddenInSearch;
}
/**
* @param bool
*/
public function setRequired($required)
{
$this->required = $required;
}
/**
* @return bool
*/
public function getRequired()
{
return $this->required;
}
/**
* @param bool
*/
public function setShownInApply($shownInApply)
{
$this->shownInApply = $shownInApply;
}
/**
* @return bool
*/
public function getShownInApply()
{
return $this->shownInApply;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldDisplayHints::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldDisplayHints');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2FieldIntegerOptions extends \Google\Model
{
/**
* @var string
*/
public $maxValue;
/**
* @var string
*/
public $minValue;
/**
* @param string
*/
public function setMaxValue($maxValue)
{
$this->maxValue = $maxValue;
}
/**
* @return string
*/
public function getMaxValue()
{
return $this->maxValue;
}
/**
* @param string
*/
public function setMinValue($minValue)
{
$this->minValue = $minValue;
}
/**
* @return string
*/
public function getMinValue()
{
return $this->minValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldIntegerOptions::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldIntegerOptions');
@@ -0,0 +1,176 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2FieldLimits extends \Google\Model
{
protected $dateLimitsType = GoogleAppsDriveLabelsV2DateLimits::class;
protected $dateLimitsDataType = '';
protected $integerLimitsType = GoogleAppsDriveLabelsV2IntegerLimits::class;
protected $integerLimitsDataType = '';
protected $longTextLimitsType = GoogleAppsDriveLabelsV2LongTextLimits::class;
protected $longTextLimitsDataType = '';
/**
* @var int
*/
public $maxDescriptionLength;
/**
* @var int
*/
public $maxDisplayNameLength;
/**
* @var int
*/
public $maxIdLength;
protected $selectionLimitsType = GoogleAppsDriveLabelsV2SelectionLimits::class;
protected $selectionLimitsDataType = '';
protected $textLimitsType = GoogleAppsDriveLabelsV2TextLimits::class;
protected $textLimitsDataType = '';
protected $userLimitsType = GoogleAppsDriveLabelsV2UserLimits::class;
protected $userLimitsDataType = '';
/**
* @param GoogleAppsDriveLabelsV2DateLimits
*/
public function setDateLimits(GoogleAppsDriveLabelsV2DateLimits $dateLimits)
{
$this->dateLimits = $dateLimits;
}
/**
* @return GoogleAppsDriveLabelsV2DateLimits
*/
public function getDateLimits()
{
return $this->dateLimits;
}
/**
* @param GoogleAppsDriveLabelsV2IntegerLimits
*/
public function setIntegerLimits(GoogleAppsDriveLabelsV2IntegerLimits $integerLimits)
{
$this->integerLimits = $integerLimits;
}
/**
* @return GoogleAppsDriveLabelsV2IntegerLimits
*/
public function getIntegerLimits()
{
return $this->integerLimits;
}
/**
* @param GoogleAppsDriveLabelsV2LongTextLimits
*/
public function setLongTextLimits(GoogleAppsDriveLabelsV2LongTextLimits $longTextLimits)
{
$this->longTextLimits = $longTextLimits;
}
/**
* @return GoogleAppsDriveLabelsV2LongTextLimits
*/
public function getLongTextLimits()
{
return $this->longTextLimits;
}
/**
* @param int
*/
public function setMaxDescriptionLength($maxDescriptionLength)
{
$this->maxDescriptionLength = $maxDescriptionLength;
}
/**
* @return int
*/
public function getMaxDescriptionLength()
{
return $this->maxDescriptionLength;
}
/**
* @param int
*/
public function setMaxDisplayNameLength($maxDisplayNameLength)
{
$this->maxDisplayNameLength = $maxDisplayNameLength;
}
/**
* @return int
*/
public function getMaxDisplayNameLength()
{
return $this->maxDisplayNameLength;
}
/**
* @param int
*/
public function setMaxIdLength($maxIdLength)
{
$this->maxIdLength = $maxIdLength;
}
/**
* @return int
*/
public function getMaxIdLength()
{
return $this->maxIdLength;
}
/**
* @param GoogleAppsDriveLabelsV2SelectionLimits
*/
public function setSelectionLimits(GoogleAppsDriveLabelsV2SelectionLimits $selectionLimits)
{
$this->selectionLimits = $selectionLimits;
}
/**
* @return GoogleAppsDriveLabelsV2SelectionLimits
*/
public function getSelectionLimits()
{
return $this->selectionLimits;
}
/**
* @param GoogleAppsDriveLabelsV2TextLimits
*/
public function setTextLimits(GoogleAppsDriveLabelsV2TextLimits $textLimits)
{
$this->textLimits = $textLimits;
}
/**
* @return GoogleAppsDriveLabelsV2TextLimits
*/
public function getTextLimits()
{
return $this->textLimits;
}
/**
* @param GoogleAppsDriveLabelsV2UserLimits
*/
public function setUserLimits(GoogleAppsDriveLabelsV2UserLimits $userLimits)
{
$this->userLimits = $userLimits;
}
/**
* @return GoogleAppsDriveLabelsV2UserLimits
*/
public function getUserLimits()
{
return $this->userLimits;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldLimits');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2FieldListOptions extends \Google\Model
{
/**
* @var int
*/
public $maxEntries;
/**
* @param int
*/
public function setMaxEntries($maxEntries)
{
$this->maxEntries = $maxEntries;
}
/**
* @return int
*/
public function getMaxEntries()
{
return $this->maxEntries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldListOptions::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldListOptions');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2FieldLongTextOptions extends \Google\Model
{
/**
* @var int
*/
public $maxLength;
/**
* @var int
*/
public $minLength;
/**
* @param int
*/
public function setMaxLength($maxLength)
{
$this->maxLength = $maxLength;
}
/**
* @return int
*/
public function getMaxLength()
{
return $this->maxLength;
}
/**
* @param int
*/
public function setMinLength($minLength)
{
$this->minLength = $minLength;
}
/**
* @return int
*/
public function getMinLength()
{
return $this->minLength;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldLongTextOptions::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldLongTextOptions');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2FieldProperties extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $insertBeforeField;
/**
* @var bool
*/
public $required;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setInsertBeforeField($insertBeforeField)
{
$this->insertBeforeField = $insertBeforeField;
}
/**
* @return string
*/
public function getInsertBeforeField()
{
return $this->insertBeforeField;
}
/**
* @param bool
*/
public function setRequired($required)
{
$this->required = $required;
}
/**
* @return bool
*/
public function getRequired()
{
return $this->required;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldProperties::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldProperties');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2FieldSchemaCapabilities extends \Google\Model
{
/**
* @var bool
*/
public $canDelete;
/**
* @var bool
*/
public $canDisable;
/**
* @var bool
*/
public $canEnable;
/**
* @var bool
*/
public $canUpdate;
/**
* @param bool
*/
public function setCanDelete($canDelete)
{
$this->canDelete = $canDelete;
}
/**
* @return bool
*/
public function getCanDelete()
{
return $this->canDelete;
}
/**
* @param bool
*/
public function setCanDisable($canDisable)
{
$this->canDisable = $canDisable;
}
/**
* @return bool
*/
public function getCanDisable()
{
return $this->canDisable;
}
/**
* @param bool
*/
public function setCanEnable($canEnable)
{
$this->canEnable = $canEnable;
}
/**
* @return bool
*/
public function getCanEnable()
{
return $this->canEnable;
}
/**
* @param bool
*/
public function setCanUpdate($canUpdate)
{
$this->canUpdate = $canUpdate;
}
/**
* @return bool
*/
public function getCanUpdate()
{
return $this->canUpdate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldSchemaCapabilities::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldSchemaCapabilities');
@@ -0,0 +1,59 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2FieldSelectionOptions extends \Google\Collection
{
protected $collection_key = 'choices';
protected $choicesType = GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice::class;
protected $choicesDataType = 'array';
protected $listOptionsType = GoogleAppsDriveLabelsV2FieldListOptions::class;
protected $listOptionsDataType = '';
/**
* @param GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice[]
*/
public function setChoices($choices)
{
$this->choices = $choices;
}
/**
* @return GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice[]
*/
public function getChoices()
{
return $this->choices;
}
/**
* @param GoogleAppsDriveLabelsV2FieldListOptions
*/
public function setListOptions(GoogleAppsDriveLabelsV2FieldListOptions $listOptions)
{
$this->listOptions = $listOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldListOptions
*/
public function getListOptions()
{
return $this->listOptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldSelectionOptions::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptions');
@@ -0,0 +1,276 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice extends \Google\Model
{
protected $appliedCapabilitiesType = GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities::class;
protected $appliedCapabilitiesDataType = '';
/**
* @var string
*/
public $createTime;
protected $creatorType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $creatorDataType = '';
/**
* @var string
*/
public $disableTime;
protected $disablerType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $disablerDataType = '';
protected $displayHintsType = GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints::class;
protected $displayHintsDataType = '';
/**
* @var string
*/
public $id;
protected $lifecycleType = GoogleAppsDriveLabelsV2Lifecycle::class;
protected $lifecycleDataType = '';
protected $lockStatusType = GoogleAppsDriveLabelsV2LockStatus::class;
protected $lockStatusDataType = '';
protected $propertiesType = GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties::class;
protected $propertiesDataType = '';
/**
* @var string
*/
public $publishTime;
protected $publisherType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $publisherDataType = '';
protected $schemaCapabilitiesType = GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities::class;
protected $schemaCapabilitiesDataType = '';
/**
* @var string
*/
public $updateTime;
protected $updaterType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $updaterDataType = '';
/**
* @param GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities
*/
public function setAppliedCapabilities(GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities $appliedCapabilities)
{
$this->appliedCapabilities = $appliedCapabilities;
}
/**
* @return GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities
*/
public function getAppliedCapabilities()
{
return $this->appliedCapabilities;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setCreator(GoogleAppsDriveLabelsV2UserInfo $creator)
{
$this->creator = $creator;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getCreator()
{
return $this->creator;
}
/**
* @param string
*/
public function setDisableTime($disableTime)
{
$this->disableTime = $disableTime;
}
/**
* @return string
*/
public function getDisableTime()
{
return $this->disableTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setDisabler(GoogleAppsDriveLabelsV2UserInfo $disabler)
{
$this->disabler = $disabler;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getDisabler()
{
return $this->disabler;
}
/**
* @param GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints
*/
public function setDisplayHints(GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints $displayHints)
{
$this->displayHints = $displayHints;
}
/**
* @return GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints
*/
public function getDisplayHints()
{
return $this->displayHints;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param GoogleAppsDriveLabelsV2Lifecycle
*/
public function setLifecycle(GoogleAppsDriveLabelsV2Lifecycle $lifecycle)
{
$this->lifecycle = $lifecycle;
}
/**
* @return GoogleAppsDriveLabelsV2Lifecycle
*/
public function getLifecycle()
{
return $this->lifecycle;
}
/**
* @param GoogleAppsDriveLabelsV2LockStatus
*/
public function setLockStatus(GoogleAppsDriveLabelsV2LockStatus $lockStatus)
{
$this->lockStatus = $lockStatus;
}
/**
* @return GoogleAppsDriveLabelsV2LockStatus
*/
public function getLockStatus()
{
return $this->lockStatus;
}
/**
* @param GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties
*/
public function setProperties(GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties $properties)
{
$this->properties = $properties;
}
/**
* @return GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param string
*/
public function setPublishTime($publishTime)
{
$this->publishTime = $publishTime;
}
/**
* @return string
*/
public function getPublishTime()
{
return $this->publishTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setPublisher(GoogleAppsDriveLabelsV2UserInfo $publisher)
{
$this->publisher = $publisher;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getPublisher()
{
return $this->publisher;
}
/**
* @param GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities
*/
public function setSchemaCapabilities(GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities $schemaCapabilities)
{
$this->schemaCapabilities = $schemaCapabilities;
}
/**
* @return GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities
*/
public function getSchemaCapabilities()
{
return $this->schemaCapabilities;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setUpdater(GoogleAppsDriveLabelsV2UserInfo $updater)
{
$this->updater = $updater;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getUpdater()
{
return $this->updater;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities extends \Google\Model
{
/**
* @var bool
*/
public $canRead;
/**
* @var bool
*/
public $canSearch;
/**
* @var bool
*/
public $canSelect;
/**
* @param bool
*/
public function setCanRead($canRead)
{
$this->canRead = $canRead;
}
/**
* @return bool
*/
public function getCanRead()
{
return $this->canRead;
}
/**
* @param bool
*/
public function setCanSearch($canSearch)
{
$this->canSearch = $canSearch;
}
/**
* @return bool
*/
public function getCanSearch()
{
return $this->canSearch;
}
/**
* @param bool
*/
public function setCanSelect($canSelect)
{
$this->canSelect = $canSelect;
}
/**
* @return bool
*/
public function getCanSelect()
{
return $this->canSelect;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints extends \Google\Model
{
protected $badgeColorsType = GoogleAppsDriveLabelsV2BadgeColors::class;
protected $badgeColorsDataType = '';
/**
* @var string
*/
public $badgePriority;
protected $darkBadgeColorsType = GoogleAppsDriveLabelsV2BadgeColors::class;
protected $darkBadgeColorsDataType = '';
/**
* @var bool
*/
public $disabled;
/**
* @var bool
*/
public $hiddenInSearch;
/**
* @var bool
*/
public $shownInApply;
/**
* @param GoogleAppsDriveLabelsV2BadgeColors
*/
public function setBadgeColors(GoogleAppsDriveLabelsV2BadgeColors $badgeColors)
{
$this->badgeColors = $badgeColors;
}
/**
* @return GoogleAppsDriveLabelsV2BadgeColors
*/
public function getBadgeColors()
{
return $this->badgeColors;
}
/**
* @param string
*/
public function setBadgePriority($badgePriority)
{
$this->badgePriority = $badgePriority;
}
/**
* @return string
*/
public function getBadgePriority()
{
return $this->badgePriority;
}
/**
* @param GoogleAppsDriveLabelsV2BadgeColors
*/
public function setDarkBadgeColors(GoogleAppsDriveLabelsV2BadgeColors $darkBadgeColors)
{
$this->darkBadgeColors = $darkBadgeColors;
}
/**
* @return GoogleAppsDriveLabelsV2BadgeColors
*/
public function getDarkBadgeColors()
{
return $this->darkBadgeColors;
}
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param bool
*/
public function setHiddenInSearch($hiddenInSearch)
{
$this->hiddenInSearch = $hiddenInSearch;
}
/**
* @return bool
*/
public function getHiddenInSearch()
{
return $this->hiddenInSearch;
}
/**
* @param bool
*/
public function setShownInApply($shownInApply)
{
$this->shownInApply = $shownInApply;
}
/**
* @return bool
*/
public function getShownInApply()
{
return $this->shownInApply;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties extends \Google\Model
{
protected $badgeConfigType = GoogleAppsDriveLabelsV2BadgeConfig::class;
protected $badgeConfigDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $insertBeforeChoice;
/**
* @param GoogleAppsDriveLabelsV2BadgeConfig
*/
public function setBadgeConfig(GoogleAppsDriveLabelsV2BadgeConfig $badgeConfig)
{
$this->badgeConfig = $badgeConfig;
}
/**
* @return GoogleAppsDriveLabelsV2BadgeConfig
*/
public function getBadgeConfig()
{
return $this->badgeConfig;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setInsertBeforeChoice($insertBeforeChoice)
{
$this->insertBeforeChoice = $insertBeforeChoice;
}
/**
* @return string
*/
public function getInsertBeforeChoice()
{
return $this->insertBeforeChoice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities extends \Google\Model
{
/**
* @var bool
*/
public $canDelete;
/**
* @var bool
*/
public $canDisable;
/**
* @var bool
*/
public $canEnable;
/**
* @var bool
*/
public $canUpdate;
/**
* @param bool
*/
public function setCanDelete($canDelete)
{
$this->canDelete = $canDelete;
}
/**
* @return bool
*/
public function getCanDelete()
{
return $this->canDelete;
}
/**
* @param bool
*/
public function setCanDisable($canDisable)
{
$this->canDisable = $canDisable;
}
/**
* @return bool
*/
public function getCanDisable()
{
return $this->canDisable;
}
/**
* @param bool
*/
public function setCanEnable($canEnable)
{
$this->canEnable = $canEnable;
}
/**
* @return bool
*/
public function getCanEnable()
{
return $this->canEnable;
}
/**
* @param bool
*/
public function setCanUpdate($canUpdate)
{
$this->canUpdate = $canUpdate;
}
/**
* @return bool
*/
public function getCanUpdate()
{
return $this->canUpdate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2FieldTextOptions extends \Google\Model
{
/**
* @var int
*/
public $maxLength;
/**
* @var int
*/
public $minLength;
/**
* @param int
*/
public function setMaxLength($maxLength)
{
$this->maxLength = $maxLength;
}
/**
* @return int
*/
public function getMaxLength()
{
return $this->maxLength;
}
/**
* @param int
*/
public function setMinLength($minLength)
{
$this->minLength = $minLength;
}
/**
* @return int
*/
public function getMinLength()
{
return $this->minLength;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldTextOptions::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldTextOptions');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2FieldUserOptions extends \Google\Model
{
protected $listOptionsType = GoogleAppsDriveLabelsV2FieldListOptions::class;
protected $listOptionsDataType = '';
/**
* @param GoogleAppsDriveLabelsV2FieldListOptions
*/
public function setListOptions(GoogleAppsDriveLabelsV2FieldListOptions $listOptions)
{
$this->listOptions = $listOptions;
}
/**
* @return GoogleAppsDriveLabelsV2FieldListOptions
*/
public function getListOptions()
{
return $this->listOptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2FieldUserOptions::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldUserOptions');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2IntegerLimits extends \Google\Model
{
/**
* @var string
*/
public $maxValue;
/**
* @var string
*/
public $minValue;
/**
* @param string
*/
public function setMaxValue($maxValue)
{
$this->maxValue = $maxValue;
}
/**
* @return string
*/
public function getMaxValue()
{
return $this->maxValue;
}
/**
* @param string
*/
public function setMinValue($minValue)
{
$this->minValue = $minValue;
}
/**
* @return string
*/
public function getMinValue()
{
return $this->minValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2IntegerLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2IntegerLimits');
@@ -0,0 +1,399 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2Label extends \Google\Collection
{
protected $collection_key = 'fields';
protected $appliedCapabilitiesType = GoogleAppsDriveLabelsV2LabelAppliedCapabilities::class;
protected $appliedCapabilitiesDataType = '';
protected $appliedLabelPolicyType = GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy::class;
protected $appliedLabelPolicyDataType = '';
/**
* @var string
*/
public $createTime;
protected $creatorType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $creatorDataType = '';
/**
* @var string
*/
public $customer;
/**
* @var string
*/
public $disableTime;
protected $disablerType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $disablerDataType = '';
protected $displayHintsType = GoogleAppsDriveLabelsV2LabelDisplayHints::class;
protected $displayHintsDataType = '';
protected $fieldsType = GoogleAppsDriveLabelsV2Field::class;
protected $fieldsDataType = 'array';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $labelType;
/**
* @var string
*/
public $learnMoreUri;
protected $lifecycleType = GoogleAppsDriveLabelsV2Lifecycle::class;
protected $lifecycleDataType = '';
protected $lockStatusType = GoogleAppsDriveLabelsV2LockStatus::class;
protected $lockStatusDataType = '';
/**
* @var string
*/
public $name;
protected $propertiesType = GoogleAppsDriveLabelsV2LabelProperties::class;
protected $propertiesDataType = '';
/**
* @var string
*/
public $publishTime;
protected $publisherType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $publisherDataType = '';
/**
* @var string
*/
public $revisionCreateTime;
protected $revisionCreatorType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $revisionCreatorDataType = '';
/**
* @var string
*/
public $revisionId;
protected $schemaCapabilitiesType = GoogleAppsDriveLabelsV2LabelSchemaCapabilities::class;
protected $schemaCapabilitiesDataType = '';
/**
* @param GoogleAppsDriveLabelsV2LabelAppliedCapabilities
*/
public function setAppliedCapabilities(GoogleAppsDriveLabelsV2LabelAppliedCapabilities $appliedCapabilities)
{
$this->appliedCapabilities = $appliedCapabilities;
}
/**
* @return GoogleAppsDriveLabelsV2LabelAppliedCapabilities
*/
public function getAppliedCapabilities()
{
return $this->appliedCapabilities;
}
/**
* @param GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy
*/
public function setAppliedLabelPolicy(GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy $appliedLabelPolicy)
{
$this->appliedLabelPolicy = $appliedLabelPolicy;
}
/**
* @return GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy
*/
public function getAppliedLabelPolicy()
{
return $this->appliedLabelPolicy;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setCreator(GoogleAppsDriveLabelsV2UserInfo $creator)
{
$this->creator = $creator;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getCreator()
{
return $this->creator;
}
/**
* @param string
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* @param string
*/
public function setDisableTime($disableTime)
{
$this->disableTime = $disableTime;
}
/**
* @return string
*/
public function getDisableTime()
{
return $this->disableTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setDisabler(GoogleAppsDriveLabelsV2UserInfo $disabler)
{
$this->disabler = $disabler;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getDisabler()
{
return $this->disabler;
}
/**
* @param GoogleAppsDriveLabelsV2LabelDisplayHints
*/
public function setDisplayHints(GoogleAppsDriveLabelsV2LabelDisplayHints $displayHints)
{
$this->displayHints = $displayHints;
}
/**
* @return GoogleAppsDriveLabelsV2LabelDisplayHints
*/
public function getDisplayHints()
{
return $this->displayHints;
}
/**
* @param GoogleAppsDriveLabelsV2Field[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return GoogleAppsDriveLabelsV2Field[]
*/
public function getFields()
{
return $this->fields;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setLabelType($labelType)
{
$this->labelType = $labelType;
}
/**
* @return string
*/
public function getLabelType()
{
return $this->labelType;
}
/**
* @param string
*/
public function setLearnMoreUri($learnMoreUri)
{
$this->learnMoreUri = $learnMoreUri;
}
/**
* @return string
*/
public function getLearnMoreUri()
{
return $this->learnMoreUri;
}
/**
* @param GoogleAppsDriveLabelsV2Lifecycle
*/
public function setLifecycle(GoogleAppsDriveLabelsV2Lifecycle $lifecycle)
{
$this->lifecycle = $lifecycle;
}
/**
* @return GoogleAppsDriveLabelsV2Lifecycle
*/
public function getLifecycle()
{
return $this->lifecycle;
}
/**
* @param GoogleAppsDriveLabelsV2LockStatus
*/
public function setLockStatus(GoogleAppsDriveLabelsV2LockStatus $lockStatus)
{
$this->lockStatus = $lockStatus;
}
/**
* @return GoogleAppsDriveLabelsV2LockStatus
*/
public function getLockStatus()
{
return $this->lockStatus;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleAppsDriveLabelsV2LabelProperties
*/
public function setProperties(GoogleAppsDriveLabelsV2LabelProperties $properties)
{
$this->properties = $properties;
}
/**
* @return GoogleAppsDriveLabelsV2LabelProperties
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param string
*/
public function setPublishTime($publishTime)
{
$this->publishTime = $publishTime;
}
/**
* @return string
*/
public function getPublishTime()
{
return $this->publishTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setPublisher(GoogleAppsDriveLabelsV2UserInfo $publisher)
{
$this->publisher = $publisher;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getPublisher()
{
return $this->publisher;
}
/**
* @param string
*/
public function setRevisionCreateTime($revisionCreateTime)
{
$this->revisionCreateTime = $revisionCreateTime;
}
/**
* @return string
*/
public function getRevisionCreateTime()
{
return $this->revisionCreateTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setRevisionCreator(GoogleAppsDriveLabelsV2UserInfo $revisionCreator)
{
$this->revisionCreator = $revisionCreator;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getRevisionCreator()
{
return $this->revisionCreator;
}
/**
* @param string
*/
public function setRevisionId($revisionId)
{
$this->revisionId = $revisionId;
}
/**
* @return string
*/
public function getRevisionId()
{
return $this->revisionId;
}
/**
* @param GoogleAppsDriveLabelsV2LabelSchemaCapabilities
*/
public function setSchemaCapabilities(GoogleAppsDriveLabelsV2LabelSchemaCapabilities $schemaCapabilities)
{
$this->schemaCapabilities = $schemaCapabilities;
}
/**
* @return GoogleAppsDriveLabelsV2LabelSchemaCapabilities
*/
public function getSchemaCapabilities()
{
return $this->schemaCapabilities;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2Label::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2Label');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2LabelAppliedCapabilities extends \Google\Model
{
/**
* @var bool
*/
public $canApply;
/**
* @var bool
*/
public $canRead;
/**
* @var bool
*/
public $canRemove;
/**
* @param bool
*/
public function setCanApply($canApply)
{
$this->canApply = $canApply;
}
/**
* @return bool
*/
public function getCanApply()
{
return $this->canApply;
}
/**
* @param bool
*/
public function setCanRead($canRead)
{
$this->canRead = $canRead;
}
/**
* @return bool
*/
public function getCanRead()
{
return $this->canRead;
}
/**
* @param bool
*/
public function setCanRemove($canRemove)
{
$this->canRemove = $canRemove;
}
/**
* @return bool
*/
public function getCanRemove()
{
return $this->canRemove;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LabelAppliedCapabilities::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LabelAppliedCapabilities');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy extends \Google\Model
{
/**
* @var string
*/
public $copyMode;
/**
* @param string
*/
public function setCopyMode($copyMode)
{
$this->copyMode = $copyMode;
}
/**
* @return string
*/
public function getCopyMode()
{
return $this->copyMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2LabelDisplayHints extends \Google\Model
{
/**
* @var bool
*/
public $disabled;
/**
* @var bool
*/
public $hiddenInSearch;
/**
* @var string
*/
public $priority;
/**
* @var bool
*/
public $shownInApply;
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param bool
*/
public function setHiddenInSearch($hiddenInSearch)
{
$this->hiddenInSearch = $hiddenInSearch;
}
/**
* @return bool
*/
public function getHiddenInSearch()
{
return $this->hiddenInSearch;
}
/**
* @param string
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return string
*/
public function getPriority()
{
return $this->priority;
}
/**
* @param bool
*/
public function setShownInApply($shownInApply)
{
$this->shownInApply = $shownInApply;
}
/**
* @return bool
*/
public function getShownInApply()
{
return $this->shownInApply;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LabelDisplayHints::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LabelDisplayHints');
@@ -0,0 +1,150 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2LabelLimits extends \Google\Model
{
protected $fieldLimitsType = GoogleAppsDriveLabelsV2FieldLimits::class;
protected $fieldLimitsDataType = '';
/**
* @var int
*/
public $maxDeletedFields;
/**
* @var int
*/
public $maxDescriptionLength;
/**
* @var int
*/
public $maxDraftRevisions;
/**
* @var int
*/
public $maxFields;
/**
* @var int
*/
public $maxTitleLength;
/**
* @var string
*/
public $name;
/**
* @param GoogleAppsDriveLabelsV2FieldLimits
*/
public function setFieldLimits(GoogleAppsDriveLabelsV2FieldLimits $fieldLimits)
{
$this->fieldLimits = $fieldLimits;
}
/**
* @return GoogleAppsDriveLabelsV2FieldLimits
*/
public function getFieldLimits()
{
return $this->fieldLimits;
}
/**
* @param int
*/
public function setMaxDeletedFields($maxDeletedFields)
{
$this->maxDeletedFields = $maxDeletedFields;
}
/**
* @return int
*/
public function getMaxDeletedFields()
{
return $this->maxDeletedFields;
}
/**
* @param int
*/
public function setMaxDescriptionLength($maxDescriptionLength)
{
$this->maxDescriptionLength = $maxDescriptionLength;
}
/**
* @return int
*/
public function getMaxDescriptionLength()
{
return $this->maxDescriptionLength;
}
/**
* @param int
*/
public function setMaxDraftRevisions($maxDraftRevisions)
{
$this->maxDraftRevisions = $maxDraftRevisions;
}
/**
* @return int
*/
public function getMaxDraftRevisions()
{
return $this->maxDraftRevisions;
}
/**
* @param int
*/
public function setMaxFields($maxFields)
{
$this->maxFields = $maxFields;
}
/**
* @return int
*/
public function getMaxFields()
{
return $this->maxFields;
}
/**
* @param int
*/
public function setMaxTitleLength($maxTitleLength)
{
$this->maxTitleLength = $maxTitleLength;
}
/**
* @return int
*/
public function getMaxTitleLength()
{
return $this->maxTitleLength;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LabelLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LabelLimits');
@@ -0,0 +1,166 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2LabelLock extends \Google\Model
{
protected $capabilitiesType = GoogleAppsDriveLabelsV2LabelLockCapabilities::class;
protected $capabilitiesDataType = '';
/**
* @var string
*/
public $choiceId;
/**
* @var string
*/
public $createTime;
protected $creatorType = GoogleAppsDriveLabelsV2UserInfo::class;
protected $creatorDataType = '';
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $fieldId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @param GoogleAppsDriveLabelsV2LabelLockCapabilities
*/
public function setCapabilities(GoogleAppsDriveLabelsV2LabelLockCapabilities $capabilities)
{
$this->capabilities = $capabilities;
}
/**
* @return GoogleAppsDriveLabelsV2LabelLockCapabilities
*/
public function getCapabilities()
{
return $this->capabilities;
}
/**
* @param string
*/
public function setChoiceId($choiceId)
{
$this->choiceId = $choiceId;
}
/**
* @return string
*/
public function getChoiceId()
{
return $this->choiceId;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param GoogleAppsDriveLabelsV2UserInfo
*/
public function setCreator(GoogleAppsDriveLabelsV2UserInfo $creator)
{
$this->creator = $creator;
}
/**
* @return GoogleAppsDriveLabelsV2UserInfo
*/
public function getCreator()
{
return $this->creator;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setFieldId($fieldId)
{
$this->fieldId = $fieldId;
}
/**
* @return string
*/
public function getFieldId()
{
return $this->fieldId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LabelLock::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LabelLock');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2LabelLockCapabilities extends \Google\Model
{
/**
* @var bool
*/
public $canViewPolicy;
/**
* @param bool
*/
public function setCanViewPolicy($canViewPolicy)
{
$this->canViewPolicy = $canViewPolicy;
}
/**
* @return bool
*/
public function getCanViewPolicy()
{
return $this->canViewPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LabelLockCapabilities::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LabelLockCapabilities');
@@ -0,0 +1,134 @@
<?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\DriveLabels;
class GoogleAppsDriveLabelsV2LabelPermission extends \Google\Model
{
/**
* @var string
*/
public $audience;
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $group;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $person;
/**
* @var string
*/
public $role;
/**
* @param string
*/
public function setAudience($audience)
{
$this->audience = $audience;
}
/**
* @return string
*/
public function getAudience()
{
return $this->audience;
}
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return string
*/
public function getGroup()
{
return $this->group;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPerson($person)
{
$this->person = $person;
}
/**
* @return string
*/
public function getPerson()
{
return $this->person;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LabelPermission::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LabelPermission');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2LabelProperties extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function 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(GoogleAppsDriveLabelsV2LabelProperties::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LabelProperties');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2LabelSchemaCapabilities extends \Google\Model
{
/**
* @var bool
*/
public $canDelete;
/**
* @var bool
*/
public $canDisable;
/**
* @var bool
*/
public $canEnable;
/**
* @var bool
*/
public $canUpdate;
/**
* @param bool
*/
public function setCanDelete($canDelete)
{
$this->canDelete = $canDelete;
}
/**
* @return bool
*/
public function getCanDelete()
{
return $this->canDelete;
}
/**
* @param bool
*/
public function setCanDisable($canDisable)
{
$this->canDisable = $canDisable;
}
/**
* @return bool
*/
public function getCanDisable()
{
return $this->canDisable;
}
/**
* @param bool
*/
public function setCanEnable($canEnable)
{
$this->canEnable = $canEnable;
}
/**
* @return bool
*/
public function getCanEnable()
{
return $this->canEnable;
}
/**
* @param bool
*/
public function setCanUpdate($canUpdate)
{
$this->canUpdate = $canUpdate;
}
/**
* @return bool
*/
public function getCanUpdate()
{
return $this->canUpdate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LabelSchemaCapabilities::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LabelSchemaCapabilities');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2Lifecycle extends \Google\Model
{
protected $disabledPolicyType = GoogleAppsDriveLabelsV2LifecycleDisabledPolicy::class;
protected $disabledPolicyDataType = '';
/**
* @var bool
*/
public $hasUnpublishedChanges;
/**
* @var string
*/
public $state;
/**
* @param GoogleAppsDriveLabelsV2LifecycleDisabledPolicy
*/
public function setDisabledPolicy(GoogleAppsDriveLabelsV2LifecycleDisabledPolicy $disabledPolicy)
{
$this->disabledPolicy = $disabledPolicy;
}
/**
* @return GoogleAppsDriveLabelsV2LifecycleDisabledPolicy
*/
public function getDisabledPolicy()
{
return $this->disabledPolicy;
}
/**
* @param bool
*/
public function setHasUnpublishedChanges($hasUnpublishedChanges)
{
$this->hasUnpublishedChanges = $hasUnpublishedChanges;
}
/**
* @return bool
*/
public function getHasUnpublishedChanges()
{
return $this->hasUnpublishedChanges;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2Lifecycle::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2Lifecycle');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2LifecycleDisabledPolicy extends \Google\Model
{
/**
* @var bool
*/
public $hideInSearch;
/**
* @var bool
*/
public $showInApply;
/**
* @param bool
*/
public function setHideInSearch($hideInSearch)
{
$this->hideInSearch = $hideInSearch;
}
/**
* @return bool
*/
public function getHideInSearch()
{
return $this->hideInSearch;
}
/**
* @param bool
*/
public function setShowInApply($showInApply)
{
$this->showInApply = $showInApply;
}
/**
* @return bool
*/
public function getShowInApply()
{
return $this->showInApply;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LifecycleDisabledPolicy::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LifecycleDisabledPolicy');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2ListLabelLocksResponse extends \Google\Collection
{
protected $collection_key = 'labelLocks';
protected $labelLocksType = GoogleAppsDriveLabelsV2LabelLock::class;
protected $labelLocksDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleAppsDriveLabelsV2LabelLock[]
*/
public function setLabelLocks($labelLocks)
{
$this->labelLocks = $labelLocks;
}
/**
* @return GoogleAppsDriveLabelsV2LabelLock[]
*/
public function getLabelLocks()
{
return $this->labelLocks;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2ListLabelLocksResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2ListLabelLocksResponse');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2ListLabelPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'labelPermissions';
protected $labelPermissionsType = GoogleAppsDriveLabelsV2LabelPermission::class;
protected $labelPermissionsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleAppsDriveLabelsV2LabelPermission[]
*/
public function setLabelPermissions($labelPermissions)
{
$this->labelPermissions = $labelPermissions;
}
/**
* @return GoogleAppsDriveLabelsV2LabelPermission[]
*/
public function getLabelPermissions()
{
return $this->labelPermissions;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2ListLabelPermissionsResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2ListLabelPermissionsResponse');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2ListLabelsResponse extends \Google\Collection
{
protected $collection_key = 'labels';
protected $labelsType = GoogleAppsDriveLabelsV2Label::class;
protected $labelsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleAppsDriveLabelsV2Label[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return GoogleAppsDriveLabelsV2Label[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2ListLabelsResponse::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2ListLabelsResponse');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2ListLimits extends \Google\Model
{
/**
* @var int
*/
public $maxEntries;
/**
* @param int
*/
public function setMaxEntries($maxEntries)
{
$this->maxEntries = $maxEntries;
}
/**
* @return int
*/
public function getMaxEntries()
{
return $this->maxEntries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2ListLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2ListLimits');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2LockStatus extends \Google\Model
{
/**
* @var bool
*/
public $locked;
/**
* @param bool
*/
public function setLocked($locked)
{
$this->locked = $locked;
}
/**
* @return bool
*/
public function getLocked()
{
return $this->locked;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LockStatus::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LockStatus');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2LongTextLimits extends \Google\Model
{
/**
* @var int
*/
public $maxLength;
/**
* @var int
*/
public $minLength;
/**
* @param int
*/
public function setMaxLength($maxLength)
{
$this->maxLength = $maxLength;
}
/**
* @return int
*/
public function getMaxLength()
{
return $this->maxLength;
}
/**
* @param int
*/
public function setMinLength($minLength)
{
$this->minLength = $minLength;
}
/**
* @return int
*/
public function getMinLength()
{
return $this->minLength;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LongTextLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LongTextLimits');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2PublishLabelRequest extends \Google\Model
{
/**
* @var string
*/
public $languageCode;
/**
* @var bool
*/
public $useAdminAccess;
protected $writeControlType = GoogleAppsDriveLabelsV2WriteControl::class;
protected $writeControlDataType = '';
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param bool
*/
public function setUseAdminAccess($useAdminAccess)
{
$this->useAdminAccess = $useAdminAccess;
}
/**
* @return bool
*/
public function getUseAdminAccess()
{
return $this->useAdminAccess;
}
/**
* @param GoogleAppsDriveLabelsV2WriteControl
*/
public function setWriteControl(GoogleAppsDriveLabelsV2WriteControl $writeControl)
{
$this->writeControl = $writeControl;
}
/**
* @return GoogleAppsDriveLabelsV2WriteControl
*/
public function getWriteControl()
{
return $this->writeControl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2PublishLabelRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2PublishLabelRequest');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2SelectionLimits extends \Google\Model
{
protected $listLimitsType = GoogleAppsDriveLabelsV2ListLimits::class;
protected $listLimitsDataType = '';
/**
* @var int
*/
public $maxChoices;
/**
* @var int
*/
public $maxDeletedChoices;
/**
* @var int
*/
public $maxDisplayNameLength;
/**
* @var int
*/
public $maxIdLength;
/**
* @param GoogleAppsDriveLabelsV2ListLimits
*/
public function setListLimits(GoogleAppsDriveLabelsV2ListLimits $listLimits)
{
$this->listLimits = $listLimits;
}
/**
* @return GoogleAppsDriveLabelsV2ListLimits
*/
public function getListLimits()
{
return $this->listLimits;
}
/**
* @param int
*/
public function setMaxChoices($maxChoices)
{
$this->maxChoices = $maxChoices;
}
/**
* @return int
*/
public function getMaxChoices()
{
return $this->maxChoices;
}
/**
* @param int
*/
public function setMaxDeletedChoices($maxDeletedChoices)
{
$this->maxDeletedChoices = $maxDeletedChoices;
}
/**
* @return int
*/
public function getMaxDeletedChoices()
{
return $this->maxDeletedChoices;
}
/**
* @param int
*/
public function setMaxDisplayNameLength($maxDisplayNameLength)
{
$this->maxDisplayNameLength = $maxDisplayNameLength;
}
/**
* @return int
*/
public function getMaxDisplayNameLength()
{
return $this->maxDisplayNameLength;
}
/**
* @param int
*/
public function setMaxIdLength($maxIdLength)
{
$this->maxIdLength = $maxIdLength;
}
/**
* @return int
*/
public function getMaxIdLength()
{
return $this->maxIdLength;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2SelectionLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2SelectionLimits');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2TextLimits extends \Google\Model
{
/**
* @var int
*/
public $maxLength;
/**
* @var int
*/
public $minLength;
/**
* @param int
*/
public function setMaxLength($maxLength)
{
$this->maxLength = $maxLength;
}
/**
* @return int
*/
public function getMaxLength()
{
return $this->maxLength;
}
/**
* @param int
*/
public function setMinLength($minLength)
{
$this->minLength = $minLength;
}
/**
* @return int
*/
public function getMinLength()
{
return $this->minLength;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2TextLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2TextLimits');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest extends \Google\Model
{
/**
* @var string
*/
public $copyMode;
/**
* @var string
*/
public $languageCode;
/**
* @var bool
*/
public $useAdminAccess;
/**
* @var string
*/
public $view;
/**
* @param string
*/
public function setCopyMode($copyMode)
{
$this->copyMode = $copyMode;
}
/**
* @return string
*/
public function getCopyMode()
{
return $this->copyMode;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param bool
*/
public function setUseAdminAccess($useAdminAccess)
{
$this->useAdminAccess = $useAdminAccess;
}
/**
* @return bool
*/
public function getUseAdminAccess()
{
return $this->useAdminAccess;
}
/**
* @param string
*/
public function setView($view)
{
$this->view = $view;
}
/**
* @return string
*/
public function getView()
{
return $this->view;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest');
@@ -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\DriveLabels;
class GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest extends \Google\Model
{
protected $labelPermissionType = GoogleAppsDriveLabelsV2LabelPermission::class;
protected $labelPermissionDataType = '';
/**
* @var string
*/
public $parent;
/**
* @var bool
*/
public $useAdminAccess;
/**
* @param GoogleAppsDriveLabelsV2LabelPermission
*/
public function setLabelPermission(GoogleAppsDriveLabelsV2LabelPermission $labelPermission)
{
$this->labelPermission = $labelPermission;
}
/**
* @return GoogleAppsDriveLabelsV2LabelPermission
*/
public function getLabelPermission()
{
return $this->labelPermission;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param bool
*/
public function setUseAdminAccess($useAdminAccess)
{
$this->useAdminAccess = $useAdminAccess;
}
/**
* @return bool
*/
public function getUseAdminAccess()
{
return $this->useAdminAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2UserCapabilities extends \Google\Model
{
/**
* @var bool
*/
public $canAccessLabelManager;
/**
* @var bool
*/
public $canAdministrateLabels;
/**
* @var bool
*/
public $canCreateAdminLabels;
/**
* @var bool
*/
public $canCreateSharedLabels;
/**
* @var string
*/
public $name;
/**
* @param bool
*/
public function setCanAccessLabelManager($canAccessLabelManager)
{
$this->canAccessLabelManager = $canAccessLabelManager;
}
/**
* @return bool
*/
public function getCanAccessLabelManager()
{
return $this->canAccessLabelManager;
}
/**
* @param bool
*/
public function setCanAdministrateLabels($canAdministrateLabels)
{
$this->canAdministrateLabels = $canAdministrateLabels;
}
/**
* @return bool
*/
public function getCanAdministrateLabels()
{
return $this->canAdministrateLabels;
}
/**
* @param bool
*/
public function setCanCreateAdminLabels($canCreateAdminLabels)
{
$this->canCreateAdminLabels = $canCreateAdminLabels;
}
/**
* @return bool
*/
public function getCanCreateAdminLabels()
{
return $this->canCreateAdminLabels;
}
/**
* @param bool
*/
public function setCanCreateSharedLabels($canCreateSharedLabels)
{
$this->canCreateSharedLabels = $canCreateSharedLabels;
}
/**
* @return bool
*/
public function getCanCreateSharedLabels()
{
return $this->canCreateSharedLabels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2UserCapabilities::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2UserCapabilities');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2UserInfo extends \Google\Model
{
/**
* @var string
*/
public $person;
/**
* @param string
*/
public function setPerson($person)
{
$this->person = $person;
}
/**
* @return string
*/
public function getPerson()
{
return $this->person;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2UserInfo::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2UserInfo');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2UserLimits extends \Google\Model
{
protected $listLimitsType = GoogleAppsDriveLabelsV2ListLimits::class;
protected $listLimitsDataType = '';
/**
* @param GoogleAppsDriveLabelsV2ListLimits
*/
public function setListLimits(GoogleAppsDriveLabelsV2ListLimits $listLimits)
{
$this->listLimits = $listLimits;
}
/**
* @return GoogleAppsDriveLabelsV2ListLimits
*/
public function getListLimits()
{
return $this->listLimits;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2UserLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2UserLimits');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2WriteControl extends \Google\Model
{
/**
* @var string
*/
public $requiredRevisionId;
/**
* @param string
*/
public function setRequiredRevisionId($requiredRevisionId)
{
$this->requiredRevisionId = $requiredRevisionId;
}
/**
* @return string
*/
public function getRequiredRevisionId()
{
return $this->requiredRevisionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2WriteControl::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2WriteControl');
@@ -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\DriveLabels;
class GoogleProtobufEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleProtobufEmpty::class, 'Google_Service_DriveLabels_GoogleProtobufEmpty');
@@ -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\DriveLabels;
class GoogleTypeColor extends \Google\Model
{
/**
* @var float
*/
public $alpha;
/**
* @var float
*/
public $blue;
/**
* @var float
*/
public $green;
/**
* @var float
*/
public $red;
/**
* @param float
*/
public function setAlpha($alpha)
{
$this->alpha = $alpha;
}
/**
* @return float
*/
public function getAlpha()
{
return $this->alpha;
}
/**
* @param float
*/
public function setBlue($blue)
{
$this->blue = $blue;
}
/**
* @return float
*/
public function getBlue()
{
return $this->blue;
}
/**
* @param float
*/
public function setGreen($green)
{
$this->green = $green;
}
/**
* @return float
*/
public function getGreen()
{
return $this->green;
}
/**
* @param float
*/
public function setRed($red)
{
$this->red = $red;
}
/**
* @return float
*/
public function getRed()
{
return $this->red;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeColor::class, 'Google_Service_DriveLabels_GoogleTypeColor');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DriveLabels;
class GoogleTypeDate extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeDate::class, 'Google_Service_DriveLabels_GoogleTypeDate');
@@ -0,0 +1,276 @@
<?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\DriveLabels\Resource;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2DisableLabelRequest;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2EnableLabelRequest;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2Label;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2LabelPermission;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2ListLabelsResponse;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2PublishLabelRequest;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest;
use Google\Service\DriveLabels\GoogleProtobufEmpty;
/**
* The "labels" collection of methods.
* Typical usage is:
* <code>
* $drivelabelsService = new Google\Service\DriveLabels(...);
* $labels = $drivelabelsService->labels;
* </code>
*/
class Labels extends \Google\Service\Resource
{
/**
* Creates a new Label. (labels.create)
*
* @param GoogleAppsDriveLabelsV2Label $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string languageCode The BCP-47 language code to use for evaluating
* localized Field labels in response. When not specified, values in the default
* configured language will be used.
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* privileges. The server will verify the user is an admin before allowing
* access.
* @return GoogleAppsDriveLabelsV2Label
* @throws \Google\Service\Exception
*/
public function create(GoogleAppsDriveLabelsV2Label $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleAppsDriveLabelsV2Label::class);
}
/**
* Permanently deletes a Label and related metadata on Drive Items. Once
* deleted, the Label and related Drive item metadata will be deleted. Only
* draft Labels, and disabled Labels may be deleted. (labels.delete)
*
* @param string $name Required. Label resource name.
* @param array $optParams Optional parameters.
*
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* credentials. The server will verify the user is an admin for the Label before
* allowing access.
* @opt_param string writeControl.requiredRevisionId The revision_id of the
* label that the write request will be applied to. If this is not the latest
* revision of the label, the request will not be processed and will return a
* 400 Bad Request error.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Updates a single Label by applying a set of update requests resulting in a
* new draft revision. The batch update is all-or-nothing: If any of the update
* requests are invalid, no changes are applied. The resulting draft revision
* must be published before the changes may be used with Drive Items.
* (labels.delta)
*
* @param string $name Required. The resource name of the Label to update.
* @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse
* @throws \Google\Service\Exception
*/
public function delta($name, GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('delta', [$params], GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse::class);
}
/**
* Disable a published Label. Disabling a Label will result in a new disabled
* published revision based on the current published revision. If there is a
* draft revision, a new disabled draft revision will be created based on the
* latest draft revision. Older draft revisions will be deleted. Once disabled,
* a label may be deleted with `DeleteLabel`. (labels.disable)
*
* @param string $name Required. Label resource name.
* @param GoogleAppsDriveLabelsV2DisableLabelRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleAppsDriveLabelsV2Label
* @throws \Google\Service\Exception
*/
public function disable($name, GoogleAppsDriveLabelsV2DisableLabelRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('disable', [$params], GoogleAppsDriveLabelsV2Label::class);
}
/**
* Enable a disabled Label and restore it to its published state. This will
* result in a new published revision based on the current disabled published
* revision. If there is an existing disabled draft revision, a new revision
* will be created based on that draft and will be enabled. (labels.enable)
*
* @param string $name Required. Label resource name.
* @param GoogleAppsDriveLabelsV2EnableLabelRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleAppsDriveLabelsV2Label
* @throws \Google\Service\Exception
*/
public function enable($name, GoogleAppsDriveLabelsV2EnableLabelRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('enable', [$params], GoogleAppsDriveLabelsV2Label::class);
}
/**
* Get a label by its resource name. Resource name may be any of: *
* `labels/{id}` - See `labels/{id}@latest` * `labels/{id}@latest` - Gets the
* latest revision of the label. * `labels/{id}@published` - Gets the current
* published revision of the label. * `labels/{id}@{revision_id}` - Gets the
* label at the specified revision ID. (labels.get)
*
* @param string $name Required. Label resource name. May be any of: *
* `labels/{id}` (equivalent to labels/{id}@latest) * `labels/{id}@latest` *
* `labels/{id}@published` * `labels/{id}@{revision_id}`
* @param array $optParams Optional parameters.
*
* @opt_param string languageCode The BCP-47 language code to use for evaluating
* localized field labels. When not specified, values in the default configured
* language are used.
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* credentials. The server verifies that the user is an admin for the label
* before allowing access.
* @opt_param string view When specified, only certain fields belonging to the
* indicated view are returned.
* @return GoogleAppsDriveLabelsV2Label
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleAppsDriveLabelsV2Label::class);
}
/**
* List labels. (labels.listLabels)
*
* @param array $optParams Optional parameters.
*
* @opt_param string customer The customer to scope this list request to. For
* example: "customers/abcd1234". If unset, will return all labels within the
* current customer.
* @opt_param string languageCode The BCP-47 language code to use for evaluating
* localized field labels. When not specified, values in the default configured
* language are used.
* @opt_param string minimumRole Specifies the level of access the user must
* have on the returned Labels. The minimum role a user must have on a label.
* Defaults to `READER`.
* @opt_param int pageSize Maximum number of labels to return per page. Default:
* 50. Max: 200.
* @opt_param string pageToken The token of the page to return.
* @opt_param bool publishedOnly Whether to include only published labels in the
* results. * When `true`, only the current published label revisions are
* returned. Disabled labels are included. Returned label resource names
* reference the published revision (`labels/{id}/{revision_id}`). * When
* `false`, the current label revisions are returned, which might not be
* published. Returned label resource names don't reference a specific revision
* (`labels/{id}`).
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* credentials. This will return all Labels within the customer.
* @opt_param string view When specified, only certain fields belonging to the
* indicated view are returned.
* @return GoogleAppsDriveLabelsV2ListLabelsResponse
* @throws \Google\Service\Exception
*/
public function listLabels($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleAppsDriveLabelsV2ListLabelsResponse::class);
}
/**
* Publish all draft changes to the Label. Once published, the Label may not
* return to its draft state. See `google.apps.drive.labels.v2.Lifecycle` for
* more information. Publishing a Label will result in a new published revision.
* All previous draft revisions will be deleted. Previous published revisions
* will be kept but are subject to automated deletion as needed. Once published,
* some changes are no longer permitted. Generally, any change that would
* invalidate or cause new restrictions on existing metadata related to the
* Label will be rejected. For example, the following changes to a Label will be
* rejected after the Label is published: * The label cannot be directly
* deleted. It must be disabled first, then deleted. * Field.FieldType cannot be
* changed. * Changes to Field validation options cannot reject something that
* was previously accepted. * Reducing the max entries. (labels.publish)
*
* @param string $name Required. Label resource name.
* @param GoogleAppsDriveLabelsV2PublishLabelRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleAppsDriveLabelsV2Label
* @throws \Google\Service\Exception
*/
public function publish($name, GoogleAppsDriveLabelsV2PublishLabelRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('publish', [$params], GoogleAppsDriveLabelsV2Label::class);
}
/**
* Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do
* not require publishing, and take effect immediately.
* (labels.updateLabelCopyMode)
*
* @param string $name Required. The resource name of the Label to update.
* @param GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleAppsDriveLabelsV2Label
* @throws \Google\Service\Exception
*/
public function updateLabelCopyMode($name, GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateLabelCopyMode', [$params], GoogleAppsDriveLabelsV2Label::class);
}
/**
* Updates a Label's permissions. If a permission for the indicated principal
* doesn't exist, a new Label Permission is created, otherwise the existing
* permission is updated. Permissions affect the Label resource as a whole, are
* not revisioned, and do not require publishing. (labels.updatePermissions)
*
* @param string $parent Required. The parent Label resource name.
* @param GoogleAppsDriveLabelsV2LabelPermission $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* credentials. The server will verify the user is an admin for the Label before
* allowing access.
* @return GoogleAppsDriveLabelsV2LabelPermission
* @throws \Google\Service\Exception
*/
public function updatePermissions($parent, GoogleAppsDriveLabelsV2LabelPermission $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updatePermissions', [$params], GoogleAppsDriveLabelsV2LabelPermission::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Labels::class, 'Google_Service_DriveLabels_Resource_Labels');
@@ -0,0 +1,54 @@
<?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\DriveLabels\Resource;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2ListLabelLocksResponse;
/**
* The "locks" collection of methods.
* Typical usage is:
* <code>
* $drivelabelsService = new Google\Service\DriveLabels(...);
* $locks = $drivelabelsService->labels_locks;
* </code>
*/
class LabelsLocks extends \Google\Service\Resource
{
/**
* Lists the LabelLocks on a Label. (locks.listLabelsLocks)
*
* @param string $parent Required. Label on which Locks are applied. Format:
* labels/{label}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum number of Locks to return per page. Default:
* 100. Max: 200.
* @opt_param string pageToken The token of the page to return.
* @return GoogleAppsDriveLabelsV2ListLabelLocksResponse
* @throws \Google\Service\Exception
*/
public function listLabelsLocks($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleAppsDriveLabelsV2ListLabelLocksResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LabelsLocks::class, 'Google_Service_DriveLabels_Resource_LabelsLocks');
@@ -0,0 +1,145 @@
<?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\DriveLabels\Resource;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2LabelPermission;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2ListLabelPermissionsResponse;
use Google\Service\DriveLabels\GoogleProtobufEmpty;
/**
* The "permissions" collection of methods.
* Typical usage is:
* <code>
* $drivelabelsService = new Google\Service\DriveLabels(...);
* $permissions = $drivelabelsService->labels_permissions;
* </code>
*/
class LabelsPermissions extends \Google\Service\Resource
{
/**
* Deletes Label permissions. Permissions affect the Label resource as a whole,
* are not revisioned, and do not require publishing. (permissions.batchDelete)
*
* @param string $parent Required. The parent Label resource name shared by all
* permissions being deleted. Format: labels/{label} If this is set, the parent
* field in the UpdateLabelPermissionRequest messages must either be empty or
* match this field.
* @param GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function batchDelete($parent, GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchDelete', [$params], GoogleProtobufEmpty::class);
}
/**
* Updates Label permissions. If a permission for the indicated principal
* doesn't exist, a new Label Permission is created, otherwise the existing
* permission is updated. Permissions affect the Label resource as a whole, are
* not revisioned, and do not require publishing. (permissions.batchUpdate)
*
* @param string $parent Required. The parent Label resource name shared by all
* permissions being updated. Format: labels/{label} If this is set, the parent
* field in the UpdateLabelPermissionRequest messages must either be empty or
* match this field.
* @param GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse
* @throws \Google\Service\Exception
*/
public function batchUpdate($parent, GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchUpdate', [$params], GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse::class);
}
/**
* Updates a Label's permissions. If a permission for the indicated principal
* doesn't exist, a new Label Permission is created, otherwise the existing
* permission is updated. Permissions affect the Label resource as a whole, are
* not revisioned, and do not require publishing. (permissions.create)
*
* @param string $parent Required. The parent Label resource name on the Label
* Permission is created. Format: labels/{label}
* @param GoogleAppsDriveLabelsV2LabelPermission $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* credentials. The server will verify the user is an admin for the Label before
* allowing access.
* @return GoogleAppsDriveLabelsV2LabelPermission
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleAppsDriveLabelsV2LabelPermission $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleAppsDriveLabelsV2LabelPermission::class);
}
/**
* Deletes a Label's permission. Permissions affect the Label resource as a
* whole, are not revisioned, and do not require publishing.
* (permissions.delete)
*
* @param string $name Required. Label Permission resource name.
* @param array $optParams Optional parameters.
*
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* credentials. The server will verify the user is an admin for the Label before
* allowing access.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Lists a Label's permissions. (permissions.listLabelsPermissions)
*
* @param string $parent Required. The parent Label resource name on which Label
* Permission are listed. Format: labels/{label}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum number of permissions to return per page.
* Default: 50. Max: 200.
* @opt_param string pageToken The token of the page to return.
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* credentials. The server will verify the user is an admin for the Label before
* allowing access.
* @return GoogleAppsDriveLabelsV2ListLabelPermissionsResponse
* @throws \Google\Service\Exception
*/
public function listLabelsPermissions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleAppsDriveLabelsV2ListLabelPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LabelsPermissions::class, 'Google_Service_DriveLabels_Resource_LabelsPermissions');
@@ -0,0 +1,57 @@
<?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\DriveLabels\Resource;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2LabelPermission;
/**
* The "revisions" collection of methods.
* Typical usage is:
* <code>
* $drivelabelsService = new Google\Service\DriveLabels(...);
* $revisions = $drivelabelsService->labels_revisions;
* </code>
*/
class LabelsRevisions extends \Google\Service\Resource
{
/**
* Updates a Label's permissions. If a permission for the indicated principal
* doesn't exist, a new Label Permission is created, otherwise the existing
* permission is updated. Permissions affect the Label resource as a whole, are
* not revisioned, and do not require publishing. (revisions.updatePermissions)
*
* @param string $parent Required. The parent Label resource name.
* @param GoogleAppsDriveLabelsV2LabelPermission $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* credentials. The server will verify the user is an admin for the Label before
* allowing access.
* @return GoogleAppsDriveLabelsV2LabelPermission
* @throws \Google\Service\Exception
*/
public function updatePermissions($parent, GoogleAppsDriveLabelsV2LabelPermission $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updatePermissions', [$params], GoogleAppsDriveLabelsV2LabelPermission::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LabelsRevisions::class, 'Google_Service_DriveLabels_Resource_LabelsRevisions');
@@ -0,0 +1,54 @@
<?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\DriveLabels\Resource;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2ListLabelLocksResponse;
/**
* The "locks" collection of methods.
* Typical usage is:
* <code>
* $drivelabelsService = new Google\Service\DriveLabels(...);
* $locks = $drivelabelsService->labels_revisions_locks;
* </code>
*/
class LabelsRevisionsLocks extends \Google\Service\Resource
{
/**
* Lists the LabelLocks on a Label. (locks.listLabelsRevisionsLocks)
*
* @param string $parent Required. Label on which Locks are applied. Format:
* labels/{label}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum number of Locks to return per page. Default:
* 100. Max: 200.
* @opt_param string pageToken The token of the page to return.
* @return GoogleAppsDriveLabelsV2ListLabelLocksResponse
* @throws \Google\Service\Exception
*/
public function listLabelsRevisionsLocks($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleAppsDriveLabelsV2ListLabelLocksResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LabelsRevisionsLocks::class, 'Google_Service_DriveLabels_Resource_LabelsRevisionsLocks');
@@ -0,0 +1,145 @@
<?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\DriveLabels\Resource;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2LabelPermission;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2ListLabelPermissionsResponse;
use Google\Service\DriveLabels\GoogleProtobufEmpty;
/**
* The "permissions" collection of methods.
* Typical usage is:
* <code>
* $drivelabelsService = new Google\Service\DriveLabels(...);
* $permissions = $drivelabelsService->labels_revisions_permissions;
* </code>
*/
class LabelsRevisionsPermissions extends \Google\Service\Resource
{
/**
* Deletes Label permissions. Permissions affect the Label resource as a whole,
* are not revisioned, and do not require publishing. (permissions.batchDelete)
*
* @param string $parent Required. The parent Label resource name shared by all
* permissions being deleted. Format: labels/{label} If this is set, the parent
* field in the UpdateLabelPermissionRequest messages must either be empty or
* match this field.
* @param GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function batchDelete($parent, GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchDelete', [$params], GoogleProtobufEmpty::class);
}
/**
* Updates Label permissions. If a permission for the indicated principal
* doesn't exist, a new Label Permission is created, otherwise the existing
* permission is updated. Permissions affect the Label resource as a whole, are
* not revisioned, and do not require publishing. (permissions.batchUpdate)
*
* @param string $parent Required. The parent Label resource name shared by all
* permissions being updated. Format: labels/{label} If this is set, the parent
* field in the UpdateLabelPermissionRequest messages must either be empty or
* match this field.
* @param GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse
* @throws \Google\Service\Exception
*/
public function batchUpdate($parent, GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchUpdate', [$params], GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse::class);
}
/**
* Updates a Label's permissions. If a permission for the indicated principal
* doesn't exist, a new Label Permission is created, otherwise the existing
* permission is updated. Permissions affect the Label resource as a whole, are
* not revisioned, and do not require publishing. (permissions.create)
*
* @param string $parent Required. The parent Label resource name on the Label
* Permission is created. Format: labels/{label}
* @param GoogleAppsDriveLabelsV2LabelPermission $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* credentials. The server will verify the user is an admin for the Label before
* allowing access.
* @return GoogleAppsDriveLabelsV2LabelPermission
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleAppsDriveLabelsV2LabelPermission $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleAppsDriveLabelsV2LabelPermission::class);
}
/**
* Deletes a Label's permission. Permissions affect the Label resource as a
* whole, are not revisioned, and do not require publishing.
* (permissions.delete)
*
* @param string $name Required. Label Permission resource name.
* @param array $optParams Optional parameters.
*
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* credentials. The server will verify the user is an admin for the Label before
* allowing access.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Lists a Label's permissions. (permissions.listLabelsRevisionsPermissions)
*
* @param string $parent Required. The parent Label resource name on which Label
* Permission are listed. Format: labels/{label}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum number of permissions to return per page.
* Default: 50. Max: 200.
* @opt_param string pageToken The token of the page to return.
* @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
* credentials. The server will verify the user is an admin for the Label before
* allowing access.
* @return GoogleAppsDriveLabelsV2ListLabelPermissionsResponse
* @throws \Google\Service\Exception
*/
public function listLabelsRevisionsPermissions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleAppsDriveLabelsV2ListLabelPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LabelsRevisionsPermissions::class, 'Google_Service_DriveLabels_Resource_LabelsRevisionsPermissions');
@@ -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\DriveLabels\Resource;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2LabelLimits;
/**
* The "limits" collection of methods.
* Typical usage is:
* <code>
* $drivelabelsService = new Google\Service\DriveLabels(...);
* $limits = $drivelabelsService->limits;
* </code>
*/
class Limits extends \Google\Service\Resource
{
/**
* Get the constraints on the structure of a Label; such as, the maximum number
* of Fields allowed and maximum length of the label title. (limits.getLabel)
*
* @param array $optParams Optional parameters.
*
* @opt_param string name Required. Label revision resource name Must be:
* "limits/label"
* @return GoogleAppsDriveLabelsV2LabelLimits
* @throws \Google\Service\Exception
*/
public function getLabel($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('getLabel', [$params], GoogleAppsDriveLabelsV2LabelLimits::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Limits::class, 'Google_Service_DriveLabels_Resource_Limits');
@@ -0,0 +1,54 @@
<?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\DriveLabels\Resource;
use Google\Service\DriveLabels\GoogleAppsDriveLabelsV2UserCapabilities;
/**
* The "users" collection of methods.
* Typical usage is:
* <code>
* $drivelabelsService = new Google\Service\DriveLabels(...);
* $users = $drivelabelsService->users;
* </code>
*/
class Users extends \Google\Service\Resource
{
/**
* Gets the user capabilities. (users.getCapabilities)
*
* @param string $name Required. The resource name of the user. Only
* "users/me/capabilities" is supported.
* @param array $optParams Optional parameters.
*
* @opt_param string customer The customer to scope this request to. For
* example: "customers/abcd1234". If unset, will return settings within the
* current customer.
* @return GoogleAppsDriveLabelsV2UserCapabilities
* @throws \Google\Service\Exception
*/
public function getCapabilities($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getCapabilities', [$params], GoogleAppsDriveLabelsV2UserCapabilities::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Users::class, 'Google_Service_DriveLabels_Resource_Users');