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,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\Cloudchannel;
class GoogleCloudChannelV1ActivateEntitlementRequest extends \Google\Model
{
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @var string
*/
public $requestId;
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ActivateEntitlementRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ActivateEntitlementRequest');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1AdminUser extends \Google\Model
{
/**
* Primary email of the admin user.
*
* @var string
*/
public $email;
/**
* Family name of the admin user.
*
* @var string
*/
public $familyName;
/**
* Given name of the admin user.
*
* @var string
*/
public $givenName;
/**
* Primary email of the admin user.
*
* @param string $email
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* Family name of the admin user.
*
* @param string $familyName
*/
public function setFamilyName($familyName)
{
$this->familyName = $familyName;
}
/**
* @return string
*/
public function getFamilyName()
{
return $this->familyName;
}
/**
* Given name of the admin user.
*
* @param string $givenName
*/
public function setGivenName($givenName)
{
$this->givenName = $givenName;
}
/**
* @return string
*/
public function getGivenName()
{
return $this->givenName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1AdminUser::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1AdminUser');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1AssociationInfo extends \Google\Model
{
/**
* The name of the base entitlement, for which this entitlement is an add-on.
*
* @var string
*/
public $baseEntitlement;
/**
* The name of the base entitlement, for which this entitlement is an add-on.
*
* @param string $baseEntitlement
*/
public function setBaseEntitlement($baseEntitlement)
{
$this->baseEntitlement = $baseEntitlement;
}
/**
* @return string
*/
public function getBaseEntitlement()
{
return $this->baseEntitlement;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1AssociationInfo::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1AssociationInfo');
@@ -0,0 +1,118 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1BillableSku extends \Google\Model
{
/**
* Resource name of Service which contains Repricing SKU. Format:
* services/{service}. Example: "services/B7D9-FDCB-15D8".
*
* @var string
*/
public $service;
/**
* Unique human readable name for the Service.
*
* @var string
*/
public $serviceDisplayName;
/**
* Resource name of Billable SKU. Format: billableSkus/{sku}. Example:
* billableSkus/6E1B-6634-470F".
*
* @var string
*/
public $sku;
/**
* Unique human readable name for the SKU.
*
* @var string
*/
public $skuDisplayName;
/**
* Resource name of Service which contains Repricing SKU. Format:
* services/{service}. Example: "services/B7D9-FDCB-15D8".
*
* @param string $service
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
/**
* Unique human readable name for the Service.
*
* @param string $serviceDisplayName
*/
public function setServiceDisplayName($serviceDisplayName)
{
$this->serviceDisplayName = $serviceDisplayName;
}
/**
* @return string
*/
public function getServiceDisplayName()
{
return $this->serviceDisplayName;
}
/**
* Resource name of Billable SKU. Format: billableSkus/{sku}. Example:
* billableSkus/6E1B-6634-470F".
*
* @param string $sku
*/
public function setSku($sku)
{
$this->sku = $sku;
}
/**
* @return string
*/
public function getSku()
{
return $this->sku;
}
/**
* Unique human readable name for the SKU.
*
* @param string $skuDisplayName
*/
public function setSkuDisplayName($skuDisplayName)
{
$this->skuDisplayName = $skuDisplayName;
}
/**
* @return string
*/
public function getSkuDisplayName()
{
return $this->skuDisplayName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1BillableSku::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1BillableSku');
@@ -0,0 +1,138 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1BillingAccount extends \Google\Model
{
/**
* Output only. The time when this billing account was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The 3-letter currency code defined in ISO 4217.
*
* @var string
*/
public $currencyCode;
/**
* Display name of the billing account.
*
* @var string
*/
public $displayName;
/**
* Output only. Resource name of the billing account. Format:
* accounts/{account_id}/billingAccounts/{billing_account_id}.
*
* @var string
*/
public $name;
/**
* Output only. The CLDR region code.
*
* @var string
*/
public $regionCode;
/**
* Output only. The time when this billing account was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The 3-letter currency code defined in ISO 4217.
*
* @param string $currencyCode
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* Display name of the billing account.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. Resource name of the billing account. Format:
* accounts/{account_id}/billingAccounts/{billing_account_id}.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The CLDR region code.
*
* @param string $regionCode
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1BillingAccount::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1BillingAccount');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1BillingAccountPurchaseInfo extends \Google\Model
{
protected $billingAccountType = GoogleCloudChannelV1BillingAccount::class;
protected $billingAccountDataType = '';
/**
* The billing account resource.
*
* @param GoogleCloudChannelV1BillingAccount $billingAccount
*/
public function setBillingAccount(GoogleCloudChannelV1BillingAccount $billingAccount)
{
$this->billingAccount = $billingAccount;
}
/**
* @return GoogleCloudChannelV1BillingAccount
*/
public function getBillingAccount()
{
return $this->billingAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1BillingAccountPurchaseInfo::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1BillingAccountPurchaseInfo');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1CancelEntitlementRequest extends \Google\Model
{
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @var string
*/
public $requestId;
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1CancelEntitlementRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1CancelEntitlementRequest');
@@ -0,0 +1,180 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ChangeOfferRequest extends \Google\Collection
{
protected $collection_key = 'parameters';
/**
* Optional. The billing account resource name that is used to pay for this
* entitlement when setting up billing on a trial subscription. This field is
* only relevant for multi-currency accounts. It should be left empty for
* single currency accounts.
*
* @var string
*/
public $billingAccount;
/**
* Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.
*
* @var string
*/
public $offer;
protected $parametersType = GoogleCloudChannelV1Parameter::class;
protected $parametersDataType = 'array';
/**
* Optional. Price reference ID for the offer. Only for offers that require
* additional price information. Used to guarantee that the pricing is
* consistent between quoting the offer and placing the order.
*
* @var string
*/
public $priceReferenceId;
/**
* Optional. Purchase order id provided by the reseller.
*
* @var string
*/
public $purchaseOrderId;
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @var string
*/
public $requestId;
/**
* Optional. The billing account resource name that is used to pay for this
* entitlement when setting up billing on a trial subscription. This field is
* only relevant for multi-currency accounts. It should be left empty for
* single currency accounts.
*
* @param string $billingAccount
*/
public function setBillingAccount($billingAccount)
{
$this->billingAccount = $billingAccount;
}
/**
* @return string
*/
public function getBillingAccount()
{
return $this->billingAccount;
}
/**
* Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.
*
* @param string $offer
*/
public function setOffer($offer)
{
$this->offer = $offer;
}
/**
* @return string
*/
public function getOffer()
{
return $this->offer;
}
/**
* Optional. Parameters needed to purchase the Offer. To view the available
* Parameters refer to the Offer.parameter_definitions from the desired offer.
*
* @param GoogleCloudChannelV1Parameter[] $parameters
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return GoogleCloudChannelV1Parameter[]
*/
public function getParameters()
{
return $this->parameters;
}
/**
* Optional. Price reference ID for the offer. Only for offers that require
* additional price information. Used to guarantee that the pricing is
* consistent between quoting the offer and placing the order.
*
* @param string $priceReferenceId
*/
public function setPriceReferenceId($priceReferenceId)
{
$this->priceReferenceId = $priceReferenceId;
}
/**
* @return string
*/
public function getPriceReferenceId()
{
return $this->priceReferenceId;
}
/**
* Optional. Purchase order id provided by the reseller.
*
* @param string $purchaseOrderId
*/
public function setPurchaseOrderId($purchaseOrderId)
{
$this->purchaseOrderId = $purchaseOrderId;
}
/**
* @return string
*/
public function getPurchaseOrderId()
{
return $this->purchaseOrderId;
}
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ChangeOfferRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ChangeOfferRequest');
@@ -0,0 +1,105 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ChangeParametersRequest extends \Google\Collection
{
protected $collection_key = 'parameters';
protected $parametersType = GoogleCloudChannelV1Parameter::class;
protected $parametersDataType = 'array';
/**
* Optional. Purchase order ID provided by the reseller.
*
* @var string
*/
public $purchaseOrderId;
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @var string
*/
public $requestId;
/**
* Required. Entitlement parameters to update. You can only change editable
* parameters. To view the available Parameters for a request, refer to the
* Offer.parameter_definitions from the desired offer.
*
* @param GoogleCloudChannelV1Parameter[] $parameters
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return GoogleCloudChannelV1Parameter[]
*/
public function getParameters()
{
return $this->parameters;
}
/**
* Optional. Purchase order ID provided by the reseller.
*
* @param string $purchaseOrderId
*/
public function setPurchaseOrderId($purchaseOrderId)
{
$this->purchaseOrderId = $purchaseOrderId;
}
/**
* @return string
*/
public function getPurchaseOrderId()
{
return $this->purchaseOrderId;
}
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ChangeParametersRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ChangeParametersRequest');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ChangeRenewalSettingsRequest extends \Google\Model
{
protected $renewalSettingsType = GoogleCloudChannelV1RenewalSettings::class;
protected $renewalSettingsDataType = '';
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @var string
*/
public $requestId;
/**
* Required. New renewal settings.
*
* @param GoogleCloudChannelV1RenewalSettings $renewalSettings
*/
public function setRenewalSettings(GoogleCloudChannelV1RenewalSettings $renewalSettings)
{
$this->renewalSettings = $renewalSettings;
}
/**
* @return GoogleCloudChannelV1RenewalSettings
*/
public function getRenewalSettings()
{
return $this->renewalSettings;
}
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ChangeRenewalSettingsRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ChangeRenewalSettingsRequest');
@@ -0,0 +1,226 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ChannelPartnerLink extends \Google\Model
{
/**
* Not used.
*/
public const LINK_STATE_CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED = 'CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED';
/**
* An invitation has been sent to the reseller to create a channel partner
* link.
*/
public const LINK_STATE_INVITED = 'INVITED';
/**
* Status when the reseller is active.
*/
public const LINK_STATE_ACTIVE = 'ACTIVE';
/**
* Status when the reseller has been revoked by the distributor.
*/
public const LINK_STATE_REVOKED = 'REVOKED';
/**
* Status when the reseller is suspended by Google or distributor.
*/
public const LINK_STATE_SUSPENDED = 'SUSPENDED';
protected $channelPartnerCloudIdentityInfoType = GoogleCloudChannelV1CloudIdentityInfo::class;
protected $channelPartnerCloudIdentityInfoDataType = '';
/**
* Output only. Timestamp of when the channel partner link is created.
*
* @var string
*/
public $createTime;
/**
* Output only. URI of the web page where partner accepts the link invitation.
*
* @var string
*/
public $inviteLinkUri;
/**
* Required. State of the channel partner link.
*
* @var string
*/
public $linkState;
/**
* Output only. Resource name for the channel partner link, in the format
* accounts/{account_id}/channelPartnerLinks/{id}.
*
* @var string
*/
public $name;
/**
* Output only. Public identifier that a customer must use to generate a
* transfer token to move to this distributor-reseller combination.
*
* @var string
*/
public $publicId;
/**
* Required. Cloud Identity ID of the linked reseller.
*
* @var string
*/
public $resellerCloudIdentityId;
/**
* Output only. Timestamp of when the channel partner link is updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. Cloud Identity info of the channel partner (IR).
*
* @param GoogleCloudChannelV1CloudIdentityInfo $channelPartnerCloudIdentityInfo
*/
public function setChannelPartnerCloudIdentityInfo(GoogleCloudChannelV1CloudIdentityInfo $channelPartnerCloudIdentityInfo)
{
$this->channelPartnerCloudIdentityInfo = $channelPartnerCloudIdentityInfo;
}
/**
* @return GoogleCloudChannelV1CloudIdentityInfo
*/
public function getChannelPartnerCloudIdentityInfo()
{
return $this->channelPartnerCloudIdentityInfo;
}
/**
* Output only. Timestamp of when the channel partner link is created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. URI of the web page where partner accepts the link invitation.
*
* @param string $inviteLinkUri
*/
public function setInviteLinkUri($inviteLinkUri)
{
$this->inviteLinkUri = $inviteLinkUri;
}
/**
* @return string
*/
public function getInviteLinkUri()
{
return $this->inviteLinkUri;
}
/**
* Required. State of the channel partner link.
*
* Accepted values: CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED, INVITED, ACTIVE,
* REVOKED, SUSPENDED
*
* @param self::LINK_STATE_* $linkState
*/
public function setLinkState($linkState)
{
$this->linkState = $linkState;
}
/**
* @return self::LINK_STATE_*
*/
public function getLinkState()
{
return $this->linkState;
}
/**
* Output only. Resource name for the channel partner link, in the format
* accounts/{account_id}/channelPartnerLinks/{id}.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Public identifier that a customer must use to generate a
* transfer token to move to this distributor-reseller combination.
*
* @param string $publicId
*/
public function setPublicId($publicId)
{
$this->publicId = $publicId;
}
/**
* @return string
*/
public function getPublicId()
{
return $this->publicId;
}
/**
* Required. Cloud Identity ID of the linked reseller.
*
* @param string $resellerCloudIdentityId
*/
public function setResellerCloudIdentityId($resellerCloudIdentityId)
{
$this->resellerCloudIdentityId = $resellerCloudIdentityId;
}
/**
* @return string
*/
public function getResellerCloudIdentityId()
{
return $this->resellerCloudIdentityId;
}
/**
* Output only. Timestamp of when the channel partner link is 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(GoogleCloudChannelV1ChannelPartnerLink::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ChannelPartnerLink');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ChannelPartnerRepricingConfig extends \Google\Model
{
/**
* Output only. Resource name of the ChannelPartnerRepricingConfig. Format: ac
* counts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartner
* RepricingConfigs/{id}.
*
* @var string
*/
public $name;
protected $repricingConfigType = GoogleCloudChannelV1RepricingConfig::class;
protected $repricingConfigDataType = '';
/**
* Output only. Timestamp of an update to the repricing rule. If `update_time`
* is after RepricingConfig.effective_invoice_month then it indicates this was
* set mid-month.
*
* @var string
*/
public $updateTime;
/**
* Output only. Resource name of the ChannelPartnerRepricingConfig. Format: ac
* counts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartner
* RepricingConfigs/{id}.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The configuration for bill modifications made by a reseller
* before sending it to ChannelPartner.
*
* @param GoogleCloudChannelV1RepricingConfig $repricingConfig
*/
public function setRepricingConfig(GoogleCloudChannelV1RepricingConfig $repricingConfig)
{
$this->repricingConfig = $repricingConfig;
}
/**
* @return GoogleCloudChannelV1RepricingConfig
*/
public function getRepricingConfig()
{
return $this->repricingConfig;
}
/**
* Output only. Timestamp of an update to the repricing rule. If `update_time`
* is after RepricingConfig.effective_invoice_month then it indicates this was
* set mid-month.
*
* @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(GoogleCloudChannelV1ChannelPartnerRepricingConfig::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ChannelPartnerRepricingConfig');
@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest extends \Google\Model
{
/**
* Required. Domain to fetch for Cloud Identity account customers, including
* domain and team customers. For team customers, please use the domain for
* their emails.
*
* @var string
*/
public $domain;
/**
* Optional. Primary admin email to fetch for Cloud Identity account team
* customer.
*
* @var string
*/
public $primaryAdminEmail;
/**
* Required. Domain to fetch for Cloud Identity account customers, including
* domain and team customers. For team customers, please use the domain for
* their emails.
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* Optional. Primary admin email to fetch for Cloud Identity account team
* customer.
*
* @param string $primaryAdminEmail
*/
public function setPrimaryAdminEmail($primaryAdminEmail)
{
$this->primaryAdminEmail = $primaryAdminEmail;
}
/**
* @return string
*/
public function getPrimaryAdminEmail()
{
return $this->primaryAdminEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse extends \Google\Collection
{
protected $collection_key = 'cloudIdentityAccounts';
protected $cloudIdentityAccountsType = GoogleCloudChannelV1CloudIdentityCustomerAccount::class;
protected $cloudIdentityAccountsDataType = 'array';
/**
* The Cloud Identity accounts associated with the domain.
*
* @param GoogleCloudChannelV1CloudIdentityCustomerAccount[] $cloudIdentityAccounts
*/
public function setCloudIdentityAccounts($cloudIdentityAccounts)
{
$this->cloudIdentityAccounts = $cloudIdentityAccounts;
}
/**
* @return GoogleCloudChannelV1CloudIdentityCustomerAccount[]
*/
public function getCloudIdentityAccounts()
{
return $this->cloudIdentityAccounts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse');
@@ -0,0 +1,182 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1CloudIdentityCustomerAccount extends \Google\Model
{
/**
* Not used.
*/
public const CUSTOMER_TYPE_CUSTOMER_TYPE_UNSPECIFIED = 'CUSTOMER_TYPE_UNSPECIFIED';
/**
* Domain-owning customer which needs domain verification to use services.
*/
public const CUSTOMER_TYPE_DOMAIN = 'DOMAIN';
/**
* Team customer which needs email verification to use services.
*/
public const CUSTOMER_TYPE_TEAM = 'TEAM';
/**
* If existing = true, and is 2-tier customer, the channel partner of the
* customer.
*
* @var string
*/
public $channelPartnerCloudIdentityId;
/**
* If existing = true, the Cloud Identity ID of the customer.
*
* @var string
*/
public $customerCloudIdentityId;
/**
* If owned = true, the name of the customer that owns the Cloud Identity
* account. Customer_name uses the format:
* accounts/{account_id}/customers/{customer_id}
*
* @var string
*/
public $customerName;
/**
* If existing = true, the type of the customer.
*
* @var string
*/
public $customerType;
/**
* Returns true if a Cloud Identity account exists for a specific domain.
*
* @var bool
*/
public $existing;
/**
* Returns true if the Cloud Identity account is associated with a customer of
* the Channel Services partner (with active subscriptions or purchase
* consents).
*
* @var bool
*/
public $owned;
/**
* If existing = true, and is 2-tier customer, the channel partner of the
* customer.
*
* @param string $channelPartnerCloudIdentityId
*/
public function setChannelPartnerCloudIdentityId($channelPartnerCloudIdentityId)
{
$this->channelPartnerCloudIdentityId = $channelPartnerCloudIdentityId;
}
/**
* @return string
*/
public function getChannelPartnerCloudIdentityId()
{
return $this->channelPartnerCloudIdentityId;
}
/**
* If existing = true, the Cloud Identity ID of the customer.
*
* @param string $customerCloudIdentityId
*/
public function setCustomerCloudIdentityId($customerCloudIdentityId)
{
$this->customerCloudIdentityId = $customerCloudIdentityId;
}
/**
* @return string
*/
public function getCustomerCloudIdentityId()
{
return $this->customerCloudIdentityId;
}
/**
* If owned = true, the name of the customer that owns the Cloud Identity
* account. Customer_name uses the format:
* accounts/{account_id}/customers/{customer_id}
*
* @param string $customerName
*/
public function setCustomerName($customerName)
{
$this->customerName = $customerName;
}
/**
* @return string
*/
public function getCustomerName()
{
return $this->customerName;
}
/**
* If existing = true, the type of the customer.
*
* Accepted values: CUSTOMER_TYPE_UNSPECIFIED, DOMAIN, TEAM
*
* @param self::CUSTOMER_TYPE_* $customerType
*/
public function setCustomerType($customerType)
{
$this->customerType = $customerType;
}
/**
* @return self::CUSTOMER_TYPE_*
*/
public function getCustomerType()
{
return $this->customerType;
}
/**
* Returns true if a Cloud Identity account exists for a specific domain.
*
* @param bool $existing
*/
public function setExisting($existing)
{
$this->existing = $existing;
}
/**
* @return bool
*/
public function getExisting()
{
return $this->existing;
}
/**
* Returns true if the Cloud Identity account is associated with a customer of
* the Channel Services partner (with active subscriptions or purchase
* consents).
*
* @param bool $owned
*/
public function setOwned($owned)
{
$this->owned = $owned;
}
/**
* @return bool
*/
public function getOwned()
{
return $this->owned;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1CloudIdentityCustomerAccount::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1CloudIdentityCustomerAccount');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1CloudIdentityInfo extends \Google\Model
{
/**
* Not used.
*/
public const CUSTOMER_TYPE_CUSTOMER_TYPE_UNSPECIFIED = 'CUSTOMER_TYPE_UNSPECIFIED';
/**
* Domain-owning customer which needs domain verification to use services.
*/
public const CUSTOMER_TYPE_DOMAIN = 'DOMAIN';
/**
* Team customer which needs email verification to use services.
*/
public const CUSTOMER_TYPE_TEAM = 'TEAM';
/**
* Output only. URI of Customer's Admin console dashboard.
*
* @var string
*/
public $adminConsoleUri;
/**
* The alternate email.
*
* @var string
*/
public $alternateEmail;
/**
* CustomerType indicates verification type needed for using services.
*
* @var string
*/
public $customerType;
protected $eduDataType = GoogleCloudChannelV1EduData::class;
protected $eduDataDataType = '';
/**
* Output only. Whether the domain is verified. This field is not returned for
* a Customer's cloud_identity_info resource. Partners can use the
* domains.get() method of the Workspace SDK's Directory API, or listen to the
* PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of
* their resolve Workspace customers.
*
* @var bool
*/
public $isDomainVerified;
/**
* Language code.
*
* @var string
*/
public $languageCode;
/**
* Phone number associated with the Cloud Identity.
*
* @var string
*/
public $phoneNumber;
/**
* Output only. The primary domain name.
*
* @var string
*/
public $primaryDomain;
/**
* Output only. URI of Customer's Admin console dashboard.
*
* @param string $adminConsoleUri
*/
public function setAdminConsoleUri($adminConsoleUri)
{
$this->adminConsoleUri = $adminConsoleUri;
}
/**
* @return string
*/
public function getAdminConsoleUri()
{
return $this->adminConsoleUri;
}
/**
* The alternate email.
*
* @param string $alternateEmail
*/
public function setAlternateEmail($alternateEmail)
{
$this->alternateEmail = $alternateEmail;
}
/**
* @return string
*/
public function getAlternateEmail()
{
return $this->alternateEmail;
}
/**
* CustomerType indicates verification type needed for using services.
*
* Accepted values: CUSTOMER_TYPE_UNSPECIFIED, DOMAIN, TEAM
*
* @param self::CUSTOMER_TYPE_* $customerType
*/
public function setCustomerType($customerType)
{
$this->customerType = $customerType;
}
/**
* @return self::CUSTOMER_TYPE_*
*/
public function getCustomerType()
{
return $this->customerType;
}
/**
* Edu information about the customer.
*
* @param GoogleCloudChannelV1EduData $eduData
*/
public function setEduData(GoogleCloudChannelV1EduData $eduData)
{
$this->eduData = $eduData;
}
/**
* @return GoogleCloudChannelV1EduData
*/
public function getEduData()
{
return $this->eduData;
}
/**
* Output only. Whether the domain is verified. This field is not returned for
* a Customer's cloud_identity_info resource. Partners can use the
* domains.get() method of the Workspace SDK's Directory API, or listen to the
* PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of
* their resolve Workspace customers.
*
* @param bool $isDomainVerified
*/
public function setIsDomainVerified($isDomainVerified)
{
$this->isDomainVerified = $isDomainVerified;
}
/**
* @return bool
*/
public function getIsDomainVerified()
{
return $this->isDomainVerified;
}
/**
* Language code.
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* Phone number associated with the Cloud Identity.
*
* @param string $phoneNumber
*/
public function setPhoneNumber($phoneNumber)
{
$this->phoneNumber = $phoneNumber;
}
/**
* @return string
*/
public function getPhoneNumber()
{
return $this->phoneNumber;
}
/**
* Output only. The primary domain name.
*
* @param string $primaryDomain
*/
public function setPrimaryDomain($primaryDomain)
{
$this->primaryDomain = $primaryDomain;
}
/**
* @return string
*/
public function getPrimaryDomain()
{
return $this->primaryDomain;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1CloudIdentityInfo::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1CloudIdentityInfo');
@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Column extends \Google\Model
{
/**
* Not used.
*/
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
/**
* ReportValues for this column will use string_value.
*/
public const DATA_TYPE_STRING = 'STRING';
/**
* ReportValues for this column will use int_value.
*/
public const DATA_TYPE_INT = 'INT';
/**
* ReportValues for this column will use decimal_value.
*/
public const DATA_TYPE_DECIMAL = 'DECIMAL';
/**
* ReportValues for this column will use money_value.
*/
public const DATA_TYPE_MONEY = 'MONEY';
/**
* ReportValues for this column will use date_value.
*/
public const DATA_TYPE_DATE = 'DATE';
/**
* ReportValues for this column will use date_time_value.
*/
public const DATA_TYPE_DATE_TIME = 'DATE_TIME';
/**
* The unique name of the column (for example, customer_domain,
* channel_partner, customer_cost). You can use column IDs in
* RunReportJobRequest.filter. To see all reports and their columns, call
* CloudChannelReportsService.ListReports.
*
* @var string
*/
public $columnId;
/**
* The type of the values for this column.
*
* @var string
*/
public $dataType;
/**
* The column's display name.
*
* @var string
*/
public $displayName;
/**
* The unique name of the column (for example, customer_domain,
* channel_partner, customer_cost). You can use column IDs in
* RunReportJobRequest.filter. To see all reports and their columns, call
* CloudChannelReportsService.ListReports.
*
* @param string $columnId
*/
public function setColumnId($columnId)
{
$this->columnId = $columnId;
}
/**
* @return string
*/
public function getColumnId()
{
return $this->columnId;
}
/**
* The type of the values for this column.
*
* Accepted values: DATA_TYPE_UNSPECIFIED, STRING, INT, DECIMAL, MONEY, DATE,
* DATE_TIME
*
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* The column's display name.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1Column::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Column');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1CommitmentSettings extends \Google\Model
{
/**
* Output only. Commitment end timestamp.
*
* @var string
*/
public $endTime;
protected $renewalSettingsType = GoogleCloudChannelV1RenewalSettings::class;
protected $renewalSettingsDataType = '';
/**
* Output only. Commitment start timestamp.
*
* @var string
*/
public $startTime;
/**
* Output only. Commitment end timestamp.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Optional. Renewal settings applicable for a commitment-based Offer.
*
* @param GoogleCloudChannelV1RenewalSettings $renewalSettings
*/
public function setRenewalSettings(GoogleCloudChannelV1RenewalSettings $renewalSettings)
{
$this->renewalSettings = $renewalSettings;
}
/**
* @return GoogleCloudChannelV1RenewalSettings
*/
public function getRenewalSettings()
{
return $this->renewalSettings;
}
/**
* Output only. Commitment start timestamp.
*
* @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(GoogleCloudChannelV1CommitmentSettings::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1CommitmentSettings');
@@ -0,0 +1,104 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ConditionalOverride extends \Google\Model
{
/**
* Not used.
*/
public const REBILLING_BASIS_REBILLING_BASIS_UNSPECIFIED = 'REBILLING_BASIS_UNSPECIFIED';
/**
* Use the list cost, also known as the MSRP.
*/
public const REBILLING_BASIS_COST_AT_LIST = 'COST_AT_LIST';
/**
* Pass through all discounts except the Reseller Program Discount. If this is
* the default cost base and no adjustments are specified, the output cost
* will be exactly what the customer would see if they viewed the bill in the
* Google Cloud Console.
*/
public const REBILLING_BASIS_DIRECT_CUSTOMER_COST = 'DIRECT_CUSTOMER_COST';
protected $adjustmentType = GoogleCloudChannelV1RepricingAdjustment::class;
protected $adjustmentDataType = '';
/**
* Required. The RebillingBasis to use for the applied override. Shows the
* relative cost based on your repricing costs.
*
* @var string
*/
public $rebillingBasis;
protected $repricingConditionType = GoogleCloudChannelV1RepricingCondition::class;
protected $repricingConditionDataType = '';
/**
* Required. Information about the applied override's adjustment.
*
* @param GoogleCloudChannelV1RepricingAdjustment $adjustment
*/
public function setAdjustment(GoogleCloudChannelV1RepricingAdjustment $adjustment)
{
$this->adjustment = $adjustment;
}
/**
* @return GoogleCloudChannelV1RepricingAdjustment
*/
public function getAdjustment()
{
return $this->adjustment;
}
/**
* Required. The RebillingBasis to use for the applied override. Shows the
* relative cost based on your repricing costs.
*
* Accepted values: REBILLING_BASIS_UNSPECIFIED, COST_AT_LIST,
* DIRECT_CUSTOMER_COST
*
* @param self::REBILLING_BASIS_* $rebillingBasis
*/
public function setRebillingBasis($rebillingBasis)
{
$this->rebillingBasis = $rebillingBasis;
}
/**
* @return self::REBILLING_BASIS_*
*/
public function getRebillingBasis()
{
return $this->rebillingBasis;
}
/**
* Required. Specifies the condition which, if met, will apply the override.
*
* @param GoogleCloudChannelV1RepricingCondition $repricingCondition
*/
public function setRepricingCondition(GoogleCloudChannelV1RepricingCondition $repricingCondition)
{
$this->repricingCondition = $repricingCondition;
}
/**
* @return GoogleCloudChannelV1RepricingCondition
*/
public function getRepricingCondition()
{
return $this->repricingCondition;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ConditionalOverride::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ConditionalOverride');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1Constraints extends \Google\Model
{
protected $customerConstraintsType = GoogleCloudChannelV1CustomerConstraints::class;
protected $customerConstraintsDataType = '';
/**
* Represents constraints required to purchase the Offer for a customer.
*
* @param GoogleCloudChannelV1CustomerConstraints $customerConstraints
*/
public function setCustomerConstraints(GoogleCloudChannelV1CustomerConstraints $customerConstraints)
{
$this->customerConstraints = $customerConstraints;
}
/**
* @return GoogleCloudChannelV1CustomerConstraints
*/
public function getCustomerConstraints()
{
return $this->customerConstraints;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1Constraints::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Constraints');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1ContactInfo extends \Google\Model
{
/**
* Output only. The customer account contact's display name, formatted as a
* combination of the customer's first and last name.
*
* @var string
*/
public $displayName;
/**
* The customer account's contact email. Required for entitlements that create
* admin.google.com accounts, and serves as the customer's username for those
* accounts. Use this email to invite Team customers.
*
* @var string
*/
public $email;
/**
* The customer account contact's first name. Optional for Team customers.
*
* @var string
*/
public $firstName;
/**
* The customer account contact's last name. Optional for Team customers.
*
* @var string
*/
public $lastName;
/**
* The customer account's contact phone number.
*
* @var string
*/
public $phone;
/**
* Optional. The customer account contact's job title.
*
* @var string
*/
public $title;
/**
* Output only. The customer account contact's display name, formatted as a
* combination of the customer's first and last name.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* The customer account's contact email. Required for entitlements that create
* admin.google.com accounts, and serves as the customer's username for those
* accounts. Use this email to invite Team customers.
*
* @param string $email
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* The customer account contact's first name. Optional for Team customers.
*
* @param string $firstName
*/
public function setFirstName($firstName)
{
$this->firstName = $firstName;
}
/**
* @return string
*/
public function getFirstName()
{
return $this->firstName;
}
/**
* The customer account contact's last name. Optional for Team customers.
*
* @param string $lastName
*/
public function setLastName($lastName)
{
$this->lastName = $lastName;
}
/**
* @return string
*/
public function getLastName()
{
return $this->lastName;
}
/**
* The customer account's contact phone number.
*
* @param string $phone
*/
public function setPhone($phone)
{
$this->phone = $phone;
}
/**
* @return string
*/
public function getPhone()
{
return $this->phone;
}
/**
* Optional. The customer account contact's job title.
*
* @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(GoogleCloudChannelV1ContactInfo::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ContactInfo');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1CreateEntitlementRequest extends \Google\Model
{
protected $entitlementType = GoogleCloudChannelV1Entitlement::class;
protected $entitlementDataType = '';
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @var string
*/
public $requestId;
/**
* Required. The entitlement to create.
*
* @param GoogleCloudChannelV1Entitlement $entitlement
*/
public function setEntitlement(GoogleCloudChannelV1Entitlement $entitlement)
{
$this->entitlement = $entitlement;
}
/**
* @return GoogleCloudChannelV1Entitlement
*/
public function getEntitlement()
{
return $this->entitlement;
}
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1CreateEntitlementRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1CreateEntitlementRequest');
@@ -0,0 +1,368 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Customer extends \Google\Model
{
/**
* Default value if not set yet
*/
public const CUSTOMER_ATTESTATION_STATE_CUSTOMER_ATTESTATION_STATE_UNSPECIFIED = 'CUSTOMER_ATTESTATION_STATE_UNSPECIFIED';
/**
* Customer is exempt from attesting based on exemption list at
* https://cloud.google.com/terms/direct-tos-exemptions. Contact information
* of customer will be mandatory.
*/
public const CUSTOMER_ATTESTATION_STATE_EXEMPT = 'EXEMPT';
/**
* Customer is not exempt and has verified the information provided is
* correct. Contact information of customer will be mandatory.
*/
public const CUSTOMER_ATTESTATION_STATE_NON_EXEMPT_AND_INFO_VERIFIED = 'NON_EXEMPT_AND_INFO_VERIFIED';
/**
* Secondary contact email. You need to provide an alternate email to create
* different domains if a primary contact email already exists. Users will
* receive a notification with credentials when you create an admin.google.com
* account. Secondary emails are also recovery email addresses. Alternate
* emails are optional when you create Team customers.
*
* @var string
*/
public $alternateEmail;
/**
* Cloud Identity ID of the customer's channel partner. Populated only if a
* channel partner exists for this customer.
*
* @var string
*/
public $channelPartnerId;
/**
* Output only. The customer's Cloud Identity ID if the customer has a Cloud
* Identity resource.
*
* @var string
*/
public $cloudIdentityId;
protected $cloudIdentityInfoType = GoogleCloudChannelV1CloudIdentityInfo::class;
protected $cloudIdentityInfoDataType = '';
/**
* Optional. External CRM ID for the customer. Populated only if a CRM ID
* exists for this customer.
*
* @var string
*/
public $correlationId;
/**
* Output only. Time when the customer was created.
*
* @var string
*/
public $createTime;
/**
* Optional. Indicate if a customer is attesting about the correctness of
* provided information. Only required if creating a GCP Entitlement.
*
* @var string
*/
public $customerAttestationState;
/**
* Required. The customer's primary domain. Must match the primary contact
* email's domain.
*
* @var string
*/
public $domain;
/**
* Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
* information, see
* https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
*
* @var string
*/
public $languageCode;
/**
* Output only. Resource name of the customer. Format:
* accounts/{account_id}/customers/{customer_id}
*
* @var string
*/
public $name;
/**
* Required. Name of the organization that the customer entity represents.
*
* @var string
*/
public $orgDisplayName;
protected $orgPostalAddressType = GoogleTypePostalAddress::class;
protected $orgPostalAddressDataType = '';
protected $primaryContactInfoType = GoogleCloudChannelV1ContactInfo::class;
protected $primaryContactInfoDataType = '';
/**
* Output only. Time when the customer was updated.
*
* @var string
*/
public $updateTime;
/**
* Secondary contact email. You need to provide an alternate email to create
* different domains if a primary contact email already exists. Users will
* receive a notification with credentials when you create an admin.google.com
* account. Secondary emails are also recovery email addresses. Alternate
* emails are optional when you create Team customers.
*
* @param string $alternateEmail
*/
public function setAlternateEmail($alternateEmail)
{
$this->alternateEmail = $alternateEmail;
}
/**
* @return string
*/
public function getAlternateEmail()
{
return $this->alternateEmail;
}
/**
* Cloud Identity ID of the customer's channel partner. Populated only if a
* channel partner exists for this customer.
*
* @param string $channelPartnerId
*/
public function setChannelPartnerId($channelPartnerId)
{
$this->channelPartnerId = $channelPartnerId;
}
/**
* @return string
*/
public function getChannelPartnerId()
{
return $this->channelPartnerId;
}
/**
* Output only. The customer's Cloud Identity ID if the customer has a Cloud
* Identity resource.
*
* @param string $cloudIdentityId
*/
public function setCloudIdentityId($cloudIdentityId)
{
$this->cloudIdentityId = $cloudIdentityId;
}
/**
* @return string
*/
public function getCloudIdentityId()
{
return $this->cloudIdentityId;
}
/**
* Output only. Cloud Identity information for the customer. Populated only if
* a Cloud Identity account exists for this customer.
*
* @param GoogleCloudChannelV1CloudIdentityInfo $cloudIdentityInfo
*/
public function setCloudIdentityInfo(GoogleCloudChannelV1CloudIdentityInfo $cloudIdentityInfo)
{
$this->cloudIdentityInfo = $cloudIdentityInfo;
}
/**
* @return GoogleCloudChannelV1CloudIdentityInfo
*/
public function getCloudIdentityInfo()
{
return $this->cloudIdentityInfo;
}
/**
* Optional. External CRM ID for the customer. Populated only if a CRM ID
* exists for this customer.
*
* @param string $correlationId
*/
public function setCorrelationId($correlationId)
{
$this->correlationId = $correlationId;
}
/**
* @return string
*/
public function getCorrelationId()
{
return $this->correlationId;
}
/**
* Output only. Time when the customer was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Indicate if a customer is attesting about the correctness of
* provided information. Only required if creating a GCP Entitlement.
*
* Accepted values: CUSTOMER_ATTESTATION_STATE_UNSPECIFIED, EXEMPT,
* NON_EXEMPT_AND_INFO_VERIFIED
*
* @param self::CUSTOMER_ATTESTATION_STATE_* $customerAttestationState
*/
public function setCustomerAttestationState($customerAttestationState)
{
$this->customerAttestationState = $customerAttestationState;
}
/**
* @return self::CUSTOMER_ATTESTATION_STATE_*
*/
public function getCustomerAttestationState()
{
return $this->customerAttestationState;
}
/**
* Required. The customer's primary domain. Must match the primary contact
* email's domain.
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
* information, see
* https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* Output only. Resource name of the customer. Format:
* accounts/{account_id}/customers/{customer_id}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. Name of the organization that the customer entity represents.
*
* @param string $orgDisplayName
*/
public function setOrgDisplayName($orgDisplayName)
{
$this->orgDisplayName = $orgDisplayName;
}
/**
* @return string
*/
public function getOrgDisplayName()
{
return $this->orgDisplayName;
}
/**
* Required. The organization address for the customer. To enforce US laws and
* embargoes, we require a region, postal code, and address lines. You must
* provide valid addresses for every customer. To set the customer's language,
* use the Customer-level language code.
*
* @param GoogleTypePostalAddress $orgPostalAddress
*/
public function setOrgPostalAddress(GoogleTypePostalAddress $orgPostalAddress)
{
$this->orgPostalAddress = $orgPostalAddress;
}
/**
* @return GoogleTypePostalAddress
*/
public function getOrgPostalAddress()
{
return $this->orgPostalAddress;
}
/**
* Primary contact info.
*
* @param GoogleCloudChannelV1ContactInfo $primaryContactInfo
*/
public function setPrimaryContactInfo(GoogleCloudChannelV1ContactInfo $primaryContactInfo)
{
$this->primaryContactInfo = $primaryContactInfo;
}
/**
* @return GoogleCloudChannelV1ContactInfo
*/
public function getPrimaryContactInfo()
{
return $this->primaryContactInfo;
}
/**
* Output only. Time when the customer 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(GoogleCloudChannelV1Customer::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Customer');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1CustomerConstraints extends \Google\Collection
{
protected $collection_key = 'promotionalOrderTypes';
/**
* Allowed Customer Type.
*
* @var string[]
*/
public $allowedCustomerTypes;
/**
* Allowed geographical regions of the customer.
*
* @var string[]
*/
public $allowedRegions;
/**
* Allowed Promotional Order Type. Present for Promotional offers.
*
* @var string[]
*/
public $promotionalOrderTypes;
/**
* Allowed Customer Type.
*
* @param string[] $allowedCustomerTypes
*/
public function setAllowedCustomerTypes($allowedCustomerTypes)
{
$this->allowedCustomerTypes = $allowedCustomerTypes;
}
/**
* @return string[]
*/
public function getAllowedCustomerTypes()
{
return $this->allowedCustomerTypes;
}
/**
* Allowed geographical regions of the customer.
*
* @param string[] $allowedRegions
*/
public function setAllowedRegions($allowedRegions)
{
$this->allowedRegions = $allowedRegions;
}
/**
* @return string[]
*/
public function getAllowedRegions()
{
return $this->allowedRegions;
}
/**
* Allowed Promotional Order Type. Present for Promotional offers.
*
* @param string[] $promotionalOrderTypes
*/
public function setPromotionalOrderTypes($promotionalOrderTypes)
{
$this->promotionalOrderTypes = $promotionalOrderTypes;
}
/**
* @return string[]
*/
public function getPromotionalOrderTypes()
{
return $this->promotionalOrderTypes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1CustomerConstraints::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1CustomerConstraints');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1CustomerEvent extends \Google\Model
{
/**
* Not used.
*/
public const EVENT_TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* Primary domain for customer was changed.
*/
public const EVENT_TYPE_PRIMARY_DOMAIN_CHANGED = 'PRIMARY_DOMAIN_CHANGED';
/**
* Primary domain of the customer has been verified.
*/
public const EVENT_TYPE_PRIMARY_DOMAIN_VERIFIED = 'PRIMARY_DOMAIN_VERIFIED';
/**
* Resource name of the customer. Format:
* accounts/{account_id}/customers/{customer_id}
*
* @var string
*/
public $customer;
/**
* Type of event which happened for the customer.
*
* @var string
*/
public $eventType;
/**
* Resource name of the customer. Format:
* accounts/{account_id}/customers/{customer_id}
*
* @param string $customer
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* Type of event which happened for the customer.
*
* Accepted values: TYPE_UNSPECIFIED, PRIMARY_DOMAIN_CHANGED,
* PRIMARY_DOMAIN_VERIFIED
*
* @param self::EVENT_TYPE_* $eventType
*/
public function setEventType($eventType)
{
$this->eventType = $eventType;
}
/**
* @return self::EVENT_TYPE_*
*/
public function getEventType()
{
return $this->eventType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1CustomerEvent::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1CustomerEvent');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1CustomerRepricingConfig extends \Google\Model
{
/**
* Output only. Resource name of the CustomerRepricingConfig. Format: accounts
* /{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
*
* @var string
*/
public $name;
protected $repricingConfigType = GoogleCloudChannelV1RepricingConfig::class;
protected $repricingConfigDataType = '';
/**
* Output only. Timestamp of an update to the repricing rule. If `update_time`
* is after RepricingConfig.effective_invoice_month then it indicates this was
* set mid-month.
*
* @var string
*/
public $updateTime;
/**
* Output only. Resource name of the CustomerRepricingConfig. Format: accounts
* /{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The configuration for bill modifications made by a reseller
* before sending it to customers.
*
* @param GoogleCloudChannelV1RepricingConfig $repricingConfig
*/
public function setRepricingConfig(GoogleCloudChannelV1RepricingConfig $repricingConfig)
{
$this->repricingConfig = $repricingConfig;
}
/**
* @return GoogleCloudChannelV1RepricingConfig
*/
public function getRepricingConfig()
{
return $this->repricingConfig;
}
/**
* Output only. Timestamp of an update to the repricing rule. If `update_time`
* is after RepricingConfig.effective_invoice_month then it indicates this was
* set mid-month.
*
* @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(GoogleCloudChannelV1CustomerRepricingConfig::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1CustomerRepricingConfig');
@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1DateRange extends \Google\Model
{
protected $invoiceEndDateType = GoogleTypeDate::class;
protected $invoiceEndDateDataType = '';
protected $invoiceStartDateType = GoogleTypeDate::class;
protected $invoiceStartDateDataType = '';
protected $usageEndDateTimeType = GoogleTypeDateTime::class;
protected $usageEndDateTimeDataType = '';
protected $usageStartDateTimeType = GoogleTypeDateTime::class;
protected $usageStartDateTimeDataType = '';
/**
* The latest invoice date (inclusive). If this value is not the last day of a
* month, this will move it forward to the last day of the given month.
*
* @param GoogleTypeDate $invoiceEndDate
*/
public function setInvoiceEndDate(GoogleTypeDate $invoiceEndDate)
{
$this->invoiceEndDate = $invoiceEndDate;
}
/**
* @return GoogleTypeDate
*/
public function getInvoiceEndDate()
{
return $this->invoiceEndDate;
}
/**
* The earliest invoice date (inclusive). If this value is not the first day
* of a month, this will move it back to the first day of the given month.
*
* @param GoogleTypeDate $invoiceStartDate
*/
public function setInvoiceStartDate(GoogleTypeDate $invoiceStartDate)
{
$this->invoiceStartDate = $invoiceStartDate;
}
/**
* @return GoogleTypeDate
*/
public function getInvoiceStartDate()
{
return $this->invoiceStartDate;
}
/**
* The latest usage date time (exclusive). If you use time groupings (daily,
* weekly, etc), each group uses midnight to midnight (Pacific time). The
* usage end date is rounded down to include all usage from the specified
* date. We recommend that clients pass `usage_start_date_time` in Pacific
* time.
*
* @param GoogleTypeDateTime $usageEndDateTime
*/
public function setUsageEndDateTime(GoogleTypeDateTime $usageEndDateTime)
{
$this->usageEndDateTime = $usageEndDateTime;
}
/**
* @return GoogleTypeDateTime
*/
public function getUsageEndDateTime()
{
return $this->usageEndDateTime;
}
/**
* The earliest usage date time (inclusive). If you use time groupings (daily,
* weekly, etc), each group uses midnight to midnight (Pacific time). The
* usage start date is rounded down to include all usage from the specified
* date. We recommend that clients pass `usage_start_date_time` in Pacific
* time.
*
* @param GoogleTypeDateTime $usageStartDateTime
*/
public function setUsageStartDateTime(GoogleTypeDateTime $usageStartDateTime)
{
$this->usageStartDateTime = $usageStartDateTime;
}
/**
* @return GoogleTypeDateTime
*/
public function getUsageStartDateTime()
{
return $this->usageStartDateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1DateRange::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1DateRange');
@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1DiscountComponent extends \Google\Model
{
/**
* Not used.
*/
public const DISCOUNT_TYPE_DISCOUNT_TYPE_UNSPECIFIED = 'DISCOUNT_TYPE_UNSPECIFIED';
/**
* Regional discount.
*/
public const DISCOUNT_TYPE_REGIONAL_DISCOUNT = 'REGIONAL_DISCOUNT';
/**
* Promotional discount.
*/
public const DISCOUNT_TYPE_PROMOTIONAL_DISCOUNT = 'PROMOTIONAL_DISCOUNT';
/**
* Sales-provided discount.
*/
public const DISCOUNT_TYPE_SALES_DISCOUNT = 'SALES_DISCOUNT';
/**
* Reseller margin.
*/
public const DISCOUNT_TYPE_RESELLER_MARGIN = 'RESELLER_MARGIN';
/**
* Deal code discount.
*/
public const DISCOUNT_TYPE_DEAL_CODE = 'DEAL_CODE';
protected $discountAbsoluteType = GoogleTypeMoney::class;
protected $discountAbsoluteDataType = '';
/**
* Discount percentage, represented as decimal. For example, a 20% discount
* will be represented as 0.2.
*
* @var
*/
public $discountPercentage;
/**
* Type of the discount.
*
* @var string
*/
public $discountType;
/**
* Fixed value discount.
*
* @param GoogleTypeMoney $discountAbsolute
*/
public function setDiscountAbsolute(GoogleTypeMoney $discountAbsolute)
{
$this->discountAbsolute = $discountAbsolute;
}
/**
* @return GoogleTypeMoney
*/
public function getDiscountAbsolute()
{
return $this->discountAbsolute;
}
public function setDiscountPercentage($discountPercentage)
{
$this->discountPercentage = $discountPercentage;
}
public function getDiscountPercentage()
{
return $this->discountPercentage;
}
/**
* Type of the discount.
*
* Accepted values: DISCOUNT_TYPE_UNSPECIFIED, REGIONAL_DISCOUNT,
* PROMOTIONAL_DISCOUNT, SALES_DISCOUNT, RESELLER_MARGIN, DEAL_CODE
*
* @param self::DISCOUNT_TYPE_* $discountType
*/
public function setDiscountType($discountType)
{
$this->discountType = $discountType;
}
/**
* @return self::DISCOUNT_TYPE_*
*/
public function getDiscountType()
{
return $this->discountType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1DiscountComponent::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1DiscountComponent');
@@ -0,0 +1,142 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1EduData extends \Google\Model
{
/**
* Not used.
*/
public const INSTITUTE_SIZE_INSTITUTE_SIZE_UNSPECIFIED = 'INSTITUTE_SIZE_UNSPECIFIED';
/**
* 1 - 100
*/
public const INSTITUTE_SIZE_SIZE_1_100 = 'SIZE_1_100';
/**
* 101 - 500
*/
public const INSTITUTE_SIZE_SIZE_101_500 = 'SIZE_101_500';
/**
* 501 - 1,000
*/
public const INSTITUTE_SIZE_SIZE_501_1000 = 'SIZE_501_1000';
/**
* 1,001 - 2,000
*/
public const INSTITUTE_SIZE_SIZE_1001_2000 = 'SIZE_1001_2000';
/**
* 2,001 - 5,000
*/
public const INSTITUTE_SIZE_SIZE_2001_5000 = 'SIZE_2001_5000';
/**
* 5,001 - 10,000
*/
public const INSTITUTE_SIZE_SIZE_5001_10000 = 'SIZE_5001_10000';
/**
* 10,001 +
*/
public const INSTITUTE_SIZE_SIZE_10001_OR_MORE = 'SIZE_10001_OR_MORE';
/**
* Not used.
*/
public const INSTITUTE_TYPE_INSTITUTE_TYPE_UNSPECIFIED = 'INSTITUTE_TYPE_UNSPECIFIED';
/**
* Elementary/Secondary Schools & Districts
*/
public const INSTITUTE_TYPE_K12 = 'K12';
/**
* Higher Education Universities & Colleges
*/
public const INSTITUTE_TYPE_UNIVERSITY = 'UNIVERSITY';
/**
* Size of the institute.
*
* @var string
*/
public $instituteSize;
/**
* Designated institute type of customer.
*
* @var string
*/
public $instituteType;
/**
* Web address for the edu customer's institution.
*
* @var string
*/
public $website;
/**
* Size of the institute.
*
* Accepted values: INSTITUTE_SIZE_UNSPECIFIED, SIZE_1_100, SIZE_101_500,
* SIZE_501_1000, SIZE_1001_2000, SIZE_2001_5000, SIZE_5001_10000,
* SIZE_10001_OR_MORE
*
* @param self::INSTITUTE_SIZE_* $instituteSize
*/
public function setInstituteSize($instituteSize)
{
$this->instituteSize = $instituteSize;
}
/**
* @return self::INSTITUTE_SIZE_*
*/
public function getInstituteSize()
{
return $this->instituteSize;
}
/**
* Designated institute type of customer.
*
* Accepted values: INSTITUTE_TYPE_UNSPECIFIED, K12, UNIVERSITY
*
* @param self::INSTITUTE_TYPE_* $instituteType
*/
public function setInstituteType($instituteType)
{
$this->instituteType = $instituteType;
}
/**
* @return self::INSTITUTE_TYPE_*
*/
public function getInstituteType()
{
return $this->instituteType;
}
/**
* Web address for the edu customer's institution.
*
* @param string $website
*/
public function setWebsite($website)
{
$this->website = $website;
}
/**
* @return string
*/
public function getWebsite()
{
return $this->website;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1EduData::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1EduData');
@@ -0,0 +1,358 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Entitlement extends \Google\Collection
{
/**
* Not used.
*/
public const PROVISIONING_STATE_PROVISIONING_STATE_UNSPECIFIED = 'PROVISIONING_STATE_UNSPECIFIED';
/**
* The entitlement is currently active.
*/
public const PROVISIONING_STATE_ACTIVE = 'ACTIVE';
/**
* The entitlement is currently suspended.
*/
public const PROVISIONING_STATE_SUSPENDED = 'SUSPENDED';
protected $collection_key = 'suspensionReasons';
protected $associationInfoType = GoogleCloudChannelV1AssociationInfo::class;
protected $associationInfoDataType = '';
/**
* Optional. The billing account resource name that is used to pay for this
* entitlement.
*
* @var string
*/
public $billingAccount;
protected $commitmentSettingsType = GoogleCloudChannelV1CommitmentSettings::class;
protected $commitmentSettingsDataType = '';
/**
* Output only. The time at which the entitlement is created.
*
* @var string
*/
public $createTime;
/**
* Output only. Resource name of an entitlement in the form: accounts/{account
* _id}/customers/{customer_id}/entitlements/{entitlement_id}.
*
* @var string
*/
public $name;
/**
* Required. The offer resource name for which the entitlement is to be
* created. Takes the form: accounts/{account_id}/offers/{offer_id}.
*
* @var string
*/
public $offer;
protected $parametersType = GoogleCloudChannelV1Parameter::class;
protected $parametersDataType = 'array';
/**
* Optional. Price reference ID for the offer. Only for offers that require
* additional price information. Used to guarantee that the pricing is
* consistent between quoting the offer and placing the order.
*
* @var string
*/
public $priceReferenceId;
protected $provisionedServiceType = GoogleCloudChannelV1ProvisionedService::class;
protected $provisionedServiceDataType = '';
/**
* Output only. Current provisioning state of the entitlement.
*
* @var string
*/
public $provisioningState;
/**
* Optional. This purchase order (PO) information is for resellers to use for
* their company tracking usage. If a purchaseOrderId value is given, it
* appears in the API responses and shows up in the invoice. The property
* accepts up to 80 plain text characters. This is only supported for Google
* Workspace entitlements.
*
* @var string
*/
public $purchaseOrderId;
/**
* Output only. Enumerable of all current suspension reasons for an
* entitlement.
*
* @var string[]
*/
public $suspensionReasons;
protected $trialSettingsType = GoogleCloudChannelV1TrialSettings::class;
protected $trialSettingsDataType = '';
/**
* Output only. The time at which the entitlement is updated.
*
* @var string
*/
public $updateTime;
/**
* Association information to other entitlements.
*
* @param GoogleCloudChannelV1AssociationInfo $associationInfo
*/
public function setAssociationInfo(GoogleCloudChannelV1AssociationInfo $associationInfo)
{
$this->associationInfo = $associationInfo;
}
/**
* @return GoogleCloudChannelV1AssociationInfo
*/
public function getAssociationInfo()
{
return $this->associationInfo;
}
/**
* Optional. The billing account resource name that is used to pay for this
* entitlement.
*
* @param string $billingAccount
*/
public function setBillingAccount($billingAccount)
{
$this->billingAccount = $billingAccount;
}
/**
* @return string
*/
public function getBillingAccount()
{
return $this->billingAccount;
}
/**
* Commitment settings for a commitment-based Offer. Required for commitment
* based offers.
*
* @param GoogleCloudChannelV1CommitmentSettings $commitmentSettings
*/
public function setCommitmentSettings(GoogleCloudChannelV1CommitmentSettings $commitmentSettings)
{
$this->commitmentSettings = $commitmentSettings;
}
/**
* @return GoogleCloudChannelV1CommitmentSettings
*/
public function getCommitmentSettings()
{
return $this->commitmentSettings;
}
/**
* Output only. The time at which the entitlement is created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. Resource name of an entitlement in the form: accounts/{account
* _id}/customers/{customer_id}/entitlements/{entitlement_id}.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The offer resource name for which the entitlement is to be
* created. Takes the form: accounts/{account_id}/offers/{offer_id}.
*
* @param string $offer
*/
public function setOffer($offer)
{
$this->offer = $offer;
}
/**
* @return string
*/
public function getOffer()
{
return $this->offer;
}
/**
* Extended entitlement parameters. When creating an entitlement, valid
* parameter names and values are defined in the Offer.parameter_definitions.
* For Google Workspace, the following Parameters may be accepted as input: -
* max_units: The maximum assignable units for a flexible offer OR -
* num_units: The total commitment for commitment-based offers The response
* may additionally include the following output-only Parameters: -
* assigned_units: The number of licenses assigned to users. For Google Cloud
* billing subaccounts, the following Parameter may be accepted as input: -
* display_name: The display name of the billing subaccount.
*
* @param GoogleCloudChannelV1Parameter[] $parameters
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return GoogleCloudChannelV1Parameter[]
*/
public function getParameters()
{
return $this->parameters;
}
/**
* Optional. Price reference ID for the offer. Only for offers that require
* additional price information. Used to guarantee that the pricing is
* consistent between quoting the offer and placing the order.
*
* @param string $priceReferenceId
*/
public function setPriceReferenceId($priceReferenceId)
{
$this->priceReferenceId = $priceReferenceId;
}
/**
* @return string
*/
public function getPriceReferenceId()
{
return $this->priceReferenceId;
}
/**
* Output only. Service provisioning details for the entitlement.
*
* @param GoogleCloudChannelV1ProvisionedService $provisionedService
*/
public function setProvisionedService(GoogleCloudChannelV1ProvisionedService $provisionedService)
{
$this->provisionedService = $provisionedService;
}
/**
* @return GoogleCloudChannelV1ProvisionedService
*/
public function getProvisionedService()
{
return $this->provisionedService;
}
/**
* Output only. Current provisioning state of the entitlement.
*
* Accepted values: PROVISIONING_STATE_UNSPECIFIED, ACTIVE, SUSPENDED
*
* @param self::PROVISIONING_STATE_* $provisioningState
*/
public function setProvisioningState($provisioningState)
{
$this->provisioningState = $provisioningState;
}
/**
* @return self::PROVISIONING_STATE_*
*/
public function getProvisioningState()
{
return $this->provisioningState;
}
/**
* Optional. This purchase order (PO) information is for resellers to use for
* their company tracking usage. If a purchaseOrderId value is given, it
* appears in the API responses and shows up in the invoice. The property
* accepts up to 80 plain text characters. This is only supported for Google
* Workspace entitlements.
*
* @param string $purchaseOrderId
*/
public function setPurchaseOrderId($purchaseOrderId)
{
$this->purchaseOrderId = $purchaseOrderId;
}
/**
* @return string
*/
public function getPurchaseOrderId()
{
return $this->purchaseOrderId;
}
/**
* Output only. Enumerable of all current suspension reasons for an
* entitlement.
*
* @param string[] $suspensionReasons
*/
public function setSuspensionReasons($suspensionReasons)
{
$this->suspensionReasons = $suspensionReasons;
}
/**
* @return string[]
*/
public function getSuspensionReasons()
{
return $this->suspensionReasons;
}
/**
* Output only. Settings for trial offers.
*
* @param GoogleCloudChannelV1TrialSettings $trialSettings
*/
public function setTrialSettings(GoogleCloudChannelV1TrialSettings $trialSettings)
{
$this->trialSettings = $trialSettings;
}
/**
* @return GoogleCloudChannelV1TrialSettings
*/
public function getTrialSettings()
{
return $this->trialSettings;
}
/**
* Output only. The time at which the entitlement is 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(GoogleCloudChannelV1Entitlement::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Entitlement');
@@ -0,0 +1,456 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1EntitlementChange extends \Google\Collection
{
/**
* Not used.
*/
public const ACTIVATION_REASON_ACTIVATION_REASON_UNSPECIFIED = 'ACTIVATION_REASON_UNSPECIFIED';
/**
* Reseller reactivated a suspended Entitlement.
*/
public const ACTIVATION_REASON_RESELLER_REVOKED_SUSPENSION = 'RESELLER_REVOKED_SUSPENSION';
/**
* Customer accepted pending terms of service.
*/
public const ACTIVATION_REASON_CUSTOMER_ACCEPTED_PENDING_TOS = 'CUSTOMER_ACCEPTED_PENDING_TOS';
/**
* Reseller updated the renewal settings on an entitlement that was suspended
* due to cancellation, and this update reactivated the entitlement.
*/
public const ACTIVATION_REASON_RENEWAL_SETTINGS_CHANGED = 'RENEWAL_SETTINGS_CHANGED';
/**
* Other reasons (Activated temporarily for cancellation, added a payment plan
* to a trial entitlement, etc.)
*/
public const ACTIVATION_REASON_OTHER_ACTIVATION_REASON = 'OTHER_ACTIVATION_REASON';
/**
* Not used.
*/
public const CANCELLATION_REASON_CANCELLATION_REASON_UNSPECIFIED = 'CANCELLATION_REASON_UNSPECIFIED';
/**
* Reseller triggered a cancellation of the service.
*/
public const CANCELLATION_REASON_SERVICE_TERMINATED = 'SERVICE_TERMINATED';
/**
* Relationship between the reseller and customer has ended due to a transfer.
*/
public const CANCELLATION_REASON_RELATIONSHIP_ENDED = 'RELATIONSHIP_ENDED';
/**
* Entitlement transferred away from reseller while still keeping other
* entitlement(s) with the reseller.
*/
public const CANCELLATION_REASON_PARTIAL_TRANSFER = 'PARTIAL_TRANSFER';
/**
* Not used.
*/
public const CHANGE_TYPE_CHANGE_TYPE_UNSPECIFIED = 'CHANGE_TYPE_UNSPECIFIED';
/**
* New Entitlement was created.
*/
public const CHANGE_TYPE_CREATED = 'CREATED';
/**
* Price plan associated with an Entitlement was changed.
*/
public const CHANGE_TYPE_PRICE_PLAN_SWITCHED = 'PRICE_PLAN_SWITCHED';
/**
* Number of seats committed for a commitment Entitlement was changed.
*/
public const CHANGE_TYPE_COMMITMENT_CHANGED = 'COMMITMENT_CHANGED';
/**
* An annual Entitlement was renewed.
*/
public const CHANGE_TYPE_RENEWED = 'RENEWED';
/**
* Entitlement was suspended.
*/
public const CHANGE_TYPE_SUSPENDED = 'SUSPENDED';
/**
* Entitlement was activated.
*/
public const CHANGE_TYPE_ACTIVATED = 'ACTIVATED';
/**
* Entitlement was cancelled.
*/
public const CHANGE_TYPE_CANCELLED = 'CANCELLED';
/**
* Entitlement was upgraded or downgraded for ex. from Google Workspace
* Business Standard to Google Workspace Business Plus.
*/
public const CHANGE_TYPE_SKU_CHANGED = 'SKU_CHANGED';
/**
* The settings for renewal of an Entitlement have changed.
*/
public const CHANGE_TYPE_RENEWAL_SETTING_CHANGED = 'RENEWAL_SETTING_CHANGED';
/**
* Use for Google Workspace subscription. Either a trial was converted to a
* paid subscription or a new subscription with no trial is created.
*/
public const CHANGE_TYPE_PAID_SUBSCRIPTION_STARTED = 'PAID_SUBSCRIPTION_STARTED';
/**
* License cap was changed for the entitlement.
*/
public const CHANGE_TYPE_LICENSE_CAP_CHANGED = 'LICENSE_CAP_CHANGED';
/**
* The suspension details have changed (but it is still suspended).
*/
public const CHANGE_TYPE_SUSPENSION_DETAILS_CHANGED = 'SUSPENSION_DETAILS_CHANGED';
/**
* The trial end date was extended.
*/
public const CHANGE_TYPE_TRIAL_END_DATE_EXTENDED = 'TRIAL_END_DATE_EXTENDED';
/**
* Entitlement started trial.
*/
public const CHANGE_TYPE_TRIAL_STARTED = 'TRIAL_STARTED';
/**
* Not used.
*/
public const OPERATOR_TYPE_OPERATOR_TYPE_UNSPECIFIED = 'OPERATOR_TYPE_UNSPECIFIED';
/**
* Customer service representative.
*/
public const OPERATOR_TYPE_CUSTOMER_SERVICE_REPRESENTATIVE = 'CUSTOMER_SERVICE_REPRESENTATIVE';
/**
* System auto job.
*/
public const OPERATOR_TYPE_SYSTEM = 'SYSTEM';
/**
* Customer user.
*/
public const OPERATOR_TYPE_CUSTOMER = 'CUSTOMER';
/**
* Reseller user.
*/
public const OPERATOR_TYPE_RESELLER = 'RESELLER';
/**
* Not used.
*/
public const SUSPENSION_REASON_SUSPENSION_REASON_UNSPECIFIED = 'SUSPENSION_REASON_UNSPECIFIED';
/**
* Entitlement was manually suspended by the Reseller.
*/
public const SUSPENSION_REASON_RESELLER_INITIATED = 'RESELLER_INITIATED';
/**
* Trial ended.
*/
public const SUSPENSION_REASON_TRIAL_ENDED = 'TRIAL_ENDED';
/**
* Entitlement renewal was canceled.
*/
public const SUSPENSION_REASON_RENEWAL_WITH_TYPE_CANCEL = 'RENEWAL_WITH_TYPE_CANCEL';
/**
* Entitlement was automatically suspended on creation for pending ToS
* acceptance on customer.
*/
public const SUSPENSION_REASON_PENDING_TOS_ACCEPTANCE = 'PENDING_TOS_ACCEPTANCE';
/**
* Other reasons (internal reasons, abuse, etc.).
*/
public const SUSPENSION_REASON_OTHER = 'OTHER';
protected $collection_key = 'parameters';
/**
* The Entitlement's activation reason
*
* @var string
*/
public $activationReason;
/**
* Cancellation reason for the Entitlement.
*
* @var string
*/
public $cancellationReason;
/**
* The change action type.
*
* @var string
*/
public $changeType;
/**
* The submitted time of the change.
*
* @var string
*/
public $createTime;
/**
* Required. Resource name of an entitlement in the form:
* accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
*
* @var string
*/
public $entitlement;
/**
* Required. Resource name of the Offer at the time of change. Takes the form:
* accounts/{account_id}/offers/{offer_id}.
*
* @var string
*/
public $offer;
/**
* Human-readable identifier that shows what operator made a change. When the
* operator_type is RESELLER, this is the user's email address. For all other
* operator types, this is empty.
*
* @var string
*/
public $operator;
/**
* Operator type responsible for the change.
*
* @var string
*/
public $operatorType;
/**
* e.g. purchase_number change reason, entered by CRS.
*
* @var string
*/
public $otherChangeReason;
protected $parametersType = GoogleCloudChannelV1Parameter::class;
protected $parametersDataType = 'array';
protected $provisionedServiceType = GoogleCloudChannelV1ProvisionedService::class;
protected $provisionedServiceDataType = '';
/**
* Suspension reason for the Entitlement.
*
* @var string
*/
public $suspensionReason;
/**
* The Entitlement's activation reason
*
* Accepted values: ACTIVATION_REASON_UNSPECIFIED,
* RESELLER_REVOKED_SUSPENSION, CUSTOMER_ACCEPTED_PENDING_TOS,
* RENEWAL_SETTINGS_CHANGED, OTHER_ACTIVATION_REASON
*
* @param self::ACTIVATION_REASON_* $activationReason
*/
public function setActivationReason($activationReason)
{
$this->activationReason = $activationReason;
}
/**
* @return self::ACTIVATION_REASON_*
*/
public function getActivationReason()
{
return $this->activationReason;
}
/**
* Cancellation reason for the Entitlement.
*
* Accepted values: CANCELLATION_REASON_UNSPECIFIED, SERVICE_TERMINATED,
* RELATIONSHIP_ENDED, PARTIAL_TRANSFER
*
* @param self::CANCELLATION_REASON_* $cancellationReason
*/
public function setCancellationReason($cancellationReason)
{
$this->cancellationReason = $cancellationReason;
}
/**
* @return self::CANCELLATION_REASON_*
*/
public function getCancellationReason()
{
return $this->cancellationReason;
}
/**
* The change action type.
*
* Accepted values: CHANGE_TYPE_UNSPECIFIED, CREATED, PRICE_PLAN_SWITCHED,
* COMMITMENT_CHANGED, RENEWED, SUSPENDED, ACTIVATED, CANCELLED, SKU_CHANGED,
* RENEWAL_SETTING_CHANGED, PAID_SUBSCRIPTION_STARTED, LICENSE_CAP_CHANGED,
* SUSPENSION_DETAILS_CHANGED, TRIAL_END_DATE_EXTENDED, TRIAL_STARTED
*
* @param self::CHANGE_TYPE_* $changeType
*/
public function setChangeType($changeType)
{
$this->changeType = $changeType;
}
/**
* @return self::CHANGE_TYPE_*
*/
public function getChangeType()
{
return $this->changeType;
}
/**
* The submitted time of the change.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. Resource name of an entitlement in the form:
* accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
*
* @param string $entitlement
*/
public function setEntitlement($entitlement)
{
$this->entitlement = $entitlement;
}
/**
* @return string
*/
public function getEntitlement()
{
return $this->entitlement;
}
/**
* Required. Resource name of the Offer at the time of change. Takes the form:
* accounts/{account_id}/offers/{offer_id}.
*
* @param string $offer
*/
public function setOffer($offer)
{
$this->offer = $offer;
}
/**
* @return string
*/
public function getOffer()
{
return $this->offer;
}
/**
* Human-readable identifier that shows what operator made a change. When the
* operator_type is RESELLER, this is the user's email address. For all other
* operator types, this is empty.
*
* @param string $operator
*/
public function setOperator($operator)
{
$this->operator = $operator;
}
/**
* @return string
*/
public function getOperator()
{
return $this->operator;
}
/**
* Operator type responsible for the change.
*
* Accepted values: OPERATOR_TYPE_UNSPECIFIED,
* CUSTOMER_SERVICE_REPRESENTATIVE, SYSTEM, CUSTOMER, RESELLER
*
* @param self::OPERATOR_TYPE_* $operatorType
*/
public function setOperatorType($operatorType)
{
$this->operatorType = $operatorType;
}
/**
* @return self::OPERATOR_TYPE_*
*/
public function getOperatorType()
{
return $this->operatorType;
}
/**
* e.g. purchase_number change reason, entered by CRS.
*
* @param string $otherChangeReason
*/
public function setOtherChangeReason($otherChangeReason)
{
$this->otherChangeReason = $otherChangeReason;
}
/**
* @return string
*/
public function getOtherChangeReason()
{
return $this->otherChangeReason;
}
/**
* Extended parameters, such as: purchase_order_number, gcp_details;
* internal_correlation_id, long_running_operation_id, order_id; etc.
*
* @param GoogleCloudChannelV1Parameter[] $parameters
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return GoogleCloudChannelV1Parameter[]
*/
public function getParameters()
{
return $this->parameters;
}
/**
* Service provisioned for an Entitlement.
*
* @param GoogleCloudChannelV1ProvisionedService $provisionedService
*/
public function setProvisionedService(GoogleCloudChannelV1ProvisionedService $provisionedService)
{
$this->provisionedService = $provisionedService;
}
/**
* @return GoogleCloudChannelV1ProvisionedService
*/
public function getProvisionedService()
{
return $this->provisionedService;
}
/**
* Suspension reason for the Entitlement.
*
* Accepted values: SUSPENSION_REASON_UNSPECIFIED, RESELLER_INITIATED,
* TRIAL_ENDED, RENEWAL_WITH_TYPE_CANCEL, PENDING_TOS_ACCEPTANCE, OTHER
*
* @param self::SUSPENSION_REASON_* $suspensionReason
*/
public function setSuspensionReason($suspensionReason)
{
$this->suspensionReason = $suspensionReason;
}
/**
* @return self::SUSPENSION_REASON_*
*/
public function getSuspensionReason()
{
return $this->suspensionReason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1EntitlementChange::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1EntitlementChange');
@@ -0,0 +1,132 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1EntitlementEvent extends \Google\Model
{
/**
* Not used.
*/
public const EVENT_TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* A new entitlement was created.
*/
public const EVENT_TYPE_CREATED = 'CREATED';
/**
* The offer type associated with an entitlement was changed. This is not
* triggered if an entitlement converts from a commit offer to a flexible
* offer as part of a renewal.
*/
public const EVENT_TYPE_PRICE_PLAN_SWITCHED = 'PRICE_PLAN_SWITCHED';
/**
* Annual commitment for a commit plan was changed.
*/
public const EVENT_TYPE_COMMITMENT_CHANGED = 'COMMITMENT_CHANGED';
/**
* An annual entitlement was renewed.
*/
public const EVENT_TYPE_RENEWED = 'RENEWED';
/**
* Entitlement was suspended.
*/
public const EVENT_TYPE_SUSPENDED = 'SUSPENDED';
/**
* Entitlement was unsuspended.
*/
public const EVENT_TYPE_ACTIVATED = 'ACTIVATED';
/**
* Entitlement was cancelled.
*/
public const EVENT_TYPE_CANCELLED = 'CANCELLED';
/**
* Entitlement was upgraded or downgraded (e.g. from Google Workspace Business
* Standard to Google Workspace Business Plus).
*/
public const EVENT_TYPE_SKU_CHANGED = 'SKU_CHANGED';
/**
* The renewal settings of an entitlement has changed.
*/
public const EVENT_TYPE_RENEWAL_SETTING_CHANGED = 'RENEWAL_SETTING_CHANGED';
/**
* Paid service has started on trial entitlement.
*/
public const EVENT_TYPE_PAID_SERVICE_STARTED = 'PAID_SERVICE_STARTED';
/**
* License was assigned to or revoked from a user.
*/
public const EVENT_TYPE_LICENSE_ASSIGNMENT_CHANGED = 'LICENSE_ASSIGNMENT_CHANGED';
/**
* License cap was changed for the entitlement.
*/
public const EVENT_TYPE_LICENSE_CAP_CHANGED = 'LICENSE_CAP_CHANGED';
/**
* Resource name of an entitlement of the form:
* accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
*
* @var string
*/
public $entitlement;
/**
* Type of event which happened for the entitlement.
*
* @var string
*/
public $eventType;
/**
* Resource name of an entitlement of the form:
* accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
*
* @param string $entitlement
*/
public function setEntitlement($entitlement)
{
$this->entitlement = $entitlement;
}
/**
* @return string
*/
public function getEntitlement()
{
return $this->entitlement;
}
/**
* Type of event which happened for the entitlement.
*
* Accepted values: TYPE_UNSPECIFIED, CREATED, PRICE_PLAN_SWITCHED,
* COMMITMENT_CHANGED, RENEWED, SUSPENDED, ACTIVATED, CANCELLED, SKU_CHANGED,
* RENEWAL_SETTING_CHANGED, PAID_SERVICE_STARTED, LICENSE_ASSIGNMENT_CHANGED,
* LICENSE_CAP_CHANGED
*
* @param self::EVENT_TYPE_* $eventType
*/
public function setEventType($eventType)
{
$this->eventType = $eventType;
}
/**
* @return self::EVENT_TYPE_*
*/
public function getEventType()
{
return $this->eventType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1EntitlementEvent::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1EntitlementEvent');
@@ -0,0 +1,105 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1FetchReportResultsRequest extends \Google\Collection
{
protected $collection_key = 'partitionKeys';
/**
* Optional. Requested page size of the report. The server may return fewer
* results than requested. If you don't specify a page size, the server uses a
* sensible default (may change over time). The maximum value is 30,000; the
* server will change larger values to 30,000.
*
* @var int
*/
public $pageSize;
/**
* Optional. A token that specifies a page of results beyond the first page.
* Obtained through FetchReportResultsResponse.next_page_token of the previous
* CloudChannelReportsService.FetchReportResults call.
*
* @var string
*/
public $pageToken;
/**
* Optional. List of keys specifying which report partitions to return. If
* empty, returns all partitions.
*
* @var string[]
*/
public $partitionKeys;
/**
* Optional. Requested page size of the report. The server may return fewer
* results than requested. If you don't specify a page size, the server uses a
* sensible default (may change over time). The maximum value is 30,000; the
* server will change larger values to 30,000.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Optional. A token that specifies a page of results beyond the first page.
* Obtained through FetchReportResultsResponse.next_page_token of the previous
* CloudChannelReportsService.FetchReportResults call.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Optional. List of keys specifying which report partitions to return. If
* empty, returns all partitions.
*
* @param string[] $partitionKeys
*/
public function setPartitionKeys($partitionKeys)
{
$this->partitionKeys = $partitionKeys;
}
/**
* @return string[]
*/
public function getPartitionKeys()
{
return $this->partitionKeys;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1FetchReportResultsRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1FetchReportResultsRequest');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1FetchReportResultsResponse extends \Google\Collection
{
protected $collection_key = 'rows';
/**
* Pass this token to FetchReportResultsRequest.page_token to retrieve the
* next page of results.
*
* @var string
*/
public $nextPageToken;
protected $reportMetadataType = GoogleCloudChannelV1ReportResultsMetadata::class;
protected $reportMetadataDataType = '';
protected $rowsType = GoogleCloudChannelV1Row::class;
protected $rowsDataType = 'array';
/**
* Pass this token to FetchReportResultsRequest.page_token to retrieve the
* next page of results.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The metadata for the report results (display name, columns, row count, and
* date ranges).
*
* @param GoogleCloudChannelV1ReportResultsMetadata $reportMetadata
*/
public function setReportMetadata(GoogleCloudChannelV1ReportResultsMetadata $reportMetadata)
{
$this->reportMetadata = $reportMetadata;
}
/**
* @return GoogleCloudChannelV1ReportResultsMetadata
*/
public function getReportMetadata()
{
return $this->reportMetadata;
}
/**
* The report's lists of values. Each row follows the settings and ordering of
* the columns from `report_metadata`.
*
* @param GoogleCloudChannelV1Row[] $rows
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return GoogleCloudChannelV1Row[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1FetchReportResultsResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1FetchReportResultsResponse');
@@ -0,0 +1,198 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ImportCustomerRequest extends \Google\Model
{
/**
* Optional. The super admin of the resold customer generates this token to
* authorize a reseller to access their Cloud Identity and purchase
* entitlements on their behalf. You can omit this token after authorization.
* See https://support.google.com/a/answer/7643790 for more details.
*
* @var string
*/
public $authToken;
/**
* Optional. Cloud Identity ID of a channel partner who will be the direct
* reseller for the customer's order. This field is required for 2-tier
* transfer scenarios and can be provided via the request Parent binding as
* well.
*
* @var string
*/
public $channelPartnerId;
/**
* Required. Customer's Cloud Identity ID
*
* @var string
*/
public $cloudIdentityId;
/**
* Optional. Specifies the customer that will receive imported Cloud Identity
* information. Format: accounts/{account_id}/customers/{customer_id}
*
* @var string
*/
public $customer;
/**
* Required. Customer domain.
*
* @var string
*/
public $domain;
/**
* Required. Choose to overwrite an existing customer if found. This must be
* set to true if there is an existing customer with a conflicting region code
* or domain.
*
* @var bool
*/
public $overwriteIfExists;
/**
* Required. Customer's primary admin email.
*
* @var string
*/
public $primaryAdminEmail;
/**
* Optional. The super admin of the resold customer generates this token to
* authorize a reseller to access their Cloud Identity and purchase
* entitlements on their behalf. You can omit this token after authorization.
* See https://support.google.com/a/answer/7643790 for more details.
*
* @param string $authToken
*/
public function setAuthToken($authToken)
{
$this->authToken = $authToken;
}
/**
* @return string
*/
public function getAuthToken()
{
return $this->authToken;
}
/**
* Optional. Cloud Identity ID of a channel partner who will be the direct
* reseller for the customer's order. This field is required for 2-tier
* transfer scenarios and can be provided via the request Parent binding as
* well.
*
* @param string $channelPartnerId
*/
public function setChannelPartnerId($channelPartnerId)
{
$this->channelPartnerId = $channelPartnerId;
}
/**
* @return string
*/
public function getChannelPartnerId()
{
return $this->channelPartnerId;
}
/**
* Required. Customer's Cloud Identity ID
*
* @param string $cloudIdentityId
*/
public function setCloudIdentityId($cloudIdentityId)
{
$this->cloudIdentityId = $cloudIdentityId;
}
/**
* @return string
*/
public function getCloudIdentityId()
{
return $this->cloudIdentityId;
}
/**
* Optional. Specifies the customer that will receive imported Cloud Identity
* information. Format: accounts/{account_id}/customers/{customer_id}
*
* @param string $customer
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* Required. Customer domain.
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* Required. Choose to overwrite an existing customer if found. This must be
* set to true if there is an existing customer with a conflicting region code
* or domain.
*
* @param bool $overwriteIfExists
*/
public function setOverwriteIfExists($overwriteIfExists)
{
$this->overwriteIfExists = $overwriteIfExists;
}
/**
* @return bool
*/
public function getOverwriteIfExists()
{
return $this->overwriteIfExists;
}
/**
* Required. Customer's primary admin email.
*
* @param string $primaryAdminEmail
*/
public function setPrimaryAdminEmail($primaryAdminEmail)
{
$this->primaryAdminEmail = $primaryAdminEmail;
}
/**
* @return string
*/
public function getPrimaryAdminEmail()
{
return $this->primaryAdminEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ImportCustomerRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ImportCustomerRequest');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListChannelPartnerLinksResponse extends \Google\Collection
{
protected $collection_key = 'channelPartnerLinks';
protected $channelPartnerLinksType = GoogleCloudChannelV1ChannelPartnerLink::class;
protected $channelPartnerLinksDataType = 'array';
/**
* A token to retrieve the next page of results. Pass to
* ListChannelPartnerLinksRequest.page_token to obtain that page.
*
* @var string
*/
public $nextPageToken;
/**
* The Channel partner links for a reseller.
*
* @param GoogleCloudChannelV1ChannelPartnerLink[] $channelPartnerLinks
*/
public function setChannelPartnerLinks($channelPartnerLinks)
{
$this->channelPartnerLinks = $channelPartnerLinks;
}
/**
* @return GoogleCloudChannelV1ChannelPartnerLink[]
*/
public function getChannelPartnerLinks()
{
return $this->channelPartnerLinks;
}
/**
* A token to retrieve the next page of results. Pass to
* ListChannelPartnerLinksRequest.page_token to obtain that page.
*
* @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(GoogleCloudChannelV1ListChannelPartnerLinksResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListChannelPartnerLinksResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse extends \Google\Collection
{
protected $collection_key = 'channelPartnerRepricingConfigs';
protected $channelPartnerRepricingConfigsType = GoogleCloudChannelV1ChannelPartnerRepricingConfig::class;
protected $channelPartnerRepricingConfigsDataType = 'array';
/**
* A token to retrieve the next page of results. Pass to
* ListChannelPartnerRepricingConfigsRequest.page_token to obtain that page.
*
* @var string
*/
public $nextPageToken;
/**
* The repricing configs for this channel partner.
*
* @param GoogleCloudChannelV1ChannelPartnerRepricingConfig[] $channelPartnerRepricingConfigs
*/
public function setChannelPartnerRepricingConfigs($channelPartnerRepricingConfigs)
{
$this->channelPartnerRepricingConfigs = $channelPartnerRepricingConfigs;
}
/**
* @return GoogleCloudChannelV1ChannelPartnerRepricingConfig[]
*/
public function getChannelPartnerRepricingConfigs()
{
return $this->channelPartnerRepricingConfigs;
}
/**
* A token to retrieve the next page of results. Pass to
* ListChannelPartnerRepricingConfigsRequest.page_token to obtain that page.
*
* @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(GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListCustomerRepricingConfigsResponse extends \Google\Collection
{
protected $collection_key = 'customerRepricingConfigs';
protected $customerRepricingConfigsType = GoogleCloudChannelV1CustomerRepricingConfig::class;
protected $customerRepricingConfigsDataType = 'array';
/**
* A token to retrieve the next page of results. Pass to
* ListCustomerRepricingConfigsRequest.page_token to obtain that page.
*
* @var string
*/
public $nextPageToken;
/**
* The repricing configs for this channel partner.
*
* @param GoogleCloudChannelV1CustomerRepricingConfig[] $customerRepricingConfigs
*/
public function setCustomerRepricingConfigs($customerRepricingConfigs)
{
$this->customerRepricingConfigs = $customerRepricingConfigs;
}
/**
* @return GoogleCloudChannelV1CustomerRepricingConfig[]
*/
public function getCustomerRepricingConfigs()
{
return $this->customerRepricingConfigs;
}
/**
* A token to retrieve the next page of results. Pass to
* ListCustomerRepricingConfigsRequest.page_token to obtain that page.
*
* @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(GoogleCloudChannelV1ListCustomerRepricingConfigsResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListCustomerRepricingConfigsResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListCustomersResponse extends \Google\Collection
{
protected $collection_key = 'customers';
protected $customersType = GoogleCloudChannelV1Customer::class;
protected $customersDataType = 'array';
/**
* A token to retrieve the next page of results. Pass to
* ListCustomersRequest.page_token to obtain that page.
*
* @var string
*/
public $nextPageToken;
/**
* The customers belonging to a reseller or distributor.
*
* @param GoogleCloudChannelV1Customer[] $customers
*/
public function setCustomers($customers)
{
$this->customers = $customers;
}
/**
* @return GoogleCloudChannelV1Customer[]
*/
public function getCustomers()
{
return $this->customers;
}
/**
* A token to retrieve the next page of results. Pass to
* ListCustomersRequest.page_token to obtain that page.
*
* @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(GoogleCloudChannelV1ListCustomersResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListCustomersResponse');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1ListEntitlementChangesResponse extends \Google\Collection
{
protected $collection_key = 'entitlementChanges';
protected $entitlementChangesType = GoogleCloudChannelV1EntitlementChange::class;
protected $entitlementChangesDataType = 'array';
/**
* A token to list the next page of results.
*
* @var string
*/
public $nextPageToken;
/**
* The list of entitlement changes.
*
* @param GoogleCloudChannelV1EntitlementChange[] $entitlementChanges
*/
public function setEntitlementChanges($entitlementChanges)
{
$this->entitlementChanges = $entitlementChanges;
}
/**
* @return GoogleCloudChannelV1EntitlementChange[]
*/
public function getEntitlementChanges()
{
return $this->entitlementChanges;
}
/**
* A token to list the next page of results.
*
* @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(GoogleCloudChannelV1ListEntitlementChangesResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListEntitlementChangesResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListEntitlementsResponse extends \Google\Collection
{
protected $collection_key = 'entitlements';
protected $entitlementsType = GoogleCloudChannelV1Entitlement::class;
protected $entitlementsDataType = 'array';
/**
* A token to list the next page of results. Pass to
* ListEntitlementsRequest.page_token to obtain that page.
*
* @var string
*/
public $nextPageToken;
/**
* The reseller customer's entitlements.
*
* @param GoogleCloudChannelV1Entitlement[] $entitlements
*/
public function setEntitlements($entitlements)
{
$this->entitlements = $entitlements;
}
/**
* @return GoogleCloudChannelV1Entitlement[]
*/
public function getEntitlements()
{
return $this->entitlements;
}
/**
* A token to list the next page of results. Pass to
* ListEntitlementsRequest.page_token to obtain that page.
*
* @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(GoogleCloudChannelV1ListEntitlementsResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListEntitlementsResponse');
@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListOffersResponse extends \Google\Collection
{
protected $collection_key = 'offers';
/**
* A token to retrieve the next page of results.
*
* @var string
*/
public $nextPageToken;
protected $offersType = GoogleCloudChannelV1Offer::class;
protected $offersDataType = 'array';
/**
* A token to retrieve the next page of results.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of Offers requested. The pricing information for each Offer only
* includes the base price. Effective prices and discounts aren't populated.
*
* @param GoogleCloudChannelV1Offer[] $offers
*/
public function setOffers($offers)
{
$this->offers = $offers;
}
/**
* @return GoogleCloudChannelV1Offer[]
*/
public function getOffers()
{
return $this->offers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListOffersResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListOffersResponse');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1ListProductsResponse extends \Google\Collection
{
protected $collection_key = 'products';
/**
* A token to retrieve the next page of results.
*
* @var string
*/
public $nextPageToken;
protected $productsType = GoogleCloudChannelV1Product::class;
protected $productsDataType = 'array';
/**
* A token to retrieve the next page of results.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* List of Products requested.
*
* @param GoogleCloudChannelV1Product[] $products
*/
public function setProducts($products)
{
$this->products = $products;
}
/**
* @return GoogleCloudChannelV1Product[]
*/
public function getProducts()
{
return $this->products;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListProductsResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListProductsResponse');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1ListPurchasableOffersResponse extends \Google\Collection
{
protected $collection_key = 'purchasableOffers';
/**
* A token to retrieve the next page of results.
*
* @var string
*/
public $nextPageToken;
protected $purchasableOffersType = GoogleCloudChannelV1PurchasableOffer::class;
protected $purchasableOffersDataType = 'array';
/**
* A token to retrieve the next page of results.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of Offers requested.
*
* @param GoogleCloudChannelV1PurchasableOffer[] $purchasableOffers
*/
public function setPurchasableOffers($purchasableOffers)
{
$this->purchasableOffers = $purchasableOffers;
}
/**
* @return GoogleCloudChannelV1PurchasableOffer[]
*/
public function getPurchasableOffers()
{
return $this->purchasableOffers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListPurchasableOffersResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListPurchasableOffersResponse');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1ListPurchasableSkusResponse extends \Google\Collection
{
protected $collection_key = 'purchasableSkus';
/**
* A token to retrieve the next page of results.
*
* @var string
*/
public $nextPageToken;
protected $purchasableSkusType = GoogleCloudChannelV1PurchasableSku::class;
protected $purchasableSkusDataType = 'array';
/**
* A token to retrieve the next page of results.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of SKUs requested.
*
* @param GoogleCloudChannelV1PurchasableSku[] $purchasableSkus
*/
public function setPurchasableSkus($purchasableSkus)
{
$this->purchasableSkus = $purchasableSkus;
}
/**
* @return GoogleCloudChannelV1PurchasableSku[]
*/
public function getPurchasableSkus()
{
return $this->purchasableSkus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListPurchasableSkusResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListPurchasableSkusResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListReportsResponse extends \Google\Collection
{
protected $collection_key = 'reports';
/**
* Pass this token to FetchReportResultsRequest.page_token to retrieve the
* next page of results.
*
* @var string
*/
public $nextPageToken;
protected $reportsType = GoogleCloudChannelV1Report::class;
protected $reportsDataType = 'array';
/**
* Pass this token to FetchReportResultsRequest.page_token to retrieve the
* next page of results.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The reports available to the partner.
*
* @param GoogleCloudChannelV1Report[] $reports
*/
public function setReports($reports)
{
$this->reports = $reports;
}
/**
* @return GoogleCloudChannelV1Report[]
*/
public function getReports()
{
return $this->reports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListReportsResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListReportsResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListSkuGroupBillableSkusResponse extends \Google\Collection
{
protected $collection_key = 'billableSkus';
protected $billableSkusType = GoogleCloudChannelV1BillableSku::class;
protected $billableSkusDataType = 'array';
/**
* A token to retrieve the next page of results. Pass to
* ListSkuGroupBillableSkusRequest.page_token to obtain that page.
*
* @var string
*/
public $nextPageToken;
/**
* The list of billable SKUs in the requested SKU group.
*
* @param GoogleCloudChannelV1BillableSku[] $billableSkus
*/
public function setBillableSkus($billableSkus)
{
$this->billableSkus = $billableSkus;
}
/**
* @return GoogleCloudChannelV1BillableSku[]
*/
public function getBillableSkus()
{
return $this->billableSkus;
}
/**
* A token to retrieve the next page of results. Pass to
* ListSkuGroupBillableSkusRequest.page_token to obtain that page.
*
* @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(GoogleCloudChannelV1ListSkuGroupBillableSkusResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListSkuGroupBillableSkusResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListSkuGroupsResponse extends \Google\Collection
{
protected $collection_key = 'skuGroups';
/**
* A token to retrieve the next page of results. Pass to
* ListSkuGroupsRequest.page_token to obtain that page.
*
* @var string
*/
public $nextPageToken;
protected $skuGroupsType = GoogleCloudChannelV1SkuGroup::class;
protected $skuGroupsDataType = 'array';
/**
* A token to retrieve the next page of results. Pass to
* ListSkuGroupsRequest.page_token to obtain that page.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of SKU groups requested.
*
* @param GoogleCloudChannelV1SkuGroup[] $skuGroups
*/
public function setSkuGroups($skuGroups)
{
$this->skuGroups = $skuGroups;
}
/**
* @return GoogleCloudChannelV1SkuGroup[]
*/
public function getSkuGroups()
{
return $this->skuGroups;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListSkuGroupsResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListSkuGroupsResponse');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1ListSkusResponse extends \Google\Collection
{
protected $collection_key = 'skus';
/**
* A token to retrieve the next page of results.
*
* @var string
*/
public $nextPageToken;
protected $skusType = GoogleCloudChannelV1Sku::class;
protected $skusDataType = 'array';
/**
* A token to retrieve the next page of results.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of SKUs requested.
*
* @param GoogleCloudChannelV1Sku[] $skus
*/
public function setSkus($skus)
{
$this->skus = $skus;
}
/**
* @return GoogleCloudChannelV1Sku[]
*/
public function getSkus()
{
return $this->skus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListSkusResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListSkusResponse');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1ListSubscribersResponse extends \Google\Collection
{
protected $collection_key = 'serviceAccounts';
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* List of service accounts which have subscriber access to the topic.
*
* @var string[]
*/
public $serviceAccounts;
/**
* Name of the topic registered with the reseller.
*
* @var string
*/
public $topic;
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* List of service accounts which have subscriber access to the topic.
*
* @param string[] $serviceAccounts
*/
public function setServiceAccounts($serviceAccounts)
{
$this->serviceAccounts = $serviceAccounts;
}
/**
* @return string[]
*/
public function getServiceAccounts()
{
return $this->serviceAccounts;
}
/**
* Name of the topic registered with the reseller.
*
* @param string $topic
*/
public function setTopic($topic)
{
$this->topic = $topic;
}
/**
* @return string
*/
public function getTopic()
{
return $this->topic;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListSubscribersResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListSubscribersResponse');
@@ -0,0 +1,200 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListTransferableOffersRequest extends \Google\Model
{
/**
* Optional. The Billing Account to look up Offers for. Format:
* accounts/{account_id}/billingAccounts/{billing_account_id}. This field is
* only relevant for multi-currency accounts. It should be left empty for
* single currency accounts.
*
* @var string
*/
public $billingAccount;
/**
* Customer's Cloud Identity ID
*
* @var string
*/
public $cloudIdentityId;
/**
* A reseller should create a customer and use the resource name of that
* customer here.
*
* @var string
*/
public $customerName;
/**
* Optional. The BCP-47 language code. For example, "en-US". The response will
* localize in the corresponding language code, if specified. The default
* value is "en-US".
*
* @var string
*/
public $languageCode;
/**
* Requested page size. Server might return fewer results than requested. If
* unspecified, returns at most 100 offers. The maximum value is 1000; the
* server will coerce values above 1000.
*
* @var int
*/
public $pageSize;
/**
* A token for a page of results other than the first page. Obtained using
* ListTransferableOffersResponse.next_page_token of the previous
* CloudChannelService.ListTransferableOffers call.
*
* @var string
*/
public $pageToken;
/**
* Required. The SKU to look up Offers for.
*
* @var string
*/
public $sku;
/**
* Optional. The Billing Account to look up Offers for. Format:
* accounts/{account_id}/billingAccounts/{billing_account_id}. This field is
* only relevant for multi-currency accounts. It should be left empty for
* single currency accounts.
*
* @param string $billingAccount
*/
public function setBillingAccount($billingAccount)
{
$this->billingAccount = $billingAccount;
}
/**
* @return string
*/
public function getBillingAccount()
{
return $this->billingAccount;
}
/**
* Customer's Cloud Identity ID
*
* @param string $cloudIdentityId
*/
public function setCloudIdentityId($cloudIdentityId)
{
$this->cloudIdentityId = $cloudIdentityId;
}
/**
* @return string
*/
public function getCloudIdentityId()
{
return $this->cloudIdentityId;
}
/**
* A reseller should create a customer and use the resource name of that
* customer here.
*
* @param string $customerName
*/
public function setCustomerName($customerName)
{
$this->customerName = $customerName;
}
/**
* @return string
*/
public function getCustomerName()
{
return $this->customerName;
}
/**
* Optional. The BCP-47 language code. For example, "en-US". The response will
* localize in the corresponding language code, if specified. The default
* value is "en-US".
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* Requested page size. Server might return fewer results than requested. If
* unspecified, returns at most 100 offers. The maximum value is 1000; the
* server will coerce values above 1000.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* A token for a page of results other than the first page. Obtained using
* ListTransferableOffersResponse.next_page_token of the previous
* CloudChannelService.ListTransferableOffers call.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Required. The SKU to look up Offers for.
*
* @param string $sku
*/
public function setSku($sku)
{
$this->sku = $sku;
}
/**
* @return string
*/
public function getSku()
{
return $this->sku;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListTransferableOffersRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListTransferableOffersRequest');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListTransferableOffersResponse extends \Google\Collection
{
protected $collection_key = 'transferableOffers';
/**
* A token to retrieve the next page of results. Pass to
* ListTransferableOffersRequest.page_token to obtain that page.
*
* @var string
*/
public $nextPageToken;
protected $transferableOffersType = GoogleCloudChannelV1TransferableOffer::class;
protected $transferableOffersDataType = 'array';
/**
* A token to retrieve the next page of results. Pass to
* ListTransferableOffersRequest.page_token to obtain that page.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Information about Offers for a customer that can be used for transfer.
*
* @param GoogleCloudChannelV1TransferableOffer[] $transferableOffers
*/
public function setTransferableOffers($transferableOffers)
{
$this->transferableOffers = $transferableOffers;
}
/**
* @return GoogleCloudChannelV1TransferableOffer[]
*/
public function getTransferableOffers()
{
return $this->transferableOffers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListTransferableOffersResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListTransferableOffersResponse');
@@ -0,0 +1,180 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListTransferableSkusRequest extends \Google\Model
{
/**
* Optional. The super admin of the resold customer generates this token to
* authorize a reseller to access their Cloud Identity and purchase
* entitlements on their behalf. You can omit this token after authorization.
* See https://support.google.com/a/answer/7643790 for more details.
*
* @var string
*/
public $authToken;
/**
* Customer's Cloud Identity ID
*
* @var string
*/
public $cloudIdentityId;
/**
* A reseller is required to create a customer and use the resource name of
* the created customer here. Customer_name uses the format:
* accounts/{account_id}/customers/{customer_id}
*
* @var string
*/
public $customerName;
/**
* The BCP-47 language code. For example, "en-US". The response will localize
* in the corresponding language code, if specified. The default value is "en-
* US". Optional.
*
* @var string
*/
public $languageCode;
/**
* The requested page size. Server might return fewer results than requested.
* If unspecified, returns at most 100 SKUs. The maximum value is 1000; the
* server will coerce values above 1000. Optional.
*
* @var int
*/
public $pageSize;
/**
* A token for a page of results other than the first page. Obtained using
* ListTransferableSkusResponse.next_page_token of the previous
* CloudChannelService.ListTransferableSkus call. Optional.
*
* @var string
*/
public $pageToken;
/**
* Optional. The super admin of the resold customer generates this token to
* authorize a reseller to access their Cloud Identity and purchase
* entitlements on their behalf. You can omit this token after authorization.
* See https://support.google.com/a/answer/7643790 for more details.
*
* @param string $authToken
*/
public function setAuthToken($authToken)
{
$this->authToken = $authToken;
}
/**
* @return string
*/
public function getAuthToken()
{
return $this->authToken;
}
/**
* Customer's Cloud Identity ID
*
* @param string $cloudIdentityId
*/
public function setCloudIdentityId($cloudIdentityId)
{
$this->cloudIdentityId = $cloudIdentityId;
}
/**
* @return string
*/
public function getCloudIdentityId()
{
return $this->cloudIdentityId;
}
/**
* A reseller is required to create a customer and use the resource name of
* the created customer here. Customer_name uses the format:
* accounts/{account_id}/customers/{customer_id}
*
* @param string $customerName
*/
public function setCustomerName($customerName)
{
$this->customerName = $customerName;
}
/**
* @return string
*/
public function getCustomerName()
{
return $this->customerName;
}
/**
* The BCP-47 language code. For example, "en-US". The response will localize
* in the corresponding language code, if specified. The default value is "en-
* US". Optional.
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* The requested page size. Server might return fewer results than requested.
* If unspecified, returns at most 100 SKUs. The maximum value is 1000; the
* server will coerce values above 1000. Optional.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* A token for a page of results other than the first page. Obtained using
* ListTransferableSkusResponse.next_page_token of the previous
* CloudChannelService.ListTransferableSkus call. Optional.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListTransferableSkusRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListTransferableSkusRequest');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ListTransferableSkusResponse extends \Google\Collection
{
protected $collection_key = 'transferableSkus';
/**
* A token to retrieve the next page of results. Pass to
* ListTransferableSkusRequest.page_token to obtain that page.
*
* @var string
*/
public $nextPageToken;
protected $transferableSkusType = GoogleCloudChannelV1TransferableSku::class;
protected $transferableSkusDataType = 'array';
/**
* A token to retrieve the next page of results. Pass to
* ListTransferableSkusRequest.page_token to obtain that page.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Information about existing SKUs for a customer that needs a transfer.
*
* @param GoogleCloudChannelV1TransferableSku[] $transferableSkus
*/
public function setTransferableSkus($transferableSkus)
{
$this->transferableSkus = $transferableSkus;
}
/**
* @return GoogleCloudChannelV1TransferableSku[]
*/
public function getTransferableSkus()
{
return $this->transferableSkus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ListTransferableSkusResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ListTransferableSkusResponse');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1MarketingInfo extends \Google\Model
{
protected $defaultLogoType = GoogleCloudChannelV1Media::class;
protected $defaultLogoDataType = '';
/**
* Human readable description. Description can contain HTML.
*
* @var string
*/
public $description;
/**
* Human readable name.
*
* @var string
*/
public $displayName;
/**
* Default logo.
*
* @param GoogleCloudChannelV1Media $defaultLogo
*/
public function setDefaultLogo(GoogleCloudChannelV1Media $defaultLogo)
{
$this->defaultLogo = $defaultLogo;
}
/**
* @return GoogleCloudChannelV1Media
*/
public function getDefaultLogo()
{
return $this->defaultLogo;
}
/**
* Human readable description. Description can contain HTML.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Human readable name.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1MarketingInfo::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1MarketingInfo');
@@ -0,0 +1,102 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Media extends \Google\Model
{
/**
* Not used.
*/
public const TYPE_MEDIA_TYPE_UNSPECIFIED = 'MEDIA_TYPE_UNSPECIFIED';
/**
* Type of image.
*/
public const TYPE_MEDIA_TYPE_IMAGE = 'MEDIA_TYPE_IMAGE';
/**
* URL of the media.
*
* @var string
*/
public $content;
/**
* Title of the media.
*
* @var string
*/
public $title;
/**
* Type of the media.
*
* @var string
*/
public $type;
/**
* URL of the media.
*
* @param string $content
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* Title of the media.
*
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Type of the media.
*
* Accepted values: MEDIA_TYPE_UNSPECIFIED, MEDIA_TYPE_IMAGE
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1Media::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Media');
@@ -0,0 +1,223 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Offer extends \Google\Collection
{
protected $collection_key = 'priceByResources';
protected $constraintsType = GoogleCloudChannelV1Constraints::class;
protected $constraintsDataType = '';
/**
* The deal code of the offer to get a special promotion or discount.
*
* @var string
*/
public $dealCode;
/**
* Output only. End of the Offer validity time.
*
* @var string
*/
public $endTime;
protected $marketingInfoType = GoogleCloudChannelV1MarketingInfo::class;
protected $marketingInfoDataType = '';
/**
* Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}
*
* @var string
*/
public $name;
protected $parameterDefinitionsType = GoogleCloudChannelV1ParameterDefinition::class;
protected $parameterDefinitionsDataType = 'array';
protected $planType = GoogleCloudChannelV1Plan::class;
protected $planDataType = '';
protected $priceByResourcesType = GoogleCloudChannelV1PriceByResource::class;
protected $priceByResourcesDataType = 'array';
protected $skuType = GoogleCloudChannelV1Sku::class;
protected $skuDataType = '';
/**
* Start of the Offer validity time.
*
* @var string
*/
public $startTime;
/**
* Constraints on transacting the Offer.
*
* @param GoogleCloudChannelV1Constraints $constraints
*/
public function setConstraints(GoogleCloudChannelV1Constraints $constraints)
{
$this->constraints = $constraints;
}
/**
* @return GoogleCloudChannelV1Constraints
*/
public function getConstraints()
{
return $this->constraints;
}
/**
* The deal code of the offer to get a special promotion or discount.
*
* @param string $dealCode
*/
public function setDealCode($dealCode)
{
$this->dealCode = $dealCode;
}
/**
* @return string
*/
public function getDealCode()
{
return $this->dealCode;
}
/**
* Output only. End of the Offer validity time.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Marketing information for the Offer.
*
* @param GoogleCloudChannelV1MarketingInfo $marketingInfo
*/
public function setMarketingInfo(GoogleCloudChannelV1MarketingInfo $marketingInfo)
{
$this->marketingInfo = $marketingInfo;
}
/**
* @return GoogleCloudChannelV1MarketingInfo
*/
public function getMarketingInfo()
{
return $this->marketingInfo;
}
/**
* Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Parameters required to use current Offer to purchase.
*
* @param GoogleCloudChannelV1ParameterDefinition[] $parameterDefinitions
*/
public function setParameterDefinitions($parameterDefinitions)
{
$this->parameterDefinitions = $parameterDefinitions;
}
/**
* @return GoogleCloudChannelV1ParameterDefinition[]
*/
public function getParameterDefinitions()
{
return $this->parameterDefinitions;
}
/**
* Describes the payment plan for the Offer.
*
* @param GoogleCloudChannelV1Plan $plan
*/
public function setPlan(GoogleCloudChannelV1Plan $plan)
{
$this->plan = $plan;
}
/**
* @return GoogleCloudChannelV1Plan
*/
public function getPlan()
{
return $this->plan;
}
/**
* Price for each monetizable resource type.
*
* @param GoogleCloudChannelV1PriceByResource[] $priceByResources
*/
public function setPriceByResources($priceByResources)
{
$this->priceByResources = $priceByResources;
}
/**
* @return GoogleCloudChannelV1PriceByResource[]
*/
public function getPriceByResources()
{
return $this->priceByResources;
}
/**
* SKU the offer is associated with.
*
* @param GoogleCloudChannelV1Sku $sku
*/
public function setSku(GoogleCloudChannelV1Sku $sku)
{
$this->sku = $sku;
}
/**
* @return GoogleCloudChannelV1Sku
*/
public function getSku()
{
return $this->sku;
}
/**
* Start of the Offer validity time.
*
* @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(GoogleCloudChannelV1Offer::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Offer');
@@ -0,0 +1,102 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1OperationMetadata extends \Google\Model
{
/**
* Not used.
*/
public const OPERATION_TYPE_OPERATION_TYPE_UNSPECIFIED = 'OPERATION_TYPE_UNSPECIFIED';
/**
* Long Running Operation was triggered by CreateEntitlement.
*/
public const OPERATION_TYPE_CREATE_ENTITLEMENT = 'CREATE_ENTITLEMENT';
/**
* Long Running Operation was triggered by ChangeRenewalSettings.
*/
public const OPERATION_TYPE_CHANGE_RENEWAL_SETTINGS = 'CHANGE_RENEWAL_SETTINGS';
/**
* Long Running Operation was triggered by StartPaidService.
*/
public const OPERATION_TYPE_START_PAID_SERVICE = 'START_PAID_SERVICE';
/**
* Long Running Operation was triggered by ActivateEntitlement.
*/
public const OPERATION_TYPE_ACTIVATE_ENTITLEMENT = 'ACTIVATE_ENTITLEMENT';
/**
* Long Running Operation was triggered by SuspendEntitlement.
*/
public const OPERATION_TYPE_SUSPEND_ENTITLEMENT = 'SUSPEND_ENTITLEMENT';
/**
* Long Running Operation was triggered by CancelEntitlement.
*/
public const OPERATION_TYPE_CANCEL_ENTITLEMENT = 'CANCEL_ENTITLEMENT';
/**
* Long Running Operation was triggered by TransferEntitlements.
*/
public const OPERATION_TYPE_TRANSFER_ENTITLEMENTS = 'TRANSFER_ENTITLEMENTS';
/**
* Long Running Operation was triggered by TransferEntitlementsToGoogle.
*/
public const OPERATION_TYPE_TRANSFER_ENTITLEMENTS_TO_GOOGLE = 'TRANSFER_ENTITLEMENTS_TO_GOOGLE';
/**
* Long Running Operation was triggered by ChangeOffer.
*/
public const OPERATION_TYPE_CHANGE_OFFER = 'CHANGE_OFFER';
/**
* Long Running Operation was triggered by ChangeParameters.
*/
public const OPERATION_TYPE_CHANGE_PARAMETERS = 'CHANGE_PARAMETERS';
/**
* Long Running Operation was triggered by ProvisionCloudIdentity.
*/
public const OPERATION_TYPE_PROVISION_CLOUD_IDENTITY = 'PROVISION_CLOUD_IDENTITY';
/**
* The RPC that initiated this Long Running Operation.
*
* @var string
*/
public $operationType;
/**
* The RPC that initiated this Long Running Operation.
*
* Accepted values: OPERATION_TYPE_UNSPECIFIED, CREATE_ENTITLEMENT,
* CHANGE_RENEWAL_SETTINGS, START_PAID_SERVICE, ACTIVATE_ENTITLEMENT,
* SUSPEND_ENTITLEMENT, CANCEL_ENTITLEMENT, TRANSFER_ENTITLEMENTS,
* TRANSFER_ENTITLEMENTS_TO_GOOGLE, CHANGE_OFFER, CHANGE_PARAMETERS,
* PROVISION_CLOUD_IDENTITY
*
* @param self::OPERATION_TYPE_* $operationType
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return self::OPERATION_TYPE_*
*/
public function getOperationType()
{
return $this->operationType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1OperationMetadata::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1OperationMetadata');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Parameter extends \Google\Model
{
/**
* Output only. Specifies whether this parameter is allowed to be changed. For
* example, for a Google Workspace Business Starter entitlement in commitment
* plan, num_units is editable when entitlement is active.
*
* @var bool
*/
public $editable;
/**
* Name of the parameter.
*
* @var string
*/
public $name;
protected $valueType = GoogleCloudChannelV1Value::class;
protected $valueDataType = '';
/**
* Output only. Specifies whether this parameter is allowed to be changed. For
* example, for a Google Workspace Business Starter entitlement in commitment
* plan, num_units is editable when entitlement is active.
*
* @param bool $editable
*/
public function setEditable($editable)
{
$this->editable = $editable;
}
/**
* @return bool
*/
public function getEditable()
{
return $this->editable;
}
/**
* Name of the parameter.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Value of the parameter.
*
* @param GoogleCloudChannelV1Value $value
*/
public function setValue(GoogleCloudChannelV1Value $value)
{
$this->value = $value;
}
/**
* @return GoogleCloudChannelV1Value
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1Parameter::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Parameter');
@@ -0,0 +1,176 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ParameterDefinition extends \Google\Collection
{
/**
* Not used.
*/
public const PARAMETER_TYPE_PARAMETER_TYPE_UNSPECIFIED = 'PARAMETER_TYPE_UNSPECIFIED';
/**
* Int64 type.
*/
public const PARAMETER_TYPE_INT64 = 'INT64';
/**
* String type.
*/
public const PARAMETER_TYPE_STRING = 'STRING';
/**
* Double type.
*/
public const PARAMETER_TYPE_DOUBLE = 'DOUBLE';
/**
* Boolean type.
*/
public const PARAMETER_TYPE_BOOLEAN = 'BOOLEAN';
protected $collection_key = 'allowedValues';
protected $allowedValuesType = GoogleCloudChannelV1Value::class;
protected $allowedValuesDataType = 'array';
protected $maxValueType = GoogleCloudChannelV1Value::class;
protected $maxValueDataType = '';
protected $minValueType = GoogleCloudChannelV1Value::class;
protected $minValueDataType = '';
/**
* Name of the parameter.
*
* @var string
*/
public $name;
/**
* If set to true, parameter is optional to purchase this Offer.
*
* @var bool
*/
public $optional;
/**
* Data type of the parameter. Minimal value, Maximum value and allowed values
* will use specified data type here.
*
* @var string
*/
public $parameterType;
/**
* If not empty, parameter values must be drawn from this list. For example,
* [us-west1, us-west2, ...] Applicable to STRING parameter type.
*
* @param GoogleCloudChannelV1Value[] $allowedValues
*/
public function setAllowedValues($allowedValues)
{
$this->allowedValues = $allowedValues;
}
/**
* @return GoogleCloudChannelV1Value[]
*/
public function getAllowedValues()
{
return $this->allowedValues;
}
/**
* Maximum value of the parameter, if applicable. Inclusive. For example,
* maximum seats when purchasing Google Workspace Business Standard.
* Applicable to INT64 and DOUBLE parameter types.
*
* @param GoogleCloudChannelV1Value $maxValue
*/
public function setMaxValue(GoogleCloudChannelV1Value $maxValue)
{
$this->maxValue = $maxValue;
}
/**
* @return GoogleCloudChannelV1Value
*/
public function getMaxValue()
{
return $this->maxValue;
}
/**
* Minimal value of the parameter, if applicable. Inclusive. For example,
* minimal commitment when purchasing Anthos is 0.01. Applicable to INT64 and
* DOUBLE parameter types.
*
* @param GoogleCloudChannelV1Value $minValue
*/
public function setMinValue(GoogleCloudChannelV1Value $minValue)
{
$this->minValue = $minValue;
}
/**
* @return GoogleCloudChannelV1Value
*/
public function getMinValue()
{
return $this->minValue;
}
/**
* Name of the parameter.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* If set to true, parameter is optional to purchase this Offer.
*
* @param bool $optional
*/
public function setOptional($optional)
{
$this->optional = $optional;
}
/**
* @return bool
*/
public function getOptional()
{
return $this->optional;
}
/**
* Data type of the parameter. Minimal value, Maximum value and allowed values
* will use specified data type here.
*
* Accepted values: PARAMETER_TYPE_UNSPECIFIED, INT64, STRING, DOUBLE, BOOLEAN
*
* @param self::PARAMETER_TYPE_* $parameterType
*/
public function setParameterType($parameterType)
{
$this->parameterType = $parameterType;
}
/**
* @return self::PARAMETER_TYPE_*
*/
public function getParameterType()
{
return $this->parameterType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ParameterDefinition::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ParameterDefinition');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1PercentageAdjustment extends \Google\Model
{
protected $percentageType = GoogleTypeDecimal::class;
protected $percentageDataType = '';
/**
* The percentage of the bill to adjust. For example: Mark down by 1% =>
* "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00"
*
* @param GoogleTypeDecimal $percentage
*/
public function setPercentage(GoogleTypeDecimal $percentage)
{
$this->percentage = $percentage;
}
/**
* @return GoogleTypeDecimal
*/
public function getPercentage()
{
return $this->percentage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1PercentageAdjustment::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1PercentageAdjustment');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Period extends \Google\Model
{
/**
* Not used.
*/
public const PERIOD_TYPE_PERIOD_TYPE_UNSPECIFIED = 'PERIOD_TYPE_UNSPECIFIED';
/**
* Day.
*/
public const PERIOD_TYPE_DAY = 'DAY';
/**
* Month.
*/
public const PERIOD_TYPE_MONTH = 'MONTH';
/**
* Year.
*/
public const PERIOD_TYPE_YEAR = 'YEAR';
/**
* Total duration of Period Type defined.
*
* @var int
*/
public $duration;
/**
* Period Type.
*
* @var string
*/
public $periodType;
/**
* Total duration of Period Type defined.
*
* @param int $duration
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return int
*/
public function getDuration()
{
return $this->duration;
}
/**
* Period Type.
*
* Accepted values: PERIOD_TYPE_UNSPECIFIED, DAY, MONTH, YEAR
*
* @param self::PERIOD_TYPE_* $periodType
*/
public function setPeriodType($periodType)
{
$this->periodType = $periodType;
}
/**
* @return self::PERIOD_TYPE_*
*/
public function getPeriodType()
{
return $this->periodType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1Period::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Period');
@@ -0,0 +1,176 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Plan extends \Google\Model
{
/**
* Not used.
*/
public const PAYMENT_PLAN_PAYMENT_PLAN_UNSPECIFIED = 'PAYMENT_PLAN_UNSPECIFIED';
/**
* Commitment.
*/
public const PAYMENT_PLAN_COMMITMENT = 'COMMITMENT';
/**
* No commitment.
*/
public const PAYMENT_PLAN_FLEXIBLE = 'FLEXIBLE';
/**
* Free.
*/
public const PAYMENT_PLAN_FREE = 'FREE';
/**
* Trial.
*/
public const PAYMENT_PLAN_TRIAL = 'TRIAL';
/**
* Price and ordering not available through API.
*/
public const PAYMENT_PLAN_OFFLINE = 'OFFLINE';
/**
* Not used.
*/
public const PAYMENT_TYPE_PAYMENT_TYPE_UNSPECIFIED = 'PAYMENT_TYPE_UNSPECIFIED';
/**
* Prepay. Amount has to be paid before service is rendered.
*/
public const PAYMENT_TYPE_PREPAY = 'PREPAY';
/**
* Postpay. Reseller is charged at the end of the Payment cycle.
*/
public const PAYMENT_TYPE_POSTPAY = 'POSTPAY';
/**
* Reseller Billing account to charge after an offer transaction. Only present
* for Google Cloud offers.
*
* @var string
*/
public $billingAccount;
protected $paymentCycleType = GoogleCloudChannelV1Period::class;
protected $paymentCycleDataType = '';
/**
* Describes how a reseller will be billed.
*
* @var string
*/
public $paymentPlan;
/**
* Specifies when the payment needs to happen.
*
* @var string
*/
public $paymentType;
protected $trialPeriodType = GoogleCloudChannelV1Period::class;
protected $trialPeriodDataType = '';
/**
* Reseller Billing account to charge after an offer transaction. Only present
* for Google Cloud offers.
*
* @param string $billingAccount
*/
public function setBillingAccount($billingAccount)
{
$this->billingAccount = $billingAccount;
}
/**
* @return string
*/
public function getBillingAccount()
{
return $this->billingAccount;
}
/**
* Describes how frequently the reseller will be billed, such as once per
* month.
*
* @param GoogleCloudChannelV1Period $paymentCycle
*/
public function setPaymentCycle(GoogleCloudChannelV1Period $paymentCycle)
{
$this->paymentCycle = $paymentCycle;
}
/**
* @return GoogleCloudChannelV1Period
*/
public function getPaymentCycle()
{
return $this->paymentCycle;
}
/**
* Describes how a reseller will be billed.
*
* Accepted values: PAYMENT_PLAN_UNSPECIFIED, COMMITMENT, FLEXIBLE, FREE,
* TRIAL, OFFLINE
*
* @param self::PAYMENT_PLAN_* $paymentPlan
*/
public function setPaymentPlan($paymentPlan)
{
$this->paymentPlan = $paymentPlan;
}
/**
* @return self::PAYMENT_PLAN_*
*/
public function getPaymentPlan()
{
return $this->paymentPlan;
}
/**
* Specifies when the payment needs to happen.
*
* Accepted values: PAYMENT_TYPE_UNSPECIFIED, PREPAY, POSTPAY
*
* @param self::PAYMENT_TYPE_* $paymentType
*/
public function setPaymentType($paymentType)
{
$this->paymentType = $paymentType;
}
/**
* @return self::PAYMENT_TYPE_*
*/
public function getPaymentType()
{
return $this->paymentType;
}
/**
* Present for Offers with a trial period. For trial-only Offers, a paid
* service needs to start before the trial period ends for continued service.
* For Regular Offers with a trial period, the regular pricing goes into
* effect when trial period ends, or if paid service is started before the end
* of the trial period.
*
* @param GoogleCloudChannelV1Period $trialPeriod
*/
public function setTrialPeriod(GoogleCloudChannelV1Period $trialPeriod)
{
$this->trialPeriod = $trialPeriod;
}
/**
* @return GoogleCloudChannelV1Period
*/
public function getTrialPeriod()
{
return $this->trialPeriod;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1Plan::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Plan');
@@ -0,0 +1,138 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Price extends \Google\Collection
{
protected $collection_key = 'discountComponents';
protected $basePriceType = GoogleTypeMoney::class;
protected $basePriceDataType = '';
/**
* Discount percentage, represented as decimal. For example, a 20% discount
* will be represent as 0.2.
*
* @var
*/
public $discount;
protected $discountComponentsType = GoogleCloudChannelV1DiscountComponent::class;
protected $discountComponentsDataType = 'array';
protected $effectivePriceType = GoogleTypeMoney::class;
protected $effectivePriceDataType = '';
/**
* Link to external price list, such as link to Google Voice rate card.
*
* @var string
*/
public $externalPriceUri;
protected $pricePeriodType = GoogleCloudChannelV1Period::class;
protected $pricePeriodDataType = '';
/**
* Base price.
*
* @param GoogleTypeMoney $basePrice
*/
public function setBasePrice(GoogleTypeMoney $basePrice)
{
$this->basePrice = $basePrice;
}
/**
* @return GoogleTypeMoney
*/
public function getBasePrice()
{
return $this->basePrice;
}
public function setDiscount($discount)
{
$this->discount = $discount;
}
public function getDiscount()
{
return $this->discount;
}
/**
* Breakdown of the discount into its components. This will be empty if there
* is no discount present.
*
* @param GoogleCloudChannelV1DiscountComponent[] $discountComponents
*/
public function setDiscountComponents($discountComponents)
{
$this->discountComponents = $discountComponents;
}
/**
* @return GoogleCloudChannelV1DiscountComponent[]
*/
public function getDiscountComponents()
{
return $this->discountComponents;
}
/**
* Effective Price after applying the discounts.
*
* @param GoogleTypeMoney $effectivePrice
*/
public function setEffectivePrice(GoogleTypeMoney $effectivePrice)
{
$this->effectivePrice = $effectivePrice;
}
/**
* @return GoogleTypeMoney
*/
public function getEffectivePrice()
{
return $this->effectivePrice;
}
/**
* Link to external price list, such as link to Google Voice rate card.
*
* @param string $externalPriceUri
*/
public function setExternalPriceUri($externalPriceUri)
{
$this->externalPriceUri = $externalPriceUri;
}
/**
* @return string
*/
public function getExternalPriceUri()
{
return $this->externalPriceUri;
}
/**
* The time period with respect to which base and effective prices are
* defined. Example: 1 month, 6 months, 1 year, etc.
*
* @param GoogleCloudChannelV1Period $pricePeriod
*/
public function setPricePeriod(GoogleCloudChannelV1Period $pricePeriod)
{
$this->pricePeriod = $pricePeriod;
}
/**
* @return GoogleCloudChannelV1Period
*/
public function getPricePeriod()
{
return $this->pricePeriod;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1Price::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Price');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1PriceByResource extends \Google\Collection
{
/**
* Not used.
*/
public const RESOURCE_TYPE_RESOURCE_TYPE_UNSPECIFIED = 'RESOURCE_TYPE_UNSPECIFIED';
/**
* Seat.
*/
public const RESOURCE_TYPE_SEAT = 'SEAT';
/**
* Monthly active user.
*/
public const RESOURCE_TYPE_MAU = 'MAU';
/**
* GB (used for storage SKUs).
*/
public const RESOURCE_TYPE_GB = 'GB';
/**
* Active licensed users(for Voice SKUs).
*/
public const RESOURCE_TYPE_LICENSED_USER = 'LICENSED_USER';
/**
* Voice usage.
*/
public const RESOURCE_TYPE_MINUTES = 'MINUTES';
/**
* For IaaS SKUs like Google Cloud, monetization is based on usage accrued on
* your billing account irrespective of the type of monetizable resource. This
* enum represents an aggregated resource/container for all usage SKUs on a
* billing account. Currently, only applicable to Google Cloud.
*/
public const RESOURCE_TYPE_IAAS_USAGE = 'IAAS_USAGE';
/**
* For Google Cloud subscriptions like Anthos or SAP.
*/
public const RESOURCE_TYPE_SUBSCRIPTION = 'SUBSCRIPTION';
protected $collection_key = 'pricePhases';
protected $priceType = GoogleCloudChannelV1Price::class;
protected $priceDataType = '';
protected $pricePhasesType = GoogleCloudChannelV1PricePhase::class;
protected $pricePhasesDataType = 'array';
/**
* Resource Type. Example: SEAT
*
* @var string
*/
public $resourceType;
/**
* Price of the Offer. Present if there are no price phases.
*
* @param GoogleCloudChannelV1Price $price
*/
public function setPrice(GoogleCloudChannelV1Price $price)
{
$this->price = $price;
}
/**
* @return GoogleCloudChannelV1Price
*/
public function getPrice()
{
return $this->price;
}
/**
* Specifies the price by time range.
*
* @param GoogleCloudChannelV1PricePhase[] $pricePhases
*/
public function setPricePhases($pricePhases)
{
$this->pricePhases = $pricePhases;
}
/**
* @return GoogleCloudChannelV1PricePhase[]
*/
public function getPricePhases()
{
return $this->pricePhases;
}
/**
* Resource Type. Example: SEAT
*
* Accepted values: RESOURCE_TYPE_UNSPECIFIED, SEAT, MAU, GB, LICENSED_USER,
* MINUTES, IAAS_USAGE, SUBSCRIPTION
*
* @param self::RESOURCE_TYPE_* $resourceType
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return self::RESOURCE_TYPE_*
*/
public function getResourceType()
{
return $this->resourceType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1PriceByResource::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1PriceByResource');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1PricePhase extends \Google\Collection
{
/**
* Not used.
*/
public const PERIOD_TYPE_PERIOD_TYPE_UNSPECIFIED = 'PERIOD_TYPE_UNSPECIFIED';
/**
* Day.
*/
public const PERIOD_TYPE_DAY = 'DAY';
/**
* Month.
*/
public const PERIOD_TYPE_MONTH = 'MONTH';
/**
* Year.
*/
public const PERIOD_TYPE_YEAR = 'YEAR';
protected $collection_key = 'priceTiers';
/**
* Defines first period for the phase.
*
* @var int
*/
public $firstPeriod;
/**
* Defines first period for the phase.
*
* @var int
*/
public $lastPeriod;
/**
* Defines the phase period type.
*
* @var string
*/
public $periodType;
protected $priceType = GoogleCloudChannelV1Price::class;
protected $priceDataType = '';
protected $priceTiersType = GoogleCloudChannelV1PriceTier::class;
protected $priceTiersDataType = 'array';
/**
* Defines first period for the phase.
*
* @param int $firstPeriod
*/
public function setFirstPeriod($firstPeriod)
{
$this->firstPeriod = $firstPeriod;
}
/**
* @return int
*/
public function getFirstPeriod()
{
return $this->firstPeriod;
}
/**
* Defines first period for the phase.
*
* @param int $lastPeriod
*/
public function setLastPeriod($lastPeriod)
{
$this->lastPeriod = $lastPeriod;
}
/**
* @return int
*/
public function getLastPeriod()
{
return $this->lastPeriod;
}
/**
* Defines the phase period type.
*
* Accepted values: PERIOD_TYPE_UNSPECIFIED, DAY, MONTH, YEAR
*
* @param self::PERIOD_TYPE_* $periodType
*/
public function setPeriodType($periodType)
{
$this->periodType = $periodType;
}
/**
* @return self::PERIOD_TYPE_*
*/
public function getPeriodType()
{
return $this->periodType;
}
/**
* Price of the phase. Present if there are no price tiers.
*
* @param GoogleCloudChannelV1Price $price
*/
public function setPrice(GoogleCloudChannelV1Price $price)
{
$this->price = $price;
}
/**
* @return GoogleCloudChannelV1Price
*/
public function getPrice()
{
return $this->price;
}
/**
* Price by the resource tiers.
*
* @param GoogleCloudChannelV1PriceTier[] $priceTiers
*/
public function setPriceTiers($priceTiers)
{
$this->priceTiers = $priceTiers;
}
/**
* @return GoogleCloudChannelV1PriceTier[]
*/
public function getPriceTiers()
{
return $this->priceTiers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1PricePhase::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1PricePhase');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1PriceTier extends \Google\Model
{
/**
* First resource for which the tier price applies.
*
* @var int
*/
public $firstResource;
/**
* Last resource for which the tier price applies.
*
* @var int
*/
public $lastResource;
protected $priceType = GoogleCloudChannelV1Price::class;
protected $priceDataType = '';
/**
* First resource for which the tier price applies.
*
* @param int $firstResource
*/
public function setFirstResource($firstResource)
{
$this->firstResource = $firstResource;
}
/**
* @return int
*/
public function getFirstResource()
{
return $this->firstResource;
}
/**
* Last resource for which the tier price applies.
*
* @param int $lastResource
*/
public function setLastResource($lastResource)
{
$this->lastResource = $lastResource;
}
/**
* @return int
*/
public function getLastResource()
{
return $this->lastResource;
}
/**
* Price of the tier.
*
* @param GoogleCloudChannelV1Price $price
*/
public function setPrice(GoogleCloudChannelV1Price $price)
{
$this->price = $price;
}
/**
* @return GoogleCloudChannelV1Price
*/
public function getPrice()
{
return $this->price;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1PriceTier::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1PriceTier');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1Product extends \Google\Model
{
protected $marketingInfoType = GoogleCloudChannelV1MarketingInfo::class;
protected $marketingInfoDataType = '';
/**
* Resource Name of the Product. Format: products/{product_id}
*
* @var string
*/
public $name;
/**
* Marketing information for the product.
*
* @param GoogleCloudChannelV1MarketingInfo $marketingInfo
*/
public function setMarketingInfo(GoogleCloudChannelV1MarketingInfo $marketingInfo)
{
$this->marketingInfo = $marketingInfo;
}
/**
* @return GoogleCloudChannelV1MarketingInfo
*/
public function getMarketingInfo()
{
return $this->marketingInfo;
}
/**
* Resource Name of the Product. Format: products/{product_id}
*
* @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(GoogleCloudChannelV1Product::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Product');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1ProvisionCloudIdentityRequest extends \Google\Model
{
protected $cloudIdentityInfoType = GoogleCloudChannelV1CloudIdentityInfo::class;
protected $cloudIdentityInfoDataType = '';
protected $userType = GoogleCloudChannelV1AdminUser::class;
protected $userDataType = '';
/**
* Validate the request and preview the review, but do not post it.
*
* @var bool
*/
public $validateOnly;
/**
* CloudIdentity-specific customer information.
*
* @param GoogleCloudChannelV1CloudIdentityInfo $cloudIdentityInfo
*/
public function setCloudIdentityInfo(GoogleCloudChannelV1CloudIdentityInfo $cloudIdentityInfo)
{
$this->cloudIdentityInfo = $cloudIdentityInfo;
}
/**
* @return GoogleCloudChannelV1CloudIdentityInfo
*/
public function getCloudIdentityInfo()
{
return $this->cloudIdentityInfo;
}
/**
* Admin user information.
*
* @param GoogleCloudChannelV1AdminUser $user
*/
public function setUser(GoogleCloudChannelV1AdminUser $user)
{
$this->user = $user;
}
/**
* @return GoogleCloudChannelV1AdminUser
*/
public function getUser()
{
return $this->user;
}
/**
* Validate the request and preview the review, but do not post it.
*
* @param bool $validateOnly
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ProvisionCloudIdentityRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ProvisionCloudIdentityRequest');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1ProvisionedService extends \Google\Model
{
/**
* Output only. The product pertaining to the provisioning resource as
* specified in the Offer.
*
* @var string
*/
public $productId;
/**
* Output only. Provisioning ID of the entitlement. For Google Workspace, this
* is the underlying Subscription ID. For Google Cloud, this is the Billing
* Account ID of the billing subaccount.
*
* @var string
*/
public $provisioningId;
/**
* Output only. The SKU pertaining to the provisioning resource as specified
* in the Offer.
*
* @var string
*/
public $skuId;
/**
* Output only. The product pertaining to the provisioning resource as
* specified in the Offer.
*
* @param string $productId
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string
*/
public function getProductId()
{
return $this->productId;
}
/**
* Output only. Provisioning ID of the entitlement. For Google Workspace, this
* is the underlying Subscription ID. For Google Cloud, this is the Billing
* Account ID of the billing subaccount.
*
* @param string $provisioningId
*/
public function setProvisioningId($provisioningId)
{
$this->provisioningId = $provisioningId;
}
/**
* @return string
*/
public function getProvisioningId()
{
return $this->provisioningId;
}
/**
* Output only. The SKU pertaining to the provisioning resource as specified
* in the Offer.
*
* @param string $skuId
*/
public function setSkuId($skuId)
{
$this->skuId = $skuId;
}
/**
* @return string
*/
public function getSkuId()
{
return $this->skuId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ProvisionedService::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ProvisionedService');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1PurchasableOffer extends \Google\Model
{
protected $offerType = GoogleCloudChannelV1Offer::class;
protected $offerDataType = '';
/**
* Optional. Price reference ID for the offer. Only for offers that require
* additional price information. Used to guarantee that the pricing is
* consistent between quoting the offer and placing the order.
*
* @var string
*/
public $priceReferenceId;
/**
* Offer.
*
* @param GoogleCloudChannelV1Offer $offer
*/
public function setOffer(GoogleCloudChannelV1Offer $offer)
{
$this->offer = $offer;
}
/**
* @return GoogleCloudChannelV1Offer
*/
public function getOffer()
{
return $this->offer;
}
/**
* Optional. Price reference ID for the offer. Only for offers that require
* additional price information. Used to guarantee that the pricing is
* consistent between quoting the offer and placing the order.
*
* @param string $priceReferenceId
*/
public function setPriceReferenceId($priceReferenceId)
{
$this->priceReferenceId = $priceReferenceId;
}
/**
* @return string
*/
public function getPriceReferenceId()
{
return $this->priceReferenceId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1PurchasableOffer::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1PurchasableOffer');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1PurchasableSku extends \Google\Model
{
protected $skuType = GoogleCloudChannelV1Sku::class;
protected $skuDataType = '';
/**
* SKU
*
* @param GoogleCloudChannelV1Sku $sku
*/
public function setSku(GoogleCloudChannelV1Sku $sku)
{
$this->sku = $sku;
}
/**
* @return GoogleCloudChannelV1Sku
*/
public function getSku()
{
return $this->sku;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1PurchasableSku::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1PurchasableSku');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1QueryEligibleBillingAccountsResponse extends \Google\Collection
{
protected $collection_key = 'skuPurchaseGroups';
protected $skuPurchaseGroupsType = GoogleCloudChannelV1SkuPurchaseGroup::class;
protected $skuPurchaseGroupsDataType = 'array';
/**
* List of SKU purchase groups where each group represents a set of SKUs that
* must be purchased using the same billing account. Each SKU from
* [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU
* group.
*
* @param GoogleCloudChannelV1SkuPurchaseGroup[] $skuPurchaseGroups
*/
public function setSkuPurchaseGroups($skuPurchaseGroups)
{
$this->skuPurchaseGroups = $skuPurchaseGroups;
}
/**
* @return GoogleCloudChannelV1SkuPurchaseGroup[]
*/
public function getSkuPurchaseGroups()
{
return $this->skuPurchaseGroups;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1QueryEligibleBillingAccountsResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1QueryEligibleBillingAccountsResponse');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1RegisterSubscriberRequest extends \Google\Model
{
/**
* Optional. Resource name of the account. Required if integrator is not
* provided. Otherwise, leave this field empty/unset.
*
* @var string
*/
public $account;
/**
* Optional. Resource name of the integrator. Required if account is not
* provided. Otherwise, leave this field empty/unset.
*
* @var string
*/
public $integrator;
/**
* Required. Service account that provides subscriber access to the registered
* topic.
*
* @var string
*/
public $serviceAccount;
/**
* Optional. Resource name of the account. Required if integrator is not
* provided. Otherwise, leave this field empty/unset.
*
* @param string $account
*/
public function setAccount($account)
{
$this->account = $account;
}
/**
* @return string
*/
public function getAccount()
{
return $this->account;
}
/**
* Optional. Resource name of the integrator. Required if account is not
* provided. Otherwise, leave this field empty/unset.
*
* @param string $integrator
*/
public function setIntegrator($integrator)
{
$this->integrator = $integrator;
}
/**
* @return string
*/
public function getIntegrator()
{
return $this->integrator;
}
/**
* Required. Service account that provides subscriber access to the registered
* topic.
*
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1RegisterSubscriberRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1RegisterSubscriberRequest');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1RegisterSubscriberResponse extends \Google\Model
{
/**
* Name of the topic the subscriber will listen to.
*
* @var string
*/
public $topic;
/**
* Name of the topic the subscriber will listen to.
*
* @param string $topic
*/
public function setTopic($topic)
{
$this->topic = $topic;
}
/**
* @return string
*/
public function getTopic()
{
return $this->topic;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1RegisterSubscriberResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1RegisterSubscriberResponse');
@@ -0,0 +1,140 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1RenewalSettings extends \Google\Model
{
/**
* Not used.
*/
public const PAYMENT_PLAN_PAYMENT_PLAN_UNSPECIFIED = 'PAYMENT_PLAN_UNSPECIFIED';
/**
* Commitment.
*/
public const PAYMENT_PLAN_COMMITMENT = 'COMMITMENT';
/**
* No commitment.
*/
public const PAYMENT_PLAN_FLEXIBLE = 'FLEXIBLE';
/**
* Free.
*/
public const PAYMENT_PLAN_FREE = 'FREE';
/**
* Trial.
*/
public const PAYMENT_PLAN_TRIAL = 'TRIAL';
/**
* Price and ordering not available through API.
*/
public const PAYMENT_PLAN_OFFLINE = 'OFFLINE';
/**
* If false, the plan will be completed at the end date.
*
* @var bool
*/
public $enableRenewal;
protected $paymentCycleType = GoogleCloudChannelV1Period::class;
protected $paymentCycleDataType = '';
/**
* Describes how a reseller will be billed.
*
* @var string
*/
public $paymentPlan;
/**
* If true and enable_renewal = true, the unit (for example seats or licenses)
* will be set to the number of active units at renewal time.
*
* @var bool
*/
public $resizeUnitCount;
/**
* If false, the plan will be completed at the end date.
*
* @param bool $enableRenewal
*/
public function setEnableRenewal($enableRenewal)
{
$this->enableRenewal = $enableRenewal;
}
/**
* @return bool
*/
public function getEnableRenewal()
{
return $this->enableRenewal;
}
/**
* Describes how frequently the reseller will be billed, such as once per
* month.
*
* @param GoogleCloudChannelV1Period $paymentCycle
*/
public function setPaymentCycle(GoogleCloudChannelV1Period $paymentCycle)
{
$this->paymentCycle = $paymentCycle;
}
/**
* @return GoogleCloudChannelV1Period
*/
public function getPaymentCycle()
{
return $this->paymentCycle;
}
/**
* Describes how a reseller will be billed.
*
* Accepted values: PAYMENT_PLAN_UNSPECIFIED, COMMITMENT, FLEXIBLE, FREE,
* TRIAL, OFFLINE
*
* @param self::PAYMENT_PLAN_* $paymentPlan
*/
public function setPaymentPlan($paymentPlan)
{
$this->paymentPlan = $paymentPlan;
}
/**
* @return self::PAYMENT_PLAN_*
*/
public function getPaymentPlan()
{
return $this->paymentPlan;
}
/**
* If true and enable_renewal = true, the unit (for example seats or licenses)
* will be set to the number of active units at renewal time.
*
* @param bool $resizeUnitCount
*/
public function setResizeUnitCount($resizeUnitCount)
{
$this->resizeUnitCount = $resizeUnitCount;
}
/**
* @return bool
*/
public function getResizeUnitCount()
{
return $this->resizeUnitCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1RenewalSettings::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1RenewalSettings');
@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Report extends \Google\Collection
{
protected $collection_key = 'columns';
protected $columnsType = GoogleCloudChannelV1Column::class;
protected $columnsDataType = 'array';
/**
* A description of other aspects of the report, such as the products it
* supports.
*
* @var string
*/
public $description;
/**
* A human-readable name for this report.
*
* @var string
*/
public $displayName;
/**
* Required. The report's resource name. Specifies the account and report used
* to generate report data. The report_id identifier is a UID (for example,
* `613bf59q`). Name uses the format:
* accounts/{account_id}/reports/{report_id}
*
* @var string
*/
public $name;
/**
* The list of columns included in the report. This defines the schema of the
* report results.
*
* @param GoogleCloudChannelV1Column[] $columns
*/
public function setColumns($columns)
{
$this->columns = $columns;
}
/**
* @return GoogleCloudChannelV1Column[]
*/
public function getColumns()
{
return $this->columns;
}
/**
* A description of other aspects of the report, such as the products it
* supports.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* A human-readable name for this report.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The report's resource name. Specifies the account and report used
* to generate report data. The report_id identifier is a UID (for example,
* `613bf59q`). Name uses the format:
* accounts/{account_id}/reports/{report_id}
*
* @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(GoogleCloudChannelV1Report::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Report');
@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ReportJob extends \Google\Model
{
/**
* Required. The resource name of a report job. Name uses the format:
* `accounts/{account_id}/reportJobs/{report_job_id}`
*
* @var string
*/
public $name;
protected $reportStatusType = GoogleCloudChannelV1ReportStatus::class;
protected $reportStatusDataType = '';
/**
* Required. The resource name of a report job. Name uses the format:
* `accounts/{account_id}/reportJobs/{report_job_id}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The current status of report generation.
*
* @param GoogleCloudChannelV1ReportStatus $reportStatus
*/
public function setReportStatus(GoogleCloudChannelV1ReportStatus $reportStatus)
{
$this->reportStatus = $reportStatus;
}
/**
* @return GoogleCloudChannelV1ReportStatus
*/
public function getReportStatus()
{
return $this->reportStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ReportJob::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ReportJob');
@@ -0,0 +1,105 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ReportResultsMetadata extends \Google\Model
{
protected $dateRangeType = GoogleCloudChannelV1DateRange::class;
protected $dateRangeDataType = '';
protected $precedingDateRangeType = GoogleCloudChannelV1DateRange::class;
protected $precedingDateRangeDataType = '';
protected $reportType = GoogleCloudChannelV1Report::class;
protected $reportDataType = '';
/**
* The total number of rows of data in the final report.
*
* @var string
*/
public $rowCount;
/**
* The date range of reported usage.
*
* @param GoogleCloudChannelV1DateRange $dateRange
*/
public function setDateRange(GoogleCloudChannelV1DateRange $dateRange)
{
$this->dateRange = $dateRange;
}
/**
* @return GoogleCloudChannelV1DateRange
*/
public function getDateRange()
{
return $this->dateRange;
}
/**
* The usage dates immediately preceding `date_range` with the same duration.
* Use this to calculate trending usage and costs. This is only populated if
* you request trending data. For example, if `date_range` is July 1-15,
* `preceding_date_range` will be June 16-30.
*
* @param GoogleCloudChannelV1DateRange $precedingDateRange
*/
public function setPrecedingDateRange(GoogleCloudChannelV1DateRange $precedingDateRange)
{
$this->precedingDateRange = $precedingDateRange;
}
/**
* @return GoogleCloudChannelV1DateRange
*/
public function getPrecedingDateRange()
{
return $this->precedingDateRange;
}
/**
* Details of the completed report.
*
* @param GoogleCloudChannelV1Report $report
*/
public function setReport(GoogleCloudChannelV1Report $report)
{
$this->report = $report;
}
/**
* @return GoogleCloudChannelV1Report
*/
public function getReport()
{
return $this->report;
}
/**
* The total number of rows of data in the final report.
*
* @param string $rowCount
*/
public function setRowCount($rowCount)
{
$this->rowCount = $rowCount;
}
/**
* @return string
*/
public function getRowCount()
{
return $this->rowCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ReportResultsMetadata::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ReportResultsMetadata');
@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ReportStatus extends \Google\Model
{
/**
* Not used.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Report processing started.
*/
public const STATE_STARTED = 'STARTED';
/**
* Data generated from the report is being staged.
*/
public const STATE_WRITING = 'WRITING';
/**
* Report data is available for access.
*/
public const STATE_AVAILABLE = 'AVAILABLE';
/**
* Report failed.
*/
public const STATE_FAILED = 'FAILED';
/**
* The report generation's completion time.
*
* @var string
*/
public $endTime;
/**
* The report generation's start time.
*
* @var string
*/
public $startTime;
/**
* The current state of the report generation process.
*
* @var string
*/
public $state;
/**
* The report generation's completion time.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The report generation's start time.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* The current state of the report generation process.
*
* Accepted values: STATE_UNSPECIFIED, STARTED, WRITING, AVAILABLE, FAILED
*
* @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(GoogleCloudChannelV1ReportStatus::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ReportStatus');
@@ -0,0 +1,145 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1ReportValue extends \Google\Model
{
protected $dateTimeValueType = GoogleTypeDateTime::class;
protected $dateTimeValueDataType = '';
protected $dateValueType = GoogleTypeDate::class;
protected $dateValueDataType = '';
protected $decimalValueType = GoogleTypeDecimal::class;
protected $decimalValueDataType = '';
/**
* A value of type `int`.
*
* @var string
*/
public $intValue;
protected $moneyValueType = GoogleTypeMoney::class;
protected $moneyValueDataType = '';
/**
* A value of type `string`.
*
* @var string
*/
public $stringValue;
/**
* A value of type `google.type.DateTime` (year, month, day, hour, minute,
* second, and UTC offset or timezone.)
*
* @param GoogleTypeDateTime $dateTimeValue
*/
public function setDateTimeValue(GoogleTypeDateTime $dateTimeValue)
{
$this->dateTimeValue = $dateTimeValue;
}
/**
* @return GoogleTypeDateTime
*/
public function getDateTimeValue()
{
return $this->dateTimeValue;
}
/**
* A value of type `google.type.Date` (year, month, day).
*
* @param GoogleTypeDate $dateValue
*/
public function setDateValue(GoogleTypeDate $dateValue)
{
$this->dateValue = $dateValue;
}
/**
* @return GoogleTypeDate
*/
public function getDateValue()
{
return $this->dateValue;
}
/**
* A value of type `google.type.Decimal`, representing non-integer numeric
* values.
*
* @param GoogleTypeDecimal $decimalValue
*/
public function setDecimalValue(GoogleTypeDecimal $decimalValue)
{
$this->decimalValue = $decimalValue;
}
/**
* @return GoogleTypeDecimal
*/
public function getDecimalValue()
{
return $this->decimalValue;
}
/**
* A value of type `int`.
*
* @param string $intValue
*/
public function setIntValue($intValue)
{
$this->intValue = $intValue;
}
/**
* @return string
*/
public function getIntValue()
{
return $this->intValue;
}
/**
* A value of type `google.type.Money` (currency code, whole units, decimal
* units).
*
* @param GoogleTypeMoney $moneyValue
*/
public function setMoneyValue(GoogleTypeMoney $moneyValue)
{
$this->moneyValue = $moneyValue;
}
/**
* @return GoogleTypeMoney
*/
public function getMoneyValue()
{
return $this->moneyValue;
}
/**
* A value of type `string`.
*
* @param string $stringValue
*/
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return string
*/
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1ReportValue::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1ReportValue');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1RepricingAdjustment extends \Google\Model
{
protected $percentageAdjustmentType = GoogleCloudChannelV1PercentageAdjustment::class;
protected $percentageAdjustmentDataType = '';
/**
* Flat markup or markdown on an entire bill.
*
* @param GoogleCloudChannelV1PercentageAdjustment $percentageAdjustment
*/
public function setPercentageAdjustment(GoogleCloudChannelV1PercentageAdjustment $percentageAdjustment)
{
$this->percentageAdjustment = $percentageAdjustment;
}
/**
* @return GoogleCloudChannelV1PercentageAdjustment
*/
public function getPercentageAdjustment()
{
return $this->percentageAdjustment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1RepricingAdjustment::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1RepricingAdjustment');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1RepricingCondition extends \Google\Model
{
protected $skuGroupConditionType = GoogleCloudChannelV1SkuGroupCondition::class;
protected $skuGroupConditionDataType = '';
/**
* SKU Group condition for override.
*
* @param GoogleCloudChannelV1SkuGroupCondition $skuGroupCondition
*/
public function setSkuGroupCondition(GoogleCloudChannelV1SkuGroupCondition $skuGroupCondition)
{
$this->skuGroupCondition = $skuGroupCondition;
}
/**
* @return GoogleCloudChannelV1SkuGroupCondition
*/
public function getSkuGroupCondition()
{
return $this->skuGroupCondition;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1RepricingCondition::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1RepricingCondition');
@@ -0,0 +1,171 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1RepricingConfig extends \Google\Collection
{
/**
* Not used.
*/
public const REBILLING_BASIS_REBILLING_BASIS_UNSPECIFIED = 'REBILLING_BASIS_UNSPECIFIED';
/**
* Use the list cost, also known as the MSRP.
*/
public const REBILLING_BASIS_COST_AT_LIST = 'COST_AT_LIST';
/**
* Pass through all discounts except the Reseller Program Discount. If this is
* the default cost base and no adjustments are specified, the output cost
* will be exactly what the customer would see if they viewed the bill in the
* Google Cloud Console.
*/
public const REBILLING_BASIS_DIRECT_CUSTOMER_COST = 'DIRECT_CUSTOMER_COST';
protected $collection_key = 'conditionalOverrides';
protected $adjustmentType = GoogleCloudChannelV1RepricingAdjustment::class;
protected $adjustmentDataType = '';
protected $channelPartnerGranularityType = GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity::class;
protected $channelPartnerGranularityDataType = '';
protected $conditionalOverridesType = GoogleCloudChannelV1ConditionalOverride::class;
protected $conditionalOverridesDataType = 'array';
protected $effectiveInvoiceMonthType = GoogleTypeDate::class;
protected $effectiveInvoiceMonthDataType = '';
protected $entitlementGranularityType = GoogleCloudChannelV1RepricingConfigEntitlementGranularity::class;
protected $entitlementGranularityDataType = '';
/**
* Required. The RebillingBasis to use for this bill. Specifies the relative
* cost based on repricing costs you will apply.
*
* @var string
*/
public $rebillingBasis;
/**
* Required. Information about the adjustment.
*
* @param GoogleCloudChannelV1RepricingAdjustment $adjustment
*/
public function setAdjustment(GoogleCloudChannelV1RepricingAdjustment $adjustment)
{
$this->adjustment = $adjustment;
}
/**
* @return GoogleCloudChannelV1RepricingAdjustment
*/
public function getAdjustment()
{
return $this->adjustment;
}
/**
* Applies the repricing configuration at the channel partner level. Only
* ChannelPartnerRepricingConfig supports this value. Deprecated: This is no
* longer supported. Use RepricingConfig.entitlement_granularity instead.
*
* @deprecated
* @param GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity $channelPartnerGranularity
*/
public function setChannelPartnerGranularity(GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity $channelPartnerGranularity)
{
$this->channelPartnerGranularity = $channelPartnerGranularity;
}
/**
* @deprecated
* @return GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity
*/
public function getChannelPartnerGranularity()
{
return $this->channelPartnerGranularity;
}
/**
* The conditional overrides to apply for this configuration. If you list
* multiple overrides, only the first valid override is used. If you don't
* list any overrides, the API uses the normal adjustment and rebilling basis.
*
* @param GoogleCloudChannelV1ConditionalOverride[] $conditionalOverrides
*/
public function setConditionalOverrides($conditionalOverrides)
{
$this->conditionalOverrides = $conditionalOverrides;
}
/**
* @return GoogleCloudChannelV1ConditionalOverride[]
*/
public function getConditionalOverrides()
{
return $this->conditionalOverrides;
}
/**
* Required. The YearMonth when these adjustments activate. The Day field
* needs to be "0" since we only accept YearMonth repricing boundaries.
*
* @param GoogleTypeDate $effectiveInvoiceMonth
*/
public function setEffectiveInvoiceMonth(GoogleTypeDate $effectiveInvoiceMonth)
{
$this->effectiveInvoiceMonth = $effectiveInvoiceMonth;
}
/**
* @return GoogleTypeDate
*/
public function getEffectiveInvoiceMonth()
{
return $this->effectiveInvoiceMonth;
}
/**
* Required. Applies the repricing configuration at the entitlement level.
* Note: If a ChannelPartnerRepricingConfig using
* RepricingConfig.EntitlementGranularity becomes effective, then no existing
* or future RepricingConfig.ChannelPartnerGranularity will apply to the
* RepricingConfig.EntitlementGranularity.entitlement. This is the recommended
* value for both CustomerRepricingConfig and ChannelPartnerRepricingConfig.
*
* @param GoogleCloudChannelV1RepricingConfigEntitlementGranularity $entitlementGranularity
*/
public function setEntitlementGranularity(GoogleCloudChannelV1RepricingConfigEntitlementGranularity $entitlementGranularity)
{
$this->entitlementGranularity = $entitlementGranularity;
}
/**
* @return GoogleCloudChannelV1RepricingConfigEntitlementGranularity
*/
public function getEntitlementGranularity()
{
return $this->entitlementGranularity;
}
/**
* Required. The RebillingBasis to use for this bill. Specifies the relative
* cost based on repricing costs you will apply.
*
* Accepted values: REBILLING_BASIS_UNSPECIFIED, COST_AT_LIST,
* DIRECT_CUSTOMER_COST
*
* @param self::REBILLING_BASIS_* $rebillingBasis
*/
public function setRebillingBasis($rebillingBasis)
{
$this->rebillingBasis = $rebillingBasis;
}
/**
* @return self::REBILLING_BASIS_*
*/
public function getRebillingBasis()
{
return $this->rebillingBasis;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1RepricingConfig::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1RepricingConfig');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1RepricingConfigEntitlementGranularity extends \Google\Model
{
/**
* Resource name of the entitlement. Format:
* accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
*
* @var string
*/
public $entitlement;
/**
* Resource name of the entitlement. Format:
* accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
*
* @param string $entitlement
*/
public function setEntitlement($entitlement)
{
$this->entitlement = $entitlement;
}
/**
* @return string
*/
public function getEntitlement()
{
return $this->entitlement;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1RepricingConfigEntitlementGranularity::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1RepricingConfigEntitlementGranularity');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Row extends \Google\Collection
{
protected $collection_key = 'values';
/**
* The key for the partition this row belongs to. This field is empty if the
* report is not partitioned.
*
* @var string
*/
public $partitionKey;
protected $valuesType = GoogleCloudChannelV1ReportValue::class;
protected $valuesDataType = 'array';
/**
* The key for the partition this row belongs to. This field is empty if the
* report is not partitioned.
*
* @param string $partitionKey
*/
public function setPartitionKey($partitionKey)
{
$this->partitionKey = $partitionKey;
}
/**
* @return string
*/
public function getPartitionKey()
{
return $this->partitionKey;
}
/**
* The list of values in the row.
*
* @param GoogleCloudChannelV1ReportValue[] $values
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return GoogleCloudChannelV1ReportValue[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1Row::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Row');
@@ -0,0 +1,102 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1RunReportJobRequest extends \Google\Model
{
protected $dateRangeType = GoogleCloudChannelV1DateRange::class;
protected $dateRangeDataType = '';
/**
* Optional. A structured string that defines conditions on dimension columns
* to restrict the report output. Filters support logical operators (AND, OR,
* NOT) and conditional operators (=, !=, <, >, <=, and >=) using `column_id`
* as keys. For example: `(customer:"accounts/C123abc/customers/S456def" OR
* customer:"accounts/C123abc/customers/S789ghi") AND invoice_start_date.year
* >= 2022`
*
* @var string
*/
public $filter;
/**
* Optional. The BCP-47 language code, such as "en-US". If specified, the
* response is localized to the corresponding language code if the original
* data sources support it. Default is "en-US".
*
* @var string
*/
public $languageCode;
/**
* Optional. The range of usage or invoice dates to include in the result.
*
* @param GoogleCloudChannelV1DateRange $dateRange
*/
public function setDateRange(GoogleCloudChannelV1DateRange $dateRange)
{
$this->dateRange = $dateRange;
}
/**
* @return GoogleCloudChannelV1DateRange
*/
public function getDateRange()
{
return $this->dateRange;
}
/**
* Optional. A structured string that defines conditions on dimension columns
* to restrict the report output. Filters support logical operators (AND, OR,
* NOT) and conditional operators (=, !=, <, >, <=, and >=) using `column_id`
* as keys. For example: `(customer:"accounts/C123abc/customers/S456def" OR
* customer:"accounts/C123abc/customers/S789ghi") AND invoice_start_date.year
* >= 2022`
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* Optional. The BCP-47 language code, such as "en-US". If specified, the
* response is localized to the corresponding language code if the original
* data sources support it. Default is "en-US".
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1RunReportJobRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1RunReportJobRequest');
@@ -0,0 +1,65 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1RunReportJobResponse extends \Google\Model
{
protected $reportJobType = GoogleCloudChannelV1ReportJob::class;
protected $reportJobDataType = '';
protected $reportMetadataType = GoogleCloudChannelV1ReportResultsMetadata::class;
protected $reportMetadataDataType = '';
/**
* Pass `report_job.name` to FetchReportResultsRequest.report_job to retrieve
* the report's results.
*
* @param GoogleCloudChannelV1ReportJob $reportJob
*/
public function setReportJob(GoogleCloudChannelV1ReportJob $reportJob)
{
$this->reportJob = $reportJob;
}
/**
* @return GoogleCloudChannelV1ReportJob
*/
public function getReportJob()
{
return $this->reportJob;
}
/**
* The metadata for the report's results (display name, columns, row count,
* and date range). If you view this before the operation finishes, you may
* see incomplete data.
*
* @param GoogleCloudChannelV1ReportResultsMetadata $reportMetadata
*/
public function setReportMetadata(GoogleCloudChannelV1ReportResultsMetadata $reportMetadata)
{
$this->reportMetadata = $reportMetadata;
}
/**
* @return GoogleCloudChannelV1ReportResultsMetadata
*/
public function getReportMetadata()
{
return $this->reportMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1RunReportJobResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1RunReportJobResponse');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1Sku extends \Google\Model
{
protected $marketingInfoType = GoogleCloudChannelV1MarketingInfo::class;
protected $marketingInfoDataType = '';
/**
* Resource Name of the SKU. Format: products/{product_id}/skus/{sku_id}
*
* @var string
*/
public $name;
protected $productType = GoogleCloudChannelV1Product::class;
protected $productDataType = '';
/**
* Marketing information for the SKU.
*
* @param GoogleCloudChannelV1MarketingInfo $marketingInfo
*/
public function setMarketingInfo(GoogleCloudChannelV1MarketingInfo $marketingInfo)
{
$this->marketingInfo = $marketingInfo;
}
/**
* @return GoogleCloudChannelV1MarketingInfo
*/
public function getMarketingInfo()
{
return $this->marketingInfo;
}
/**
* Resource Name of the SKU. Format: products/{product_id}/skus/{sku_id}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Product the SKU is associated with.
*
* @param GoogleCloudChannelV1Product $product
*/
public function setProduct(GoogleCloudChannelV1Product $product)
{
$this->product = $product;
}
/**
* @return GoogleCloudChannelV1Product
*/
public function getProduct()
{
return $this->product;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1Sku::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Sku');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1SkuGroup extends \Google\Model
{
/**
* Unique human readable identifier for the SKU group.
*
* @var string
*/
public $displayName;
/**
* Resource name of SKU group. Format:
* accounts/{account}/skuGroups/{sku_group}. Example:
* "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
*
* @var string
*/
public $name;
/**
* Unique human readable identifier for the SKU group.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Resource name of SKU group. Format:
* accounts/{account}/skuGroups/{sku_group}. Example:
* "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
*
* @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(GoogleCloudChannelV1SkuGroup::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1SkuGroup');
@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1SkuGroupCondition extends \Google\Model
{
/**
* Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource
* name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}.
* Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
*
* @var string
*/
public $skuGroup;
/**
* Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource
* name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}.
* Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
*
* @param string $skuGroup
*/
public function setSkuGroup($skuGroup)
{
$this->skuGroup = $skuGroup;
}
/**
* @return string
*/
public function getSkuGroup()
{
return $this->skuGroup;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1SkuGroupCondition::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1SkuGroupCondition');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1SkuPurchaseGroup extends \Google\Collection
{
protected $collection_key = 'skus';
protected $billingAccountPurchaseInfosType = GoogleCloudChannelV1BillingAccountPurchaseInfo::class;
protected $billingAccountPurchaseInfosDataType = 'array';
/**
* Resource names of the SKUs included in this group. Format:
* products/{product_id}/skus/{sku_id}.
*
* @var string[]
*/
public $skus;
/**
* List of billing accounts that are eligible to purhcase these SKUs.
*
* @param GoogleCloudChannelV1BillingAccountPurchaseInfo[] $billingAccountPurchaseInfos
*/
public function setBillingAccountPurchaseInfos($billingAccountPurchaseInfos)
{
$this->billingAccountPurchaseInfos = $billingAccountPurchaseInfos;
}
/**
* @return GoogleCloudChannelV1BillingAccountPurchaseInfo[]
*/
public function getBillingAccountPurchaseInfos()
{
return $this->billingAccountPurchaseInfos;
}
/**
* Resource names of the SKUs included in this group. Format:
* products/{product_id}/skus/{sku_id}.
*
* @param string[] $skus
*/
public function setSkus($skus)
{
$this->skus = $skus;
}
/**
* @return string[]
*/
public function getSkus()
{
return $this->skus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1SkuPurchaseGroup::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1SkuPurchaseGroup');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1StartPaidServiceRequest extends \Google\Model
{
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @var string
*/
public $requestId;
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1StartPaidServiceRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1StartPaidServiceRequest');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1SubscriberEvent extends \Google\Model
{
protected $customerEventType = GoogleCloudChannelV1CustomerEvent::class;
protected $customerEventDataType = '';
protected $entitlementEventType = GoogleCloudChannelV1EntitlementEvent::class;
protected $entitlementEventDataType = '';
/**
* Customer event sent as part of Pub/Sub event to partners.
*
* @param GoogleCloudChannelV1CustomerEvent $customerEvent
*/
public function setCustomerEvent(GoogleCloudChannelV1CustomerEvent $customerEvent)
{
$this->customerEvent = $customerEvent;
}
/**
* @return GoogleCloudChannelV1CustomerEvent
*/
public function getCustomerEvent()
{
return $this->customerEvent;
}
/**
* Entitlement event sent as part of Pub/Sub event to partners.
*
* @param GoogleCloudChannelV1EntitlementEvent $entitlementEvent
*/
public function setEntitlementEvent(GoogleCloudChannelV1EntitlementEvent $entitlementEvent)
{
$this->entitlementEvent = $entitlementEvent;
}
/**
* @return GoogleCloudChannelV1EntitlementEvent
*/
public function getEntitlementEvent()
{
return $this->entitlementEvent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1SubscriberEvent::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1SubscriberEvent');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1SuspendEntitlementRequest extends \Google\Model
{
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @var string
*/
public $requestId;
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1SuspendEntitlementRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1SuspendEntitlementRequest');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1TransferEligibility extends \Google\Model
{
/**
* Not used.
*/
public const INELIGIBILITY_REASON_REASON_UNSPECIFIED = 'REASON_UNSPECIFIED';
/**
* Reseller needs to accept TOS before transferring the SKU.
*/
public const INELIGIBILITY_REASON_PENDING_TOS_ACCEPTANCE = 'PENDING_TOS_ACCEPTANCE';
/**
* Reseller not eligible to sell the SKU.
*/
public const INELIGIBILITY_REASON_SKU_NOT_ELIGIBLE = 'SKU_NOT_ELIGIBLE';
/**
* SKU subscription is suspended
*/
public const INELIGIBILITY_REASON_SKU_SUSPENDED = 'SKU_SUSPENDED';
/**
* The reseller is not authorized to transact on this Product. See
* https://support.google.com/channelservices/answer/9759265
*/
public const INELIGIBILITY_REASON_CHANNEL_PARTNER_NOT_AUTHORIZED_FOR_SKU = 'CHANNEL_PARTNER_NOT_AUTHORIZED_FOR_SKU';
/**
* Localized description if reseller is not eligible to transfer the SKU.
*
* @var string
*/
public $description;
/**
* Specified the reason for ineligibility.
*
* @var string
*/
public $ineligibilityReason;
/**
* Whether reseller is eligible to transfer the SKU.
*
* @var bool
*/
public $isEligible;
/**
* Localized description if reseller is not eligible to transfer the SKU.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Specified the reason for ineligibility.
*
* Accepted values: REASON_UNSPECIFIED, PENDING_TOS_ACCEPTANCE,
* SKU_NOT_ELIGIBLE, SKU_SUSPENDED, CHANNEL_PARTNER_NOT_AUTHORIZED_FOR_SKU
*
* @param self::INELIGIBILITY_REASON_* $ineligibilityReason
*/
public function setIneligibilityReason($ineligibilityReason)
{
$this->ineligibilityReason = $ineligibilityReason;
}
/**
* @return self::INELIGIBILITY_REASON_*
*/
public function getIneligibilityReason()
{
return $this->ineligibilityReason;
}
/**
* Whether reseller is eligible to transfer the SKU.
*
* @param bool $isEligible
*/
public function setIsEligible($isEligible)
{
$this->isEligible = $isEligible;
}
/**
* @return bool
*/
public function getIsEligible()
{
return $this->isEligible;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1TransferEligibility::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1TransferEligibility');
@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1TransferEntitlementsRequest extends \Google\Collection
{
protected $collection_key = 'entitlements';
/**
* The super admin of the resold customer generates this token to authorize a
* reseller to access their Cloud Identity and purchase entitlements on their
* behalf. You can omit this token after authorization. See
* https://support.google.com/a/answer/7643790 for more details.
*
* @var string
*/
public $authToken;
protected $entitlementsType = GoogleCloudChannelV1Entitlement::class;
protected $entitlementsDataType = 'array';
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @var string
*/
public $requestId;
/**
* The super admin of the resold customer generates this token to authorize a
* reseller to access their Cloud Identity and purchase entitlements on their
* behalf. You can omit this token after authorization. See
* https://support.google.com/a/answer/7643790 for more details.
*
* @param string $authToken
*/
public function setAuthToken($authToken)
{
$this->authToken = $authToken;
}
/**
* @return string
*/
public function getAuthToken()
{
return $this->authToken;
}
/**
* Required. The new entitlements to create or transfer.
*
* @param GoogleCloudChannelV1Entitlement[] $entitlements
*/
public function setEntitlements($entitlements)
{
$this->entitlements = $entitlements;
}
/**
* @return GoogleCloudChannelV1Entitlement[]
*/
public function getEntitlements()
{
return $this->entitlements;
}
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1TransferEntitlementsRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1TransferEntitlementsRequest');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1TransferEntitlementsResponse extends \Google\Collection
{
protected $collection_key = 'entitlements';
protected $entitlementsType = GoogleCloudChannelV1Entitlement::class;
protected $entitlementsDataType = 'array';
/**
* The transferred entitlements.
*
* @param GoogleCloudChannelV1Entitlement[] $entitlements
*/
public function setEntitlements($entitlements)
{
$this->entitlements = $entitlements;
}
/**
* @return GoogleCloudChannelV1Entitlement[]
*/
public function getEntitlements()
{
return $this->entitlements;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1TransferEntitlementsResponse::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1TransferEntitlementsResponse');
@@ -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\Cloudchannel;
class GoogleCloudChannelV1TransferEntitlementsToGoogleRequest extends \Google\Collection
{
protected $collection_key = 'entitlements';
protected $entitlementsType = GoogleCloudChannelV1Entitlement::class;
protected $entitlementsDataType = 'array';
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @var string
*/
public $requestId;
/**
* Required. The entitlements to transfer to Google.
*
* @param GoogleCloudChannelV1Entitlement[] $entitlements
*/
public function setEntitlements($entitlements)
{
$this->entitlements = $entitlements;
}
/**
* @return GoogleCloudChannelV1Entitlement[]
*/
public function getEntitlements()
{
return $this->entitlements;
}
/**
* Optional. You can specify an optional unique request ID, and if you need to
* retry your request, the server will know to ignore the request if it's
* complete. For example, you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can
* check if it received the original operation with the same request ID. If it
* did, it will ignore the second request. The request ID must be a valid
* [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero
* UUID is not supported (`00000000-0000-0000-0000-000000000000`).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1TransferEntitlementsToGoogleRequest::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1TransferEntitlementsToGoogleRequest');

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