/** * Returns an option to specify the project's fields to be returned by the RPC call. * * <p>If this option is not provided all project fields are returned. * {@code ProjectGetOption.fields} can be used to specify only the fields of interest. Project * ID is always returned, even if not specified. {@link ProjectField} provides a list of fields * that can be used. */ public static ProjectGetOption fields(ProjectField... fields) { return new ProjectGetOption(ResourceManagerRpc.Option.FIELDS, Helper.selector(ProjectField.REQUIRED_FIELDS, fields)); } }
/** * Returns an option to specify the project's fields to be returned by the RPC call. * * <p>If this option is not provided all project fields are returned. {@code * ProjectGetOption.fields} can be used to specify only the fields of interest. Project ID is * always returned, even if not specified. {@link ProjectField} provides a list of fields that * can be used. */ public static ProjectGetOption fields(ProjectField... fields) { return new ProjectGetOption( ResourceManagerRpc.Option.FIELDS, Helper.selector(ProjectField.REQUIRED_FIELDS, fields)); } }