diff --git a/ResourceSettings/metadata/V1/ResourceSettings.php b/ResourceSettings/metadata/V1/ResourceSettings.php index 978b2e87241f..0ddd1d8f7c88 100644 Binary files a/ResourceSettings/metadata/V1/ResourceSettings.php and b/ResourceSettings/metadata/V1/ResourceSettings.php differ diff --git a/ResourceSettings/samples/V1/ResourceSettingsServiceClient/get_setting.php b/ResourceSettings/samples/V1/ResourceSettingsServiceClient/get_setting.php index 383b62101fcb..d09a9930816d 100644 --- a/ResourceSettings/samples/V1/ResourceSettingsServiceClient/get_setting.php +++ b/ResourceSettings/samples/V1/ResourceSettingsServiceClient/get_setting.php @@ -34,7 +34,8 @@ * Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the * setting does not exist. * - * @param string $formattedName The name of the setting to get. See [Setting][google.cloud.resourcesettings.v1.Setting] for naming + * @param string $formattedName The name of the setting to get. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for naming * requirements. Please see * {@see ResourceSettingsServiceClient::settingName()} for help formatting this field. */ diff --git a/ResourceSettings/samples/V1/ResourceSettingsServiceClient/list_settings.php b/ResourceSettings/samples/V1/ResourceSettingsServiceClient/list_settings.php index 53580af9b606..3f444af5b71d 100644 --- a/ResourceSettings/samples/V1/ResourceSettingsServiceClient/list_settings.php +++ b/ResourceSettings/samples/V1/ResourceSettingsServiceClient/list_settings.php @@ -32,8 +32,8 @@ /** * Lists all the settings that are available on the Cloud resource `parent`. * - * @param string $parent The Cloud resource that parents the setting. Must be in one of the - * following forms: + * @param string $parent The Cloud resource that parents the setting. Must be in one of + * the following forms: * * * `projects/{project_number}` * * `projects/{project_id}` diff --git a/ResourceSettings/src/V1/Client/ResourceSettingsServiceClient.php b/ResourceSettings/src/V1/Client/ResourceSettingsServiceClient.php index bce2a4ead91e..6d5483bb3dfe 100644 --- a/ResourceSettings/src/V1/Client/ResourceSettingsServiceClient.php +++ b/ResourceSettings/src/V1/Client/ResourceSettingsServiceClient.php @@ -52,6 +52,9 @@ * resource is not in a Cloud Organization. * For all requests, returns a `google.rpc.Status` with * `google.rpc.Code.INVALID_ARGUMENT` if the request is malformed. + * (== deprecation_description Resource Settings is deprecated. As of November + * 7, 2023, no organizations will be onboarded for any of the enabled settings, + * and the service will be shut down on October 1, 2024. ==) * * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. @@ -61,6 +64,8 @@ * name, and additionally a parseName method to extract the individual identifiers * contained within formatted names that are returned by the API. * + * @deprecated This class will be removed in the next major version update. + * * @method PromiseInterface getSettingAsync(GetSettingRequest $request, array $optionalArgs = []) * @method PromiseInterface listSettingsAsync(ListSettingsRequest $request, array $optionalArgs = []) * @method PromiseInterface updateSettingAsync(UpdateSettingRequest $request, array $optionalArgs = []) diff --git a/ResourceSettings/src/V1/Gapic/ResourceSettingsServiceGapicClient.php b/ResourceSettings/src/V1/Gapic/ResourceSettingsServiceGapicClient.php index 81b66a825428..735b280de306 100644 --- a/ResourceSettings/src/V1/Gapic/ResourceSettingsServiceGapicClient.php +++ b/ResourceSettings/src/V1/Gapic/ResourceSettingsServiceGapicClient.php @@ -53,6 +53,9 @@ * resource is not in a Cloud Organization. * For all requests, returns a `google.rpc.Status` with * `google.rpc.Code.INVALID_ARGUMENT` if the request is malformed. + * (== deprecation_description Resource Settings is deprecated. As of November + * 7, 2023, no organizations will be onboarded for any of the enabled settings, + * and the service will be shut down on October 1, 2024. ==) * * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: @@ -395,7 +398,8 @@ public function __construct(array $options = []) * } * ``` * - * @param string $name Required. The name of the setting to get. See [Setting][google.cloud.resourcesettings.v1.Setting] for naming + * @param string $name Required. The name of the setting to get. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for naming * requirements. * @param array $optionalArgs { * Optional. @@ -463,8 +467,8 @@ public function getSetting($name, array $optionalArgs = []) * } * ``` * - * @param string $parent Required. The Cloud resource that parents the setting. Must be in one of the - * following forms: + * @param string $parent Required. The Cloud resource that parents the setting. Must be in one of + * the following forms: * * * `projects/{project_number}` * * `projects/{project_id}` @@ -556,7 +560,8 @@ public function listSettings($parent, array $optionalArgs = []) * } * ``` * - * @param Setting $setting Required. The setting to update. See [Setting][google.cloud.resourcesettings.v1.Setting] for field requirements. + * @param Setting $setting Required. The setting to update. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for field requirements. * @param array $optionalArgs { * Optional. * diff --git a/ResourceSettings/src/V1/GetSettingRequest.php b/ResourceSettings/src/V1/GetSettingRequest.php index 7bf36eeab4c8..4e9469b716bd 100644 --- a/ResourceSettings/src/V1/GetSettingRequest.php +++ b/ResourceSettings/src/V1/GetSettingRequest.php @@ -16,7 +16,8 @@ class GetSettingRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The name of the setting to get. See [Setting][google.cloud.resourcesettings.v1.Setting] for naming + * Required. The name of the setting to get. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for naming * requirements. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -30,7 +31,8 @@ class GetSettingRequest extends \Google\Protobuf\Internal\Message private $view = 0; /** - * @param string $name Required. The name of the setting to get. See [Setting][google.cloud.resourcesettings.v1.Setting] for naming + * @param string $name Required. The name of the setting to get. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for naming * requirements. Please see * {@see ResourceSettingsServiceClient::settingName()} for help formatting this field. * @@ -51,7 +53,8 @@ public static function build(string $name): self * Optional. Data for populating the Message object. * * @type string $name - * Required. The name of the setting to get. See [Setting][google.cloud.resourcesettings.v1.Setting] for naming + * Required. The name of the setting to get. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for naming * requirements. * @type int $view * The SettingView for this request. @@ -63,7 +66,8 @@ public function __construct($data = NULL) { } /** - * Required. The name of the setting to get. See [Setting][google.cloud.resourcesettings.v1.Setting] for naming + * Required. The name of the setting to get. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for naming * requirements. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -75,7 +79,8 @@ public function getName() } /** - * Required. The name of the setting to get. See [Setting][google.cloud.resourcesettings.v1.Setting] for naming + * Required. The name of the setting to get. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for naming * requirements. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { diff --git a/ResourceSettings/src/V1/ListSettingsRequest.php b/ResourceSettings/src/V1/ListSettingsRequest.php index da218cbb94b9..869cbbe3267f 100644 --- a/ResourceSettings/src/V1/ListSettingsRequest.php +++ b/ResourceSettings/src/V1/ListSettingsRequest.php @@ -16,8 +16,8 @@ class ListSettingsRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The Cloud resource that parents the setting. Must be in one of the - * following forms: + * Required. The Cloud resource that parents the setting. Must be in one of + * the following forms: * * `projects/{project_number}` * * `projects/{project_id}` * * `folders/{folder_id}` @@ -46,8 +46,8 @@ class ListSettingsRequest extends \Google\Protobuf\Internal\Message private $view = 0; /** - * @param string $parent Required. The Cloud resource that parents the setting. Must be in one of the - * following forms: + * @param string $parent Required. The Cloud resource that parents the setting. Must be in one of + * the following forms: * * * `projects/{project_number}` * * `projects/{project_id}` @@ -71,8 +71,8 @@ public static function build(string $parent): self * Optional. Data for populating the Message object. * * @type string $parent - * Required. The Cloud resource that parents the setting. Must be in one of the - * following forms: + * Required. The Cloud resource that parents the setting. Must be in one of + * the following forms: * * `projects/{project_number}` * * `projects/{project_id}` * * `folders/{folder_id}` @@ -91,8 +91,8 @@ public function __construct($data = NULL) { } /** - * Required. The Cloud resource that parents the setting. Must be in one of the - * following forms: + * Required. The Cloud resource that parents the setting. Must be in one of + * the following forms: * * `projects/{project_number}` * * `projects/{project_id}` * * `folders/{folder_id}` @@ -107,8 +107,8 @@ public function getParent() } /** - * Required. The Cloud resource that parents the setting. Must be in one of the - * following forms: + * Required. The Cloud resource that parents the setting. Must be in one of + * the following forms: * * `projects/{project_number}` * * `projects/{project_id}` * * `folders/{folder_id}` diff --git a/ResourceSettings/src/V1/Setting.php b/ResourceSettings/src/V1/Setting.php index 77f510c0f6f1..88d798f2e288 100644 --- a/ResourceSettings/src/V1/Setting.php +++ b/ResourceSettings/src/V1/Setting.php @@ -26,39 +26,45 @@ class Setting extends \Google\Protobuf\Internal\Message */ private $name = ''; /** - * Output only. Metadata about a setting which is not editable by the end user. + * Output only. Metadata about a setting which is not editable by the end + * user. * * Generated from protobuf field .google.cloud.resourcesettings.v1.SettingMetadata metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $metadata = null; /** * The configured value of the setting at the given parent resource (ignoring - * the resource hierarchy). The data type of [Value][google.cloud.resourcesettings.v1.Value] must always be - * consistent with the data type defined in [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. + * the resource hierarchy). The data type of + * [Value][google.cloud.resourcesettings.v1.Value] must always be consistent + * with the data type defined in + * [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Value local_value = 8; */ private $local_value = null; /** - * Output only. The computed effective value of the setting at the given parent resource - * (based on the resource hierarchy). + * Output only. The computed effective value of the setting at the given + * parent resource (based on the resource hierarchy). * The effective value evaluates to one of the following options in the given * order (the next option is used if the previous one does not exist): - * 1. the local setting value on the given resource: [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value] + * 1. the local setting value on the given resource: + * [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value] * 2. if one of the given resource's ancestors have a local setting value, * the local value at the nearest such ancestor - * 3. the setting's default value: [SettingMetadata.default_value][google.cloud.resourcesettings.v1.SettingMetadata.default_value] + * 3. the setting's default value: + * [SettingMetadata.default_value][google.cloud.resourcesettings.v1.SettingMetadata.default_value] * 4. an empty value (defined as a `Value` with all fields unset) - * The data type of [Value][google.cloud.resourcesettings.v1.Value] must always be - * consistent with the data type defined in [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. + * The data type of [Value][google.cloud.resourcesettings.v1.Value] must + * always be consistent with the data type defined in + * [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Value effective_value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $effective_value = null; /** * A fingerprint used for optimistic concurrency. See - * [UpdateSetting][google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSetting] for more - * details. + * [UpdateSetting][google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSetting] + * for more details. * * Generated from protobuf field string etag = 10; */ @@ -77,27 +83,33 @@ class Setting extends \Google\Protobuf\Internal\Message * * `organizations/{organization_id}/settings/{setting_name}` * For example, "/projects/123/settings/gcp-enableMyFeature" * @type \Google\Cloud\ResourceSettings\V1\SettingMetadata $metadata - * Output only. Metadata about a setting which is not editable by the end user. + * Output only. Metadata about a setting which is not editable by the end + * user. * @type \Google\Cloud\ResourceSettings\V1\Value $local_value * The configured value of the setting at the given parent resource (ignoring - * the resource hierarchy). The data type of [Value][google.cloud.resourcesettings.v1.Value] must always be - * consistent with the data type defined in [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. + * the resource hierarchy). The data type of + * [Value][google.cloud.resourcesettings.v1.Value] must always be consistent + * with the data type defined in + * [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. * @type \Google\Cloud\ResourceSettings\V1\Value $effective_value - * Output only. The computed effective value of the setting at the given parent resource - * (based on the resource hierarchy). + * Output only. The computed effective value of the setting at the given + * parent resource (based on the resource hierarchy). * The effective value evaluates to one of the following options in the given * order (the next option is used if the previous one does not exist): - * 1. the local setting value on the given resource: [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value] + * 1. the local setting value on the given resource: + * [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value] * 2. if one of the given resource's ancestors have a local setting value, * the local value at the nearest such ancestor - * 3. the setting's default value: [SettingMetadata.default_value][google.cloud.resourcesettings.v1.SettingMetadata.default_value] + * 3. the setting's default value: + * [SettingMetadata.default_value][google.cloud.resourcesettings.v1.SettingMetadata.default_value] * 4. an empty value (defined as a `Value` with all fields unset) - * The data type of [Value][google.cloud.resourcesettings.v1.Value] must always be - * consistent with the data type defined in [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. + * The data type of [Value][google.cloud.resourcesettings.v1.Value] must + * always be consistent with the data type defined in + * [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. * @type string $etag * A fingerprint used for optimistic concurrency. See - * [UpdateSetting][google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSetting] for more - * details. + * [UpdateSetting][google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSetting] + * for more details. * } */ public function __construct($data = NULL) { @@ -140,7 +152,8 @@ public function setName($var) } /** - * Output only. Metadata about a setting which is not editable by the end user. + * Output only. Metadata about a setting which is not editable by the end + * user. * * Generated from protobuf field .google.cloud.resourcesettings.v1.SettingMetadata metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\ResourceSettings\V1\SettingMetadata|null @@ -161,7 +174,8 @@ public function clearMetadata() } /** - * Output only. Metadata about a setting which is not editable by the end user. + * Output only. Metadata about a setting which is not editable by the end + * user. * * Generated from protobuf field .google.cloud.resourcesettings.v1.SettingMetadata metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\ResourceSettings\V1\SettingMetadata $var @@ -177,8 +191,10 @@ public function setMetadata($var) /** * The configured value of the setting at the given parent resource (ignoring - * the resource hierarchy). The data type of [Value][google.cloud.resourcesettings.v1.Value] must always be - * consistent with the data type defined in [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. + * the resource hierarchy). The data type of + * [Value][google.cloud.resourcesettings.v1.Value] must always be consistent + * with the data type defined in + * [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Value local_value = 8; * @return \Google\Cloud\ResourceSettings\V1\Value|null @@ -200,8 +216,10 @@ public function clearLocalValue() /** * The configured value of the setting at the given parent resource (ignoring - * the resource hierarchy). The data type of [Value][google.cloud.resourcesettings.v1.Value] must always be - * consistent with the data type defined in [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. + * the resource hierarchy). The data type of + * [Value][google.cloud.resourcesettings.v1.Value] must always be consistent + * with the data type defined in + * [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Value local_value = 8; * @param \Google\Cloud\ResourceSettings\V1\Value $var @@ -216,17 +234,20 @@ public function setLocalValue($var) } /** - * Output only. The computed effective value of the setting at the given parent resource - * (based on the resource hierarchy). + * Output only. The computed effective value of the setting at the given + * parent resource (based on the resource hierarchy). * The effective value evaluates to one of the following options in the given * order (the next option is used if the previous one does not exist): - * 1. the local setting value on the given resource: [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value] + * 1. the local setting value on the given resource: + * [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value] * 2. if one of the given resource's ancestors have a local setting value, * the local value at the nearest such ancestor - * 3. the setting's default value: [SettingMetadata.default_value][google.cloud.resourcesettings.v1.SettingMetadata.default_value] + * 3. the setting's default value: + * [SettingMetadata.default_value][google.cloud.resourcesettings.v1.SettingMetadata.default_value] * 4. an empty value (defined as a `Value` with all fields unset) - * The data type of [Value][google.cloud.resourcesettings.v1.Value] must always be - * consistent with the data type defined in [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. + * The data type of [Value][google.cloud.resourcesettings.v1.Value] must + * always be consistent with the data type defined in + * [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Value effective_value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\ResourceSettings\V1\Value|null @@ -247,17 +268,20 @@ public function clearEffectiveValue() } /** - * Output only. The computed effective value of the setting at the given parent resource - * (based on the resource hierarchy). + * Output only. The computed effective value of the setting at the given + * parent resource (based on the resource hierarchy). * The effective value evaluates to one of the following options in the given * order (the next option is used if the previous one does not exist): - * 1. the local setting value on the given resource: [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value] + * 1. the local setting value on the given resource: + * [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value] * 2. if one of the given resource's ancestors have a local setting value, * the local value at the nearest such ancestor - * 3. the setting's default value: [SettingMetadata.default_value][google.cloud.resourcesettings.v1.SettingMetadata.default_value] + * 3. the setting's default value: + * [SettingMetadata.default_value][google.cloud.resourcesettings.v1.SettingMetadata.default_value] * 4. an empty value (defined as a `Value` with all fields unset) - * The data type of [Value][google.cloud.resourcesettings.v1.Value] must always be - * consistent with the data type defined in [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. + * The data type of [Value][google.cloud.resourcesettings.v1.Value] must + * always be consistent with the data type defined in + * [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata]. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Value effective_value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\ResourceSettings\V1\Value $var @@ -273,8 +297,8 @@ public function setEffectiveValue($var) /** * A fingerprint used for optimistic concurrency. See - * [UpdateSetting][google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSetting] for more - * details. + * [UpdateSetting][google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSetting] + * for more details. * * Generated from protobuf field string etag = 10; * @return string @@ -286,8 +310,8 @@ public function getEtag() /** * A fingerprint used for optimistic concurrency. See - * [UpdateSetting][google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSetting] for more - * details. + * [UpdateSetting][google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSetting] + * for more details. * * Generated from protobuf field string etag = 10; * @param string $var diff --git a/ResourceSettings/src/V1/SettingMetadata.php b/ResourceSettings/src/V1/SettingMetadata.php index 1d7faac979f7..cf7f941b300f 100644 --- a/ResourceSettings/src/V1/SettingMetadata.php +++ b/ResourceSettings/src/V1/SettingMetadata.php @@ -41,8 +41,9 @@ class SettingMetadata extends \Google\Protobuf\Internal\Message */ private $data_type = 0; /** - * The value provided by [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value] if no setting value is - * explicitly set. + * The value provided by + * [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value] + * if no setting value is explicitly set. * Note: not all settings have a default value. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Value default_value = 5; @@ -65,8 +66,9 @@ class SettingMetadata extends \Google\Protobuf\Internal\Message * @type int $data_type * The data type for this setting. * @type \Google\Cloud\ResourceSettings\V1\Value $default_value - * The value provided by [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value] if no setting value is - * explicitly set. + * The value provided by + * [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value] + * if no setting value is explicitly set. * Note: not all settings have a default value. * } */ @@ -182,8 +184,9 @@ public function setDataType($var) } /** - * The value provided by [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value] if no setting value is - * explicitly set. + * The value provided by + * [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value] + * if no setting value is explicitly set. * Note: not all settings have a default value. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Value default_value = 5; @@ -205,8 +208,9 @@ public function clearDefaultValue() } /** - * The value provided by [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value] if no setting value is - * explicitly set. + * The value provided by + * [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value] + * if no setting value is explicitly set. * Note: not all settings have a default value. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Value default_value = 5; diff --git a/ResourceSettings/src/V1/SettingMetadata/DataType.php b/ResourceSettings/src/V1/SettingMetadata/DataType.php index ee1b2fa553c5..69a636bedaa5 100644 --- a/ResourceSettings/src/V1/SettingMetadata/DataType.php +++ b/ResourceSettings/src/V1/SettingMetadata/DataType.php @@ -7,8 +7,9 @@ use UnexpectedValueException; /** - * The data type for setting values of this setting. See [Value][google.cloud.resourcesettings.v1.Value] for more - * details on the available data types. + * The data type for setting values of this setting. See + * [Value][google.cloud.resourcesettings.v1.Value] for more details on the + * available data types. * * Protobuf type google.cloud.resourcesettings.v1.SettingMetadata.DataType */ diff --git a/ResourceSettings/src/V1/SettingView.php b/ResourceSettings/src/V1/SettingView.php index f20206bdce88..80dad94f8b5f 100644 --- a/ResourceSettings/src/V1/SettingView.php +++ b/ResourceSettings/src/V1/SettingView.php @@ -21,20 +21,26 @@ class SettingView */ const SETTING_VIEW_UNSPECIFIED = 0; /** - * Include [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata], but nothing else. - * This is the default value (for both ListSettings and GetSetting). + * Include + * [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata], but + * nothing else. This is the default value (for both ListSettings and + * GetSetting). * * Generated from protobuf enum SETTING_VIEW_BASIC = 1; */ const SETTING_VIEW_BASIC = 1; /** - * Include [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value], but nothing else. + * Include + * [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value], + * but nothing else. * * Generated from protobuf enum SETTING_VIEW_EFFECTIVE_VALUE = 2; */ const SETTING_VIEW_EFFECTIVE_VALUE = 2; /** - * Include [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value], but nothing else. + * Include + * [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value], + * but nothing else. * * Generated from protobuf enum SETTING_VIEW_LOCAL_VALUE = 3; */ diff --git a/ResourceSettings/src/V1/UpdateSettingRequest.php b/ResourceSettings/src/V1/UpdateSettingRequest.php index 7552b423dfa0..e3f37d99cb30 100644 --- a/ResourceSettings/src/V1/UpdateSettingRequest.php +++ b/ResourceSettings/src/V1/UpdateSettingRequest.php @@ -16,7 +16,8 @@ class UpdateSettingRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The setting to update. See [Setting][google.cloud.resourcesettings.v1.Setting] for field requirements. + * Required. The setting to update. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for field requirements. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Setting setting = 1 [(.google.api.field_behavior) = REQUIRED]; */ @@ -29,7 +30,8 @@ class UpdateSettingRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type \Google\Cloud\ResourceSettings\V1\Setting $setting - * Required. The setting to update. See [Setting][google.cloud.resourcesettings.v1.Setting] for field requirements. + * Required. The setting to update. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for field requirements. * } */ public function __construct($data = NULL) { @@ -38,7 +40,8 @@ public function __construct($data = NULL) { } /** - * Required. The setting to update. See [Setting][google.cloud.resourcesettings.v1.Setting] for field requirements. + * Required. The setting to update. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for field requirements. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Setting setting = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\ResourceSettings\V1\Setting|null @@ -59,7 +62,8 @@ public function clearSetting() } /** - * Required. The setting to update. See [Setting][google.cloud.resourcesettings.v1.Setting] for field requirements. + * Required. The setting to update. See + * [Setting][google.cloud.resourcesettings.v1.Setting] for field requirements. * * Generated from protobuf field .google.cloud.resourcesettings.v1.Setting setting = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\ResourceSettings\V1\Setting $var