diff --git a/src/Google/Service/FirebaseRules/Resource/Projects.php b/src/Google/Service/FirebaseRules/Resource/Projects.php index 3a6fd55fce..f211c8a6d8 100644 --- a/src/Google/Service/FirebaseRules/Resource/Projects.php +++ b/src/Google/Service/FirebaseRules/Resource/Projects.php @@ -39,10 +39,10 @@ class Google_Service_FirebaseRules_Resource_Projects extends Google_Service_Reso * imageName.matches('*.jpg$')) && resource.mimeType.matches('^image/') } } * (projects.test) * - * @param string $name Tests may either provide `source` or a `Ruleset` resource - * name. For tests against `source`, the resource name must refer to the - * project: Format: `projects/{project_id}` For tests against a `Ruleset`, this - * must be the `Ruleset` resource name: Format: + * @param string $name Required. Tests may either provide `source` or a + * `Ruleset` resource name. For tests against `source`, the resource name must + * refer to the project: Format: `projects/{project_id}` For tests against a + * `Ruleset`, this must be the `Ruleset` resource name: Format: * `projects/{project_id}/rulesets/{ruleset_id}` * @param Google_Service_FirebaseRules_TestRulesetRequest $postBody * @param array $optParams Optional parameters. diff --git a/src/Google/Service/FirebaseRules/Resource/ProjectsReleases.php b/src/Google/Service/FirebaseRules/Resource/ProjectsReleases.php index 7a8e3f1a56..2e0b2e8719 100644 --- a/src/Google/Service/FirebaseRules/Resource/ProjectsReleases.php +++ b/src/Google/Service/FirebaseRules/Resource/ProjectsReleases.php @@ -41,8 +41,8 @@ class Google_Service_FirebaseRules_Resource_ProjectsReleases extends Google_Serv * However, `prod/v23` refers to a new `Ruleset`. The `Ruleset` reference for a * `Release` may be updated using the UpdateRelease method. (releases.create) * - * @param string $name Resource name for the project which owns this `Release`. - * Format: `projects/{project_id}` + * @param string $name Required. Resource name for the project which owns this + * `Release`. Format: `projects/{project_id}` * @param Google_Service_FirebaseRules_Release $postBody * @param array $optParams Optional parameters. * @return Google_Service_FirebaseRules_Release @@ -56,8 +56,8 @@ public function create($name, Google_Service_FirebaseRules_Release $postBody, $o /** * Delete a `Release` by resource name. (releases.delete) * - * @param string $name Resource name for the `Release` to delete. Format: - * `projects/{project_id}/releases/{release_id}` + * @param string $name Required. Resource name for the `Release` to delete. + * Format: `projects/{project_id}/releases/{release_id}` * @param array $optParams Optional parameters. * @return Google_Service_FirebaseRules_FirebaserulesEmpty */ @@ -70,7 +70,7 @@ public function delete($name, $optParams = array()) /** * Get a `Release` by name. (releases.get) * - * @param string $name Resource name of the `Release`. Format: + * @param string $name Required. Resource name of the `Release`. Format: * `projects/{project_id}/releases/{release_id}` * @param array $optParams Optional parameters. * @return Google_Service_FirebaseRules_Release @@ -85,7 +85,7 @@ public function get($name, $optParams = array()) * Get the `Release` executable to use when enforcing rules. * (releases.getExecutable) * - * @param string $name Resource name of the `Release`. Format: + * @param string $name Required. Resource name of the `Release`. Format: * `projects/{project_id}/releases/{release_id}` * @param array $optParams Optional parameters. * @@ -104,26 +104,24 @@ public function getExecutable($name, $optParams = array()) * by `Release` name, `Ruleset` name, `TestSuite` name, or any combination * thereof. (releases.listProjectsReleases) * - * @param string $name Resource name for the project. Format: + * @param string $name Required. Resource name for the project. Format: * `projects/{project_id}` * @param array $optParams Optional parameters. * * @opt_param string filter `Release` filter. The list method supports filters - * with restrictions on the `Release.name`, `Release.ruleset_name`, and - * `Release.test_suite_name`. Example 1: A filter of 'name=prod*' might return - * `Release`s with names within 'projects/foo' prefixed with 'prod': Name | - * Ruleset Name ------------------------------|------------- - * projects/foo/releases/prod | projects/foo/rulesets/uuid1234 - * projects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234 - * projects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888 Example 2: A + * with restrictions on the `Release.name`, and `Release.ruleset_name`. Example + * 1: A filter of 'name=prod*' might return `Release`s with names within + * 'projects/foo' prefixed with 'prod': Name -> Ruleset Name: * + * projects/foo/releases/prod -> projects/foo/rulesets/uuid1234 * + * projects/foo/releases/prod/v1 -> projects/foo/rulesets/uuid1234 * + * projects/foo/releases/prod/v2 -> projects/foo/rulesets/uuid8888 Example 2: A * filter of `name=prod* ruleset_name=uuid1234` would return only `Release` * instances for 'projects/foo' with names prefixed with 'prod' referring to the - * same `Ruleset` name of 'uuid1234': Name | Ruleset Name - * ------------------------------|------------- projects/foo/releases/prod | - * projects/foo/rulesets/1234 projects/foo/releases/prod/v1 | - * projects/foo/rulesets/1234 In the examples, the filter parameters refer to - * the search filters are relative to the project. Fully qualified prefixed may - * also be used. e.g. `test_suite_name=projects/foo/testsuites/uuid1` + * same `Ruleset` name of 'uuid1234': Name -> Ruleset Name: * + * projects/foo/releases/prod -> projects/foo/rulesets/1234 * + * projects/foo/releases/prod/v1 -> projects/foo/rulesets/1234 In the examples, + * the filter parameters refer to the search filters are relative to the + * project. Fully qualified prefixed may also be used. * @opt_param int pageSize Page size to load. Maximum of 100. Defaults to 10. * Note: `page_size` is just a hint and the service may choose to load fewer * than `page_size` results due to the size of the output. To traverse all of @@ -140,12 +138,12 @@ public function listProjectsReleases($name, $optParams = array()) return $this->call('list', array($params), "Google_Service_FirebaseRules_ListReleasesResponse"); } /** - * Update a `Release` via PATCH. Only updates to the `ruleset_name` and - * `test_suite_name` fields will be honored. `Release` rename is not supported. - * To create a `Release` use the CreateRelease method. (releases.patch) + * Update a `Release` via PATCH. Only updates to `ruleset_name` will be honored. + * `Release` rename is not supported. To create a `Release` use the + * CreateRelease method. (releases.patch) * - * @param string $name Resource name for the project which owns this `Release`. - * Format: `projects/{project_id}` + * @param string $name Required. Resource name for the project which owns this + * `Release`. Format: `projects/{project_id}` * @param Google_Service_FirebaseRules_UpdateReleaseRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_FirebaseRules_Release diff --git a/src/Google/Service/FirebaseRules/Resource/ProjectsRulesets.php b/src/Google/Service/FirebaseRules/Resource/ProjectsRulesets.php index 489e6e48e8..37e3ecf0e6 100644 --- a/src/Google/Service/FirebaseRules/Resource/ProjectsRulesets.php +++ b/src/Google/Service/FirebaseRules/Resource/ProjectsRulesets.php @@ -32,8 +32,8 @@ class Google_Service_FirebaseRules_Resource_ProjectsRulesets extends Google_Serv * encountered. For a detailed view of `Source` issues, use TestRuleset. * (rulesets.create) * - * @param string $name Resource name for Project which owns this `Ruleset`. - * Format: `projects/{project_id}` + * @param string $name Required. Resource name for Project which owns this + * `Ruleset`. Format: `projects/{project_id}` * @param Google_Service_FirebaseRules_Ruleset $postBody * @param array $optParams Optional parameters. * @return Google_Service_FirebaseRules_Ruleset @@ -48,8 +48,8 @@ public function create($name, Google_Service_FirebaseRules_Ruleset $postBody, $o * Delete a `Ruleset` by resource name. If the `Ruleset` is referenced by a * `Release` the operation will fail. (rulesets.delete) * - * @param string $name Resource name for the ruleset to delete. Format: - * `projects/{project_id}/rulesets/{ruleset_id}` + * @param string $name Required. Resource name for the ruleset to delete. + * Format: `projects/{project_id}/rulesets/{ruleset_id}` * @param array $optParams Optional parameters. * @return Google_Service_FirebaseRules_FirebaserulesEmpty */ @@ -62,7 +62,7 @@ public function delete($name, $optParams = array()) /** * Get a `Ruleset` by name including the full `Source` contents. (rulesets.get) * - * @param string $name Resource name for the ruleset to get. Format: + * @param string $name Required. Resource name for the ruleset to get. Format: * `projects/{project_id}/rulesets/{ruleset_id}` * @param array $optParams Optional parameters. * @return Google_Service_FirebaseRules_Ruleset @@ -78,7 +78,7 @@ public function get($name, $optParams = array()) * name. The full `Source` contents of a `Ruleset` may be retrieved with * GetRuleset. (rulesets.listProjectsRulesets) * - * @param string $name Resource name for the project. Format: + * @param string $name Required. Resource name for the project. Format: * `projects/{project_id}` * @param array $optParams Optional parameters. * diff --git a/synth.metadata b/synth.metadata index 7aa385be6b..51cc94ee2d 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-php-client-services.git", - "sha": "a79cb9e5b035fcdf90381ae5f9412525e9ea8cf6" + "sha": "1b63e4bb48b1889eced9f8112bc53fb4a402a65f" } }, { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "88e8af296595f896ce975096d19169cb6391a0e6" + "sha": "be3e0e28c21de077e6648d833dc207e505268bc2" } } ]