gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class AttachTrustRequest extends \Google\Model
{
protected $trustType = Trust::class;
protected $trustDataType = '';
/**
* Required. The domain trust resource.
*
* @param Trust $trust
*/
public function setTrust(Trust $trust)
{
$this->trust = $trust;
}
/**
* @return Trust
*/
public function getTrust()
{
return $this->trust;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AttachTrustRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_AttachTrustRequest');
@@ -0,0 +1,220 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Backup extends \Google\Model
{
/**
* Not set.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Backup is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* Backup has been created and validated.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* Backup has been created but failed validation.
*/
public const STATE_FAILED = 'FAILED';
/**
* Backup is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* Backup was manually created.
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* Backup was manually created.
*/
public const TYPE_ON_DEMAND = 'ON_DEMAND';
/**
* Backup was automatically created.
*/
public const TYPE_SCHEDULED = 'SCHEDULED';
/**
* Output only. The time the backups was created.
*
* @var string
*/
public $createTime;
/**
* Optional. Resource labels to represent user provided metadata.
*
* @var string[]
*/
public $labels;
/**
* Output only. The unique name of the Backup in the form of `projects/{projec
* t_id}/locations/global/domains/{domain_name}/backups/{name}`
*
* @var string
*/
public $name;
/**
* Output only. The current state of the backup.
*
* @var string
*/
public $state;
/**
* Output only. Additional information about the current status of this
* backup, if available.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Indicates whether its an on-demand backup or scheduled.
*
* @var string
*/
public $type;
/**
* Output only. Last update time.
*
* @var string
*/
public $updateTime;
/**
* Output only. The time the backups was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Resource labels to represent user provided metadata.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. The unique name of the Backup in the form of `projects/{projec
* t_id}/locations/global/domains/{domain_name}/backups/{name}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The current state of the backup.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, ACTIVE, FAILED, DELETING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. Additional information about the current status of this
* backup, if available.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Indicates whether its an on-demand backup or scheduled.
*
* Accepted values: TYPE_UNSPECIFIED, ON_DEMAND, SCHEDULED
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Output only. Last update time.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Backup::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Backup');
@@ -0,0 +1,216 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* Specifies the principals requesting access for a Google Cloud resource.
* `members` can have the following values: * `allUsers`: A special identifier
* that represents anyone who is on the internet; with or without a Google
* account. * `allAuthenticatedUsers`: A special identifier that represents
* anyone who is authenticated with a Google account or a service account.
* Does not include identities that come from external identity providers
* (IdPs) through identity federation. * `user:{emailid}`: An email address
* that represents a specific Google account. For example, `alice@example.com`
* . * `serviceAccount:{emailid}`: An email address that represents a Google
* service account. For example, `my-other-app@appspot.gserviceaccount.com`. *
* `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An
* identifier for a [Kubernetes service
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-
* service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-
* kubernetes-sa]`. * `group:{emailid}`: An email address that represents a
* Google group. For example, `admins@example.com`. * `domain:{domain}`: The G
* Suite domain (primary) that represents all the users of that domain. For
* example, `google.com` or `example.com`. * `principal://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`
* : A single identity in a workforce identity pool. * `principalSet://iam.goo
* gleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:
* All workforce identities in a group. * `principalSet://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attrib
* ute_value}`: All workforce identities with a specific attribute value. * `p
* rincipalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}`
* : All identities in a workforce identity pool. * `principal://iam.googleapi
* s.com/projects/{project_number}/locations/global/workloadIdentityPools/{poo
* l_id}/subject/{subject_attribute_value}`: A single identity in a workload
* identity pool. * `principalSet://iam.googleapis.com/projects/{project_numbe
* r}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A
* workload identity pool group. * `principalSet://iam.googleapis.com/projects
* /{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribut
* e.{attribute_name}/{attribute_value}`: All identities in a workload
* identity pool with a certain attribute. * `principalSet://iam.googleapis.co
* m/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id
* }`: All identities in a workload identity pool. *
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a user that has been recently deleted. For
* example, `alice@example.com?uid=123456789012345678901`. If the user is
* recovered, this value reverts to `user:{emailid}` and the recovered user
* retains the role in the binding. *
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
* unique identifier) representing a service account that has been recently
* deleted. For example, `my-other-
* app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service
* account is undeleted, this value reverts to `serviceAccount:{emailid}` and
* the undeleted service account retains the role in the binding. *
* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a Google group that has been recently deleted. For
* example, `admins@example.com?uid=123456789012345678901`. If the group is
* recovered, this value reverts to `group:{emailid}` and the recovered group
* retains the role in the binding. * `deleted:principal://iam.googleapis.com/
* locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}
* `: Deleted single identity in a workforce identity pool. For example,
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-
* pool-id/subject/my-subject-attribute-value`.
*
* @var string[]
*/
public $members;
/**
* Role that is assigned to the list of `members`, or principals. For example,
* `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the
* IAM roles and permissions, see the [IAM
* documentation](https://cloud.google.com/iam/docs/roles-overview). For a
* list of the available pre-defined roles, see
* [here](https://cloud.google.com/iam/docs/understanding-roles).
*
* @var string
*/
public $role;
/**
* The condition that is associated with this binding. If the condition
* evaluates to `true`, then this binding applies to the current request. If
* the condition evaluates to `false`, then this binding does not apply to the
* current request. However, a different role binding might grant the same
* role to one or more of the principals in this binding. To learn which
* resources support conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @param Expr $condition
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* Specifies the principals requesting access for a Google Cloud resource.
* `members` can have the following values: * `allUsers`: A special identifier
* that represents anyone who is on the internet; with or without a Google
* account. * `allAuthenticatedUsers`: A special identifier that represents
* anyone who is authenticated with a Google account or a service account.
* Does not include identities that come from external identity providers
* (IdPs) through identity federation. * `user:{emailid}`: An email address
* that represents a specific Google account. For example, `alice@example.com`
* . * `serviceAccount:{emailid}`: An email address that represents a Google
* service account. For example, `my-other-app@appspot.gserviceaccount.com`. *
* `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An
* identifier for a [Kubernetes service
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-
* service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-
* kubernetes-sa]`. * `group:{emailid}`: An email address that represents a
* Google group. For example, `admins@example.com`. * `domain:{domain}`: The G
* Suite domain (primary) that represents all the users of that domain. For
* example, `google.com` or `example.com`. * `principal://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`
* : A single identity in a workforce identity pool. * `principalSet://iam.goo
* gleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:
* All workforce identities in a group. * `principalSet://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attrib
* ute_value}`: All workforce identities with a specific attribute value. * `p
* rincipalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}`
* : All identities in a workforce identity pool. * `principal://iam.googleapi
* s.com/projects/{project_number}/locations/global/workloadIdentityPools/{poo
* l_id}/subject/{subject_attribute_value}`: A single identity in a workload
* identity pool. * `principalSet://iam.googleapis.com/projects/{project_numbe
* r}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A
* workload identity pool group. * `principalSet://iam.googleapis.com/projects
* /{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribut
* e.{attribute_name}/{attribute_value}`: All identities in a workload
* identity pool with a certain attribute. * `principalSet://iam.googleapis.co
* m/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id
* }`: All identities in a workload identity pool. *
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a user that has been recently deleted. For
* example, `alice@example.com?uid=123456789012345678901`. If the user is
* recovered, this value reverts to `user:{emailid}` and the recovered user
* retains the role in the binding. *
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
* unique identifier) representing a service account that has been recently
* deleted. For example, `my-other-
* app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service
* account is undeleted, this value reverts to `serviceAccount:{emailid}` and
* the undeleted service account retains the role in the binding. *
* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a Google group that has been recently deleted. For
* example, `admins@example.com?uid=123456789012345678901`. If the group is
* recovered, this value reverts to `group:{emailid}` and the recovered group
* retains the role in the binding. * `deleted:principal://iam.googleapis.com/
* locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}
* `: Deleted single identity in a workforce identity pool. For example,
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-
* pool-id/subject/my-subject-attribute-value`.
*
* @param string[] $members
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* Role that is assigned to the list of `members`, or principals. For example,
* `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the
* IAM roles and permissions, see the [IAM
* documentation](https://cloud.google.com/iam/docs/roles-overview). For a
* list of the available pre-defined roles, see
* [here](https://cloud.google.com/iam/docs/understanding-roles).
*
* @param string $role
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Binding');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_CancelOperationRequest');
@@ -0,0 +1,133 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Certificate extends \Google\Collection
{
protected $collection_key = 'subjectAlternativeName';
/**
* The certificate expire time.
*
* @var string
*/
public $expireTime;
protected $issuingCertificateType = Certificate::class;
protected $issuingCertificateDataType = '';
/**
* The certificate subject.
*
* @var string
*/
public $subject;
/**
* The additional hostnames for the domain.
*
* @var string[]
*/
public $subjectAlternativeName;
/**
* The certificate thumbprint which uniquely identifies the certificate.
*
* @var string
*/
public $thumbprint;
/**
* The certificate expire time.
*
* @param string $expireTime
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* The issuer of this certificate.
*
* @param Certificate $issuingCertificate
*/
public function setIssuingCertificate(Certificate $issuingCertificate)
{
$this->issuingCertificate = $issuingCertificate;
}
/**
* @return Certificate
*/
public function getIssuingCertificate()
{
return $this->issuingCertificate;
}
/**
* The certificate subject.
*
* @param string $subject
*/
public function setSubject($subject)
{
$this->subject = $subject;
}
/**
* @return string
*/
public function getSubject()
{
return $this->subject;
}
/**
* The additional hostnames for the domain.
*
* @param string[] $subjectAlternativeName
*/
public function setSubjectAlternativeName($subjectAlternativeName)
{
$this->subjectAlternativeName = $subjectAlternativeName;
}
/**
* @return string[]
*/
public function getSubjectAlternativeName()
{
return $this->subjectAlternativeName;
}
/**
* The certificate thumbprint which uniquely identifies the certificate.
*
* @param string $thumbprint
*/
public function setThumbprint($thumbprint)
{
$this->thumbprint = $thumbprint;
}
/**
* @return string
*/
public function getThumbprint()
{
return $this->thumbprint;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Certificate::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Certificate');
@@ -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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class CheckMigrationPermissionRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckMigrationPermissionRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_CheckMigrationPermissionRequest');
@@ -0,0 +1,85 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class CheckMigrationPermissionResponse extends \Google\Collection
{
/**
* DomainMigration is in unspecified state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Domain Migration is Disabled.
*/
public const STATE_DISABLED = 'DISABLED';
/**
* Domain Migration is Enabled.
*/
public const STATE_ENABLED = 'ENABLED';
/**
* Domain Migration is not in valid state.
*/
public const STATE_NEEDS_MAINTENANCE = 'NEEDS_MAINTENANCE';
protected $collection_key = 'onpremDomains';
protected $onpremDomainsType = OnPremDomainSIDDetails::class;
protected $onpremDomainsDataType = 'array';
/**
* The state of DomainMigration.
*
* @var string
*/
public $state;
/**
* The state of SID filtering of all the domains which has trust established.
*
* @param OnPremDomainSIDDetails[] $onpremDomains
*/
public function setOnpremDomains($onpremDomains)
{
$this->onpremDomains = $onpremDomains;
}
/**
* @return OnPremDomainSIDDetails[]
*/
public function getOnpremDomains()
{
return $this->onpremDomains;
}
/**
* The state of DomainMigration.
*
* Accepted values: STATE_UNSPECIFIED, DISABLED, ENABLED, NEEDS_MAINTENANCE
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckMigrationPermissionResponse::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_CheckMigrationPermissionResponse');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class DailyCycle extends \Google\Model
{
/**
* Output only. Duration of the time window, set by service producer.
*
* @var string
*/
public $duration;
protected $startTimeType = TimeOfDay::class;
protected $startTimeDataType = '';
/**
* Output only. Duration of the time window, set by service producer.
*
* @param string $duration
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* Time within the day to start the operations.
*
* @param TimeOfDay $startTime
*/
public function setStartTime(TimeOfDay $startTime)
{
$this->startTime = $startTime;
}
/**
* @return TimeOfDay
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DailyCycle::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_DailyCycle');
@@ -0,0 +1,100 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Date extends \Google\Model
{
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @var int
*/
public $day;
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @var int
*/
public $month;
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @var int
*/
public $year;
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @param int $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @param int $month
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @param int $year
*/
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(Date::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Date');
@@ -0,0 +1,87 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class DenyMaintenancePeriod extends \Google\Model
{
protected $endDateType = Date::class;
protected $endDateDataType = '';
protected $startDateType = Date::class;
protected $startDateDataType = '';
protected $timeType = TimeOfDay::class;
protected $timeDataType = '';
/**
* Deny period end date. This can be: * A full date, with non-zero year, month
* and day values. * A month and day value, with a zero year. Allows recurring
* deny periods each year. Date matching this period will have to be before
* the end.
*
* @param Date $endDate
*/
public function setEndDate(Date $endDate)
{
$this->endDate = $endDate;
}
/**
* @return Date
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* Deny period start date. This can be: * A full date, with non-zero year,
* month and day values. * A month and day value, with a zero year. Allows
* recurring deny periods each year. Date matching this period will have to be
* the same or after the start.
*
* @param Date $startDate
*/
public function setStartDate(Date $startDate)
{
$this->startDate = $startDate;
}
/**
* @return Date
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* Time in UTC when the Blackout period starts on start_date and ends on
* end_date. This can be: * Full time. * All zeros for 00:00:00 UTC
*
* @param TimeOfDay $time
*/
public function setTime(TimeOfDay $time)
{
$this->time = $time;
}
/**
* @return TimeOfDay
*/
public function getTime()
{
return $this->time;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DenyMaintenancePeriod::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_DenyMaintenancePeriod');
@@ -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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class DetachTrustRequest extends \Google\Model
{
protected $trustType = Trust::class;
protected $trustDataType = '';
/**
* Required. The domain trust resource to removed.
*
* @param Trust $trust
*/
public function setTrust(Trust $trust)
{
$this->trust = $trust;
}
/**
* @return Trust
*/
public function getTrust()
{
return $this->trust;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DetachTrustRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_DetachTrustRequest');
@@ -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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class DisableMigrationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DisableMigrationRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_DisableMigrationRequest');
@@ -0,0 +1,375 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Domain extends \Google\Collection
{
/**
* Not set.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The domain is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* The domain has been created and is fully usable.
*/
public const STATE_READY = 'READY';
/**
* The domain's configuration is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* The domain is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* The domain is being repaired and may be unusable. Details can be found in
* the `status_message` field.
*/
public const STATE_REPAIRING = 'REPAIRING';
/**
* The domain is undergoing maintenance.
*/
public const STATE_PERFORMING_MAINTENANCE = 'PERFORMING_MAINTENANCE';
/**
* The domain is not serving requests.
*/
public const STATE_UNAVAILABLE = 'UNAVAILABLE';
protected $collection_key = 'trusts';
/**
* Optional. The name of delegated administrator account used to perform
* Active Directory operations. If not specified, `setupadmin` will be used.
*
* @var string
*/
public $admin;
/**
* Optional. Configuration for audit logs. True if audit logs are enabled,
* else false. Default is audit logs disabled.
*
* @var bool
*/
public $auditLogsEnabled;
/**
* Optional. The full names of the Google Compute Engine
* [networks](/compute/docs/networks-and-firewalls#networks) the domain
* instance is connected to. Networks can be added using UpdateDomain. The
* domain is only available on networks listed in `authorized_networks`. If
* CIDR subnets overlap between networks, domain creation will fail.
*
* @var string[]
*/
public $authorizedNetworks;
/**
* Output only. The time the instance was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The fully-qualified domain name of the exposed domain used by
* clients to connect to the service. Similar to what would be chosen for an
* Active Directory set up on an internal network.
*
* @var string
*/
public $fqdn;
/**
* Optional. Resource labels that can contain user-provided metadata.
*
* @var string[]
*/
public $labels;
/**
* Required. Locations where domain needs to be provisioned. The locations can
* be specified according to https://cloud.google.com/compute/docs/regions-
* zones, such as `us-west1` or `us-east4`. Each domain supports up to 4
* locations, separated by commas. Each location will use a /26 block.
*
* @var string[]
*/
public $locations;
/**
* Required. The unique name of the domain using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`.
*
* @var string
*/
public $name;
/**
* Required. The CIDR range of internal addresses that are reserved for this
* domain. Reserved networks must be /24 or larger. Ranges must be unique and
* non-overlapping with existing subnets in [Domain].[authorized_networks].
*
* @var string
*/
public $reservedIpRange;
/**
* Output only. The current state of this domain.
*
* @var string
*/
public $state;
/**
* Output only. Additional information about the current status of this
* domain, if available.
*
* @var string
*/
public $statusMessage;
protected $trustsType = Trust::class;
protected $trustsDataType = 'array';
/**
* Output only. The last update time.
*
* @var string
*/
public $updateTime;
/**
* Optional. The name of delegated administrator account used to perform
* Active Directory operations. If not specified, `setupadmin` will be used.
*
* @param string $admin
*/
public function setAdmin($admin)
{
$this->admin = $admin;
}
/**
* @return string
*/
public function getAdmin()
{
return $this->admin;
}
/**
* Optional. Configuration for audit logs. True if audit logs are enabled,
* else false. Default is audit logs disabled.
*
* @param bool $auditLogsEnabled
*/
public function setAuditLogsEnabled($auditLogsEnabled)
{
$this->auditLogsEnabled = $auditLogsEnabled;
}
/**
* @return bool
*/
public function getAuditLogsEnabled()
{
return $this->auditLogsEnabled;
}
/**
* Optional. The full names of the Google Compute Engine
* [networks](/compute/docs/networks-and-firewalls#networks) the domain
* instance is connected to. Networks can be added using UpdateDomain. The
* domain is only available on networks listed in `authorized_networks`. If
* CIDR subnets overlap between networks, domain creation will fail.
*
* @param string[] $authorizedNetworks
*/
public function setAuthorizedNetworks($authorizedNetworks)
{
$this->authorizedNetworks = $authorizedNetworks;
}
/**
* @return string[]
*/
public function getAuthorizedNetworks()
{
return $this->authorizedNetworks;
}
/**
* Output only. The time the instance was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The fully-qualified domain name of the exposed domain used by
* clients to connect to the service. Similar to what would be chosen for an
* Active Directory set up on an internal network.
*
* @param string $fqdn
*/
public function setFqdn($fqdn)
{
$this->fqdn = $fqdn;
}
/**
* @return string
*/
public function getFqdn()
{
return $this->fqdn;
}
/**
* Optional. Resource labels that can contain user-provided metadata.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Required. Locations where domain needs to be provisioned. The locations can
* be specified according to https://cloud.google.com/compute/docs/regions-
* zones, such as `us-west1` or `us-east4`. Each domain supports up to 4
* locations, separated by commas. Each location will use a /26 block.
*
* @param string[] $locations
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return string[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* Required. The unique name of the domain using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The CIDR range of internal addresses that are reserved for this
* domain. Reserved networks must be /24 or larger. Ranges must be unique and
* non-overlapping with existing subnets in [Domain].[authorized_networks].
*
* @param string $reservedIpRange
*/
public function setReservedIpRange($reservedIpRange)
{
$this->reservedIpRange = $reservedIpRange;
}
/**
* @return string
*/
public function getReservedIpRange()
{
return $this->reservedIpRange;
}
/**
* Output only. The current state of this domain.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, READY, UPDATING, DELETING,
* REPAIRING, PERFORMING_MAINTENANCE, UNAVAILABLE
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. Additional information about the current status of this
* domain, if available.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. The current trusts associated with the domain.
*
* @param Trust[] $trusts
*/
public function setTrusts($trusts)
{
$this->trusts = $trusts;
}
/**
* @return Trust[]
*/
public function getTrusts()
{
return $this->trusts;
}
/**
* Output only. The last update time.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Domain::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Domain');
@@ -0,0 +1,100 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class DomainJoinMachineRequest extends \Google\Model
{
/**
* Optional. force if True, forces domain join even if the computer account
* already exists.
*
* @var bool
*/
public $force;
/**
* Optional. OU name where the VM needs to be domain joined
*
* @var string
*/
public $ouName;
/**
* Required. Full instance id token of compute engine VM to verify instance
* identity. More about this:
* https://cloud.google.com/compute/docs/instances/verifying-instance-
* identity#request_signature
*
* @var string
*/
public $vmIdToken;
/**
* Optional. force if True, forces domain join even if the computer account
* already exists.
*
* @param bool $force
*/
public function setForce($force)
{
$this->force = $force;
}
/**
* @return bool
*/
public function getForce()
{
return $this->force;
}
/**
* Optional. OU name where the VM needs to be domain joined
*
* @param string $ouName
*/
public function setOuName($ouName)
{
$this->ouName = $ouName;
}
/**
* @return string
*/
public function getOuName()
{
return $this->ouName;
}
/**
* Required. Full instance id token of compute engine VM to verify instance
* identity. More about this:
* https://cloud.google.com/compute/docs/instances/verifying-instance-
* identity#request_signature
*
* @param string $vmIdToken
*/
public function setVmIdToken($vmIdToken)
{
$this->vmIdToken = $vmIdToken;
}
/**
* @return string
*/
public function getVmIdToken()
{
return $this->vmIdToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainJoinMachineRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_DomainJoinMachineRequest');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class DomainJoinMachineResponse extends \Google\Model
{
/**
* Offline domain join blob as the response
*
* @var string
*/
public $domainJoinBlob;
/**
* Offline domain join blob as the response
*
* @param string $domainJoinBlob
*/
public function setDomainJoinBlob($domainJoinBlob)
{
$this->domainJoinBlob = $domainJoinBlob;
}
/**
* @return string
*/
public function getDomainJoinBlob()
{
return $this->domainJoinBlob;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainJoinMachineResponse::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_DomainJoinMachineResponse');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class EnableMigrationRequest extends \Google\Collection
{
protected $collection_key = 'migratingDomains';
protected $migratingDomainsType = OnPremDomainDetails::class;
protected $migratingDomainsDataType = 'array';
/**
* Required. List of the on-prem domains to be migrated.
*
* @param OnPremDomainDetails[] $migratingDomains
*/
public function setMigratingDomains($migratingDomains)
{
$this->migratingDomains = $migratingDomains;
}
/**
* @return OnPremDomainDetails[]
*/
public function getMigratingDomains()
{
return $this->migratingDomains;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnableMigrationRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_EnableMigrationRequest');
@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Expr extends \Google\Model
{
/**
* Optional. Description of the expression. This is a longer text which
* describes the expression, e.g. when hovered over it in a UI.
*
* @var string
*/
public $description;
/**
* Textual representation of an expression in Common Expression Language
* syntax.
*
* @var string
*/
public $expression;
/**
* Optional. String indicating the location of the expression for error
* reporting, e.g. a file name and a position in the file.
*
* @var string
*/
public $location;
/**
* Optional. Title for the expression, i.e. a short string describing its
* purpose. This can be used e.g. in UIs which allow to enter the expression.
*
* @var string
*/
public $title;
/**
* Optional. Description of the expression. This is a longer text which
* describes the expression, e.g. when hovered over it in a UI.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Textual representation of an expression in Common Expression Language
* syntax.
*
* @param string $expression
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* Optional. String indicating the location of the expression for error
* reporting, e.g. a file name and a position in the file.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Optional. Title for the expression, i.e. a short string describing its
* purpose. This can be used e.g. in UIs which allow to enter the expression.
*
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Expr');
@@ -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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ExtendSchemaRequest extends \Google\Model
{
/**
* Required. Description for Schema Change.
*
* @var string
*/
public $description;
/**
* File uploaded as a byte stream input.
*
* @var string
*/
public $fileContents;
/**
* File stored in Cloud Storage bucket and represented in the form
* projects/{project_id}/buckets/{bucket_name}/objects/{object_name} File
* should be in the same project as the domain.
*
* @var string
*/
public $gcsPath;
/**
* Required. Description for Schema Change.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* File uploaded as a byte stream input.
*
* @param string $fileContents
*/
public function setFileContents($fileContents)
{
$this->fileContents = $fileContents;
}
/**
* @return string
*/
public function getFileContents()
{
return $this->fileContents;
}
/**
* File stored in Cloud Storage bucket and represented in the form
* projects/{project_id}/buckets/{bucket_name}/objects/{object_name} File
* should be in the same project as the domain.
*
* @param string $gcsPath
*/
public function setGcsPath($gcsPath)
{
$this->gcsPath = $gcsPath;
}
/**
* @return string
*/
public function getGcsPath()
{
return $this->gcsPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExtendSchemaRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ExtendSchemaRequest');
@@ -0,0 +1,164 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudManagedidentitiesV1OpMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudManagedidentitiesV1OpMetadata::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudManagedidentitiesV1OpMetadata');
@@ -0,0 +1,164 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudManagedidentitiesV1alpha1OpMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudManagedidentitiesV1alpha1OpMetadata::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudManagedidentitiesV1alpha1OpMetadata');
@@ -0,0 +1,164 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudManagedidentitiesV1beta1OpMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudManagedidentitiesV1beta1OpMetadata::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudManagedidentitiesV1beta1OpMetadata');
@@ -0,0 +1,512 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudSaasacceleratorManagementProvidersV1Instance extends \Google\Collection
{
/**
* Unspecified state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Instance is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* Instance has been created and is ready to use.
*/
public const STATE_READY = 'READY';
/**
* Instance is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* Instance is unheathy and under repair.
*/
public const STATE_REPAIRING = 'REPAIRING';
/**
* Instance is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* Instance encountered an error and is in indeterministic state.
*/
public const STATE_ERROR = 'ERROR';
protected $collection_key = 'provisionedResources';
/**
* consumer_defined_name is the name of the instance set by the service
* consumers. Generally this is different from the `name` field which
* reperesents the system-assigned id of the instance which the service
* consumers do not recognize. This is a required field for tenants onboarding
* to Maintenance Window notifications (go/slm-rollout-maintenance-
* policies#prerequisites).
*
* @var string
*/
public $consumerDefinedName;
/**
* Optional. The consumer_project_number associated with this Apigee instance.
* This field is added specifically to support Apigee integration with SLM
* Rollout and UMM. It represents the numerical project ID of the GCP project
* that consumes this Apigee instance. It is used for SLM rollout
* notifications and UMM integration, enabling proper mapping to customer
* projects and log delivery for Apigee instances. This field complements
* consumer_project_id and may be used for specific Apigee scenarios where the
* numerical ID is required.
*
* @var string
*/
public $consumerProjectNumber;
/**
* Output only. Timestamp when the resource was created.
*
* @var string
*/
public $createTime;
/**
* Optional. The instance_type of this instance of format: projects/{project_n
* umber}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance
* Type represents a high-level tier or SKU of the service that this instance
* belong to. When enabled(eg: Maintenance Rollout), Rollout uses
* 'instance_type' along with 'software_versions' to determine whether
* instance needs an update or not.
*
* @var string
*/
public $instanceType;
/**
* Optional. Resource labels to represent user provided metadata. Each label
* is a key-value pair, where both the key and the value are arbitrary strings
* provided by the user.
*
* @var string[]
*/
public $labels;
/**
* Optional. The MaintenancePolicies that have been attached to the instance.
* The key must be of the type name of the oneof policy name defined in
* MaintenancePolicy, and the referenced policy must define the same policy
* type. For details, please refer to go/mr-user-guide. Should not be set if
* maintenance_settings.maintenance_policies is set.
*
* @var string[]
*/
public $maintenancePolicyNames;
protected $maintenanceSchedulesType = GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::class;
protected $maintenanceSchedulesDataType = 'map';
protected $maintenanceSettingsType = GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::class;
protected $maintenanceSettingsDataType = '';
/**
* Unique name of the resource. It uses the form:
* `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
* Note: This name is passed, stored and logged across the rollout system. So
* use of consumer project_id or any other consumer PII in the name is
* strongly discouraged for wipeout (go/wipeout) compliance. See
* go/elysium/project_ids#storage-guidance for more details.
*
* @var string
*/
public $name;
protected $notificationParametersType = GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter::class;
protected $notificationParametersDataType = 'map';
/**
* Output only. Custom string attributes used primarily to expose producer-
* specific information in monitoring dashboards. See go/get-instance-
* metadata.
*
* @var string[]
*/
public $producerMetadata;
protected $provisionedResourcesType = GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::class;
protected $provisionedResourcesDataType = 'array';
/**
* Link to the SLM instance template. Only populated when updating SLM
* instances via SSA's Actuation service adaptor. Service producers with
* custom control plane (e.g. Cloud SQL) doesn't need to populate this field.
* Instead they should use software_versions.
*
* @var string
*/
public $slmInstanceTemplate;
protected $sloMetadataType = GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::class;
protected $sloMetadataDataType = '';
/**
* Software versions that are used to deploy this instance. This can be
* mutated by rollout services.
*
* @var string[]
*/
public $softwareVersions;
/**
* Output only. Current lifecycle state of the resource (e.g. if it's being
* created or ready to use).
*
* @var string
*/
public $state;
/**
* Output only. ID of the associated GCP tenant project. See go/get-instance-
* metadata.
*
* @var string
*/
public $tenantProjectId;
/**
* Output only. Timestamp when the resource was last modified.
*
* @var string
*/
public $updateTime;
/**
* consumer_defined_name is the name of the instance set by the service
* consumers. Generally this is different from the `name` field which
* reperesents the system-assigned id of the instance which the service
* consumers do not recognize. This is a required field for tenants onboarding
* to Maintenance Window notifications (go/slm-rollout-maintenance-
* policies#prerequisites).
*
* @param string $consumerDefinedName
*/
public function setConsumerDefinedName($consumerDefinedName)
{
$this->consumerDefinedName = $consumerDefinedName;
}
/**
* @return string
*/
public function getConsumerDefinedName()
{
return $this->consumerDefinedName;
}
/**
* Optional. The consumer_project_number associated with this Apigee instance.
* This field is added specifically to support Apigee integration with SLM
* Rollout and UMM. It represents the numerical project ID of the GCP project
* that consumes this Apigee instance. It is used for SLM rollout
* notifications and UMM integration, enabling proper mapping to customer
* projects and log delivery for Apigee instances. This field complements
* consumer_project_id and may be used for specific Apigee scenarios where the
* numerical ID is required.
*
* @param string $consumerProjectNumber
*/
public function setConsumerProjectNumber($consumerProjectNumber)
{
$this->consumerProjectNumber = $consumerProjectNumber;
}
/**
* @return string
*/
public function getConsumerProjectNumber()
{
return $this->consumerProjectNumber;
}
/**
* Output only. Timestamp when the resource was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The instance_type of this instance of format: projects/{project_n
* umber}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance
* Type represents a high-level tier or SKU of the service that this instance
* belong to. When enabled(eg: Maintenance Rollout), Rollout uses
* 'instance_type' along with 'software_versions' to determine whether
* instance needs an update or not.
*
* @param string $instanceType
*/
public function setInstanceType($instanceType)
{
$this->instanceType = $instanceType;
}
/**
* @return string
*/
public function getInstanceType()
{
return $this->instanceType;
}
/**
* Optional. Resource labels to represent user provided metadata. Each label
* is a key-value pair, where both the key and the value are arbitrary strings
* provided by the user.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Optional. The MaintenancePolicies that have been attached to the instance.
* The key must be of the type name of the oneof policy name defined in
* MaintenancePolicy, and the referenced policy must define the same policy
* type. For details, please refer to go/mr-user-guide. Should not be set if
* maintenance_settings.maintenance_policies is set.
*
* @param string[] $maintenancePolicyNames
*/
public function setMaintenancePolicyNames($maintenancePolicyNames)
{
$this->maintenancePolicyNames = $maintenancePolicyNames;
}
/**
* @return string[]
*/
public function getMaintenancePolicyNames()
{
return $this->maintenancePolicyNames;
}
/**
* The MaintenanceSchedule contains the scheduling information of published
* maintenance schedule with same key as software_versions.
*
* @param GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule[] $maintenanceSchedules
*/
public function setMaintenanceSchedules($maintenanceSchedules)
{
$this->maintenanceSchedules = $maintenanceSchedules;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule[]
*/
public function getMaintenanceSchedules()
{
return $this->maintenanceSchedules;
}
/**
* Optional. The MaintenanceSettings associated with instance.
*
* @param GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings $maintenanceSettings
*/
public function setMaintenanceSettings(GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings $maintenanceSettings)
{
$this->maintenanceSettings = $maintenanceSettings;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
*/
public function getMaintenanceSettings()
{
return $this->maintenanceSettings;
}
/**
* Unique name of the resource. It uses the form:
* `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
* Note: This name is passed, stored and logged across the rollout system. So
* use of consumer project_id or any other consumer PII in the name is
* strongly discouraged for wipeout (go/wipeout) compliance. See
* go/elysium/project_ids#storage-guidance for more details.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. notification_parameter are information that service producers may
* like to include that is not relevant to Rollout. This parameter will only
* be passed to Gamma and Cloud Logging for notification/logging purpose.
*
* @param GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter[] $notificationParameters
*/
public function setNotificationParameters($notificationParameters)
{
$this->notificationParameters = $notificationParameters;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter[]
*/
public function getNotificationParameters()
{
return $this->notificationParameters;
}
/**
* Output only. Custom string attributes used primarily to expose producer-
* specific information in monitoring dashboards. See go/get-instance-
* metadata.
*
* @param string[] $producerMetadata
*/
public function setProducerMetadata($producerMetadata)
{
$this->producerMetadata = $producerMetadata;
}
/**
* @return string[]
*/
public function getProducerMetadata()
{
return $this->producerMetadata;
}
/**
* Output only. The list of data plane resources provisioned for this
* instance, e.g. compute VMs. See go/get-instance-metadata.
*
* @param GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource[] $provisionedResources
*/
public function setProvisionedResources($provisionedResources)
{
$this->provisionedResources = $provisionedResources;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource[]
*/
public function getProvisionedResources()
{
return $this->provisionedResources;
}
/**
* Link to the SLM instance template. Only populated when updating SLM
* instances via SSA's Actuation service adaptor. Service producers with
* custom control plane (e.g. Cloud SQL) doesn't need to populate this field.
* Instead they should use software_versions.
*
* @param string $slmInstanceTemplate
*/
public function setSlmInstanceTemplate($slmInstanceTemplate)
{
$this->slmInstanceTemplate = $slmInstanceTemplate;
}
/**
* @return string
*/
public function getSlmInstanceTemplate()
{
return $this->slmInstanceTemplate;
}
/**
* Output only. SLO metadata for instance classification in the Standardized
* dataplane SLO platform. See go/cloud-ssa-standard-slo for feature
* description.
*
* @param GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata $sloMetadata
*/
public function setSloMetadata(GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata $sloMetadata)
{
$this->sloMetadata = $sloMetadata;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
*/
public function getSloMetadata()
{
return $this->sloMetadata;
}
/**
* Software versions that are used to deploy this instance. This can be
* mutated by rollout services.
*
* @param string[] $softwareVersions
*/
public function setSoftwareVersions($softwareVersions)
{
$this->softwareVersions = $softwareVersions;
}
/**
* @return string[]
*/
public function getSoftwareVersions()
{
return $this->softwareVersions;
}
/**
* Output only. Current lifecycle state of the resource (e.g. if it's being
* created or ready to use).
*
* Accepted values: STATE_UNSPECIFIED, CREATING, READY, UPDATING, REPAIRING,
* DELETING, ERROR
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. ID of the associated GCP tenant project. See go/get-instance-
* metadata.
*
* @param string $tenantProjectId
*/
public function setTenantProjectId($tenantProjectId)
{
$this->tenantProjectId = $tenantProjectId;
}
/**
* @return string
*/
public function getTenantProjectId()
{
return $this->tenantProjectId;
}
/**
* Output only. Timestamp when the resource was last modified.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1Instance::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudSaasacceleratorManagementProvidersV1Instance');
@@ -0,0 +1,153 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule extends \Google\Model
{
/**
* This field is deprecated, and will be always set to true since reschedule
* can happen multiple times now. This field should not be removed until all
* service producers remove this for their customers.
*
* @deprecated
* @var bool
*/
public $canReschedule;
/**
* The scheduled end time for the maintenance.
*
* @var string
*/
public $endTime;
/**
* The rollout management policy this maintenance schedule is associated with.
* When doing reschedule update request, the reschedule should be against this
* given policy.
*
* @var string
*/
public $rolloutManagementPolicy;
/**
* schedule_deadline_time is the time deadline any schedule start time cannot
* go beyond, including reschedule. It's normally the initial schedule start
* time plus maintenance window length (1 day or 1 week). Maintenance cannot
* be scheduled to start beyond this deadline.
*
* @var string
*/
public $scheduleDeadlineTime;
/**
* The scheduled start time for the maintenance.
*
* @var string
*/
public $startTime;
/**
* This field is deprecated, and will be always set to true since reschedule
* can happen multiple times now. This field should not be removed until all
* service producers remove this for their customers.
*
* @deprecated
* @param bool $canReschedule
*/
public function setCanReschedule($canReschedule)
{
$this->canReschedule = $canReschedule;
}
/**
* @deprecated
* @return bool
*/
public function getCanReschedule()
{
return $this->canReschedule;
}
/**
* The scheduled end time for the maintenance.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The rollout management policy this maintenance schedule is associated with.
* When doing reschedule update request, the reschedule should be against this
* given policy.
*
* @param string $rolloutManagementPolicy
*/
public function setRolloutManagementPolicy($rolloutManagementPolicy)
{
$this->rolloutManagementPolicy = $rolloutManagementPolicy;
}
/**
* @return string
*/
public function getRolloutManagementPolicy()
{
return $this->rolloutManagementPolicy;
}
/**
* schedule_deadline_time is the time deadline any schedule start time cannot
* go beyond, including reschedule. It's normally the initial schedule start
* time plus maintenance window length (1 day or 1 week). Maintenance cannot
* be scheduled to start beyond this deadline.
*
* @param string $scheduleDeadlineTime
*/
public function setScheduleDeadlineTime($scheduleDeadlineTime)
{
$this->scheduleDeadlineTime = $scheduleDeadlineTime;
}
/**
* @return string
*/
public function getScheduleDeadlineTime()
{
return $this->scheduleDeadlineTime;
}
/**
* The scheduled start time for the maintenance.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule');
@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings extends \Google\Model
{
/**
* Optional. Exclude instance from maintenance. When true, rollout service
* will not attempt maintenance on the instance. Rollout service will include
* the instance in reported rollout progress as not attempted.
*
* @var bool
*/
public $exclude;
/**
* Optional. If the update call is triggered from rollback, set the value as
* true.
*
* @var bool
*/
public $isRollback;
protected $maintenancePoliciesType = MaintenancePolicy::class;
protected $maintenancePoliciesDataType = 'map';
/**
* Optional. Exclude instance from maintenance. When true, rollout service
* will not attempt maintenance on the instance. Rollout service will include
* the instance in reported rollout progress as not attempted.
*
* @param bool $exclude
*/
public function setExclude($exclude)
{
$this->exclude = $exclude;
}
/**
* @return bool
*/
public function getExclude()
{
return $this->exclude;
}
/**
* Optional. If the update call is triggered from rollback, set the value as
* true.
*
* @param bool $isRollback
*/
public function setIsRollback($isRollback)
{
$this->isRollback = $isRollback;
}
/**
* @return bool
*/
public function getIsRollback()
{
return $this->isRollback;
}
/**
* Optional. The MaintenancePolicies that have been attached to the instance.
* The key must be of the type name of the oneof policy name defined in
* MaintenancePolicy, and the embedded policy must define the same policy
* type. For details, please refer to go/mr-user-guide. Should not be set if
* maintenance_policy_names is set. If only the name is needed, then only
* populate MaintenancePolicy.name.
*
* @param MaintenancePolicy[] $maintenancePolicies
*/
public function setMaintenancePolicies($maintenancePolicies)
{
$this->maintenancePolicies = $maintenancePolicies;
}
/**
* @return MaintenancePolicy[]
*/
public function getMaintenancePolicies()
{
return $this->maintenancePolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings');
@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata extends \Google\Model
{
/**
* The location of the node, if different from instance location.
*
* @var string
*/
public $location;
/**
* The id of the node. This should be equal to SaasInstanceNode.node_id.
*
* @var string
*/
public $nodeId;
protected $perSliEligibilityType = GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::class;
protected $perSliEligibilityDataType = '';
/**
* The location of the node, if different from instance location.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* The id of the node. This should be equal to SaasInstanceNode.node_id.
*
* @param string $nodeId
*/
public function setNodeId($nodeId)
{
$this->nodeId = $nodeId;
}
/**
* @return string
*/
public function getNodeId()
{
return $this->nodeId;
}
/**
* If present, this will override eligibility for the node coming from
* instance or exclusions for specified SLIs.
*
* @param GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility $perSliEligibility
*/
public function setPerSliEligibility(GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility $perSliEligibility)
{
$this->perSliEligibility = $perSliEligibility;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
*/
public function getPerSliEligibility()
{
return $this->perSliEligibility;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata');
@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter extends \Google\Collection
{
protected $collection_key = 'values';
/**
* Optional. Array of string values. e.g. instance's replica information.
*
* @var string[]
*/
public $values;
/**
* Optional. Array of string values. e.g. instance's replica information.
*
* @param string[] $values
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter');
@@ -0,0 +1,55 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility extends \Google\Model
{
protected $eligibilitiesType = GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::class;
protected $eligibilitiesDataType = 'map';
/**
* An entry in the eligibilities map specifies an eligibility for a particular
* SLI for the given instance. The SLI key in the name must be a valid SLI
* name specified in the Eligibility Exporter binary flags otherwise an error
* will be emitted by Eligibility Exporter and the oncaller will be alerted.
* If an SLI has been defined in the binary flags but the eligibilities map
* does not contain it, the corresponding SLI time series will not be emitted
* by the Eligibility Exporter. This ensures a smooth rollout and
* compatibility between the data produced by different versions of the
* Eligibility Exporters. If eligibilities map contains a key for an SLI which
* has not been declared in the binary flags, there will be an error message
* emitted in the Eligibility Exporter log and the metric for the SLI in
* question will not be emitted.
*
* @param GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility[] $eligibilities
*/
public function setEligibilities($eligibilities)
{
$this->eligibilities = $eligibilities;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility[]
*/
public function getEligibilities()
{
return $this->eligibilities;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility');
@@ -0,0 +1,82 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource extends \Google\Model
{
/**
* Type of the resource. This can be either a GCP resource or a custom one
* (e.g. another cloud provider's VM). For GCP compute resources use singular
* form of the names listed in GCP compute API documentation
* (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with
* 'compute-', for example: 'compute-instance', 'compute-disk', 'compute-
* autoscaler'.
*
* @var string
*/
public $resourceType;
/**
* URL identifying the resource, e.g.
* "https://www.googleapis.com/compute/v1/projects/...)".
*
* @var string
*/
public $resourceUrl;
/**
* Type of the resource. This can be either a GCP resource or a custom one
* (e.g. another cloud provider's VM). For GCP compute resources use singular
* form of the names listed in GCP compute API documentation
* (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with
* 'compute-', for example: 'compute-instance', 'compute-disk', 'compute-
* autoscaler'.
*
* @param string $resourceType
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* URL identifying the resource, e.g.
* "https://www.googleapis.com/compute/v1/projects/...)".
*
* @param string $resourceUrl
*/
public function setResourceUrl($resourceUrl)
{
$this->resourceUrl = $resourceUrl;
}
/**
* @return string
*/
public function getResourceUrl()
{
return $this->resourceUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource');
@@ -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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility extends \Google\Model
{
/**
* Whether an instance is eligible or ineligible.
*
* @var bool
*/
public $eligible;
/**
* User-defined reason for the current value of instance eligibility. Usually,
* this can be directly mapped to the internal state. An empty reason is
* allowed.
*
* @var string
*/
public $reason;
/**
* Whether an instance is eligible or ineligible.
*
* @param bool $eligible
*/
public function setEligible($eligible)
{
$this->eligible = $eligible;
}
/**
* @return bool
*/
public function getEligible()
{
return $this->eligible;
}
/**
* User-defined reason for the current value of instance eligibility. Usually,
* this can be directly mapped to the internal state. An empty reason is
* allowed.
*
* @param string $reason
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility');
@@ -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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion extends \Google\Model
{
public $duration;
public $reason;
public $sliName;
public $startTime;
public function setDuration($duration)
{
$this->duration = $duration;
}
public function getDuration()
{
return $this->duration;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
public function setSliName($sliName)
{
$this->sliName = $sliName;
}
public function getSliName()
{
return $this->sliName;
}
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion');
@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata extends \Google\Collection
{
protected $collection_key = 'nodes';
protected $nodesType = GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::class;
protected $nodesDataType = 'array';
protected $perSliEligibilityType = GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::class;
protected $perSliEligibilityDataType = '';
/**
* Name of the SLO tier the Instance belongs to. This name will be expected to
* match the tiers specified in the service SLO configuration. Field is
* mandatory and must not be empty.
*
* @var string
*/
public $tier;
/**
* Optional. List of nodes. Some producers need to use per-node metadata to
* calculate SLO. This field allows such producers to publish per-node SLO
* meta data, which will be consumed by SSA Eligibility Exporter and published
* in the form of per node metric to Monarch.
*
* @param GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata[] $nodes
*/
public function setNodes($nodes)
{
$this->nodes = $nodes;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata[]
*/
public function getNodes()
{
return $this->nodes;
}
/**
* Optional. Multiple per-instance SLI eligibilities which apply for
* individual SLIs.
*
* @param GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility $perSliEligibility
*/
public function setPerSliEligibility(GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility $perSliEligibility)
{
$this->perSliEligibility = $perSliEligibility;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
*/
public function getPerSliEligibility()
{
return $this->perSliEligibility;
}
/**
* Name of the SLO tier the Instance belongs to. This name will be expected to
* match the tiers specified in the service SLO configuration. Field is
* mandatory and must not be empty.
*
* @param string $tier
*/
public function setTier($tier)
{
$this->tier = $tier;
}
/**
* @return string
*/
public function getTier()
{
return $this->tier;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata');
@@ -0,0 +1,205 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class LDAPSSettings extends \Google\Model
{
/**
* Not Set
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The LDAPS setting is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* The LDAPS setting is ready.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* The LDAPS setting is not applied correctly.
*/
public const STATE_FAILED = 'FAILED';
protected $certificateType = Certificate::class;
protected $certificateDataType = '';
/**
* Input only. The password used to encrypt the uploaded PFX certificate.
*
* @var string
*/
public $certificatePassword;
/**
* Input only. The uploaded PKCS12-formatted certificate to configure LDAPS
* with. It will enable the domain controllers in this domain to accept LDAPS
* connections (either LDAP over SSL/TLS or the StartTLS operation). A valid
* certificate chain must form a valid x.509 certificate chain (or be
* comprised of a single self-signed certificate. It must be encrypted with
* either: 1) PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2)
* pbeWithSHA1And3-KeyTripleDES-CBC Private key must be included for the leaf
* / single self-signed certificate. Note: For a fqdn your-example-domain.com,
* the wildcard fqdn is *.your-example-domain.com. Specifically the leaf
* certificate must have: - Either a blank subject or a subject with CN
* matching the wildcard fqdn. - Exactly two SANs - the fqdn and wildcard
* fqdn. - Encipherment and digital key signature key usages. - Server
* authentication extended key usage (OID=1.3.6.1.5.5.7.3.1) - Private key
* must be in one of the following formats: RSA, ECDSA, ED25519. - Private key
* must have appropriate key length: 2048 for RSA, 256 for ECDSA - Signature
* algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
*
* @var string
*/
public $certificatePfx;
/**
* The resource name of the LDAPS settings. Uses the form:
* `projects/{project}/locations/{location}/domains/{domain}`.
*
* @var string
*/
public $name;
/**
* Output only. The current state of this LDAPS settings.
*
* @var string
*/
public $state;
/**
* Output only. Last update time.
*
* @var string
*/
public $updateTime;
/**
* Output only. The certificate used to configure LDAPS. Certificates can be
* chained with a maximum length of 15.
*
* @param Certificate $certificate
*/
public function setCertificate(Certificate $certificate)
{
$this->certificate = $certificate;
}
/**
* @return Certificate
*/
public function getCertificate()
{
return $this->certificate;
}
/**
* Input only. The password used to encrypt the uploaded PFX certificate.
*
* @param string $certificatePassword
*/
public function setCertificatePassword($certificatePassword)
{
$this->certificatePassword = $certificatePassword;
}
/**
* @return string
*/
public function getCertificatePassword()
{
return $this->certificatePassword;
}
/**
* Input only. The uploaded PKCS12-formatted certificate to configure LDAPS
* with. It will enable the domain controllers in this domain to accept LDAPS
* connections (either LDAP over SSL/TLS or the StartTLS operation). A valid
* certificate chain must form a valid x.509 certificate chain (or be
* comprised of a single self-signed certificate. It must be encrypted with
* either: 1) PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2)
* pbeWithSHA1And3-KeyTripleDES-CBC Private key must be included for the leaf
* / single self-signed certificate. Note: For a fqdn your-example-domain.com,
* the wildcard fqdn is *.your-example-domain.com. Specifically the leaf
* certificate must have: - Either a blank subject or a subject with CN
* matching the wildcard fqdn. - Exactly two SANs - the fqdn and wildcard
* fqdn. - Encipherment and digital key signature key usages. - Server
* authentication extended key usage (OID=1.3.6.1.5.5.7.3.1) - Private key
* must be in one of the following formats: RSA, ECDSA, ED25519. - Private key
* must have appropriate key length: 2048 for RSA, 256 for ECDSA - Signature
* algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
*
* @param string $certificatePfx
*/
public function setCertificatePfx($certificatePfx)
{
$this->certificatePfx = $certificatePfx;
}
/**
* @return string
*/
public function getCertificatePfx()
{
return $this->certificatePfx;
}
/**
* The resource name of the LDAPS settings. Uses the form:
* `projects/{project}/locations/{location}/domains/{domain}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The current state of this LDAPS settings.
*
* Accepted values: STATE_UNSPECIFIED, UPDATING, ACTIVE, FAILED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. Last update time.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LDAPSSettings::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_LDAPSSettings');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ListBackupsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $backupsType = Backup::class;
protected $backupsDataType = 'array';
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of Cloud AD backups in the domain.
*
* @param Backup[] $backups
*/
public function setBackups($backups)
{
$this->backups = $backups;
}
/**
* @return Backup[]
*/
public function getBackups()
{
return $this->backups;
}
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListBackupsResponse::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ListBackupsResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ListDomainsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $domainsType = Domain::class;
protected $domainsDataType = 'array';
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of Managed Identities Service domains in the project.
*
* @param Domain[] $domains
*/
public function setDomains($domains)
{
$this->domains = $domains;
}
/**
* @return Domain[]
*/
public function getDomains()
{
return $this->domains;
}
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListDomainsResponse::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ListDomainsResponse');
@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that matches the specified filter in the request.
*
* @param Location[] $locations
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ListLocationsResponse');
@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @var string[]
*/
public $unreachable;
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of operations that matches the specified filter in the request.
*
* @param Operation[] $operations
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ListOperationsResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ListPeeringsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
protected $peeringsType = Peering::class;
protected $peeringsDataType = 'array';
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of Managed Identities Service Peerings in the project.
*
* @param Peering[] $peerings
*/
public function setPeerings($peerings)
{
$this->peerings = $peerings;
}
/**
* @return Peering[]
*/
public function getPeerings()
{
return $this->peerings;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPeeringsResponse::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ListPeeringsResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ListSqlIntegrationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
protected $sqlIntegrationsType = SqlIntegration::class;
protected $sqlIntegrationsDataType = 'array';
/**
* A list of locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of SQLIntegrations of a domain.
*
* @param SqlIntegration[] $sqlIntegrations
*/
public function setSqlIntegrations($sqlIntegrations)
{
$this->sqlIntegrations = $sqlIntegrations;
}
/**
* @return SqlIntegration[]
*/
public function getSqlIntegrations()
{
return $this->sqlIntegrations;
}
/**
* A list of locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListSqlIntegrationsResponse::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ListSqlIntegrationsResponse');
@@ -0,0 +1,144 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Location extends \Google\Model
{
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @var string
*/
public $displayName;
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @var string[]
*/
public $labels;
/**
* The canonical id for this location. For example: `"us-east1"`.
*
* @var string
*/
public $locationId;
/**
* Service-specific metadata. For example the available capacity at the given
* location.
*
* @var array[]
*/
public $metadata;
/**
* Resource name for the location, which may vary between implementations. For
* example: `"projects/example-project/locations/us-east1"`
*
* @var string
*/
public $name;
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* The canonical id for this location. For example: `"us-east1"`.
*
* @param string $locationId
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* Service-specific metadata. For example the available capacity at the given
* location.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Resource name for the location, which may vary between implementations. For
* example: `"projects/example-project/locations/us-east1"`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Location');
@@ -0,0 +1,204 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class MaintenancePolicy extends \Google\Model
{
/**
* Unspecified state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Resource is ready to be used.
*/
public const STATE_READY = 'READY';
/**
* Resource is being deleted. It can no longer be attached to instances.
*/
public const STATE_DELETING = 'DELETING';
/**
* Output only. The time when the resource was created.
*
* @var string
*/
public $createTime;
/**
* Optional. Description of what this policy is for. Create/Update methods
* return INVALID_ARGUMENT if the length is greater than 512.
*
* @var string
*/
public $description;
/**
* Optional. Resource labels to represent user provided metadata. Each label
* is a key-value pair, where both the key and the value are arbitrary strings
* provided by the user.
*
* @var string[]
*/
public $labels;
/**
* Required. MaintenancePolicy name using the form: `projects/{project_id}/loc
* ations/{location_id}/maintenancePolicies/{maintenance_policy_id}` where
* {project_id} refers to a GCP consumer project ID, {location_id} refers to a
* GCP region/zone, {maintenance_policy_id} must be 1-63 characters long and
* match the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.
*
* @var string
*/
public $name;
/**
* Optional. The state of the policy.
*
* @var string
*/
public $state;
protected $updatePolicyType = UpdatePolicy::class;
protected $updatePolicyDataType = '';
/**
* Output only. The time when the resource was updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The time when the resource was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Description of what this policy is for. Create/Update methods
* return INVALID_ARGUMENT if the length is greater than 512.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. Resource labels to represent user provided metadata. Each label
* is a key-value pair, where both the key and the value are arbitrary strings
* provided by the user.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Required. MaintenancePolicy name using the form: `projects/{project_id}/loc
* ations/{location_id}/maintenancePolicies/{maintenance_policy_id}` where
* {project_id} refers to a GCP consumer project ID, {location_id} refers to a
* GCP region/zone, {maintenance_policy_id} must be 1-63 characters long and
* match the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. The state of the policy.
*
* Accepted values: STATE_UNSPECIFIED, READY, DELETING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Maintenance policy applicable to instance update.
*
* @param UpdatePolicy $updatePolicy
*/
public function setUpdatePolicy(UpdatePolicy $updatePolicy)
{
$this->updatePolicy = $updatePolicy;
}
/**
* @return UpdatePolicy
*/
public function getUpdatePolicy()
{
return $this->updatePolicy;
}
/**
* Output only. The time when the resource was updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenancePolicy::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_MaintenancePolicy');
@@ -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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class MaintenanceWindow extends \Google\Model
{
protected $dailyCycleType = DailyCycle::class;
protected $dailyCycleDataType = '';
protected $weeklyCycleType = WeeklyCycle::class;
protected $weeklyCycleDataType = '';
/**
* Daily cycle.
*
* @param DailyCycle $dailyCycle
*/
public function setDailyCycle(DailyCycle $dailyCycle)
{
$this->dailyCycle = $dailyCycle;
}
/**
* @return DailyCycle
*/
public function getDailyCycle()
{
return $this->dailyCycle;
}
/**
* Weekly cycle.
*
* @param WeeklyCycle $weeklyCycle
*/
public function setWeeklyCycle(WeeklyCycle $weeklyCycle)
{
$this->weeklyCycle = $weeklyCycle;
}
/**
* @return WeeklyCycle
*/
public function getWeeklyCycle()
{
return $this->weeklyCycle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenanceWindow::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_MaintenanceWindow');
@@ -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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ManagedidentitiesEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedidentitiesEmpty::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ManagedidentitiesEmpty');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class OnPremDomainDetails extends \Google\Model
{
/**
* Optional. Option to disable SID filtering.
*
* @var bool
*/
public $disableSidFiltering;
/**
* Required. FQDN of the on-prem domain being migrated.
*
* @var string
*/
public $domainName;
/**
* Optional. Option to disable SID filtering.
*
* @param bool $disableSidFiltering
*/
public function setDisableSidFiltering($disableSidFiltering)
{
$this->disableSidFiltering = $disableSidFiltering;
}
/**
* @return bool
*/
public function getDisableSidFiltering()
{
return $this->disableSidFiltering;
}
/**
* Required. FQDN of the on-prem domain being migrated.
*
* @param string $domainName
*/
public function setDomainName($domainName)
{
$this->domainName = $domainName;
}
/**
* @return string
*/
public function getDomainName()
{
return $this->domainName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OnPremDomainDetails::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_OnPremDomainDetails');
@@ -0,0 +1,84 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class OnPremDomainSIDDetails extends \Google\Model
{
/**
* SID Filtering is in unspecified state.
*/
public const SID_FILTERING_STATE_SID_FILTERING_STATE_UNSPECIFIED = 'SID_FILTERING_STATE_UNSPECIFIED';
/**
* SID Filtering is Enabled.
*/
public const SID_FILTERING_STATE_ENABLED = 'ENABLED';
/**
* SID Filtering is Disabled.
*/
public const SID_FILTERING_STATE_DISABLED = 'DISABLED';
/**
* FQDN of the on-prem domain being migrated.
*
* @var string
*/
public $name;
/**
* Current SID filtering state.
*
* @var string
*/
public $sidFilteringState;
/**
* FQDN of the on-prem domain being migrated.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Current SID filtering state.
*
* Accepted values: SID_FILTERING_STATE_UNSPECIFIED, ENABLED, DISABLED
*
* @param self::SID_FILTERING_STATE_* $sidFilteringState
*/
public function setSidFilteringState($sidFilteringState)
{
$this->sidFilteringState = $sidFilteringState;
}
/**
* @return self::SID_FILTERING_STATE_*
*/
public function getSidFilteringState()
{
return $this->sidFilteringState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OnPremDomainSIDDetails::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_OnPremDomainSIDDetails');
@@ -0,0 +1,158 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Operation extends \Google\Model
{
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @var array[]
*/
public $metadata;
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @var string
*/
public $name;
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @var array[]
*/
public $response;
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @param bool $done
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* The error result of the operation in case of failure or cancellation.
*
* @param Status $error
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @param array[] $response
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Operation');
@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class OperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @var bool
*/
public $cancelRequested;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusDetail;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @param bool $cancelRequested
*/
public function setCancelRequested($cancelRequested)
{
$this->cancelRequested = $cancelRequested;
}
/**
* @return bool
*/
public function getCancelRequested()
{
return $this->cancelRequested;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusDetail
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_OperationMetadata');
@@ -0,0 +1,241 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Peering extends \Google\Model
{
/**
* Not set.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Peering is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* Peering is connected.
*/
public const STATE_CONNECTED = 'CONNECTED';
/**
* Peering is disconnected.
*/
public const STATE_DISCONNECTED = 'DISCONNECTED';
/**
* Peering is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* Required. The full names of the Google Compute Engine
* [networks](/compute/docs/networks-and-firewalls#networks) to which the
* instance is connected. Caller needs to make sure that CIDR subnets do not
* overlap between networks, else peering creation will fail.
*
* @var string
*/
public $authorizedNetwork;
/**
* Output only. The time the instance was created.
*
* @var string
*/
public $createTime;
/**
* Required. Full domain resource path for the Managed AD Domain involved in
* peering. The resource path should be in the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
*
* @var string
*/
public $domainResource;
/**
* Optional. Resource labels to represent user-provided metadata.
*
* @var string[]
*/
public $labels;
/**
* Output only. Unique name of the peering in this scope including projects
* and location using the form:
* `projects/{project_id}/locations/global/peerings/{peering_id}`.
*
* @var string
*/
public $name;
/**
* Output only. The current state of this Peering.
*
* @var string
*/
public $state;
/**
* Output only. Additional information about the current status of this
* peering, if available.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Last update time.
*
* @var string
*/
public $updateTime;
/**
* Required. The full names of the Google Compute Engine
* [networks](/compute/docs/networks-and-firewalls#networks) to which the
* instance is connected. Caller needs to make sure that CIDR subnets do not
* overlap between networks, else peering creation will fail.
*
* @param string $authorizedNetwork
*/
public function setAuthorizedNetwork($authorizedNetwork)
{
$this->authorizedNetwork = $authorizedNetwork;
}
/**
* @return string
*/
public function getAuthorizedNetwork()
{
return $this->authorizedNetwork;
}
/**
* Output only. The time the instance was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. Full domain resource path for the Managed AD Domain involved in
* peering. The resource path should be in the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
*
* @param string $domainResource
*/
public function setDomainResource($domainResource)
{
$this->domainResource = $domainResource;
}
/**
* @return string
*/
public function getDomainResource()
{
return $this->domainResource;
}
/**
* Optional. Resource labels to represent user-provided metadata.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. Unique name of the peering in this scope including projects
* and location using the form:
* `projects/{project_id}/locations/global/peerings/{peering_id}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The current state of this Peering.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, CONNECTED, DISCONNECTED,
* DELETING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. Additional information about the current status of this
* peering, if available.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Last update time.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Peering::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Peering');
@@ -0,0 +1,147 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* `etag` is used for optimistic concurrency control as a way to help prevent
* simultaneous updates of a policy from overwriting each other. It is
* strongly suggested that systems make use of the `etag` in the read-modify-
* write cycle to perform policy updates in order to avoid race conditions: An
* `etag` is returned in the response to `getIamPolicy`, and systems are
* expected to put that etag in the request to `setIamPolicy` to ensure that
* their change will be applied to the same version of the policy.
* **Important:** If you use IAM Conditions, you must include the `etag` field
* whenever you call `setIamPolicy`. If you omit this field, then IAM allows
* you to overwrite a version `3` policy with a version `1` policy, and all of
* the conditions in the version `3` policy are lost.
*
* @var string
*/
public $etag;
/**
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
* Requests that specify an invalid value are rejected. Any operation that
* affects conditional role bindings must specify version `3`. This
* requirement applies to the following operations: * Getting a policy that
* includes a conditional role binding * Adding a conditional role binding to
* a policy * Changing a conditional role binding in a policy * Removing any
* role binding, with or without a condition, from a policy that includes
* conditions **Important:** If you use IAM Conditions, you must include the
* `etag` field whenever you call `setIamPolicy`. If you omit this field, then
* IAM allows you to overwrite a version `3` policy with a version `1` policy,
* and all of the conditions in the version `3` policy are lost. If a policy
* does not include any conditions, operations on that policy may specify any
* valid version or leave the field unset. To learn which resources support
* conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @var int
*/
public $version;
/**
* Associates a list of `members`, or principals, with a `role`. Optionally,
* may specify a `condition` that determines how and when the `bindings` are
* applied. Each of the `bindings` must contain at least one principal. The
* `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of
* these principals can be Google groups. Each occurrence of a principal
* counts towards these limits. For example, if the `bindings` grant 50
* different roles to `user:alice@example.com`, and not to any other
* principal, then you can add another 1,450 principals to the `bindings` in
* the `Policy`.
*
* @param Binding[] $bindings
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* `etag` is used for optimistic concurrency control as a way to help prevent
* simultaneous updates of a policy from overwriting each other. It is
* strongly suggested that systems make use of the `etag` in the read-modify-
* write cycle to perform policy updates in order to avoid race conditions: An
* `etag` is returned in the response to `getIamPolicy`, and systems are
* expected to put that etag in the request to `setIamPolicy` to ensure that
* their change will be applied to the same version of the policy.
* **Important:** If you use IAM Conditions, you must include the `etag` field
* whenever you call `setIamPolicy`. If you omit this field, then IAM allows
* you to overwrite a version `3` policy with a version `1` policy, and all of
* the conditions in the version `3` policy are lost.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
* Requests that specify an invalid value are rejected. Any operation that
* affects conditional role bindings must specify version `3`. This
* requirement applies to the following operations: * Getting a policy that
* includes a conditional role binding * Adding a conditional role binding to
* a policy * Changing a conditional role binding in a policy * Removing any
* role binding, with or without a condition, from a policy that includes
* conditions **Important:** If you use IAM Conditions, you must include the
* `etag` field whenever you call `setIamPolicy`. If you omit this field, then
* IAM allows you to overwrite a version `3` policy with a version `1` policy,
* and all of the conditions in the version `3` policy are lost. If a policy
* does not include any conditions, operations on that policy may specify any
* valid version or leave the field unset. To learn which resources support
* conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @param int $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Policy');
@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ReconfigureTrustRequest extends \Google\Collection
{
protected $collection_key = 'targetDnsIpAddresses';
/**
* Required. The target DNS server IP addresses to resolve the remote domain
* involved in the trust.
*
* @var string[]
*/
public $targetDnsIpAddresses;
/**
* Required. The fully-qualified target domain name which will be in trust
* with current domain.
*
* @var string
*/
public $targetDomainName;
/**
* Required. The target DNS server IP addresses to resolve the remote domain
* involved in the trust.
*
* @param string[] $targetDnsIpAddresses
*/
public function setTargetDnsIpAddresses($targetDnsIpAddresses)
{
$this->targetDnsIpAddresses = $targetDnsIpAddresses;
}
/**
* @return string[]
*/
public function getTargetDnsIpAddresses()
{
return $this->targetDnsIpAddresses;
}
/**
* Required. The fully-qualified target domain name which will be in trust
* with current domain.
*
* @param string $targetDomainName
*/
public function setTargetDomainName($targetDomainName)
{
$this->targetDomainName = $targetDomainName;
}
/**
* @return string
*/
public function getTargetDomainName()
{
return $this->targetDomainName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReconfigureTrustRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ReconfigureTrustRequest');
@@ -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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ResetAdminPasswordRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResetAdminPasswordRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ResetAdminPasswordRequest');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ResetAdminPasswordResponse extends \Google\Model
{
/**
* A random password. See admin for more information.
*
* @var string
*/
public $password;
/**
* A random password. See admin for more information.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResetAdminPasswordResponse::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ResetAdminPasswordResponse');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $managedidentitiesService = new Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI(...);
* $projects = $managedidentitiesService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Resource_Projects');
@@ -0,0 +1,85 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ListLocationsResponse;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $managedidentitiesService = new Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI(...);
* $locations = $managedidentitiesService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service. This method
* lists locations based on the resource scope provided in the
* ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
* the method lists the public locations available to all projects. * **Project-
* specific locations**: If `name` follows the format `projects/{project}`, the
* method lists locations visible to that specific project. This includes
* public, private, or other project-specific locations enabled for the project.
* For gRPC and client library implementations, the resource name is passed as
* the `name` field. For direct service calls, the resource name is incorporated
* into the request path based on the specific service implementation and
* version. (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string extraLocationTypes Optional. Do not use this field unless
* explicitly documented otherwise. This is primarily for internal usage.
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Resource_ProjectsLocations');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource;
/**
* The "global" collection of methods.
* Typical usage is:
* <code>
* $managedidentitiesService = new Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI(...);
* $global = $managedidentitiesService->projects_locations_global;
* </code>
*/
class ProjectsLocationsManagedidentitiesGlobal extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsManagedidentitiesGlobal::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Resource_ProjectsLocationsManagedidentitiesGlobal');
@@ -0,0 +1,455 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\AttachTrustRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\CheckMigrationPermissionRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\CheckMigrationPermissionResponse;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\DetachTrustRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\DisableMigrationRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Domain;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\DomainJoinMachineRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\DomainJoinMachineResponse;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\EnableMigrationRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ExtendSchemaRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\LDAPSSettings;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ListDomainsResponse;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Operation;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Policy;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ReconfigureTrustRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ResetAdminPasswordRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ResetAdminPasswordResponse;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\RestoreDomainRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\SetIamPolicyRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\TestIamPermissionsRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\TestIamPermissionsResponse;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ValidateTrustRequest;
/**
* The "domains" collection of methods.
* Typical usage is:
* <code>
* $managedidentitiesService = new Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI(...);
* $domains = $managedidentitiesService->projects_locations_global_domains;
* </code>
*/
class ProjectsLocationsManagedidentitiesGlobalDomains extends \Google\Service\Resource
{
/**
* Adds an AD trust to a domain. (domains.attachTrust)
*
* @param string $name Required. The resource domain name, project name and
* location using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param AttachTrustRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function attachTrust($name, AttachTrustRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('attachTrust', [$params], Operation::class);
}
/**
* CheckMigrationPermission API gets the current state of DomainMigration
* (domains.checkMigrationPermission)
*
* @param string $domain Required. The domain resource name using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param CheckMigrationPermissionRequest $postBody
* @param array $optParams Optional parameters.
* @return CheckMigrationPermissionResponse
* @throws \Google\Service\Exception
*/
public function checkMigrationPermission($domain, CheckMigrationPermissionRequest $postBody, $optParams = [])
{
$params = ['domain' => $domain, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('checkMigrationPermission', [$params], CheckMigrationPermissionResponse::class);
}
/**
* Creates a Microsoft AD domain. (domains.create)
*
* @param string $parent Required. The resource project name and location using
* the form: `projects/{project_id}/locations/global`
* @param Domain $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string domainName Required. The fully qualified domain name. e.g.
* mydomain.myorganization.com, with the following restrictions: * Must contain
* only lowercase letters, numbers, periods and hyphens. * Must start with a
* letter. * Must contain between 2-64 characters. * Must end with a number or a
* letter. * Must not start with period. * First segment length (mydomain for
* example above) shouldn't exceed 15 chars. * The last segment cannot be fully
* numeric. * Must be unique within the customer project.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Domain $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a domain. (domains.delete)
*
* @param string $name Required. The domain resource name using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Removes an AD trust. (domains.detachTrust)
*
* @param string $name Required. The resource domain name, project name, and
* location using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param DetachTrustRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function detachTrust($name, DetachTrustRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('detachTrust', [$params], Operation::class);
}
/**
* Disable Domain Migration (domains.disableMigration)
*
* @param string $domain Required. The domain resource name using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param DisableMigrationRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function disableMigration($domain, DisableMigrationRequest $postBody, $optParams = [])
{
$params = ['domain' => $domain, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('disableMigration', [$params], Operation::class);
}
/**
* DomainJoinMachine API joins a Compute Engine VM to the domain
* (domains.domainJoinMachine)
*
* @param string $domain Required. The domain resource name using the form:
* projects/{project_id}/locations/global/domains/{domain_name}
* @param DomainJoinMachineRequest $postBody
* @param array $optParams Optional parameters.
* @return DomainJoinMachineResponse
* @throws \Google\Service\Exception
*/
public function domainJoinMachine($domain, DomainJoinMachineRequest $postBody, $optParams = [])
{
$params = ['domain' => $domain, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('domainJoinMachine', [$params], DomainJoinMachineResponse::class);
}
/**
* Enable Domain Migration (domains.enableMigration)
*
* @param string $domain Required. The domain resource name using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param EnableMigrationRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function enableMigration($domain, EnableMigrationRequest $postBody, $optParams = [])
{
$params = ['domain' => $domain, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('enableMigration', [$params], Operation::class);
}
/**
* Extend Schema for Domain (domains.extendSchema)
*
* @param string $domain Required. The domain resource name using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param ExtendSchemaRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function extendSchema($domain, ExtendSchemaRequest $postBody, $optParams = [])
{
$params = ['domain' => $domain, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('extendSchema', [$params], Operation::class);
}
/**
* Gets information about a domain. (domains.get)
*
* @param string $name Required. The domain resource name using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param array $optParams Optional parameters.
* @return Domain
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Domain::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (domains.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Gets the domain ldaps settings. (domains.getLdapssettings)
*
* @param string $name Required. The domain resource name using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param array $optParams Optional parameters.
* @return LDAPSSettings
* @throws \Google\Service\Exception
*/
public function getLdapssettings($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getLdapssettings', [$params], LDAPSSettings::class);
}
/**
* Lists domains in a project.
* (domains.listProjectsLocationsManagedidentitiesGlobalDomains)
*
* @param string $parent Required. The resource name of the domain location
* using the form: `projects/{project_id}/locations/global`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. A filter specifying constraints of a list
* operation. For example, `Domain.fqdn="mydomain.myorginization"`.
* @opt_param string orderBy Optional. Specifies the ordering of results. See
* [Sorting
* order](https://cloud.google.com/apis/design/design_patterns#sorting_order)
* for more information.
* @opt_param int pageSize Optional. The maximum number of items to return. If
* not specified, a default value of 1000 will be used. Regardless of the
* page_size value, the response may include a partial list. Callers should rely
* on a response's next_page_token to determine if there are additional results
* to list.
* @opt_param string pageToken Optional. The `next_page_token` value returned
* from a previous ListDomainsRequest request, if any.
* @return ListDomainsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsManagedidentitiesGlobalDomains($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListDomainsResponse::class);
}
/**
* Updates the metadata and configuration of a domain. (domains.patch)
*
* @param string $name Required. The unique name of the domain using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`.
* @param Domain $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask of fields to update. At least one
* path must be supplied in this field. The elements of the repeated paths field
* may only include fields from Domain: * `labels` * `locations` *
* `authorized_networks` * `audit_logs_enabled`
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Domain $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Updates the DNS conditional forwarder. (domains.reconfigureTrust)
*
* @param string $name Required. The resource domain name, project name and
* location using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param ReconfigureTrustRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function reconfigureTrust($name, ReconfigureTrustRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('reconfigureTrust', [$params], Operation::class);
}
/**
* Resets a domain's administrator password. (domains.resetAdminPassword)
*
* @param string $name Required. The domain resource name using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param ResetAdminPasswordRequest $postBody
* @param array $optParams Optional parameters.
* @return ResetAdminPasswordResponse
* @throws \Google\Service\Exception
*/
public function resetAdminPassword($name, ResetAdminPasswordRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('resetAdminPassword', [$params], ResetAdminPasswordResponse::class);
}
/**
* RestoreDomain restores domain backup mentioned in the RestoreDomainRequest
* (domains.restore)
*
* @param string $name Required. Resource name for the domain to which the
* backup belongs
* @param RestoreDomainRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function restore($name, RestoreDomainRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('restore', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (domains.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning. (domains.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
/**
* Patches a single ldaps settings. (domains.updateLdapssettings)
*
* @param string $name The resource name of the LDAPS settings. Uses the form:
* `projects/{project}/locations/{location}/domains/{domain}`.
* @param LDAPSSettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask of fields to update. At least one
* path must be supplied in this field. For the `FieldMask` definition, see
* https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask
* @return Operation
* @throws \Google\Service\Exception
*/
public function updateLdapssettings($name, LDAPSSettings $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateLdapssettings', [$params], Operation::class);
}
/**
* Validates a trust state, that the target domain is reachable, and that the
* target domain is able to accept incoming trust requests.
* (domains.validateTrust)
*
* @param string $name Required. The resource domain name, project name, and
* location using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param ValidateTrustRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function validateTrust($name, ValidateTrustRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('validateTrust', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsManagedidentitiesGlobalDomains::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Resource_ProjectsLocationsManagedidentitiesGlobalDomains');
@@ -0,0 +1,215 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Backup;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ListBackupsResponse;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Operation;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Policy;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\SetIamPolicyRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\TestIamPermissionsRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\TestIamPermissionsResponse;
/**
* The "backups" collection of methods.
* Typical usage is:
* <code>
* $managedidentitiesService = new Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI(...);
* $backups = $managedidentitiesService->projects_locations_global_domains_backups;
* </code>
*/
class ProjectsLocationsManagedidentitiesGlobalDomainsBackups extends \Google\Service\Resource
{
/**
* Creates a Backup for a domain. (backups.create)
*
* @param string $parent Required. The domain resource name using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param Backup $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string backupId Required. Backup Id, unique name to identify the
* backups with the following restrictions: * Must be lowercase letters,
* numbers, and hyphens * Must start with a letter. * Must contain between 1-63
* characters. * Must end with a number or a letter. * Must be unique within the
* domain.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Backup $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes identified Backup. (backups.delete)
*
* @param string $name Required. The backup resource name using the form: `proje
* cts/{project_id}/locations/global/domains/{domain_name}/backups/{backup_id}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single Backup. (backups.get)
*
* @param string $name Required. The backup resource name using the form: `proje
* cts/{project_id}/locations/global/domains/{domain_name}/backups/{backup_id}`
* @param array $optParams Optional parameters.
* @return Backup
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Backup::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (backups.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists Backup in a given project.
* (backups.listProjectsLocationsManagedidentitiesGlobalDomainsBackups)
*
* @param string $parent Required. The domain resource name using the form:
* `projects/{project_id}/locations/global/domains/{domain_name}`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter specifying constraints of a list
* operation.
* @opt_param string orderBy Optional. Specifies the ordering of results
* following syntax at
* https://cloud.google.com/apis/design/design_patterns#sorting_order.
* @opt_param int pageSize Optional. The maximum number of items to return. If
* not specified, a default value of 1000 will be used by the service.
* Regardless of the page_size value, the response may include a partial list
* and a caller should only rely on response's next_page_token to determine if
* there are more instances left to be queried.
* @opt_param string pageToken Optional. The `next_page_token` value returned
* from a previous List request, if any.
* @return ListBackupsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsManagedidentitiesGlobalDomainsBackups($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListBackupsResponse::class);
}
/**
* Updates the labels for specified Backup. (backups.patch)
*
* @param string $name Output only. The unique name of the Backup in the form of
* `projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}`
* @param Backup $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask of fields to update. At least one
* path must be supplied in this field. The elements of the repeated paths field
* may only include these fields from Backup: * `labels`
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Backup $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (backups.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning. (backups.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsManagedidentitiesGlobalDomainsBackups::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Resource_ProjectsLocationsManagedidentitiesGlobalDomainsBackups');
@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ListSqlIntegrationsResponse;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\SqlIntegration;
/**
* The "sqlIntegrations" collection of methods.
* Typical usage is:
* <code>
* $managedidentitiesService = new Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI(...);
* $sqlIntegrations = $managedidentitiesService->projects_locations_global_domains_sqlIntegrations;
* </code>
*/
class ProjectsLocationsManagedidentitiesGlobalDomainsSqlIntegrations extends \Google\Service\Resource
{
/**
* Gets details of a single sqlIntegration. (sqlIntegrations.get)
*
* @param string $name Required. SQLIntegration resource name using the form: `p
* rojects/{project_id}/locations/global/domains/{domain}/sqlIntegrations/{name}
* `
* @param array $optParams Optional parameters.
* @return SqlIntegration
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SqlIntegration::class);
}
/**
* Lists SqlIntegrations in a given domain. (sqlIntegrations.listProjectsLocatio
* nsManagedidentitiesGlobalDomainsSqlIntegrations)
*
* @param string $parent Required. The resource name of the SqlIntegrations
* using the form: `projects/{project_id}/locations/global/domains`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter specifying constraints of a list
* operation. For example, `SqlIntegration.name="sql"`.
* @opt_param string orderBy Optional. Specifies the ordering of results
* following syntax at
* https://cloud.google.com/apis/design/design_patterns#sorting_order.
* @opt_param int pageSize Optional. The maximum number of items to return. If
* not specified, a default value of 1000 will be used by the service.
* Regardless of the page_size value, the response may include a partial list
* and a caller should only rely on response'ANIZATIONs next_page_token to
* determine if there are more instances left to be queried.
* @opt_param string pageToken Optional. The next_page_token value returned from
* a previous List request, if any.
* @return ListSqlIntegrationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsManagedidentitiesGlobalDomainsSqlIntegrations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListSqlIntegrationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsManagedidentitiesGlobalDomainsSqlIntegrations::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Resource_ProjectsLocationsManagedidentitiesGlobalDomainsSqlIntegrations');
@@ -0,0 +1,121 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\CancelOperationRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ListOperationsResponse;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ManagedidentitiesEmpty;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $managedidentitiesService = new Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI(...);
* $operations = $managedidentitiesService->projects_locations_global_operations;
* </code>
*/
class ProjectsLocationsManagedidentitiesGlobalOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return ManagedidentitiesEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], ManagedidentitiesEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return ManagedidentitiesEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ManagedidentitiesEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsManagedidentitiesGlobalOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
* reachable are returned as normal, and those that are unreachable are returned
* in the ListOperationsResponse.unreachable field. This can only be `true` when
* reading across collections. For example, when `parent` is set to
* `"projects/example/locations/-"`. This field is not supported by default and
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
* otherwise in service or product specific documentation.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsManagedidentitiesGlobalOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsManagedidentitiesGlobalOperations::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Resource_ProjectsLocationsManagedidentitiesGlobalOperations');
@@ -0,0 +1,215 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ListPeeringsResponse;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Operation;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Peering;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Policy;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\SetIamPolicyRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\TestIamPermissionsRequest;
use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\TestIamPermissionsResponse;
/**
* The "peerings" collection of methods.
* Typical usage is:
* <code>
* $managedidentitiesService = new Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI(...);
* $peerings = $managedidentitiesService->projects_locations_global_peerings;
* </code>
*/
class ProjectsLocationsManagedidentitiesGlobalPeerings extends \Google\Service\Resource
{
/**
* Creates a Peering for Managed AD instance. (peerings.create)
*
* @param string $parent Required. Resource project name and location using the
* form: `projects/{project_id}/locations/global`
* @param Peering $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string peeringId Required. Peering Id, unique name to identify
* peering. It should follow the regex format
* "^(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)$"
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Peering $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes identified Peering. (peerings.delete)
*
* @param string $name Required. Peering resource name using the form:
* `projects/{project_id}/locations/global/peerings/{peering_id}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single Peering. (peerings.get)
*
* @param string $name Required. Peering resource name using the form:
* `projects/{project_id}/locations/global/peerings/{peering_id}`
* @param array $optParams Optional parameters.
* @return Peering
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Peering::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (peerings.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists Peerings in a given project.
* (peerings.listProjectsLocationsManagedidentitiesGlobalPeerings)
*
* @param string $parent Required. The resource name of the peering location
* using the form: `projects/{project_id}/locations/global`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter specifying constraints of a list
* operation. For example, `peering.authorized_network="projects/myprojectid/glo
* bal/networks/mynetwork"`.
* @opt_param string orderBy Optional. Specifies the ordering of results
* following syntax at
* https://cloud.google.com/apis/design/design_patterns#sorting_order.
* @opt_param int pageSize Optional. The maximum number of items to return. If
* not specified, a default value of 1000 will be used by the service.
* Regardless of the page_size value, the response may include a partial list
* and a caller should only rely on response's next_page_token to determine if
* there are more instances left to be queried.
* @opt_param string pageToken Optional. The next_page_token value returned from
* a previous List request, if any.
* @return ListPeeringsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsManagedidentitiesGlobalPeerings($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPeeringsResponse::class);
}
/**
* Updates the labels for specified Peering. (peerings.patch)
*
* @param string $name Output only. Unique name of the peering in this scope
* including projects and location using the form:
* `projects/{project_id}/locations/global/peerings/{peering_id}`.
* @param Peering $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask of fields to update. At least one
* path must be supplied in this field. The elements of the repeated paths field
* may only include these fields from Peering: * `labels`
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Peering $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (peerings.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning. (peerings.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsManagedidentitiesGlobalPeerings::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Resource_ProjectsLocationsManagedidentitiesGlobalPeerings');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class RestoreDomainRequest extends \Google\Model
{
/**
* Required. ID of the backup to be restored
*
* @var string
*/
public $backupId;
/**
* Required. ID of the backup to be restored
*
* @param string $backupId
*/
public function setBackupId($backupId)
{
$this->backupId = $backupId;
}
/**
* @return string
*/
public function getBackupId()
{
return $this->backupId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RestoreDomainRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_RestoreDomainRequest');
@@ -0,0 +1,123 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Schedule extends \Google\Model
{
/**
* The day of the week is unspecified.
*/
public const DAY_DAY_OF_WEEK_UNSPECIFIED = 'DAY_OF_WEEK_UNSPECIFIED';
/**
* Monday
*/
public const DAY_MONDAY = 'MONDAY';
/**
* Tuesday
*/
public const DAY_TUESDAY = 'TUESDAY';
/**
* Wednesday
*/
public const DAY_WEDNESDAY = 'WEDNESDAY';
/**
* Thursday
*/
public const DAY_THURSDAY = 'THURSDAY';
/**
* Friday
*/
public const DAY_FRIDAY = 'FRIDAY';
/**
* Saturday
*/
public const DAY_SATURDAY = 'SATURDAY';
/**
* Sunday
*/
public const DAY_SUNDAY = 'SUNDAY';
/**
* Allows to define schedule that runs specified day of the week.
*
* @var string
*/
public $day;
/**
* Output only. Duration of the time window, set by service producer.
*
* @var string
*/
public $duration;
protected $startTimeType = TimeOfDay::class;
protected $startTimeDataType = '';
/**
* Allows to define schedule that runs specified day of the week.
*
* Accepted values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY,
* THURSDAY, FRIDAY, SATURDAY, SUNDAY
*
* @param self::DAY_* $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return self::DAY_*
*/
public function getDay()
{
return $this->day;
}
/**
* Output only. Duration of the time window, set by service producer.
*
* @param string $duration
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* Time within the window to start the operations.
*
* @param TimeOfDay $startTime
*/
public function setStartTime(TimeOfDay $startTime)
{
$this->startTime = $startTime;
}
/**
* @return TimeOfDay
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Schedule::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Schedule');
@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class SetIamPolicyRequest extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* REQUIRED: The complete policy to be applied to the `resource`. The size of
* the policy is limited to a few 10s of KB. An empty policy is a valid policy
* but certain Google Cloud services (such as Projects) might reject them.
*
* @param Policy $policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetIamPolicyRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_SetIamPolicyRequest');
@@ -0,0 +1,156 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class SqlIntegration extends \Google\Model
{
/**
* Not Set
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The SQL integration is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* The SQL integration is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* The SQL integration is ready.
*/
public const STATE_READY = 'READY';
/**
* Output only. The time the SQL integration was created.
*
* @var string
*/
public $createTime;
/**
* The unique name of the SQL integration in the form of `projects/{project_id
* }/locations/global/domains/{domain_name}/sqlIntegrations/{sql_integration}`
*
* @var string
*/
public $name;
/**
* The full resource name of an integrated SQL instance
*
* @var string
*/
public $sqlInstance;
/**
* Output only. The current state of the SQL integration.
*
* @var string
*/
public $state;
/**
* Output only. The time the SQL integration was updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The time the SQL integration was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* The unique name of the SQL integration in the form of `projects/{project_id
* }/locations/global/domains/{domain_name}/sqlIntegrations/{sql_integration}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The full resource name of an integrated SQL instance
*
* @param string $sqlInstance
*/
public function setSqlInstance($sqlInstance)
{
$this->sqlInstance = $sqlInstance;
}
/**
* @return string
*/
public function getSqlInstance()
{
return $this->sqlInstance;
}
/**
* Output only. The current state of the SQL integration.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, DELETING, READY
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. The time the SQL integration was updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SqlIntegration::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_SqlIntegration');
@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @var int
*/
public $code;
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @var array[]
*/
public $details;
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @var string
*/
public $message;
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @param int $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @param array[] $details
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @param string $message
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Status');
@@ -0,0 +1,55 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class TestIamPermissionsRequest extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* The set of permissions to check for the `resource`. Permissions with
* wildcards (such as `*` or `storage.*`) are not allowed. For more
* information see [IAM
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
*
* @var string[]
*/
public $permissions;
/**
* The set of permissions to check for the `resource`. Permissions with
* wildcards (such as `*` or `storage.*`) are not allowed. For more
* information see [IAM
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
*
* @param string[] $permissions
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_TestIamPermissionsRequest');
@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class TestIamPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* A subset of `TestPermissionsRequest.permissions` that the caller is
* allowed.
*
* @var string[]
*/
public $permissions;
/**
* A subset of `TestPermissionsRequest.permissions` that the caller is
* allowed.
*
* @param string[] $permissions
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsResponse::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_TestIamPermissionsResponse');
@@ -0,0 +1,126 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class TimeOfDay extends \Google\Model
{
/**
* Hours of a day in 24 hour format. Must be greater than or equal to 0 and
* typically must be less than or equal to 23. An API may choose to allow the
* value "24:00:00" for scenarios like business closing time.
*
* @var int
*/
public $hours;
/**
* Minutes of an hour. Must be greater than or equal to 0 and less than or
* equal to 59.
*
* @var int
*/
public $minutes;
/**
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
* and less than or equal to 999,999,999.
*
* @var int
*/
public $nanos;
/**
* Seconds of a minute. Must be greater than or equal to 0 and typically must
* be less than or equal to 59. An API may allow the value 60 if it allows
* leap-seconds.
*
* @var int
*/
public $seconds;
/**
* Hours of a day in 24 hour format. Must be greater than or equal to 0 and
* typically must be less than or equal to 23. An API may choose to allow the
* value "24:00:00" for scenarios like business closing time.
*
* @param int $hours
*/
public function setHours($hours)
{
$this->hours = $hours;
}
/**
* @return int
*/
public function getHours()
{
return $this->hours;
}
/**
* Minutes of an hour. Must be greater than or equal to 0 and less than or
* equal to 59.
*
* @param int $minutes
*/
public function setMinutes($minutes)
{
$this->minutes = $minutes;
}
/**
* @return int
*/
public function getMinutes()
{
return $this->minutes;
}
/**
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
* and less than or equal to 999,999,999.
*
* @param int $nanos
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* Seconds of a minute. Must be greater than or equal to 0 and typically must
* be less than or equal to 59. An API may allow the value 60 if it allows
* leap-seconds.
*
* @param int $seconds
*/
public function setSeconds($seconds)
{
$this->seconds = $seconds;
}
/**
* @return int
*/
public function getSeconds()
{
return $this->seconds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimeOfDay::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_TimeOfDay');
@@ -0,0 +1,345 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class Trust extends \Google\Collection
{
/**
* Not set.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The domain trust is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* The domain trust is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* The domain trust is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* The domain trust is connected.
*/
public const STATE_CONNECTED = 'CONNECTED';
/**
* The domain trust is disconnected.
*/
public const STATE_DISCONNECTED = 'DISCONNECTED';
/**
* Not set.
*/
public const TRUST_DIRECTION_TRUST_DIRECTION_UNSPECIFIED = 'TRUST_DIRECTION_UNSPECIFIED';
/**
* The inbound direction represents the trusting side.
*/
public const TRUST_DIRECTION_INBOUND = 'INBOUND';
/**
* The outboud direction represents the trusted side.
*/
public const TRUST_DIRECTION_OUTBOUND = 'OUTBOUND';
/**
* The bidirectional direction represents the trusted / trusting side.
*/
public const TRUST_DIRECTION_BIDIRECTIONAL = 'BIDIRECTIONAL';
/**
* Not set.
*/
public const TRUST_TYPE_TRUST_TYPE_UNSPECIFIED = 'TRUST_TYPE_UNSPECIFIED';
/**
* The forest trust.
*/
public const TRUST_TYPE_FOREST = 'FOREST';
/**
* The external domain trust.
*/
public const TRUST_TYPE_EXTERNAL = 'EXTERNAL';
protected $collection_key = 'targetDnsIpAddresses';
/**
* Output only. The time the instance was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The last heartbeat time when the trust was known to be
* connected.
*
* @var string
*/
public $lastTrustHeartbeatTime;
/**
* Optional. The trust authentication type, which decides whether the trusted
* side has forest/domain wide access or selective access to an approved set
* of resources.
*
* @var bool
*/
public $selectiveAuthentication;
/**
* Output only. The current state of the trust.
*
* @var string
*/
public $state;
/**
* Output only. Additional information about the current state of the trust,
* if available.
*
* @var string
*/
public $stateDescription;
/**
* Required. The target DNS server IP addresses which can resolve the remote
* domain involved in the trust.
*
* @var string[]
*/
public $targetDnsIpAddresses;
/**
* Required. The fully qualified target domain name which will be in trust
* with the current domain.
*
* @var string
*/
public $targetDomainName;
/**
* Required. The trust direction, which decides if the current domain is
* trusted, trusting, or both.
*
* @var string
*/
public $trustDirection;
/**
* Required. The trust secret used for the handshake with the target domain.
* This will not be stored.
*
* @var string
*/
public $trustHandshakeSecret;
/**
* Required. The type of trust represented by the trust resource.
*
* @var string
*/
public $trustType;
/**
* Output only. The last update time.
*
* @var string
*/
public $updateTime;
/**
* Output only. The time the instance was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The last heartbeat time when the trust was known to be
* connected.
*
* @param string $lastTrustHeartbeatTime
*/
public function setLastTrustHeartbeatTime($lastTrustHeartbeatTime)
{
$this->lastTrustHeartbeatTime = $lastTrustHeartbeatTime;
}
/**
* @return string
*/
public function getLastTrustHeartbeatTime()
{
return $this->lastTrustHeartbeatTime;
}
/**
* Optional. The trust authentication type, which decides whether the trusted
* side has forest/domain wide access or selective access to an approved set
* of resources.
*
* @param bool $selectiveAuthentication
*/
public function setSelectiveAuthentication($selectiveAuthentication)
{
$this->selectiveAuthentication = $selectiveAuthentication;
}
/**
* @return bool
*/
public function getSelectiveAuthentication()
{
return $this->selectiveAuthentication;
}
/**
* Output only. The current state of the trust.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, UPDATING, DELETING,
* CONNECTED, DISCONNECTED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. Additional information about the current state of the trust,
* if available.
*
* @param string $stateDescription
*/
public function setStateDescription($stateDescription)
{
$this->stateDescription = $stateDescription;
}
/**
* @return string
*/
public function getStateDescription()
{
return $this->stateDescription;
}
/**
* Required. The target DNS server IP addresses which can resolve the remote
* domain involved in the trust.
*
* @param string[] $targetDnsIpAddresses
*/
public function setTargetDnsIpAddresses($targetDnsIpAddresses)
{
$this->targetDnsIpAddresses = $targetDnsIpAddresses;
}
/**
* @return string[]
*/
public function getTargetDnsIpAddresses()
{
return $this->targetDnsIpAddresses;
}
/**
* Required. The fully qualified target domain name which will be in trust
* with the current domain.
*
* @param string $targetDomainName
*/
public function setTargetDomainName($targetDomainName)
{
$this->targetDomainName = $targetDomainName;
}
/**
* @return string
*/
public function getTargetDomainName()
{
return $this->targetDomainName;
}
/**
* Required. The trust direction, which decides if the current domain is
* trusted, trusting, or both.
*
* Accepted values: TRUST_DIRECTION_UNSPECIFIED, INBOUND, OUTBOUND,
* BIDIRECTIONAL
*
* @param self::TRUST_DIRECTION_* $trustDirection
*/
public function setTrustDirection($trustDirection)
{
$this->trustDirection = $trustDirection;
}
/**
* @return self::TRUST_DIRECTION_*
*/
public function getTrustDirection()
{
return $this->trustDirection;
}
/**
* Required. The trust secret used for the handshake with the target domain.
* This will not be stored.
*
* @param string $trustHandshakeSecret
*/
public function setTrustHandshakeSecret($trustHandshakeSecret)
{
$this->trustHandshakeSecret = $trustHandshakeSecret;
}
/**
* @return string
*/
public function getTrustHandshakeSecret()
{
return $this->trustHandshakeSecret;
}
/**
* Required. The type of trust represented by the trust resource.
*
* Accepted values: TRUST_TYPE_UNSPECIFIED, FOREST, EXTERNAL
*
* @param self::TRUST_TYPE_* $trustType
*/
public function setTrustType($trustType)
{
$this->trustType = $trustType;
}
/**
* @return self::TRUST_TYPE_*
*/
public function getTrustType()
{
return $this->trustType;
}
/**
* Output only. The last update time.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Trust::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Trust');
@@ -0,0 +1,123 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class UpdatePolicy extends \Google\Collection
{
/**
* Unspecified channel.
*/
public const CHANNEL_UPDATE_CHANNEL_UNSPECIFIED = 'UPDATE_CHANNEL_UNSPECIFIED';
/**
* Early channel within a customer project.
*/
public const CHANNEL_EARLIER = 'EARLIER';
/**
* Later channel within a customer project.
*/
public const CHANNEL_LATER = 'LATER';
/**
* ! ! The follow channels can ONLY be used if you adopt the new MW system! !
* ! NOTE: all WEEK channels are assumed to be under a weekly window. ! There
* is currently no dedicated channel definitions for Daily windows. ! If you
* use Daily window, the system will assume a 1d (24Hours) advanced !
* notification period b/w EARLY and LATER. ! We may consider support more
* flexible daily channel specifications in ! the future. WEEK1 == EARLIER
* with minimum 7d advanced notification. {7d, 14d} The system will treat them
* equally and will use WEEK1 whenever it can. New customers are encouraged to
* use this channel annotation.
*/
public const CHANNEL_WEEK1 = 'WEEK1';
/**
* WEEK2 == LATER with minimum 14d advanced notification {14d, 21d}.
*/
public const CHANNEL_WEEK2 = 'WEEK2';
/**
* WEEK5 == 40d support. minimum 35d advanced notification {35d, 42d}.
*/
public const CHANNEL_WEEK5 = 'WEEK5';
protected $collection_key = 'denyMaintenancePeriods';
/**
* Optional. Relative scheduling channel applied to resource.
*
* @var string
*/
public $channel;
protected $denyMaintenancePeriodsType = DenyMaintenancePeriod::class;
protected $denyMaintenancePeriodsDataType = 'array';
protected $windowType = MaintenanceWindow::class;
protected $windowDataType = '';
/**
* Optional. Relative scheduling channel applied to resource.
*
* Accepted values: UPDATE_CHANNEL_UNSPECIFIED, EARLIER, LATER, WEEK1, WEEK2,
* WEEK5
*
* @param self::CHANNEL_* $channel
*/
public function setChannel($channel)
{
$this->channel = $channel;
}
/**
* @return self::CHANNEL_*
*/
public function getChannel()
{
return $this->channel;
}
/**
* Deny Maintenance Period that is applied to resource to indicate when
* maintenance is forbidden. The protocol supports zero-to-many such periods,
* but the current SLM Rollout implementation only supports zero-to-one.
*
* @param DenyMaintenancePeriod[] $denyMaintenancePeriods
*/
public function setDenyMaintenancePeriods($denyMaintenancePeriods)
{
$this->denyMaintenancePeriods = $denyMaintenancePeriods;
}
/**
* @return DenyMaintenancePeriod[]
*/
public function getDenyMaintenancePeriods()
{
return $this->denyMaintenancePeriods;
}
/**
* Optional. Maintenance window that is applied to resources covered by this
* policy.
*
* @param MaintenanceWindow $window
*/
public function setWindow(MaintenanceWindow $window)
{
$this->window = $window;
}
/**
* @return MaintenanceWindow
*/
public function getWindow()
{
return $this->window;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UpdatePolicy::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_UpdatePolicy');
@@ -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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class ValidateTrustRequest extends \Google\Model
{
protected $trustType = Trust::class;
protected $trustDataType = '';
/**
* Required. The domain trust to validate trust state for.
*
* @param Trust $trust
*/
public function setTrust(Trust $trust)
{
$this->trust = $trust;
}
/**
* @return Trust
*/
public function getTrust()
{
return $this->trust;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ValidateTrustRequest::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_ValidateTrustRequest');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;
class WeeklyCycle extends \Google\Collection
{
protected $collection_key = 'schedule';
protected $scheduleType = Schedule::class;
protected $scheduleDataType = 'array';
/**
* User can specify multiple windows in a week. Minimum of 1 window.
*
* @param Schedule[] $schedule
*/
public function setSchedule($schedule)
{
$this->schedule = $schedule;
}
/**
* @return Schedule[]
*/
public function getSchedule()
{
return $this->schedule;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WeeklyCycle::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_WeeklyCycle');