/// <summary> /// Get the specified group. /// </summary> /// <param name="groupName"> /// The group resource name. Written as /// `projects/{projectID}/groups/{group_name}`. Call /// [`groupStats.list`](https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groupStats/list) /// to return a list of groups belonging to this project. /// /// Example: `projects/my-project-123/groups/my-group` /// </param> /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <ErrorGroup> GetGroupAsync(ErrorGroupName groupName, st::CancellationToken cancellationToken) => GetGroupAsync(groupName, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Get the specified group. /// </summary> /// <param name="groupName"> /// The group resource name. Written as /// `projects/{projectID}/groups/{group_name}`. Call /// [`groupStats.list`](https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groupStats/list) /// to return a list of groups belonging to this project. /// /// Example: `projects/my-project-123/groups/my-group` /// </param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <ErrorGroup> GetGroupAsync(ErrorGroupName groupName, gaxgrpc::CallSettings callSettings = null) => GetGroupAsync(new GetGroupRequest { GroupNameAsErrorGroupName = gax::GaxPreconditions.CheckNotNull(groupName, nameof(groupName)), }, callSettings);